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 name Parents MFn type Compatible function sets
projectTangent abstractBaseCreate kProjectTangent kBase
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) Type Default Flags
inputCurveToProject (ic) nurbsCurve NULL outputinputconnectable
The input curve that will be aligned.
inputCurve1ToProjectTo (ic1) nurbsCurve NULL outputinputconnectable
The first input curve used for the align.
inputCurve2ToProjectTo (ic2) nurbsCurve NULL outputinputconnectable
The second input curve used for the align.
inputSurfaceToProjectTo (is) nurbsSurface NULL outputinputconnectable
Input surface used for the align.
outputCurve (oc) nurbsCurve NULL outputconnectable
Output aligned curve.
tangentScale (ts) distance (double) 1.0cm outputinputconnectablestorablekeyable
Tangent scale applied to tangent of curve to align.
curvatureScale (cs) distance (double) 0.0cm outputinputconnectablestorablekeyable
Curvature scale applied to curvature of curve to align. Available if curvature option is true.
rotate (ro) angle (double) 0.0deg outputinputconnectablestorablekeyable
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) enum 1 outputinputconnectablestorablekeyable
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) bool false outputinputconnectablestorable
Curvature continuity is on if true and off otherwise.
reverseTangent (rt) bool false outputinputconnectablestorablekeyable
Reverse the tangent direction if true and leave it the way it is if false.
ignoreEdges (ie) bool false outputinputconnectablestorablekeyable
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.