Go to: Related nodes. Attributes.

Project a curve onto a poly mesh.

Node nameParentsClassificationMFn typeCompatible function sets
polyProjectCurveabstractBaseCreategeometrykPolyProjectCurvekBase
kNamedObject
kDependencyNode
kMidModifier
kPolyProjectCurve

Related nodes

projectCurve

Attributes (20)

automatic, baryCoord, baryCoord1, baryCoord2, baryCoord3, curvePoints, curveSamples, direction, directionX, directionY, directionZ, face, inputCurve, inputMatrix, inputMesh, outputCurve, pointsOnEdges, projectedPoint, tolerance, triangle

Long name (short name)TypeDefaultFlags
inputCurve (ic) nurbsCurveNULLoutputinputconnectable
The input curve to project.
inputMesh (ims) meshNULLoutputinputconnectable
The input surface to project onto.
inputMatrix (imt) matrixidentityoutputinputconnectablekeyable
Input world transformation matrix. Also a multi-attribute. Each input poly object must have a corresponding inputMatrix.
outputCurve (oc) nurbsCurveNULLarrayoutputconnectable
Output curve(s) on surface (2 dimensional.)
pointsOnEdges (poe) boolfalseoutputinputconnectablestorable
If true, the projected curve will be created using points that project to edges of the input mesh.
curveSamples (cs) integer50outputinputconnectablestorable
How many points to sample the input curve at. Used if aAutoSample is false.
automatic (as) booltrueoutputinputconnectablestorable
If true, automatically determine the number of sample points using chordal deviation. If false, use aCurveSamples.
curvePoints (cps) compoundn/aarrayoutputinputconnectablestorable
Lists of projected points that were used to create the output curves.
projectedPoint (pp) compoundn/aarrayoutputinputconnectablestorable
contains a face id, triangle within the face, and the barycentric coordinates within the triangle of a point from the curve projected onto the mesh.
face (f) integer0outputinputconnectablestorable
face id
triangle (t) integer0outputinputconnectablestorable
which triangle within the face
baryCoord (bc) double3outputinputconnectablestorable
barycentric coordinate
baryCoord1 (bc1) distance (double)0.0cmoutputinputconnectablestorable
First barycentric coordinate
baryCoord2 (bc2) distance (double)0.0cmoutputinputconnectablestorable
Second barycentric coordinate
baryCoord3 (bc3) distance (double)0.0cmoutputinputconnectablestorable
Third barycentric coordinate
direction (d) double3outputinputconnectablestorablekeyable
Direction of projection.
directionX (dx) distance (double)0.0cmoutputinputconnectablestorablekeyable
X direction of projection.
directionY (dy) distance (double)0.0cmoutputinputconnectablestorablekeyable
Y direction of projection.
directionZ (dz) distance (double)1.0cmoutputinputconnectablestorablekeyable
Z direction of projection.
tolerance (tol) distance (double)0.0001cmoutputinputconnectablestorablekeyable
Tolerance to fit to.