Where 3D models should be placed for SH3D program to see them automatically?

This topic has been viewed 4064 times and has 2 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
yurivict
Posts: 3
Joined: Thu Jul 07, 2022 7:12 pm
Country: USA

Where 3D models should be placed for SH3D program to see them automatically?

Post by yurivict »

I would like to package extra SH3D models such that they would be found automatically.

SH3D itself works from this JAR /usr/local/share/java/classes/SweetHome3D-6.6.4.jar

Is there a system location where additional *.sh3f files (for example Contributions.sh3f) should be placed where SweetHome3D would automatically discover them when it runs? The location has to be under /usr/local (PREFIX).
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Where 3D models should be placed for SH3D program to see them automatically?

Post by Puybaret »

The location where SH3F files are stored depends on user's system:
- Under Windows Vista / 7 / 8 / 10 11, it's the folder C:\Users\user\AppData\Roaming\eTeks\Sweet Home 3D\furniture (where user is its login)
- Under Windows XP, it's the folder C:\Documents and Settings\user\Application Data\eTeks\Sweet Home 3D\furniture
- Under Mac OS X, it's the subfolder Library/Application Support/eTeks/Sweet Home 3D/furniture of user's home folder
- Under Linux, it's the subfolder .eteks/sweethome3d/furniture of user's home folder.

By the way, if you're some kind of Linux repository manager or have a way to speak with them, please stop making Sweet Home 3D depend on last Java version. It generally works better with Java 8.
Emmanuel Puybaret, Sweet Home 3D creator
yurivict
Posts: 3
Joined: Thu Jul 07, 2022 7:12 pm
Country: USA

Re: Where 3D models should be placed for SH3D program to see them automatically?

Post by yurivict »

> - Under Linux, it's the subfolder .eteks/sweethome3d/furniture of user's home folder.

Hi Emmanuel,

Unfortunately home directory doesn't work in order to install 3D models/plugins through the package.
The location should be read-only, under $PREFIX.
Something like /usr/local/share/sweethome3d/furniture.

Is it possible to make sweethome3d to look for 3D models and plugins in a location like this?


Thanks,
Yuri
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests