confused Is it possible to export positions, orientations, and properties of all the furniture?

This topic has been viewed 11828 times and has 1 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
gaira
Posts: 1
Joined: Sat Jan 14, 2017 7:53 pm

Is it possible to export positions, orientations, and properties of all the furniture?

Post by gaira »

If it's not, what is the API to access such information?

I found a button to export the names and dimensions of furniture as CSV file, but what I need is basically all the information that's used to generate sh3d file. If I could unbinalize the sh3d file, it may also suffice the purpose. I'm reading the java doc, but unfortunately it is a little overwhelming for a programming beginner. Could somebody please give me a pointer?

Thank you very much in advance.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Is it possible to export positions, orientations, and properties of all the furniture?

Post by Puybaret »

A .sh3d file is actually a zip file containing a Home.xml entry that describes the drawn home with furniture, walls, rooms... coordinates, and references the images and 3D models stored in the other zipped entries. The DTD of this XML file is given in HomeXMLHandler javadoc and here.
Read also the threads about Sweet Home 3D 5.3 and about Export to XML/OBJ plug-in.
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest