pymel.core.nodetypes.PolyRemesh — PyMEL 1.0.7 documentation

pymel.core.nodetypes.PolyRemesh

Inheritance diagram of PolyRemesh

class PolyRemesh(*args, **kwargs)

class counterpart of mel function polyRemesh

Triangulates, then remeshes the given mesh through edge splitting and collapsing. Edges longer than the specified refinement threshold are split, and edges shorter than the reduction threshold are collapsed.

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'))
caching(val=True, **kwargs)

Toggle caching for all attributes so that no recomputation is needed

Derived from mel command maya.cmds.polyRemesh

getConstructionHistory(**kwargs)

Turn the construction history on or off (where applicable). If construction history is on then the corresponding node will be inserted into the history chain for the mesh. If construction history is off then the operation will be performed directly on the object. Note:If the object already has construction history then this flag is ignored and the node will always be inserted into the history chain.

Derived from mel command maya.cmds.polyRemesh

getNodeState(**kwargs)

Defines how to evaluate the node. 0: Normal1: PassThrough2: Blocking3: Internally disabled. Will return to Normal state when enabled4: Internally disabled. Will return to PassThrough state when enabled5: Internally disabled. Will return to Blocking state when enabled

Derived from mel command maya.cmds.polyRemesh

getReduceThreshold(**kwargs)

Reduction threshold Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.polyRemesh

getRefineThreshold(**kwargs)

Refinement threshold

Derived from mel command maya.cmds.polyRemesh

setNodeState(val=True, **kwargs)

Defines how to evaluate the node. 0: Normal1: PassThrough2: Blocking3: Internally disabled. Will return to Normal state when enabled4: Internally disabled. Will return to PassThrough state when enabled5: Internally disabled. Will return to Blocking state when enabled

Derived from mel command maya.cmds.polyRemesh

setReduceThreshold(val=True, **kwargs)

Reduction threshold Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.polyRemesh

setRefineThreshold(val=True, **kwargs)

Refinement threshold

Derived from mel command maya.cmds.polyRemesh