petrbroz / svf-utils

Utilities for working with the SVF file format used by Autodesk Platform Services.
https://petrbroz.github.io/svf-utils/
MIT License
123 stars 53 forks source link

Certain Navisworks exports are rotated 180º #70

Closed kylefoley closed 11 months ago

kylefoley commented 1 year ago

When using forge-convert-utils, it appears that some Navisworks exports (.NWD, .IFC) are rotated 180º around the up axis.

We exported a sample scene from Navisworks in .RVT, .NWD, .IFC and .GLB. Both .RVT and .GLB had the correct orientation, while .NWD and .IFC were rotated incorrectly (off by 180º).

Uploading these models directly to acc.autodesk.com for viewing shows that they all have the same correct rotation.

Using the https://sandbox.babylon.com, the rotation for both models is set to 180º but they are rotated incorrectly.

The first image shows the .RVT loaded into sandbox. The second image shows .NWC loaded into sandbox.

.RVT .NWC

I've attached the nwc.glb and rvt.glb.

Archive.zip

Viewing the GLTFs directly from the forge-convert-utils writer shows the same orientation issue.

Let me know if you'd like a ZIP of the GLTF's or the source scene.nwc or scene.rvt.

Thanks!

kylefoley commented 1 year ago

Just checking in on this issue, has anyone else seen a rotation issue like this? Thank you!

kylefoley commented 11 months ago

Closing this issue. It was an issue with our own code and handling different units of measurement