BIM: add support for bsplines in Arch structures

This commit is contained in:
Furgo
2025-05-02 22:25:46 +02:00
committed by Yorik van Havre
parent 2c8d6529b5
commit f5737a9c5a

View File

@@ -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 = []