This class defines a dependent point that lies on a curve or relative to it. The point can either be on the curve or off the curve. If it is on the curve, the U Position is the only control of its location. The U Position specifies a location along the curve (based on the curve’s local U axis). There are four ways to specify the displacement of the point’s location relative to the U position:
OnObject - the point is actually on the surface of the object.
Offset - the point is moved according to a relative (object space) X,Y,Z location.
Normal - the point is moved along the direction of the curve’s normal. (Negative values move it opposite to the normal.)
Tangent - the point is moved along the tangent of the U Position. If the value is positive it's the tangent that heads in the direction of increasing U value; if negative it's the tangent that heads in the direction of decreasing U value.
Constructors
NURBSCurveConstPoint [<property>:<val>]...
Any of the object's properties may be set via optional keyword arguments on the constructor.
getObject <nurbsset> <index>
Properties
<nurbscurveconstpoint>.parent : integer
The parent curve by NURBSet index.
<nurbscurveconstpoint>.parentID : integer
The parent curve by NURBSId.
<nurbscurveconstpoint>.uParam : float
Parametric point along the parent curve.
<nurbscurveconstpoint>.type :#onObject, #offset, #normal, #tangent
Specifies the transform relationship between the point and the curve.
<nurbscurveconstpoint>.offset : point3
Offset vector if an offset type.
<nurbscurveconstpoint>.normal : float
Distance along the normal if a normal type.
<nurbscurveconstpoint>.uTangent : float
Distance along the curve tangent if a tangent type.
<nurbscurveconstpoint>.trimCurve : boolean
If true
, trims parent curve at the point.
<nurbscurveconstpoint>.flipTrim : boolean
If true
the curve is trimmed from the point towards low parameter space. If false
the curve is trimmed from the point towards high parameter space.