.sh3d file format

This topic has been viewed 27128 times and has 3 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
tom_a_sparks
Posts: 2
Joined: Sun Nov 01, 2009 5:12 am

.sh3d file format

Post by tom_a_sparks »

I know that .sh3d is a zip file, but what is the home file format inside of the sh3d file?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: .sh3d file format

Post by Puybaret »

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
tom_a_sparks
Posts: 2
Joined: Sun Nov 01, 2009 5:12 am

Re: .sh3d file format

Post by tom_a_sparks »

Could you sterilize the data into xml for the next version of Sweet home 3D?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: .sh3d file format

Post by Puybaret »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest