From 648c976dd4e6ab885c6297ddbd4ccf971caa26fb Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Mon, 23 Nov 2020 11:20:55 +0100 Subject: [PATCH] Remove debugging code #1121 --- src/ifcgeom/IfcGeomShapes.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/ifcgeom/IfcGeomShapes.cpp b/src/ifcgeom/IfcGeomShapes.cpp index cab842798d..f241e36133 100644 --- a/src/ifcgeom/IfcGeomShapes.cpp +++ b/src/ifcgeom/IfcGeomShapes.cpp @@ -1245,9 +1245,6 @@ namespace { void process_sweep_as_pipe(const TopoDS_Wire& wire, const TopoDS_Wire& section, TopoDS_Shape& result, bool force_transformed=false) { // This tolerance is fairly high due to the linear edge substitution for small (or large radii) conical curves. const bool is_continuous = wire_is_c1_continuous(wire, 1.e-2); - static int i = 0; - std::string fn = "pipe-wire-" + boost::lexical_cast(i++) + ".brep"; - BRepTools::Write(wire, fn.c_str()); BRepOffsetAPI_MakePipeShell builder(wire); builder.Add(section); builder.SetTransitionMode(is_continuous || force_transformed ? BRepBuilderAPI_Transformed : BRepBuilderAPI_RightCorner);