mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 13:52:23 +00:00
Remove wire intersection check to preserve faces
This commit is contained in:
committed by
Thomas Krijnen
parent
76d61cb4d4
commit
2829a0764b
@@ -1157,12 +1157,7 @@ bool IfcGeom::Kernel::convert_wire_to_faces(const TopoDS_Wire& w, TopoDS_Compoun
|
|||||||
}
|
}
|
||||||
|
|
||||||
TopTools_ListOfShape results;
|
TopTools_ListOfShape results;
|
||||||
if (wire_intersections(w, results)) {
|
results.Append(w);
|
||||||
Logger::Warning("Self-intersections with " + boost::lexical_cast<std::string>(results.Extent()) + " cycles detected");
|
|
||||||
} else {
|
|
||||||
results.Clear();
|
|
||||||
results.Append(w);
|
|
||||||
}
|
|
||||||
|
|
||||||
TopoDS_Compound C;
|
TopoDS_Compound C;
|
||||||
BRep_Builder B;
|
BRep_Builder B;
|
||||||
|
|||||||
Reference in New Issue
Block a user