|
Sweet Home 3D Forum » List all forums » » Forum: Installation » » » Thread: How to import furniture in Applet » » » » Post: Re: How to import furniture in Applet |
Print at Dec 18, 2025, 6:21:04 AM |
| Posted by Puybaret at Apr 29, 2010, 9:08:31 PM |
|
Re: How to import furniture in Applet The first thing I would do is to simply import the ZIP files you created in the offline version of Sweet Home 3D after changing their extension from zip to sh3f, and check if the models listed in them appear in Sweet Home 3D catalog. If this succeeds, you should check if http://my_url/online/furnitureCatalog.zip is accessible. As you kept a slash in front of "/online/furnitureCatalog.zip", online directory should be at root. If you remove the first slash from "/online/furnitureCatalog.zip", online will be relative to applet "codebase" attribute. lastly, is there any way to download all the models from sweethome3d.eu in an archive rather than downloading them each individually. Ofcourse if it's authorised by sweethome3d.eu. The two things that forbids me to do this is time and bandwidth. Time is a concern since I would have to update this archive each time I add models in additionalFurnitureCatalog.zip, and this would be one more task I shouldn't forget. Bandwidth is my main concern since this archive weights 32 MB at this time, and I'm always frightened by the idea of hosting such a big file (Sweet Home 3D installers are big files too but they are hosted on SourceForge.net servers). If you feel comfortable with regular expressions, you can transform the lines containing ".zip" and ".png" in PluginFurnitureCatalog.properties into wget commands, taking care of subdirectories. If not, the only solution I see at this time is to create that file on demand and publish it temporarily. If you don't have a better idea, send me a private message or an email. ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
|
|
Current timezone is GMT Dec 18, 2025, 6:21:04 AM |