From b301eb6520f9b9b68dbd0acea07e47adde0bfa74 Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Thu, 12 Jan 2023 13:07:40 +0100 Subject: [PATCH] Update boolean_utils.cpp --- src/ifcgeom_schema_agnostic/boolean_utils.cpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/ifcgeom_schema_agnostic/boolean_utils.cpp b/src/ifcgeom_schema_agnostic/boolean_utils.cpp index a5ecc20c55..fa77e7479a 100644 --- a/src/ifcgeom_schema_agnostic/boolean_utils.cpp +++ b/src/ifcgeom_schema_agnostic/boolean_utils.cpp @@ -620,18 +620,6 @@ bool IfcGeom::util::boolean_subtraction_2d_using_builder(const TopoDS_Shape & a_ } } - { - TopoDS_Compound C; - BRep_Builder BB; - BB.MakeCompound(C); - - for (auto& w : wires) { - BB.Add(C, w); - } - - BRepTools::Write(C, "debug.brep"); - } - shape_index = 0; edge_index = 0; @@ -1369,4 +1357,4 @@ const TopoDS_Shape& IfcGeom::util::ensure_fit_for_subtraction(const TopoDS_Shape } return solid; -} \ No newline at end of file +}