OCCNurbsCurve.from_parameters
- classmethod OCCNurbsCurve.from_parameters(points, weights, knots, multiplicities, degree, is_periodic=False)
Construct a NURBS curve from explicit curve parameters.
- Parameters
points (list[
Point
]) – The control points.weights (list[float]) – The weights of the control points.
knots (list[float]) – The knots of the curve, without multiplicities.
multiplicities (list[int]) – The multiplicities of the knots.
degree (int) – The degree of the curve.
is_periodic (bool, optional) – Flag indicating that the curve is periodic.
- Returns