NurbsCurve.from_interpolation

classmethod NurbsCurve.from_interpolation(points, precision=0.001)

Construct a NURBS curve by interpolating a set of points.

Parameters
  • points (list[[float, float, float] | compas.geometry.Point]) – A list of interpolation points.

  • precision (int, optional) – The desired precision of the interpolation.

Returns

compas.geometry.NurbsCurve