Pakistan
Joined: Jul 24, 2016
Post Count: 9
Status:
Offline
Compiling SH3D with my own 3D Models
Hello everyone,
I am trying to give my clients a a modified version of SH3D, with 3D models of THEIR products (furniture) instead of SH3D default library.
Since most people don't prefer to get into "technicalities" I would like it if they don't have to import a library manually every single time they install it on a new device. So is there a way to either compile SH3D with a different library set or at least a way to ship the compiled SH3D (JAR File produced after the I build it from XML in eclipse) in a way that it is ready to run out of the box. Also how do I remove the existing 3D models?
Romania
Joined: Apr 24, 2014
Post Count: 685
Status:
Offline
Re: Compiling SH3D with my own 3D Models
I'm not a programmer but for something similar needs I modify the program itself. Under linux! Go to SweetHome3D-5.2/lib/ and You will find Furniture.jar archive which have the basic furniture. Modify this or replace with Your own. Another way is to make a install script to put all the pieces in the right place respectively the custom furniture, plugins, texture etc in the path: .eteks/sweethome3d/
---------------------------------------- A computer program does what you tell it to do, not what you want it to do. Murphy's Law When all else fails, read the instructions. Murphy's Law If you don't like "AS IS", DIY. Dorin's law
Pakistan
Joined: Jul 24, 2016
Post Count: 9
Status:
Offline
Re: Compiling SH3D with my own 3D Models
Thanks for your input, I figured this out the day after I posted my question, but it was too late to then remove it from the threads (Tried to delete it cuz I also realised later the question was kinda useless as it has already been answered before :p )