NurbsCurve.from_points

classmethod NurbsCurve.from_points(points, degree=3)

Construct a NURBS curve from control points.

Parameters
  • points (list[[float, float, float] | compas.geometry.Point]) – The control points.

  • degree (int, optional) – The degree of the curve.

Returns

compas.geometry.NurbsCurve