Print at Dec 19, 2025, 2:52:25 PM

Posted by Sweeto at Nov 26, 2015, 10:00:53 AM
Re: JAVA: How to change the default furniture catalog?
Ok, I've finally found the right file, where I can set the path of the default furniture files. Apparently all furniture files, that have been added in this file, have the extension ".obj" (exception: the light sources are also categorized as furniture, but they don't have an obj-file).

1. All files, that are nessesary to change the default categories/folders and default furniture are in this folder or in it's subfolders:

Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\src\com\eteks\sweethome3d\io


1.1 All of the model files (.obj) and preview images (.png) are at this location:

Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\src\com\eteks\sweethome3d\io\resources


1.2 All of the contributed model files and preview images are at this location:

Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\src\com\eteks\sweethome3d\io\resources\contributions


2. Some files from the io-folder (see above):
2.1 ContributedFurnitureCatalog.properties (used to set the path, size,...)
id#1=Sheep#spiralStaircase
name#1=Spiral staircase
tags#1=
category#1=Miscellaneous
icon#1=/com/eteks/sweethome3d/io/resources/contributions/spiralStaircase.png
model#1=/com/eteks/sweethome3d/io/resources/contributions/spiralStaircase.obj
width#1=148.4
depth#1=133.1
height#1=271
dropOnTopElevation#1=-1
movable#1=false
doorOrWindow#1=false
staircaseCutOutShape#1=M0,0.35 h0.47 l0.375,-0.35 l0.088,0.118 A0.5,0.5 0 1,1 0,0.35 z
creator#1=Sheep

2.2 ContributedFurnitureCatalog_de.properties (language file, used for translation only)
name#1=Wendeltreppe
tags#1=
category#1=Verschiedenes


2.3 DefaultFurnitureCatalog.properties

id#1=eTeks#bed140x190
name#1=Bed 140x190
tags#1=
category#1=Bedroom
icon#1=/com/eteks/sweethome3d/io/resources/bed140x190.png
model#1=/com/eteks/sweethome3d/io/resources/bed140x190.obj
width#1=158
depth#1=208
height#1=70
dropOnTopElevation#1=48
movable#1=true
doorOrWindow#1=false
creator#1=eTeks

2.4 DefaultFurnitureCatalog_de.properties

name#1=Bett 140x190
tags#1=
category#1=Schlafzimmer