Joined: Jan 14, 2017
Post Count: 1
Status:
Offline
Is it possible to export positions, orientations, and properties of all the furniture?
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?
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Is it possible to export positions, orientations, and properties of all the furniture?
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