mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Allow export of mesh edges for structural curve members
This commit is contained in:
@@ -2347,7 +2347,10 @@ class IfcExporter():
|
||||
return spline.bezier_points if spline.bezier_points else spline.points
|
||||
|
||||
def create_edge(self, curve):
|
||||
points = self.get_spline_points(curve.splines[0])
|
||||
if hasattr(curve, 'splines'):
|
||||
points = self.get_spline_points(curve.splines[0])
|
||||
else:
|
||||
points = curve.vertices
|
||||
if not points:
|
||||
return
|
||||
return self.file.createIfcEdge(
|
||||
|
||||
Reference in New Issue
Block a user