Open zilles-edv opened 1 year ago
The attached IFC file cannot be loaded. The file contains incorrect holes with radius = 0. With BIMVision the file can be loaded without problems.
Xbim.Geometry.Engine
using (var model = IfcStore.Open(@"Test mit 0 Bohrung.ifc")) { var context = new Xbim3DModelContext(model); context.CreateContext(); }
Test mit 0 Bohrung.zip
The incorrect holes should simply be ignored.
System.Exception: General Error Creating IfcExtrudedAreaSolid
The error occurs in file XBimFace.cpp at line 1052. The normal cannot be created. XbimVector3D n = wire->Normal;
The attached IFC file cannot be loaded. The file contains incorrect holes with radius = 0. With BIMVision the file can be loaded without problems.
Assemblies and versions affected:
Xbim.Geometry.Engine
Steps (or code) to reproduce the issue:
Minimal file to reproduce the issue:
Test mit 0 Bohrung.zip
Expected behavior:
The incorrect holes should simply be ignored.
Actual behavior or exception details:
System.Exception: General Error Creating IfcExtrudedAreaSolid
Additional Details
The error occurs in file XBimFace.cpp at line 1052. The normal cannot be created. XbimVector3D n = wire->Normal;