NURBS2RailSweepSurface : NURBSSurface

This class defines a dependent 2-Rail Sweep surface. A 2-Rail Sweep surface uses at least three curves. Two curves, the "rails," define the two edges of the surface. The other curves define the surface's cross sections. A 2-Rail Sweep surface is similar to a 1-Rail sweep. The additional rail gives you more control over the shape of the surface.

Constructors

NURBS2RailSweepSurface [<property>:<val>]...

Any of the object's properties may be set via optional keyword arguments on the constructor.

getObject <nurbsset> <index>

Properties

<nurbs2railsweepsurface>.rail1 : integer

The 1st parent rail curve by NURBSet index.

<nurbs2railsweepsurface>.rail1ID : integer

The 1st parent rail curve by NURBSId.

<nurbs2railsweepsurface>.rail2 : integer

The 2nd parent rail curve by NURBSet index.

<nurbs2railsweepsurface>.rail2ID : integer

The 2nd parent rail curve by NURBSId.

<nurbs2railsweepsurface>.numCurves : integer

The number of cross-section curves.

<nurbs2railsweepsurface>.parallel : boolean

If false, the rail curves define a ruled surface, and the cross sections describe lofting from this base ruled surface. If true, each cross section is associated with its best fitting plane. This plane moves along the rails and parallel to them. If the rails are curved, the plane can rotate. If the spacing between the rails changes, the section scales or stretches. In either case, the surface is blended from section to section along its entire length.

Methods

appendCurve <nurbs2railsweepsurface> <curve> [flip:<boolean>] [startPoint:<float>]

Adds a curve to the end of the list of cross-section curves by specifying the index in the NURBSSet. If flip:true is specified, the cross-section curve is reversed. startPoint specifies the start point on the parent curve. startPoint is applicable only if the parent is a closed curve.

appendCurveByID <nurbs2railsweepsurface> <curveID> [flip:<boolean>] [startPoint:<float>]

Adds a curve to the end of the list of cross-section curves by specifying the NURBSId. If flip:true is specified, the cross-section curve is reversed. startPoint specifies the start point on the parent curve. startPoint is applicable only if the parent is a closed curve.

getCurve <nurbs2railsweepsurface> <index>

setCurve <nurbs2railsweepsurface> <index> <curve>

Get or set the indexed cross-section curve by NURBSSet index.

getCurveID <nurbs2railsweepsurface> <index>

setCurveByID <nurbs2railsweepsurface> <index> <curveID>

Get or set the indexed cross-section curve by NURBSId.

getFlip <nurbs2railsweepsurface> <index>

setFlip <nurbs2railsweepsurface> <index> <boolean>

Get or set whether the indexed cross-section curve is reversed.

getCurveStartPoint <nurbs2railsweepsurface> <index>

setCurveStartPoint <nurbs2railsweepsurface> <index> <float>

Get or set the start point of the indexed cross-section curve on the parent curve. The start point is applicable only if the parent is a closed curve.

See also

NURBSSurface

NURBSObject

Value Common Properties, Operators, and Methods