NURBSCurveOnSurface : NURBSCVCurve

This class defines a dependent Curve-on-Surface CV curve. These curves can be used for trimming the surface they lie on.

Constructors

NURBSCurveOnSurface [<property>:<val>] [closed:<boolean>]...

Any of the object's properties may be set via optional keyword arguments on the constructor. If closed:true is specified, the curve is created as a closed curve, otherwise it is an open curve.

getObject <nurbsset> <index>

Properties

<nurbscurveonsurface>.parent    : integer

The parent surface by NURBSet index.

<nurbscurveonsurface>.parentID  : integer

The parent surface by NURBSId.

<nurbscurveonsurface>.trim      : boolean

If true, trims parent surface at the curve.

<nurbscurveonsurface>.flipTrim  : boolean

The state of the trim flip toggle. This controls which portion of the surface is trimmed.

Notes

The values for CVs for a NURBSCurveOnSurface are values in the parameter space of the surface, not in 3D space. CV surfaces are normally parameterized from 0 to 1, so all the CV values should have values from 0 to 1.

Point surfaces are chord-length parameterized, which means that the CV parameter range is about the same as the size of the surface. In most cases, NURBSCurveOnSurfaces work better when point surfaces are used.

You may have problems generating NURBSCurveOnSurfaces on CV surfaces. NURBSPointCurveOnSurfaces on CV surfaces are typically easier to work with.

See Also