From 40e463a55f7bb8200a8e67ed2ef09e6a0443fa3b Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Fri, 30 Sep 2022 13:59:31 +0200 Subject: [PATCH] #2457 uplift curves to wires in geometric sets --- src/ifcgeom/IfcGeometricSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcgeom/IfcGeometricSet.cpp b/src/ifcgeom/IfcGeometricSet.cpp index 5c121f1c10..77cd2e6464 100644 --- a/src/ifcgeom/IfcGeometricSet.cpp +++ b/src/ifcgeom/IfcGeometricSet.cpp @@ -46,7 +46,7 @@ bool IfcGeom::Kernel::convert(const IfcSchema::IfcGeometricSet* l, IfcRepresenta if (!convert_shape(element, s)) { continue; } - } else if (shape_type(element) == ST_WIRE && include_curves) { + } else if ((shape_type(element) == ST_WIRE || shape_type(element) == ST_CURVE) && include_curves) { TopoDS_Wire w; if (!convert_wire(element, w)) { continue;