Go to: Related nodes. Attributes.

This dependency node finds the intersections between two curves. If the "useDirection" attribute is on, then the two input curves are projected in the specified direction before being intersected. For example, if two curves "appear" to intersect in an orthographic view, this dependency node can be used to find those intersections.
This node outputs the parameter values on each curve where it is intersected. When the number of intersections increases, the number of output parameters (attributes "parameter1" and "parameter2") increases. When the number of intersections decreases, the number of output parameters REMAINS THE SAME. For example, if a pair of curves intersect twice, the output attribute "parameter1" will have two values. If one of the curves is moved such that there is now only one intersection, the output attribute will still have two values. The second value will have the default parameter value, 123456.0. Thus, if these parameter values were connected to other objects, the connections will remain intact.

Node nameParentsMFn typeCompatible function sets
curveIntersectabstractBaseCreatekCurveCurveIntersectkBase
kNamedObject
kDependencyNode
kCreate
kCurveCurveIntersect

Related nodes

fitBspline

Attributes (10)

direction, directionX, directionY, directionZ, inputCurve1, inputCurve2, parameter1, parameter2, tolerance, useDirection

Long name (short name)TypeDefaultFlags
inputCurve1 (ic1) nurbsCurveNULLoutputinputconnectable
The first input curve.
inputCurve2 (ic2) nurbsCurveNULLoutputinputconnectable
The second input curve.
tolerance (tol) distance (double)0.001cmoutputinputconnectablestorablekeyable
Tolerance within which the curves must be to intersect.
useDirection (ud) boolfalseoutputinputconnectablestorablekeyable
If true, use direction attribute. Curves are first projected in a specified direction, and then intersected. If false, only find true 3D intersections.
direction (d) double3outputinputconnectablestorablekeyable
Direction in which to project and find intersection. This is only used when the useDirection attribute is true. This direction vector must be of non-zero length.
directionX (dx) distance (double)0.0cmoutputinputconnectablestorablekeyable
X direction of projection.
directionY (dy) distance (double)1.0cmoutputinputconnectablestorablekeyable
Y direction of projection.
directionZ (dz) distance (double)0.0cmoutputinputconnectablestorablekeyable
Z direction of projection.
parameter1 (p1) double123456.0arrayoutputconnectable
Parameters on 1st curve where 1st curve is intersected by the 2nd curve
parameter2 (p2) double123456.0arrayoutputconnectable
Parameters on 2nd curve where 2nd curve is intersected by the 1st curve