Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 5
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3811 times and has 4 replies Next Thread
Mitsaki
Member




Joined: Jul 26, 2011
Post Count: 62
Status: Offline
Reply to this Post  Reply with Quote 
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?

Mitsaki confused
[Aug 12, 2011, 9:07:04 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9427
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 13, 2011, 10:07:54 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Mitsaki
Member




Joined: Jul 26, 2011
Post Count: 62
Status: Offline
Reply to this Post  Reply with Quote 
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.

I hope I was understood.:)
[Aug 13, 2011, 11:43:59 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9427
Status: Offline
Reply to this Post  Reply with Quote 
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
[Aug 13, 2011, 12:48:58 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Mitsaki
Member




Joined: Jul 26, 2011
Post Count: 62
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Aug 17, 2011, 4:27:18 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved