Create own SH3F file

This topic has been viewed 34242 times and has 3 replies
Thread status: Active
Features you would like to see [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
Ripper
Posts: 2
Joined: Mon Jun 09, 2008 3:00 pm

Create own SH3F file

Post by Ripper »

Hello,
I'm interested in creating my own SH3F file (3D model library). I was wondering, is there some easy tool to help me create it? Or do I have to create it by hand? Furthermore, is there some format description of SH3F? I haven't found any.

And second question, does SweetHome3D have some capability to automatically load custom SH3F file on program start? I don't mean from user directory (~/.eteks/sweethome3d/furniture), but from program directory. Eg. from some 'furniture' subdirectory from directory with extracted program files.

Thanks.
Kamil Páral




[Note: this thread was started on sourceforge.net forums]
Ripper
Posts: 2
Joined: Mon Jun 09, 2008 3:00 pm

Re: Create own SH3F file

Post by Ripper »

Nevermind, not neccessary anymore.


User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Create own SH3F file

Post by Puybaret »

From version 1.5, you can create a SH3F file containing the furniture imported in Sweet Home 3D catalog with the plug-in available at http://sweethome3d.eu/plugins/ExportToSH3F-1.0.sh3p .
Once you downloaded this plug-in, copy it in the plug-ins folder of Sweet Home 3D, which depends on your system as follows:
- under Windows, this folder is C:\Documents and Settings\user\Application Data\eTeks\Sweet Home 3D\plugins,
- under Mac OS X, it's the subfolder Library/Application Support/eTeks/Sweet Home 3D/plugins of your user folder,
- under Linux and other Unix, it's the subfolder .eteks/sweethome3d/plugins of your user folder.

Relaunch Sweet Home 3D, and you'll see the new menu item "Export imported furniture to SH3F..." in Furniture menu. At this time this will work, only if you installed Sweet Home 3D 1.5 with its installers. If you installed it with Java Web Start, it may not work for security reasons and you'll have to download the installer.


About your second question, if you want to add some furniture to the program, the easiest way is to generate a SH3F file with the aforementioned plug-in, rename its PluginFurnitureCatalog.properties entry as com/eteks/sweethome3d/io/AdditionalFurnitureCatalog.properties, and add the modified SH3F file to the classpath of Sweet Home 3D.


!!!Caution!!!
Take care of the license of the models you export to a SH3F file. Almost all free models can't be redistributed, and the fact that Sweet Home 3D is free doesn't change anything to that. That's the reason why I had to create some models for the first versions of Sweet Home 3D!



Emmanuel Puybaret, Sweet Home 3D creator
Jore
Posts: 3
Joined: Mon Apr 29, 2013 3:41 am

Re: Create own SH3F file

Post by Jore »

Exelente plug-in will help us a lot!
thank you
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest