mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
- Fix a regression due to too high tolerance in Polyline -Loop creation.
- Make tolerances slightly more explicit, ideally these should obviously be configurable at runtime.
This commit is contained in:
@@ -103,7 +103,7 @@ IfcGeomObjects::IfcMesh::IfcMesh(int i, const IfcGeom::ShapeList& shapes) {
|
||||
// Triangulate the shape
|
||||
try {
|
||||
//BRepTools::Clean(s);
|
||||
BRepMesh::Mesh(s,0.001f);
|
||||
BRepMesh::Mesh(s,DEFLECTION_TOLERANCE);
|
||||
} catch(...) {
|
||||
Ifc::LogMessage("Error","Failed to triangulate mesh:",Ifc::EntityById(i)->entity);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user