pymel.core.nodetypes.CurveIntersect

Inheritance diagram of CurveIntersect

class CurveIntersect(*args, **kwargs)

class counterpart of mel function curveIntersect

You must specify two curves to intersect. This command either returns the parameter values at which the given pair of curves intersect, or returns a dependency node that provides the intersection information. If you want to find the intersection of the curves in a specific direction you must use BOTH the “-useDirection” flag and the “direction” flag.

MAttrClass = Enum( EnumValue('MAttrClass', 1, 'localDynamicAttr'), EnumValue('MAttrClass', 2, 'normalAttr'), EnumValue('MAttrClass', 3, 'extensionAttr'), EnumValue('MAttrClass', 4, 'invalidAttr'))
MdgTimerMetric = Enum( EnumValue('MdgTimerMetric', 0, '_callback'), EnumValue('MdgTimerMetric', 1, '_compute'), EnumValue('MdgTimerMetric', 2, '_dirty'), EnumValue('MdgTimerMetric', 3, '_draw'), EnumValue('MdgTimerMetric', 4, '_fetch'), EnumValue('MdgTimerMetric', 5, '_callbackViaAPI'), EnumValue('MdgTimerMetric', 6, '_callbackNotViaAPI'), EnumValue('MdgTimerMetric', 7, '_computeDuringCallback'), EnumValue('MdgTimerMetric', 8, '_computeNotDuringCallback'))
MdgTimerState = Enum( EnumValue('MdgTimerState', 0, 'off'), EnumValue('MdgTimerState', 1, 'on'), EnumValue('MdgTimerState', 2, 'uninitialized'), EnumValue('MdgTimerState', 3, 'invalidState'))
MdgTimerType = Enum( EnumValue('MdgTimerType', 0, '_self'), EnumValue('MdgTimerType', 1, '_inclusive'), EnumValue('MdgTimerType', 2, '_count'))
getDirection(**kwargs)

The direction that the input curves are projected in before intersecting. This vector is only used if “useDirection” flag is true.

Derived from mel command maya.cmds.curveIntersect

getTolerance(**kwargs)

The tolerance that the intersection is calculated with. For example, given two curves end-to-end, the ends must be within tolerance for an intersection to be returned.Default:0.001Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.curveIntersect

getUseDirection(**kwargs)

If true, use direction flag. The input curves are first projected in a specified direction and then intersected. If false, this command will only find true 3D intersections.Default:false

Derived from mel command maya.cmds.curveIntersect

setDirection(val=True, **kwargs)

The direction that the input curves are projected in before intersecting. This vector is only used if “useDirection” flag is true.

Derived from mel command maya.cmds.curveIntersect

setTolerance(val=True, **kwargs)

The tolerance that the intersection is calculated with. For example, given two curves end-to-end, the ends must be within tolerance for an intersection to be returned.Default:0.001Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.curveIntersect

setUseDirection(val=True, **kwargs)

If true, use direction flag. The input curves are first projected in a specified direction and then intersected. If false, this command will only find true 3D intersections.Default:false

Derived from mel command maya.cmds.curveIntersect

Previous topic

pymel.core.nodetypes.CurveInfo

Next topic

pymel.core.nodetypes.CurveNormalizer

Core

Core Modules

Other Modules

This Page