Print at Feb 2, 2026, 7:08:04 AM
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
View all posts in this thread on one page
Posted by Puybaret at Feb 20, 2016, 10:42:00 PM
Re: Unable to open file
Actually, if I was able to fix AeowynFraser's file and avoid it happens again in version 5.2, it's not by chance but because Mazoola's report gave me the hints to resolve this issue. Following this experience, here's a way to fix a buggy file by yourself:
- make a copy of your sh3d file to be sure that you won't lose anything
- change its .sh3d extension by .zip
- unzip the file with default system tool
- open the ContentDigests file found among all the unzipped files with a text editor
- in that file, look for ".jpg" or ".png". If you find no occurrence, stop now, there's no space to save in your sh3d file (or not because of the current case)
- for each occurrence of a ".jpg" or ".png" image, delete all the files found in the folder and parent folders of the referenced image, except in the unzipped folder itself and the image itself. For exemple, if you find jpg in a line "Name: 117/110/texture.jpg", remove all the files found in folder "117" except the sub folder "110", and all files found in "117/110" sub folder except the file "texture.jpg".
- once done, delete the ContentDigests file (if you keep it, Sweet Home 3D will report an error when it checks the consistency of the opened sh3d file you'll rebuild)
- zip the remaining files and folders together with the archive creation tool of the system (caution: the file Home and the files numberered 1, 2, 3, 4... should appear at the root of the zipped file)
- change the .zip extension to .sh3d
- voila! You've got a lighter file.

If required, I could program a small utility that automates these steps, but as I don't know how many people are annoyed by this issue, I don't know if it could worth it.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by okh at Feb 20, 2016, 10:59:25 PM
Re: Unable to open file
..29.7 MB. That is smaller than 4.5 GB right?
Right, you just downsized to less than 1% smile GB (GigiByte) is 1000 MB (MegaByte) - roughly speaking (actually a bit more).

Just to make sure, the libraries in the software will not make a difference. The point - in your case - are the items in the plan itself (the furniture list bottom left pane).
.. "fooled around" with modifying floor plans that I'd seen online using the program and saved those to my computer. If I were to delete those, would that help me with avoiding this problem as well?
If I understand correctly, no, that will not make a difference - at least not if you do not open many files at the same time.

But you may be in the clear now. That said, always good to save changes in a new file. That way you can always go back to the last one if you bloat your file by accident.

Posted by HawkDawg at Feb 26, 2016, 1:46:44 PM
Re: Unable to open file
I mentioned this in another topic but figured I'd mention it here too.

Just for informative purposes, 7zip (which is free) will open sh3f files, as well as sh3d files, without the need to convert to zip format. wink
----------------------------------------
Hawk

Posts: 13   Pages: 2   [ Previous Page | 1 2 ]