Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How dxf file can construct geometry based on idf file?

I am trying to write script to visualize 3d file in web browser using Three.js.
I get all the coordinate from BuildingSurface:Detail and give it to the script.
In some cases, it works as shown upper side of the image. But when I export idf file from OpenStudio and extract data, it didn't work as bottom right side even though dxf file exported from source idf file can show the geometry correctly as shown bottom left side.
When I look at idf file, it seems that the one from OpenStudio use relative coordinate checking z coordinate of surfaces. This is the reason why three.js cannot visualize geometry correctly.
But why dxf file can visualize geometry correctly?
I checked GlobalGeometryRules, but both case are using same setting.
image description