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 [<property>:<val>]...      

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

getObject <nurbsset> <index>   

Properties

<nurbs1railsweepsurface>.rail : integer 

The parent rail curve by NURBSet index.

<nurbs1railsweepsurface>.railID : integer 

The parent rail curve by NURBSId.

<nurbs1railsweepsurface>.numCurves : integer 

The number of cross-section curves.

<nurbs1railsweepsurface>.parallel : boolean 

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

<nurbs1railsweepsurface>.axisTM : matrix3 

The axis of the sweep.

Methods

appendCurve <nurbs1railsweepsurface> <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 <nurbs1railsweepsurface> <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 <nurbs1railsweepsurface> <index> 
setCurve <nurbs1railsweepsurface> <index> <curve> 

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

getCurveID <nurbs1railsweepsurface> <index> 
setCurveByID <nurbs1railsweepsurface> <index> <curveID> 

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

getFlip <nurbs1railsweepsurface> <index> 
setFlip <nurbs1railsweepsurface> <index> <boolean> 

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

getCurveStartPoint <nurbs1railsweepsurface> <index> 
setCurveStartPoint <nurbs1railsweepsurface> <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.