NurbsCurve.from_parameters

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

Construct a NURBS curve from explicit curve parameters.

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

  • weights (list[float]) – The weights of the control points.

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

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

  • degree (int) – Degree of the curve.

  • is_periodic (bool, optional) – Flag indicating that the curve is periodic.

Returns

NurbsCurve