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: 13
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4407 times and has 12 replies Next Thread
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9420
Status: Offline
Reply to this Post  Reply with Quote 
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
[Feb 20, 2016, 9:42:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
okh
Advanced Member




Joined: May 12, 2013
Post Count: 1545
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Feb 20, 2016, 9:59:25 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
HawkDawg
Advanced Member
Member's Avatar

USA
Joined: Oct 6, 2015
Post Count: 199
Status: Offline
Reply to this Post  Reply with Quote 
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
[Feb 26, 2016, 12:46:44 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 13   Pages: 2   [ Previous Page | 1 2 ]
[ 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