Allow export of mesh edges for structural curve members

This commit is contained in:
Dion Moult
2020-07-18 13:10:28 +10:00
parent 1ec78e57ce
commit 11472f9aa9
@@ -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(