NURBS1RailSweepSurface : NURBSSurface

This class defines a dependent 1-Rail Sweep surface. A 1-Rail Sweep surface uses at least two curves. One curve, the "rail," defines one edge of the surface. The other curves define the surface's cross sections. The cross-section curves should intersect the rail curve. If the cross sections don't intersect the rail, the resulting surface is unpredictable.

Constructors

NURBS1RailSweepSurface [:]...

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

getObject

Properties

.rail : integer

The parent rail curve by NURBSet index.

.railID : integer

The parent rail curve by NURBSId.

.numCurves : integer

The number of cross-section curves.

.parallel : boolean

If true, ensures that the sweep surface's normal is parallel to the rail.

.axisTM : matrix3

The axis of the sweep.

Methods

appendCurve [flip:] [startPoint:]

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 [flip:] [startPoint:]

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

setCurve

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

getCurveID

setCurveByID

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

getFlip

setFlip

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

getCurveStartPoint

setCurveStartPoint

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