Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 3
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1940 times and has 2 replies Next Thread
yurivict
Newbie



USA
Joined: Jul 7, 2022
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Where 3D models should be placed for SH3D program to see them automatically?

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).
[Jul 7, 2022, 7:26:26 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Where 3D models should be placed for SH3D program to see them automatically?

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 developer
[Jul 11, 2022, 2:43:03 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
yurivict
Newbie



USA
Joined: Jul 7, 2022
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Where 3D models should be placed for SH3D program to see them automatically?

> - 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
[Jul 12, 2022, 2:42:25 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved