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: 9
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 7766 times and has 8 replies Next Thread
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status: Offline
Reply to this Post  Reply with Quote 
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

new website - under constuction
hansdirkse.info
[Dec 14, 2009, 10:19:15 AM] 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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. smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Dec 14, 2009, 11:19:37 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
hansmex
Advanced Member
Member's Avatar

Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to install SH3D in ONE directory

Emmanuel:

Unfortunately I was not smart enough to also copy the hidden files :-(

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 can drive a car, but I am not a mechanic. And with computers it's the same. I really s*ck at all those technical things.

I shall try to upload some pictures of projects.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info
[Dec 14, 2009, 11:46:21 AM] 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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. sad

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
[Dec 14, 2009, 9:12: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 
barto
Newbie




Joined: Jan 8, 2010
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
Re: How to install SH3D in ONE directory

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?
[Feb 1, 2010, 12:27:17 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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
[Feb 1, 2010, 1:32:54 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bbruce
Newbie




Joined: Dec 20, 2010
Post Count: 1
Status: Offline
Reply to this Post  Reply with Quote 
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!
[Dec 20, 2010, 5:31:47 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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
[Dec 20, 2010, 6:18:15 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
wrosun
Member
Member's Avatar

Nepal
Joined: Nov 17, 2010
Post Count: 96
Status: Offline
Reply to this Post  Reply with Quote 
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!!

i guess you know that wink
[Dec 22, 2010, 8:45:51 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 2024 Space Mushrooms - All rights reserved