pymel.core.nodetypes.PolyReduce

Inheritance diagram of PolyReduce

class PolyReduce(*args, **kwargs)

class counterpart of mel function polyReduce

Reduce a polygonal object.

caching(val=True, **kwargs)

Toggle caching for all attributes so that no recomputation is needed

Derived from mel command maya.cmds.polyReduce

getBorder(**kwargs)

This flag specifies the degree to which vertices along the geometric border are to be preserved. It has effect only if the -keepBorder flag is set to false. A value of 1.0 results in no special effort being made to preserve any border vertices. A value of 0 results in all border vertices being preserved.C: Default is .5, range is [0,1].Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyReduce

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.polyReduce

getDetail(**kwargs)

This flag specifies how much of the reduced geometry should be dedicated to preserving regions of high curvature. A value of 1.0 will result in relatively equal distribution of vertices and faces regardless of curvature. A value of 0 will concentrate the detail in areas of high curvature. This value is ignored when -keepHardEdge is set to false.C: Default is .5, range is [0,1].Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyReduce

getKeepBorder(**kwargs)

If true, vertices on border will not be modified.C: Default is false.Q: When queried, this flag returns a boolean.

Derived from mel command maya.cmds.polyReduce

getKeepHardEdge(**kwargs)

If true, vertices on hard edges will not be modified.C: Default is false.Q: When queried, this flag returns a boolean.

Derived from mel command maya.cmds.polyReduce

getKeepMapBorder(**kwargs)

If true, vertices on UV border will not be modified.C: Default is false.Q: When queried, this flag returns a boolean.

Derived from mel command maya.cmds.polyReduce

getKeepOriginalVertices(**kwargs)

If true, vertices will retain their original positions and will not be repositioned for optimal shapeC: Default is false.Q: When queried, this flag returns a boolean.

Derived from mel command maya.cmds.polyReduce

getLine(**kwargs)

This flag specifies the degree to which “feature lines” (edges joining faces with sharp geometric angles between them) are to be preserved. A value of 1.0 results in no special effort being made to preserve such features. A value of 0 results in the greatest possible effort to preserve such features.C: Default is .5, range is [0,1].Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyReduce

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 enabledFlag 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.polyReduce

getPercentage(**kwargs)

This flag specifies what percentage of vertices have to be removed from the original object.C: Default is 100. 0 will remove as many vertices as possible.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyReduce

setBorder(val=True, **kwargs)

This flag specifies the degree to which vertices along the geometric border are to be preserved. It has effect only if the -keepBorder flag is set to false. A value of 1.0 results in no special effort being made to preserve any border vertices. A value of 0 results in all border vertices being preserved.C: Default is .5, range is [0,1].Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyReduce

setDetail(val=True, **kwargs)

This flag specifies how much of the reduced geometry should be dedicated to preserving regions of high curvature. A value of 1.0 will result in relatively equal distribution of vertices and faces regardless of curvature. A value of 0 will concentrate the detail in areas of high curvature. This value is ignored when -keepHardEdge is set to false.C: Default is .5, range is [0,1].Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyReduce

setKeepBorder(val=True, **kwargs)

If true, vertices on border will not be modified.C: Default is false.Q: When queried, this flag returns a boolean.

Derived from mel command maya.cmds.polyReduce

setKeepHardEdge(val=True, **kwargs)

If true, vertices on hard edges will not be modified.C: Default is false.Q: When queried, this flag returns a boolean.

Derived from mel command maya.cmds.polyReduce

setKeepMapBorder(val=True, **kwargs)

If true, vertices on UV border will not be modified.C: Default is false.Q: When queried, this flag returns a boolean.

Derived from mel command maya.cmds.polyReduce

setKeepOriginalVertices(val=True, **kwargs)

If true, vertices will retain their original positions and will not be repositioned for optimal shapeC: Default is false.Q: When queried, this flag returns a boolean.

Derived from mel command maya.cmds.polyReduce

setLine(val=True, **kwargs)

This flag specifies the degree to which “feature lines” (edges joining faces with sharp geometric angles between them) are to be preserved. A value of 1.0 results in no special effort being made to preserve such features. A value of 0 results in the greatest possible effort to preserve such features.C: Default is .5, range is [0,1].Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyReduce

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 enabledFlag 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.polyReduce

setPercentage(val=True, **kwargs)

This flag specifies what percentage of vertices have to be removed from the original object.C: Default is 100. 0 will remove as many vertices as possible.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyReduce

Previous topic

pymel.core.nodetypes.PolyQuad

Next topic

pymel.core.nodetypes.PolySeparate

Core

Core Modules

Other Modules

This Page