Print at Dec 20, 2025, 3:27:11 AM

Posted by Puybaret at Aug 13, 2011, 12:48:58 PM
Re: Modifying an SH3D project through eclipse
Sorry, I forgot that your goal was to generate some Java code that create a home with its walls, rooms and furniture.
If you have that code, the simplest way to test it would be to import first Sweet Home 3D source code in Eclipse as explained in the README.TXT file, then copy paste your Java code at the end of the main constructor of the Home class.
Once you'll have check that your samples work, you could create a Plug-in able to open a file containing some Java code that you'll compile with the Java compiler included in Java 6 and execute on the Home instance of the plug-in.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator