Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status:
Online
How to install SH3D in ONE directory
Hello :-)
Yesterday I had to re-istall Ubuntu on my PC. I copied the backup of all my files back to the PC and wanted to get working with SH3D. Too bad, all my imported models were gone :-(
How can I install SH3D in such a way that ALL FILES are within the same directory?
I have hundreds of imported models and I don't want to do all this work.
Thank you for any help!
PS Did I say already that I really LOVE SH3D ??
----------------------------------------
Hans
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: How to install SH3D in ONE directory
The ability to specify a unique directory for all Sweet Home 3D files should be available in the coming versions (it's portability subject in Sweet Home 3D roadmap).
But as you're on Linux, recovering your imported files is quite easy if you really created a backup of all the files of your home directory: Search in your backup directories named ".eteks" and ".java/.userPrefs" at the root of your old home directory, and copy them in your new your new home directory (as directories starting with a dot might be hidden, double check if you don't see them).
Note also that you may export all your imported models in a SH3F portable file with a plugin.
Did I say already that I really LOVE SH3D ??
I'm glad to read that. Feel free to post images of your project in the Gallery forum if you want to.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: How to install SH3D in ONE directory
Wouldn't it be easier NOT to use hidden files, and to include all the files in the same directory? It would make life much simpler.
I didn't created .eteks directory for fun. I simply respected Linux practices where a directory starting by a dot stored in the home directory of a user is the common place for the preferences of an application. If you didn't copy any of these directories, I guess you may have lost the preferences of most of your software.
Note also that I chose to store imported models in this directory to simplify the tasks of users who upgrades their version of Sweet Home 3D while keeping their imported models. If these models were stored in Sweet Home 3D installation directory, users would have to copy these files each time they install a new version of Sweet Home 3D, and many of them would complain they lost their imported models during an upgrade.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
I have the same problem on a windows system. But I don't find the files. I don't have this folder .eteks" and ".java/.userPrefs". Where can I find the files on a windows os?
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: How to install SH3D in ONE directory
Sweet Home 3D preferences and application files are organized differently under Windows, because Windows practices are different. Preferences are stored in entries under [HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\eteks\sweethome3d] path in Windows registry and application files are stored in the "Application Data\eTeks\Sweet Home 3D" subdirectory of your home directory.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Dec 20, 2010
Post Count: 1
Status:
Offline
Re: How to install SH3D in ONE directory
Just to add to this topic is there a way to redirect the user preferences folder when running under Windows7 away from the default "application Data/eTeks..." folder? Say to a default shared mapped drive or something similar (ie. Z:\sweet3dhome\furniture)?
I work in a school and we don't want all of the pupils/staff importing 100's Mb's worth of furniture/3D models into there profiles folder as this has to be loaded across the network each time they log onto a computer!
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: How to install SH3D in ONE directory
Please read my answer to this request and explanations about com.eteks.sweethome3d.applicationFolders and com.eteks.sweethome3d.preferencesFolder in SweetHome3D javadoc.
Don't hesitate to ask more questions if needed, and consider contribute to Sweet Home 3D.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Nepal
Joined: Nov 17, 2010
Post Count: 96
Status:
Offline
Re: How to install SH3D in ONE directory
Hans i would simply sugest you to export all you imported models into .sh3f file....every time you import new models and replace the new file with old ones and in that way you can recover each and every model that you imported!!