Go to: Related nodes. Attributes.

Compute the aligned surface(s) given two input surfaces. One input surface can be aligned to another input surface or both surfaces can be aligned to each other. If aligning one surface to another then the parameter value (joinParameter) and direction (directionU) are used to define the isoparm on the other surface where to align to. If aligning both surfaces together then an end boundary on each surface is used in the specified direction.
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 surface is moved so its end boundary coincides with the isoparm in the specified direction and at the parameter value on the other surface. For "modify" only an end boundary is moved to the isoparm at 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 surface based on the tangent type (tangentContinuityType). If one surface is to be modified for tangent continuity then the tangents at its end boundary are modified to match the tangents of the isoparm in the specified direction and at the parameter value of the other surface. If curvature continuity is true, then the curvature scale values (aCurvatureScale1 and aCurvatureScale2) are applied to the appropriate surface as well.

Node nameParentsMFn typeCompatible function sets
alignSurfaceabstractBaseCreatekAlignSurfacekBase
kNamedObject
kDependencyNode
kCreate
kAlignSurface

Related nodes

ffBlendSrfObsolete, roundConstantRadius, extendSurface, offsetCos, avgSurfacePoints, bevel, insertKnotSurface

Attributes (22)

attach, curvatureContinuity, curvatureScale1, curvatureScale2, directionU, inputSurface1, inputSurface2, joinParameter, keepMultipleKnots, outputSurface1, outputSurface2, positionalContinuity, positionalContinuityType, reverse1, reverse2, swap1, swap2, tangentContinuity, tangentContinuityType, tangentScale1, tangentScale2, twist

Long name (short name)TypeDefaultFlags
inputSurface1 (is1) nurbsSurfaceNULLoutputinputconnectable
The first input surface.
inputSurface2 (is2) nurbsSurfaceNULLoutputinputconnectable
The second input surface.
outputSurface1 (os1) nurbsSurfaceNULLoutputconnectable
Output aligned surface one (refers to first input surface). If attach option is true the attached result is in this output.
outputSurface2 (os2) nurbsSurfaceNULLoutputconnectable
Output aligned surface two (refers to second input surface). If attach option is true this output is not available.
tangentScale1 (ts1) double1.0outputinputconnectablestorablekeyable
Tangent scale applied to tangent of first surface for tangent continuity.
tangentScale2 (ts2) double1.0outputinputconnectablestorablekeyable
Tangent scale applied to tangent of second surface for tangent continuity.
curvatureScale1 (cs1) double0.0outputinputconnectablestorablekeyable
Curvature scale applied to curvature of first surface for curvature continuity.
curvatureScale2 (cs2) double0.0outputinputconnectablestorablekeyable
Curvature scale applied to curvature of second surface for curvature continuity.
positionalContinuityType (pct) enum1outputinputconnectablestorablekeyable
Positional continuity type legal values: 1 - move first surface, 2 - move second surface, 3 - move both surfaces, 4 - modify first surface, 5 - modify second surface, 6 - modify both surfaces
tangentContinuityType (tct) enum1outputinputconnectablestorablekeyable
Tangent continuity type legal values: 1 - do tangent continuity on first surface, 2 - do tangent continuity on second surface
joinParameter (jnp) float123456.0outputinputconnectablestorablekeyable
Parameter on reference surface where modified surface is to be aligned to.
twist (tw) boolfalseoutputinputconnectablestorablekeyable
If true, reverse the second surface in the opposite direction (specified by directionU) before doing align. This will avoid twists in the aligned surfaces. Otherwise, do nothing to the second input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.
reverse1 (rv1) boolfalseoutputinputconnectablestorablekeyable
If true, reverse the direction (specified by directionU) of the first input surface before doing align. Otherwise, do nothing to the first input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.
reverse2 (rv2) boolfalseoutputinputconnectablestorablekeyable
If true, reverse the direction (specified by directionU) of the second input surface before doing align. Otherwise, do nothing to the second input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.
swap1 (sw1) boolfalseoutputinputconnectablestorablekeyable
If true, swap the UV directions of the first input surface before doing align. Otherwise, do nothing to the first input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.
swap2 (sw2) boolfalseoutputinputconnectablestorablekeyable
If true, swap the UV directions of the second input surface before doing align. Otherwise, do nothing to the second input surface before aligning. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.
attach (at) boolfalseoutputinputconnectablestorablehidden
If true, join the aligned surfaces together. Otherwise, two surface results are output from the node. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.
keepMultipleKnots (kmk) booltrueoutputinputconnectablestorablekeyablehidden
If false, remove the multiple knots from the attached surface. Otherwise, the multiple knots are kept. NOTE: setting this attribute to random values will cause unpredictable results and is not supported.
positionalContinuity (pc) booltrueoutputinputconnectablestorablekeyable
Positional continuity is on if true and off otherwise.
tangentContinuity (tc) booltrueoutputinputconnectablestorablekeyable
Tangent continuity is on if true and off otherwise.
curvatureContinuity (cc) boolfalseoutputinputconnectablestorablekeyable
Curvature continuity is on if true and off otherwise.
directionU (du) booltrueoutputinputconnectablestorablekeyable
If true use U direction of surface and V direction otherwise.