pymel.core.nodetypes.CurveIntersect — PyMEL 1.0.7 documentation

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 -useDirectionflag and the directionflag.

MAttrClass = Enum( EnumValue('MAttrClass', 1, 'localDynamicAttr'), EnumValue('MAttrClass', 2, 'normalAttr'), EnumValue('MAttrClass', 3, 'extensionAttr'), EnumValue('MAttrClass', 4, 'invalidAttr'))
MdgTimerMetric = Enum( EnumValue('MdgTimerMetric', 0, 'metric_callback'), EnumValue('MdgTimerMetric', 1, 'metric_compute'), EnumValue('MdgTimerMetric', 2, 'metric_dirty'), EnumValue('MdgTimerMetric', 3, 'metric_draw'), EnumValue('MdgTimerMetric', 4, 'metric_fetch'), EnumValue('MdgTimerMetric', 5, 'metric_callbackViaAPI'), EnumValue('MdgTimerMetric', 6, 'metric_callbackNotViaAPI'), EnumValue('MdgTimerMetric', 7, 'metric_computeDuringCallback'), EnumValue('MdgTimerMetric', 8, 'metric_computeNotDuringCallback'), EnumValue('MdgTimerMetric', 9, 'metrics'))
MdgTimerState = Enum( EnumValue('MdgTimerState', 0, 'off'), EnumValue('MdgTimerState', 1, 'on'), EnumValue('MdgTimerState', 2, 'uninitialized'), EnumValue('MdgTimerState', 3, 'invalidState'))
MdgTimerType = Enum( EnumValue('MdgTimerType', 0, 'type_self'), EnumValue('MdgTimerType', 1, 'type_inclusive'), EnumValue('MdgTimerType', 2, 'type_count'), EnumValue('MdgTimerType', 3, 'types'))
getDirection(**kwargs)

The direction that the input curves are projected in before intersecting. This vector is only used if useDirectionflag 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.001 Flag 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 useDirectionflag 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.001 Flag 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