|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Generate Code for SH3D |
|
| Print at Dec 20, 2025, 7:17:17 AM | View all posts in this thread on one page |
| Posted by Mitsaki at Aug 2, 2011, 8:41:26 AM |
|
Generate Code for SH3D Hello, I am starting to use SH3D, but it would be more useful for me to be able to generate the code of what I am designing in SH3D. Is there any plug-in or other way that I could achieve that? |
| Posted by Puybaret at Aug 2, 2011, 1:00:07 PM |
|
Re: Generate Code for SH3D What do you mean by "generate the code"? Which code? Java? Plug-in? OBJ format code?... ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by Mitsaki at Aug 2, 2011, 2:36:26 PM |
|
Re: Generate Code for SH3D You are right, I had to specify that. I actually want to generate java code. |
| Posted by Puybaret at Aug 2, 2011, 6:26:32 PM |
|
Re: Generate Code for SH3D Do you search a plug-in able to generate the Java code that creates instances of PieceOfFurniture, Wall, Room... classes then calls their setters according to user's actions in the plan? It doesn't exist and sorry, but I don't see what it could be useful for... If you want to follow the creation and modifications of objects, you should add listeners to Home and other classes instances. If you look for an example, read addModelListeners method in PlanComponent class. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by Mitsaki at Aug 3, 2011, 2:19:03 PM |
|
Re: Generate Code for SH3D The problem is that I want to make my own application using SH3D and then import it in blender. But I don't know how to start doing it, because the developer's guide is about plug-ins. Do you know any tutorial ? |
| Posted by Puybaret at Aug 3, 2011, 6:41:47 PM |
|
Re: Generate Code for SH3D I want to make my own application using SH3D and then import it in blender Even if I just learnt that a Blender port to Java exists, I still don't see what you want to do.Please give more details. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by Mitsaki at Aug 3, 2011, 6:54:29 PM |
Re: Generate Code for SH3DWell, my project is to create an application which collects the preferences (like which color he/she wants in the walls) of the user through a GUI that I have already created and after the user chooses what furniture he/she wants inside the room, my application is going to place them randomly. What do I want? - First, to find a way to open sweethome3d through a java script (or python script, even better) - To find a way to place them randomly Afterwards, I am going to combine SH3D and MakeHuman in order to create a small video animation. I hope I was explicit enough. Mitsaki Any help you be really helpful |
|
|
Current timezone is GMT Dec 20, 2025, 7:17:17 AM |