From 395d63279f94c54d72d2ede0ec40945d69d0083d Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 22 Jan 2021 22:01:08 +0100 Subject: [PATCH] Log messages --- src/ifcgeom/IfcGeomShapes.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcgeom/IfcGeomShapes.cpp b/src/ifcgeom/IfcGeomShapes.cpp index f0f4f945c1..0e35ad63fb 100644 --- a/src/ifcgeom/IfcGeomShapes.cpp +++ b/src/ifcgeom/IfcGeomShapes.cpp @@ -1035,13 +1035,13 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcSurfaceCurveSweptAreaSolid* l, if (!is_plane) { TopoDS_Shape surface_shell; if (!convert_shape(l->ReferenceSurface(), surface_shell)) { + Logger::Error("Failed to convert reference surface", l); return false; } if (count(surface_shell, TopAbs_FACE) != 1) { + Logger::Error("Non-continuous reference surface", l); return false; } - std::ofstream ofs("debug.txt"); - BRepTools::Dump(surface_shell, ofs); surface_face = TopoDS::Face(TopExp_Explorer(surface_shell, TopAbs_FACE).Current()); }