pymel.core.nodetypes.PolyTorus

Inheritance diagram of PolyTorus

class PolyTorus(*args, **kwargs)

class counterpart of mel function polyTorus

The torus command creates a new polygonal torus.

getAxis(**kwargs)

This flag specifies the primitive axis used to build the torus.Q: When queried, this flag returns a vector.

Derived from mel command maya.cmds.polyTorus

getCaching(**kwargs)

Derived from mel command maya.cmds.polyTorus

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.Flag 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.polyTorus

getCreateUVs(**kwargs)

This flag alows a texture to be applied.C: Default is “on” (uv’s are computed).Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyTorus

getNodeState(**kwargs)

Derived from mel command maya.cmds.polyTorus

getRadius(**kwargs)

This flag specifies the radius of the torus.C: Default is 0.5.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyTorus

getSectionRadius(**kwargs)

This flag specifies the section radius of the torus.C: Default is 0.25.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyTorus

getSubdivisionsAxis(**kwargs)

Derived from mel command maya.cmds.polyTorus

getSubdivisionsHeight(**kwargs)

Derived from mel command maya.cmds.polyTorus

getSubdivisionsX(**kwargs)

This specifies the number of subdivisions in the X direction for the torus (number of sections).C: Default is 20.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyTorus

getSubdivisionsY(**kwargs)

This flag specifies the number of subdivisions in the Y direction for the torus (number of segments per section).C: Default is 20.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyTorus

getTwist(**kwargs)

This flag specifies the section twist of the torus.C: Default is 0.0.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyTorus

setAxis(val=True, **kwargs)

This flag specifies the primitive axis used to build the torus.Q: When queried, this flag returns a vector.

Derived from mel command maya.cmds.polyTorus

setCaching(val=True, **kwargs)

Derived from mel command maya.cmds.polyTorus

setCreateUVs(val=True, **kwargs)

This flag alows a texture to be applied.C: Default is “on” (uv’s are computed).Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyTorus

setNodeState(val=True, **kwargs)

Derived from mel command maya.cmds.polyTorus

setRadius(val=True, **kwargs)

This flag specifies the radius of the torus.C: Default is 0.5.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyTorus

setSectionRadius(val=True, **kwargs)

This flag specifies the section radius of the torus.C: Default is 0.25.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyTorus

setSubdivisionsAxis(val=True, **kwargs)

Derived from mel command maya.cmds.polyTorus

setSubdivisionsHeight(val=True, **kwargs)

Derived from mel command maya.cmds.polyTorus

setSubdivisionsX(val=True, **kwargs)

This specifies the number of subdivisions in the X direction for the torus (number of sections).C: Default is 20.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyTorus

setSubdivisionsY(val=True, **kwargs)

This flag specifies the number of subdivisions in the Y direction for the torus (number of segments per section).C: Default is 20.Q: When queried, this flag returns an int.

Derived from mel command maya.cmds.polyTorus

setTwist(val=True, **kwargs)

This flag specifies the section twist of the torus.C: Default is 0.0.Q: When queried, this flag returns a float.

Derived from mel command maya.cmds.polyTorus

Previous topic

pymel.core.nodetypes.PolyToSubdiv

Next topic

pymel.core.nodetypes.PolyTransfer

Core

Core Modules

Other Modules

This Page