confused Error in zipping furnitures to sh3f?

This topic has been viewed 3389 times and has 4 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
gcalavaro
Posts: 8
Joined: Sun Nov 18, 2018 11:42 am
Country: Italy

Error in zipping furnitures to sh3f?

Post by gcalavaro »

Hi,

What is the way to zip a folder with some furniture to create a .sh3f file, please?

I created a folder with some furniture using as a template an existing sh3f file and modifying a couple of objects.
When I zipped back the file I wanted to test it, by running it through the FurnitureLibraryEditor, but when it load this file it shows nothing (same results as the file was empty).

To make a further test, I zipped the folder that I just created by unzipping an existing sh3f file that is working fine.
When I run this zipped file, that should run fine as there was no change except unzipping and then zipping it back, FurnitureLibraryEditor again doesn't load anything and shows no furniture in that file.

So what is the error I am making while zipping the folder to create the sh3f file?
I tried by using the windows 10 Send To -> compressed folder function and by using 7-zip.
In both cases I renamed the .zip file as .sh3f.
In all cases the new file is showing nothing when opened by FurnitureLibraryEditor.

Any help by the experts is very much appreciated.
Thanks very much for your attention.
Best regards,
Giuseppe
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Error in zipping furnitures to sh3f?

Post by Puybaret »

The [font=courier new]PluginFurnitureCatalog.properties[/font] you included in your SH3F file is probably incorrect.
Emmanuel Puybaret, Sweet Home 3D creator
gcalavaro
Posts: 8
Joined: Sun Nov 18, 2018 11:42 am
Country: Italy

Re: Error in zipping furnitures to sh3f?

Post by gcalavaro »

Hi Puybaret,
I was thinking like you that I made an error modifying the file
[font=courier new]PluginFurnitureCatalog.properties[/font]
For that reason I have tested the process by unzipping an existing file .sh3f that was opened correctly by the FurnitureLibraryEditor and then zipped the folder just created without making any modification.
In this case there was no modification at the file [font=courier new]PluginFurnitureCatalog.properties[/font] and so it should be correct. Yet I cannot open it as it is corrupted.

Do you have any idea why I hit this strange behavior?
Any help is very much appreciated.
Thanks,
Giuseppe
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Error in zipping furnitures to sh3f?

Post by Puybaret »

Be sure that you zipped the content of the created folder and not the folder itself ([font=courier new]PluginFurnitureCatalog.properties[/font] should be at the root of the .sh3f file).
Emmanuel Puybaret, Sweet Home 3D creator
gcalavaro
Posts: 8
Joined: Sun Nov 18, 2018 11:42 am
Country: Italy

Re: Error in zipping furnitures to sh3f?

Post by gcalavaro »

You are right. I was zipping the folder itself, that had all the files .png, .obj as well as the .properties file, that included those files. Yet, the files weren't in the root of the zip file.
Once I zipped the files themselves, the issue was solved.

Thanks for the help, Puybaret.

Peppe
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest