Go to: Related nodes. Attributes.
Compute the aligned curve(s) given two input curves. One input
curve can be aligned to another input curve or both curves can be
aligned to each other. If aligning one curve to another then the
parameter value (joinParameter) is used to define the position on
the other curve where to align to. If aligning both curves together
then an end point on each curve is used.
Alignment with positional (positionalContinuity) is always true.
The types of positional continuity (positionalContinuityType) are:
move first/second/both or modify first/second/both. For "move" the
entire curve is moved so its end point coincides with the parameter
value on the other curve. For "modify" only an end point is moved
to the parameter value.
The tangent and curvature information at the parameter value is
used for aligning if the tangent (tangentContinuity) or curvature
(curvatureContinuity) option is true. Curvature continuity true
implies tangent continuity true as well. If tangent continuity is
true, then the tangent scale values (tangentScale1 and
tangentScale2) are applied to the appropriate curve based on the
tangent type (tangentContinuityType). If one curve is to be
modified for tangent continuity then the tangent at its end point
is modified to match the tangent at the parameter value of the
other curve. If curvature continuity is true, then the curvature
scale values (aCurvatureScale1 and aCurvatureScale2) are applied to
the appropriate curve as well.
| Node name |
Parents |
MFn type |
Compatible function sets |
| alignCurve |
abstractBaseCreate |
kAlignCurve |
kBase
kNamedObject
kDependencyNode
kCreate
kAlignCurve |
Related nodes
makeTextCurves, offsetCurve, hardenPoint, filletCurve, closeCurve, smoothCurve
Attributes (18)
attach, curvatureContinuity, curvatureScale1, curvatureScale2, inputCurve1, inputCurve2, joinParameter, keepMultipleKnots, outputCurve1, outputCurve2, positionalContinuity, positionalContinuityType,
reverse1, reverse2, tangentContinuity, tangentContinuityType, tangentScale1, tangentScale2
| Long name (short name) |
Type |
Default |
Flags |
|
inputCurve1
(ic1) |
nurbsCurve |
NULL |
   |
|
inputCurve2
(ic2) |
nurbsCurve |
NULL |
   |
|
outputCurve1
(oc1) |
nurbsCurve |
NULL |
  |
|
outputCurve2
(oc2) |
nurbsCurve |
NULL |
  |
|
tangentScale1
(ts1) |
double |
1.0 |
     |
|
tangentScale2
(ts2) |
double |
1.0 |
     |
|
curvatureScale1
(cs1) |
double |
0.0 |
     |
|
curvatureScale2
(cs2) |
double |
0.0 |
     |
|
positionalContinuityType
(pct) |
enum |
1 |
     |
|
tangentContinuityType
(tct) |
enum |
1 |
     |
|
joinParameter
(jnp) |
float |
123456.0 |
     |
|
reverse1
(rv1) |
bool |
false |
     |
|
reverse2
(rv2) |
bool |
false |
     |
|
attach
(at) |
bool |
false |
     |
|
keepMultipleKnots
(kmk) |
bool |
true |
      |
|
positionalContinuity
(pc) |
bool |
true |
     |
|
tangentContinuity
(tc) |
bool |
true |
     |
|
curvatureContinuity
(cc) |
bool |
false |
     |