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 of compas.geometry.Point) – The control points.

  • weights (list of float) – The control point weights.

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

  • multiplicities (list of 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