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
I have a model that crashes when processing IIfcExtrudedAreaSolid.
After doing some tests, it seems to be a numerical precision issue. If I change the values (like exporting using another tool) the model opens.
I have a model that crashes when processing IIfcExtrudedAreaSolid.
After doing some tests, it seems to be a numerical precision issue. If I change the values (like exporting using another tool) the model opens.
IFC excerpt with this issue:
Crash:
#141752=IFCCARTESIANPOINT((1532.4134018749912,-813.8026351546772));
#141753=IFCDIRECTION((-0.99938477594571395,-0.));
#141754=IFCAXIS2PLACEMENT2D(#141752,#141753);
#141755=IFCELLIPSE(#141754,1896.1585907663155,1894.1553580163991);
#141756=IFCTRIMMEDCURVE(#141755,(IFCPARAMETERVALUE(276.85116390029498)),(IFCPARAMETERVALUE(334.33161986185564)),.T.,.PARAMETER.);
Working:
#141752=IFCCARTESIANPOINT((1532.413401874991223,-813.802635154677205,0.));
#141753=IFCDIRECTION((-0.999384775945714,-0.));
#141754=IFCAXIS2PLACEMENT2D(#141752,#141753);
#141755=IFCELLIPSE(#141754,1896.158590766315456,1894.155358016399077);
#141756=IFCTRIMMEDCURVE(#141755,(IFCPARAMETERVALUE(276.851163900294978)),(IFCPARAMETERVALUE(334.331619861855643)),.T.,.PARAMETER.);
I made a fix for this, ignoring the invalid faces. I'll submit the PR.
I used this test model with the version Xbim Geometry v5.1.762-develop:
slab_issue.zip
The text was updated successfully, but these errors were encountered: