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.
Any of the object's properties may be set via optional keyword arguments on the constructor.
The 1 st parent rail curve by NURBSet index.
The 1 st parent rail curve by NURBSId.
The 2 nd parent rail curve by NURBSet index.
The 2 nd parent rail curve by NURBSId.
The number of cross-section curves.
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.
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.
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.
Get or set the indexed cross-section curve by NURBSSet index.
Get or set the indexed cross-section curve by NURBSId.
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.