Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
Modifying an SH3D project through eclipse
Hello again,
my problem is that I don't know how I can import a SH3D project into my already made project, which contains SH3D source code, and then modify any of the classes that I want to.
Is that possible? Or I have to create the SH3D on my own again?
France
Joined: Nov 7, 2005
Post Count: 9427
Status:
Offline
Re: Modifying an SH3D project through eclipse
I'm not sure I perfectly understand what you want to do, but here are two tips that might help you: - you could rename the project you already started in Eclipse before reimporting again Sweet Home 3D project, - you could create a new workspace, in which case you can create again a project with the same name.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
Re: Modifying an SH3D project through eclipse
What I have done: I already made 4 projects through SH3D interface. What I want to do: Modify them through eclipse and afterwards open them using java code.
France
Joined: Nov 7, 2005
Post Count: 9427
Status:
Offline
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
Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
Re: Modifying an SH3D project through eclipse
Well, actually my goal is: 1. Select one of the projects (ex. Square.SH3D) that I already made. 2. Modify it through SH3D source code 3. Open the project in SH3D.