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
Hello each time I load an ifc model in the viewer I use the following method to compute the viewplan with the following method. await this.ifc.ifcViewer?.plans.computeAllPlanViews(modelID);
Inside that function which is located at node_modules\web-ifc-viewer\dist\components\display\plans\plan-manager.js
You can see that there is a call to const transformHeight = await this.getTransformHeight(modelID);
now if you if you do console.log('transformHeight ', transformHeight); you will find that it is different if you load your model as the second model which result that the all view plans for that model that was loaded as the second model cuts the plans at the wrong offset because transformHeight is the wrong value.
Hello each time I load an ifc model in the viewer I use the following method to compute the viewplan with the following method.
await this.ifc.ifcViewer?.plans.computeAllPlanViews(modelID);
Inside that function which is located at
node_modules\web-ifc-viewer\dist\components\display\plans\plan-manager.js
You can see that there is a call to
const transformHeight = await this.getTransformHeight(modelID);
now if you if you do
console.log('transformHeight ', transformHeight);
you will find that it is different if you load your model as the second model which result that the all view plans for that model that was loaded as the second model cuts the plans at the wrong offset becausetransformHeight
is the wrong value.IFC models I tested on was the following
https://github.com/IFCjs/test-ifc-files/blob/main/Revit/rac_basic_sample_project.ifc
and
https://github.com/IFCjs/test-ifc-files/blob/main/Revit/rac_advanced_sample_project.ifc
The text was updated successfully, but these errors were encountered: