Hey guys,
I want add some 3dmodels for SweetHome3D JS.
I checked file DefaultFurnitureCatalog.json but it's hard to read.
I can't read the format type.
Any suggest here or i just missing something ?
Thank you
How to add new 3d models for SweetHome3D JS?
This topic has been viewed 165335 times and has 11 replies
Re: How to add new 3d models for SweetHome3D JS?
Have you thought of using libraries (*.sh3f) ??
H
H
Hans
Ryzen 7-9700X, 32 GB RAM, 500 GB SSD, 2x 2 TB SSD, Geforce GTX 1060 3 GB
Ryzen 7-9700X, 32 GB RAM, 500 GB SSD, 2x 2 TB SSD, Geforce GTX 1060 3 GB
Re: How to add new 3d models for SweetHome3D JS?
How to import *sh3f with SweetHome3D JS ?
I thought *.sh3f file only using for Desktop version. Am I wrong ?
S
I thought *.sh3f file only using for Desktop version. Am I wrong ?
S
Re: How to add new 3d models for SweetHome3D JS?
Sorry, I missed the "JS"in your message... 
H
H
Hans
Ryzen 7-9700X, 32 GB RAM, 500 GB SSD, 2x 2 TB SSD, Geforce GTX 1060 3 GB
Ryzen 7-9700X, 32 GB RAM, 500 GB SSD, 2x 2 TB SSD, Geforce GTX 1060 3 GB
Re: How to add new 3d models for SweetHome3D JS?
In a way Hans wasn't completely wrong, because reading the [font=courier new]DefaultFurnitureCatalog.json[/font] generated file and [font=courier new]PluginFurnitureCatalog.properties[/font] file coming from SH3F (zipped) files, you should quickly understand own to build your own catalog (I would suggest to start by creating your own [font=courier new]DefaultFurnitureCatalog.json[/font]).
Emmanuel Puybaret, Sweet Home 3D creator
Re: How to add new 3d models for SweetHome3D JS?
Hi Puybaret,
How to I can get the new DefaultFurnitureCatalog.json from my own *.sf3f file ?
How to I can get the new DefaultFurnitureCatalog.json from my own *.sf3f file ?
Re: How to add new 3d models for SweetHome3D JS?
I looking the PluginFurnitureCatalog.properties and see this:
So, I just need convert them to json type, its right ?
One more question, I have MyOwnFurnitureCatalog.json, how to add it to sweethome3djs ?
Thank you
Code: Select all
id#293=Scopia#football-goal
name#293=Football goal
tags#293=Outdoor, Garden, Soccer, Hockey, Sport
creationDate#293=2019-07-02
category#293=Exterior
icon#293=/scopia/football-goal.png
model#293=/scopia/football-goal/football-goal.obj
multiPartModel#293=true
width#293=152.4
depth#293=89
height#293=120
dropOnTopElevation#293=-1
movable#293=true
doorOrWindow#293=false
creator#293=Scopia
One more question, I have MyOwnFurnitureCatalog.json, how to add it to sweethome3djs ?
Thank you
Re: How to add new 3d models for SweetHome3D JS?
You can convert a .sh3f file to a .json file with PropertiesToJson application.
Adding more furniture libraries to SweetHome3DJSApplication can be done with the [font=courier new]furnitureCatalogURLs[/font] optional parameter. See the HTML source code of the SweetHome3DJSApplication used on sweethome3d.com for a real example.
Adding more furniture libraries to SweetHome3DJSApplication can be done with the [font=courier new]furnitureCatalogURLs[/font] optional parameter. See the HTML source code of the SweetHome3DJSApplication used on sweethome3d.com for a real example.
Emmanuel Puybaret, Sweet Home 3D creator
Re: How to add new 3d models for SweetHome3D JS?
Thank you helping me you're the best, Puybaret!
Re: How to add new 3d models for SweetHome3D JS?
Hi Puybaret,
How to run PropertiesToJson.java class ?
How to run PropertiesToJson.java class ?