NurbsCurvePointList

class rhino3dm.NurbsCurvePointList
ControlPolygonLength

float: Gets the length of the polyline connecting all control points.

__len__()

[todo] add documentation

__getitem__()

[todo] add documentation

__setitem__()

[todo] add documentation

ChangeEndWeights(w0, w1)

Use a combination of scaling and reparameterization to change the end weights to the specified values.

Parameters:
  • w0 (float) – Weight for first control point.
  • w1 (float) – Weight for last control point.
Returns:

True on success, False on failure.

Return type:

bool

MakeRational()

Converts the curve to a Rational NURBS curve. Rational NURBS curves have weighted control points.

Returns:True on success, False on failure.
Return type:bool
MakeNonRational()

Converts the curve to a Non-rational NURBS curve. Non-rational curves have unweighted control points.

Returns:True on success, False on failure.
Return type:bool