You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Viewer.getMergedRegion should merge all regions in all models
Actual behavior or exception details:
Viewer.getMergedRegion merges the most populated region of each model
This is because ModuleHandle.InitRegions only takes the most populated region of a geometry and discards the rest.
This means it's hard to find the bounds to use when clipping if there is more than one region in the model.
Also, on loading the IFC the camera points to the centre of the most populated region, instead of the centre of the model(s).
Expected behavior:
Viewer.getMergedRegion should merge all regions in all models
Actual behavior or exception details:
Viewer.getMergedRegion merges the most populated region of each model
This is because ModuleHandle.InitRegions only takes the most populated region of a geometry and discards the rest.
This means it's hard to find the bounds to use when clipping if there is more than one region in the model.
Also, on loading the IFC the camera points to the centre of the most populated region, instead of the centre of the model(s).
Version of the xBIM Viewer:
Latest (code in current master branch)
Minimal code (or steps) to reproduce the issue:
Minimal file to reproduce the issue:
20200205Model_PNO.ifc.zip
(from Open IFC Model Repository)
The text was updated successfully, but these errors were encountered: