Print at Dec 20, 2025, 1:41:09 AM View all posts in this thread on one page
Posted by tom_a_sparks at Nov 1, 2009, 5:16:41 AM
.sh3d file format
I know that .sh3d is a zip file, but what is the home file format inside of the sh3d file?

Posted by Puybaret at Nov 1, 2009, 5:29:24 PM
Re: .sh3d file format
The home file in a sh3d file contains a Home object serialized with Java.
See HomeFileRecorder and DefaultHomeOutputStream classes for more information.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by tom_a_sparks at Nov 2, 2009, 3:32:44 AM
Re: .sh3d file format
Could you sterilize the data into xml for the next version of Sweet home 3D?

Posted by Puybaret at Nov 3, 2009, 5:39:25 PM
Re: .sh3d file format
I won't create a new format for Sweet Home 3D without a deep reflection.
Why do you need XML?
What kind of elements do you want?

By the way, serializing into XML isn't so difficult, you can do it by program with your own elements or automatically with tools like XStream.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator