pymel.core.nodetypes.Revolve

Inheritance diagram of Revolve

class Revolve(*args, **kwargs)

class counterpart of mel function revolve

This command creates a revolved surface by revolving the given profile curve about an axis. The profile curve can be a curve, curve-on-surface, surface isoparm, or trim edge.

getAutoCorrectNormal(**kwargs)

If this is set to true we will attempt to reverse the direction of the axis in case it is necessary to do so for the surface normals to end up pointing to the outside of the object.Default:false

Derived from mel command maya.cmds.revolve

getAxis(**kwargs)

Revolve axis

Derived from mel command maya.cmds.revolve

getAxisChoice(**kwargs)

Only used for computed axis/pivot case. As we are computing the axis for a planar curve, we have two choices for the major axis based axis. We will choose the axis corresponding to the longer dimension of the object (0), or explicitly choose one or the other (choices 1 and 2).Default:0

Derived from mel command maya.cmds.revolve

getAxisX(**kwargs)

X of the axisDefault:1

Derived from mel command maya.cmds.revolve

getAxisY(**kwargs)

Y of the axisDefault:0

Derived from mel command maya.cmds.revolve

getAxisZ(**kwargs)

Z of the axisDefault:0

Derived from mel command maya.cmds.revolve

getBridge(**kwargs)

If true, we will close a partial revolve to get a pie shaped surface. The surface will be closed, but not periodic the way it is in the full revolve case.Default:falseAdvanced flags

Derived from mel command maya.cmds.revolve

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

getComputePivotAndAxis(**kwargs)

If this is set to 2, we will compute the axis, use the curve position and radius to compute the pivot for the revolve internally. The value of the pivot and axis attributes are ignored. If this is set to 1, we will take the supplied axis, but compute the pivot. If this is set to 0, we will take both the supplied axis and pivot.Default:0

Derived from mel command maya.cmds.revolve

getDegree(**kwargs)

The degree of the resulting surface.Default:3

Derived from mel command maya.cmds.revolve

getEndSweep(**kwargs)

The value for the end sweep angle, in the current units. This must be no more than the maximum, 360 degrees, or 2 Pi radians.Default:6.2831853

Derived from mel command maya.cmds.revolve

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

getPivot(**kwargs)

Revolve pivot point

Derived from mel command maya.cmds.revolve

getPivotX(**kwargs)

X of the pivotDefault:0

Derived from mel command maya.cmds.revolve

getPivotY(**kwargs)

Y of the pivotDefault:0

Derived from mel command maya.cmds.revolve

getPivotZ(**kwargs)

Z of the pivotDefault:0

Derived from mel command maya.cmds.revolve

getRadius(**kwargs)

The pivot point will be this distance away from the bounding box of the curve, if computedPivot is set to true. The value of the pivot attribute is ignored.Default:1

Derived from mel command maya.cmds.revolve

getRadiusAnchor(**kwargs)

The position on the curve for the anchor point so that we can compute the pivot using the radius value. If in 0 - 1 range, its on the curve, normalized parameter range. If 0 or 1, its computed based on the bounding box.Default:-1

Derived from mel command maya.cmds.revolve

getSections(**kwargs)

Number of sections of the resulting surface (if tolerance is not used).Default:8

Derived from mel command maya.cmds.revolve

getStartSweep(**kwargs)

The value for the start sweep angle, in the current units. This must be no more than the maximum, 360 degrees, or 2 Pi radians.Default:0

Derived from mel command maya.cmds.revolve

getTolerance(**kwargs)

Tolerance to build to (if useTolerance attribute is set)Default:0.01

Derived from mel command maya.cmds.revolve

getUseLocalPivot(**kwargs)

If true, then the pivot of the profile curve is used as the start point of the axis of revolution.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.revolve

getUseTolerance(**kwargs)

Use the tolerance, or the number of sections to control the sections.Default:false

Derived from mel command maya.cmds.revolve

setAutoCorrectNormal(val=True, **kwargs)

