OCCNurbsCurve.from_parameters

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

Construct a NURBS curve from explicit curve parameters.

Parameters:
pointslist[Point]

The control points.

weightslist[float]

The weights of the control points.

knotslist[float]

The knots of the curve, without multiplicities.

multiplicitieslist[int]

The multiplicities of the knots.

degreeint

The degree of the curve.

is_periodicbool, optional

Flag indicating that the curve is periodic.

Returns:
OCCNurbsCurve