NurbsCurve.from_line

classmethod NurbsCurve.from_line(line)

Construct a NURBS curve from a line.

This construction method is similar to the method CreateFromLine of the Rhino API for NURBS curves 1.

References

1

https://developer.rhino3d.com/api/RhinoCommon/html/Overload_Rhino_Geometry_NurbsCurve_CreateFromLine.htm