Door height is different in XML when model is saved

This topic has been viewed 2121 times and has 2 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
workingstorage
Posts: 6
Joined: Thu Apr 22, 2021 9:51 pm

Door height is different in XML when model is saved

Post by workingstorage »

I have a door that I set in the software to 83.188 inches high, which is 207.97cm.

When I check that same door in the Home.xml, it's showing a height of 211.29625.

I'm trying to generate code to place in the XML so it comes through to the front end properly. What is causing this difference?

Code: Select all

  <doorOrWindow id='doorOrWindow-9f18f669-c8e0-420c-8f9d-047cfe20c9c5' level='level-2cb3862d-0a39-4c03-9343-1e9ad71c00f9' catalogId='eTeks#doorFrame' name='BasementDoor' creator='eTeks' model='12' icon='11' x='330.97003' y='-6.2835836' angle='1.7484555E-7' width='198.59497' depth='15.726523' height='211.29625' modelSize='1281' movable='false' dropOnTopElevation='-0.004801229' wallThickness='0.7874016' wallDistance='0.10498688' cutOutShape='M0,0 v1 h1 v-1 z' wallCutOutOnBothSides='true' boundToWall='false'/>
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Door height is different in XML when model is saved

Post by Puybaret »

I don’t know how you got 207.97 but my calculator displays 211.29752 for 83.188 x 2.54!
Emmanuel Puybaret, Sweet Home 3D creator
workingstorage
Posts: 6
Joined: Thu Apr 22, 2021 9:51 pm

Re: Door height is different in XML when model is saved

Post by workingstorage »

My calculator was set on EDT (Eastern Dummy Time)!

Thanks for responding :)
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests