From f5737a9c5a6749ba1892749340943ebee8fd6887 Mon Sep 17 00:00:00 2001 From: Furgo <148809153+furgo16@users.noreply.github.com> Date: Fri, 2 May 2025 22:25:46 +0200 Subject: [PATCH] BIM: add support for bsplines in Arch structures --- src/Mod/BIM/ArchStructure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/BIM/ArchStructure.py b/src/Mod/BIM/ArchStructure.py index 46b7b181b1..15ee8f4bb9 100644 --- a/src/Mod/BIM/ArchStructure.py +++ b/src/Mod/BIM/ArchStructure.py @@ -955,11 +955,11 @@ class _Structure(ArchComponent.Component): # needs to take out those in Construction before # using as parameters. if (not obj.ArchSketchEdges and not geom.Construction) or str(ig) in obj.ArchSketchEdges: - # support Line, Arc, Circle, Ellipse for Sketch + # support Line, Arc, Circle, Ellipse, BSplineCurve for Sketch # as Base at the moment if isinstance(geom.Geometry, (Part.LineSegment, Part.Circle, Part.ArcOfCircle, - Part.Ellipse)): + Part.Ellipse, Part.BSplineCurve)): skGeomEdgesI = geom.Geometry.toShape() skGeomEdges.append(skGeomEdgesI) clusterTransformed = []