If this is set to true we will attempt to reverse the direction of the axis in case it is necessary to do so for the surface normals to end up pointing to the outside of the object.Default:false

Derived from mel command maya.cmds.revolve

setAxis(val=True, **kwargs)

Revolve axis

Derived from mel command maya.cmds.revolve

setAxisChoice(val=True, **kwargs)

Only used for computed axis/pivot case. As we are computing the axis for a planar curve, we have two choices for the major axis based axis. We will choose the axis corresponding to the longer dimension of the object (0), or explicitly choose one or the other (choices 1 and 2).Default:0

Derived from mel command maya.cmds.revolve

setAxisX(val=True, **kwargs)

X of the axisDefault:1

Derived from mel command maya.cmds.revolve

setAxisY(val=True, **kwargs)

Y of the axisDefault:0

Derived from mel command maya.cmds.revolve

setAxisZ(val=True, **kwargs)

Z of the axisDefault:0

Derived from mel command maya.cmds.revolve

setBridge(val=True, **kwargs)

If true, we will close a partial revolve to get a pie shaped surface. The surface will be closed, but not periodic the way it is in the full revolve case.Default:falseAdvanced flags

Derived from mel command maya.cmds.revolve

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

setComputePivotAndAxis(val=True, **kwargs)

If this is set to 2, we will compute the axis, use the curve position and radius to compute the pivot for the revolve internally. The value of the pivot and axis attributes are ignored. If this is set to 1, we will take the supplied axis, but compute the pivot. If this is set to 0, we will take both the supplied axis and pivot.Default:0

Derived from mel command maya.cmds.revolve

setDegree(val=True, **kwargs)

The degree of the resulting surface.Default:3

Derived from mel command maya.cmds.revolve

setEndSweep(val=True, **kwargs)

The value for the end sweep angle, in the current units. This must be no more than the maximum, 360 degrees, or 2 Pi radians.Default:6.2831853

Derived from mel command maya.cmds.revolve

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

setPivot(val=True, **kwargs)

Revolve pivot point

Derived from mel command maya.cmds.revolve

setPivotX(val=True, **kwargs)

X of the pivotDefault:0

Derived from mel command maya.cmds.revolve

setPivotY(val=True, **kwargs)

Y of the pivotDefault:0

Derived from mel command maya.cmds.revolve

setPivotZ(val=True, **kwargs)

Z of the pivotDefault:0

Derived from mel command maya.cmds.revolve

setRadius(val=True, **kwargs)

The pivot point will be this distance away from the bounding box of the curve, if computedPivot is set to true. The value of the pivot attribute is ignored.Default:1

Derived from mel command maya.cmds.revolve

setRadiusAnchor(val=True, **kwargs)

The position on the curve for the anchor point so that we can compute the pivot using the radius value. If in 0 - 1 range, its on the curve, normalized parameter range. If 0 or 1, its computed based on the bounding box.Default:-1

Derived from mel command maya.cmds.revolve

setSections(val=True, **kwargs)

Number of sections of the resulting surface (if tolerance is not used).Default:8

Derived from mel command maya.cmds.revolve

setStartSweep(val=True, **kwargs)

The value for the start sweep angle, in the current units. This must be no more than the maximum, 360 degrees, or 2 Pi radians.Default:0

Derived from mel command maya.cmds.revolve

setTolerance(val=True, **kwargs)

Tolerance to build to (if useTolerance attribute is set)Default:0.01

Derived from mel command maya.cmds.revolve

setUseLocalPivot(val=True, **kwargs)

If true, then the pivot of the profile curve is used as the start point of the axis of revolution.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.revolve

setUseTolerance(val=True, **kwargs)

Use the tolerance, or the number of sections to control the sections.Default:false

Derived from mel command maya.cmds.revolve

Previous topic

pymel.core.nodetypes.ReverseSurface

Next topic

pymel.core.nodetypes.RevolvedPrimitive

Core

Core Modules

Other Modules

This Page