OCCNurbsCurve.from_line

classmethod OCCNurbsCurve.from_line(line)

Construct a NURBS curve from a line.

Parameters:
lineLine

The line geometry.

Returns:
OCCNurbsCurve