confused Compiling SH3D with my own 3D Models

This topic has been viewed 5863 times and has 2 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
saadjumani
Posts: 9
Joined: Sun Jul 24, 2016 3:21 pm
Country: Pakistan

Compiling SH3D with my own 3D Models

Post by saadjumani »

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?

Thanks in advance.
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: Compiling SH3D with my own 3D Models

Post by dorin »

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
saadjumani
Posts: 9
Joined: Sun Jul 24, 2016 3:21 pm
Country: Pakistan

Re: Compiling SH3D with my own 3D Models

Post by saadjumani »

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 )

Thanks anyways.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest