Go to: Related nodes. Attributes.

Given an input curve (inputCurve) this node creates a revolved surface about a specified axis of revolution (defined by the attributes "axis" and "pivot"). The sweep is defined by "startSweep" and "endSweep". The degree of the resulting surface is defined by the attribute "degree". The end sweep cannot be more than 360 degrees. You can control the number of spans or "sections" in the surface either explicitly, using the "sections" attribute, or indirectly, using the "useTolerance" and "tolerance" attributes. If tolerance is used, then the result surface has as many spans as needed to stay within the specified tolerance.

Node name Parents MFn type Compatible function sets
revolve abstractBaseCreate kRevolve kBase
kNamedObject
kDependencyNode
kCreate
kRevolve

Related nodes

extrude, makeNurbsSquare, loft

Attributes (36)

autoCorrectNormal, axis, axisChoice, axisX, axisY, axisZ, bridge, bridgeCurve, compAnchor, compAnchorX, compAnchorY, compAnchorZ, compAxis, compAxisChoice, compAxisX, compAxisY, compAxisZ, compPivot, compPivotX, compPivotY, compPivotZ, computePivotAndAxis, degree, endSweep, inputCurve, outputSurface, pivot, pivotX, pivotY, pivotZ, radius, radiusAnchor, sections, startSweep, tolerance, useTolerance

Long name (short name) Type Default Flags
inputCurve (ic) nurbsCurve NULL outputinputconnectable
The input curve.
startSweep (ssw) angle (double) 0.0deg outputinputconnectablestorablekeyable
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.
endSweep (esw) angle (double) 6.2831853 outputinputconnectablestorablekeyable
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.
useTolerance (ut) bool false outputinputconnectablestorable
Use the tolerance, or the number of sections to control the sections.
degree (d) enum 3 outputinputconnectablestorablekeyable
The degree of the resulting surface.
sections (s) integer 8 outputinputconnectablestorablekeyable
Number of sections of the resulting surface (if tolerance is not used).
tolerance (tol) distance (double) 0.01cm outputinputconnectablestorable
Tolerance to build to (if useTolerance attribute is set)
axis (ax) double3 outputinputconnectablestorable
Revolve axis
axisX (axx) distance (double) 1cm outputinputconnectablestorablekeyable
X of the axis
axisY (axy) distance (double) 0cm outputinputconnectablestorablekeyable
Y of the axis
axisZ (axz) distance (double) 0cm outputinputconnectablestorablekeyable
Z of the axis
pivot (p) double3 outputinputconnectablestorable
Revolve pivot point
pivotX (px) distance (double) 0cm outputinputconnectablestorablekeyable
X of the pivot
pivotY (py) distance (double) 0cm outputinputconnectablestorablekeyable
Y of the pivot
pivotZ (pz) distance (double) 0cm outputinputconnectablestorablekeyable
Z of the pivot
autoCorrectNormal (acn) bool false outputinputconnectablestorable
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.
computePivotAndAxis (cpa) enum 0 outputinputconnectablestorable
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.
radius (r) distance (double) 1cm outputinputconnectablestorable
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.
radiusAnchor (ra) double -1 outputinputconnectablestorable
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.
axisChoice (aco) enum 0 outputinputconnectablestorable
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).
bridge (br) bool false outputinputconnectablestorable
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.
outputSurface (os) nurbsSurface NULL outputconnectable
Output surface
bridgeCurve (bc) nurbsCurve NULL outputconnectable
If we have a partial revolve, this curve can be used to bridge the surface into a pie shaped one.
compAxis (ca) double3 outputconnectable
Computed axis if computePivotAndAxis attribute was set to non-zero.
compAxisX (cax) double 0.0 outputconnectable
X of the computed axis if computePivotAndAxis attribute was set.
compAxisY (cay) double 0.0 outputconnectable
Y of the computed axis if computePivotAndAxis attribute was set.
compAxisZ (caz) double 0.0 outputconnectable
Z of the computed axis if computePivotAndAxis attribute was set.
compPivot (cp) double3 outputconnectable
Computed pivot if computePivotAndAxis attribute was set to non-zero.
compPivotX (cpx) distance (double) 0.0cm outputconnectable
X of the computed pivot.
compPivotY (cpy) distance (double) 0.0cm outputconnectable
Y of the computed pivot.
compPivotZ (cpz) distance (double) 0.0cm outputconnectable
Z of the computed pivot.
compAxisChoice (cac) enum 0 outputconnectable
Computed axis choice, either matching non-zero axis choice or computed from the curve.
compAnchor (cn) double3 outputconnectable
Computed anchor if computePivotAndAxis attribute was set to non-zero. This is the point from which the computed pivot is radius distance away.
compAnchorX (cnx) distance (double) 0.0cm outputconnectable
X of the computed anchor.
compAnchorY (cny) distance (double) 0.0cm outputconnectable
Y of the computed anchor.
compAnchorZ (cnz) distance (double) 0.0cm outputconnectable
Z of the computed anchor.