RhinoNurbsCurve.from_parameters

classmethod RhinoNurbsCurve.from_parameters(points, weights, knots, multiplicities, degree, is_periodic=False)

Construct a NURBS curve from explicit curve parameters.

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

  • weights (list[float]) – The control point weights.

  • knots (list[float]) – The curve knots, without duplicates.

  • multiplicities (list[int]) – The multiplicities of the knots.

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

  • is_periodic (bool, optional) – Flag indicating whether the curve is periodic or not. Note that this parameters is currently not supported.

Returns

compas_rhino.geometry.RhinoNurbsCurve