Netherlands
Joined: Sep 26, 2009
Post Count: 3991
Status:
Offline
Re: SH3D refuses to save my file
WiB:
You may have renamed the files? That would explain a lot.
The OBJ and MTL file come as a pair. Now, inside the OBJ file the name of the MTL file is used. So if you change the name of the MTL file, you should also change the name of the reference TO that MTL file inside the OBJ file. Also you have to pay attention to the path that the reference to the MTL file. This is a relative reference. It is easiest to have OBJ and MTL file (plus pictures for textures) in the same directory, because then you don't have to specify the path.
I hope this is clear? If not, say so, and I will provide an example.
To change the reference to the MTL file, you can open the OBJ file with a simple text editor (Windows=Notepad, Ubuntu=gedit, Apple=?) and search for all references to the MTL file.
Let us hear if this solved your problem.
Hans
----------------------------------------
Hans
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
Re: SH3D refuses to save my file
To avoid problems with renaming or moving files, all imported models and opened files are copied into temporary files or application directory. So if you experience some problems when saving a SH3D file, I consider it as a bug and it should be fixed, except if you use some temporary files cleaner or you played with files in application directory. - Under Windows, application directory is C:\Documents and Settings\user\Application Data\eTeks\Sweet Home 3D. - Under Mac OS X, it's the subfolder Library/Application Support/eTeks/Sweet Home 3D of your user folder. - Under Linux and other Unix, it's the subdirectory .eteks/sweethome3d of your user directory.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
----------------------------------------
[Edit 1 times,
last edit by Puybaret at Feb 3, 2010, 5:06:20 PM]
I did renamed the files, the downloaded files were named with a string of numbers and I couldn't tell which was the one I wanted to import. I had no idea that I was not supposed to this.
Thank you! And one suggestion: could you add this instruction to the users' guide so rookies like me will not have this type of problems?
Joined: Feb 20, 2010
Post Count: 2
Status:
Offline
Re: SH3D refuses to save my file
Hello: I have a very similar problem. I worked with Sweet Home 3D (Version 2.2 Java Version 1.6.0_17) on my iMac (10.6.2) for hours and saved my file on a regularly. I put my Mac in standby to continue the next day. Which I did. But when I tried to save the file then, SH3D said it could not. So I closed the application and reopened it. I also reopened my file and now I see all these red boxes and the background picture is missing, too.
While working, I had created different versions of the file (01, 02, 03 etc.). Older versions of the model still work fine, so I do not think it is a problem of moved or missing objects, although not all objects that I used in the corrupted file are available in the older versions.
I did not understand, what OBJ and MTL files are, but I tried both tips above with terminal, but no success.
Netherlands
Joined: Sep 26, 2009
Post Count: 3991
Status:
Offline
Re: SH3D refuses to save my file
Hal:
I don't know anything about Mac pc's, but it sounds like a typical operating system (OS) problem.
Windows had a similar problem for a long time (and a long time ago): to speed up programs files were saved to memory, and only when closing the OS was all data written to disk. So if something happened in between, on occasion you would lose information you had saved already (but was not physically written to disk).
Something similar may be happening on your Mac. So, save and close all programs before putting your Mac to sleep :-)
Hans
----------------------------------------
Hans
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
Re: SH3D refuses to save my file
Sorry for your problem. I don't see how installing the programs you cite could cause any trouble in Sweet Home 3D. The files prefixed by "Content" and suffixed by ".pref" contains the 3D model or the icon of each piece of furniture you previously imported. Under which system do you work?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Brasil
Joined: Jun 19, 2010
Post Count: 7
Status:
Offline
Re: SH3D refuses to save my file
Hello Puybaret. My system is Windows Vista. Yesterday uninstalled the two programs because my start menu was striped. After uninstalling it back to normal. I think everything happened because of one of these programs. I will be alone with the Misfit who never gave trouble. I have not changed my textures imported pulp and they also stayed with the X after the installation of these programs. I also completely uninstall Sweet Home to reinstall everything from scratch, since I lost all furniture. Already understood that, after installing the program, we can not change the folders created by the program in the directory Documents in place. I think this should be in the Tutorial. I had not changed mine, which enhances the fault of both these programs. What do I need to make sure is: 1 - My favorites are furniture DAE. Can I rename the only importer of furniture and then delete the ZIP file? 2 - Can I relocate the textures that care? I was in doubt because the hansmex talked about the two early this post. Remember: my furnishings were red boxes. Thank you. Thank you. And sorry all this. After the results speak. Hug.I use a translator.
France
Joined: Nov 7, 2005
Post Count: 9420
Status:
Offline
Re: SH3D refuses to save my file
Dharha, you should keep your DAE and texture files somewhere just in case the same problem happen again (I still don't know what happened on your system, and your sad problem might be due to a reason completely different from the one you imagine). Finding 3D models and images take some time, and deleting their copy on your disk doesn't worth the disk space you'll gain.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator