Go to: Related nodes. Attributes.

Computes the curve which is tangent to two other curves or a surface. Only an end point of the input curve (inputCurveToProject) will be modified/aligned for tangent continuity. If using two other curves (inputCurve1ToProjectTo and inputCurve2ToProjectTo), then the two curves must intersect and an end point of the curve to align must meet at that intersection point. If using a surface (inputSurfaceToProjectTo), then an end point of the curve to align must be on the surface. If curvature continuity is true (curvature) then curvatureScale can be used. The tangentScale and rotate values are always available to adjust the tangent of the aligned curve. The tangentDirection type defines which tangent to use: the u direction of the surface or the first curve, the v direction of the surface or the second curve, the normal on the surface or at intersection of two other input curves. At any time the inverse tangent direction can be used by setting reverseTangent to true.

Node nameParentsClassificationMFn typeCompatible function sets
projectTangentabstractBaseCreategeometrykProjectTangentkBase
kNamedObject
kDependencyNode
kCreate
kProjectTangent

Related nodes

reverseSurface, smoothTangentSrf, rbfSrf, surfaceInfo

Attributes (12)

curvature, curvatureScale, ignoreEdges, inputCurve1ToProjectTo, inputCurve2ToProjectTo, inputCurveToProject, inputSurfaceToProjectTo, outputCurve, reverseTangent, rotate, tangentDirection, tangentScale

Long name (short name)TypeDefaultFlags
inputCurveToProject (ic) nurbsCurveNULLoutputinputconnectable
The input curve that will be aligned.
inputCurve1ToProjectTo (ic1) nurbsCurveNULLoutputinputconnectable
The first input curve used for the align.
inputCurve2ToProjectTo (ic2) nurbsCurveNULLoutputinputconnectable
The second input curve used for the align.
inputSurfaceToProjectTo (is) nurbsSurfaceNULLoutputinputconnectable
Input surface used for the align.
outputCurve (oc) nurbsCurveNULLoutputconnectable
Output aligned curve.
tangentScale (ts) distance (double)1.0cmoutputinputconnectablestorablekeyable
Tangent scale applied to tangent of curve to align.
curvatureScale (cs) distance (double)0.0cmoutputinputconnectablestorablekeyable
Curvature scale applied to curvature of curve to align. Available if curvature option is true.
rotate (ro) angle (double)0.0degoutputinputconnectablestorablekeyable
Amount by which the tangent of the curve to align will be rotated. Available only if the normal direction (3) is not used for tangentDirection.
tangentDirection (td) enum1outputinputconnectablestorablekeyable
Tangent align direction type legal values: 1=u direction (of surface or use first curve), 2=v direction (of surface or use second curve), 3=normal direction (at point of intersection).
curvature (c) boolfalseoutputinputconnectablestorable
Curvature continuity is on if true and off otherwise.
reverseTangent (rt) boolfalseoutputinputconnectablestorablekeyable
Reverse the tangent direction if true and leave it the way it is if false.
ignoreEdges (ie) boolfalseoutputinputconnectablestorablekeyable
If false, use the tangents of the trim edge curves if the surface is trimmed. If true, use the tangents of the underlying surface in the U/V directions.