pymel.core.nodetypes.MakeNurbSphere — PyMEL 1.0.7 documentation

pymel.core.nodetypes.MakeNurbSphere

Inheritance diagram of MakeNurbSphere

class MakeNurbSphere(*args, **kwargs)

class counterpart of mel function sphere

The sphere command creates a new sphere. The number of spans in the in each direction of the sphere is determined by the useTolerance attribute. If -ut is true then the -tolerance attribute will be used. If -ut is false then the -sections attribute will be used.

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'))
getAxis(**kwargs)

The primitive’s axis Advanced flags

Derived from mel command maya.cmds.sphere

getCaching(**kwargs)

Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only.

Derived from mel command maya.cmds.sphere

getDegree(**kwargs)

The degree of the resulting surface: 1 - linear, 3 - cubic Default:3

Derived from mel command maya.cmds.sphere

getEndSweep(**kwargs)

The angle at which to end the surface of revolution. Default is 2Pi radians, or 360 degrees. Default:6.2831853

Derived from mel command maya.cmds.sphere

getFrozen(**kwargs)

Derived from mel command maya.cmds.sphere

getHeightRatio(**kwargs)

Ratio of heightto widthDefault:2.0

Derived from mel command maya.cmds.sphere

getNodeState(**kwargs)

Modifies the node state. See the node documentation for more information. Note:For advanced users only. Common flags

Derived from mel command maya.cmds.sphere

getPivot(**kwargs)

The primitive’s pivot point

Derived from mel command maya.cmds.sphere

getRadius(**kwargs)

The radius of the object Default:1.0

Derived from mel command maya.cmds.sphere

getSections(**kwargs)

The number of sections determines the resolution of the surface in the sweep direction. Used only if useTolerance is false. Default:8

Derived from mel command maya.cmds.sphere

getSpans(**kwargs)

The number of spans determines the resolution of the surface in the opposite direction. Default:1

Derived from mel command maya.cmds.sphere

getStartSweep(**kwargs)

The angle at which to start the surface of revolution Default:0

Derived from mel command maya.cmds.sphere

getTolerance(**kwargs)

The tolerance with which to build the surface. Used only if useTolerance is true Default:0.01

Derived from mel command maya.cmds.sphere

getUseTolerance(**kwargs)

Use the specified tolerance to determine resolution. Otherwise number of sections will be used. Default:false

Derived from mel command maya.cmds.sphere

setAxis(val=True, **kwargs)

The primitive’s axis Advanced flags

Derived from mel command maya.cmds.sphere

setCaching(val=True, **kwargs)

Modifies the node caching mode. See the node documentation for more information. Note:For advanced users only.

Derived from mel command maya.cmds.sphere

setDegree(val=True, **kwargs)

The degree of the resulting surface: 1 - linear, 3 - cubic Default:3

Derived from mel command maya.cmds.sphere

setEndSweep(val=True, **kwargs)

The angle at which to end the surface of revolution. Default is 2Pi radians, or 360 degrees. Default:6.2831853

Derived from mel command maya.cmds.sphere

setFrozen(val=True, **kwargs)

Derived from mel command maya.cmds.sphere

setHeightRatio(val=True, **kwargs)

Ratio of heightto widthDefault:2.0

Derived from mel command maya.cmds.sphere

setNodeState(val=True, **kwargs)

Modifies the node state. See the node documentation for more information. Note:For advanced users only. Common flags

Derived from mel command maya.cmds.sphere

setPivot(val=True, **kwargs)

The primitive’s pivot point

Derived from mel command maya.cmds.sphere

setRadius(val=True, **kwargs)

The radius of the object Default:1.0

Derived from mel command maya.cmds.sphere

setSections(val=True, **kwargs)

The number of sections determines the resolution of the surface in the sweep direction. Used only if useTolerance is false. Default:8

Derived from mel command maya.cmds.sphere

setSpans(val=True, **kwargs)

The number of spans determines the resolution of the surface in the opposite direction. Default:1

Derived from mel command maya.cmds.sphere

setStartSweep(val=True, **kwargs)

The angle at which to start the surface of revolution Default:0

Derived from mel command maya.cmds.sphere

setTolerance(val=True, **kwargs)

The tolerance with which to build the surface. Used only if useTolerance is true Default:0.01

Derived from mel command maya.cmds.sphere

setUseTolerance(val=True, **kwargs)

Use the specified tolerance to determine resolution. Otherwise number of sections will be used. Default:false

Derived from mel command maya.cmds.sphere