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 nameParentsClassificationMFn typeCompatible function sets
revolveabstractBaseCreatemathkRevolvekBase
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)TypeDefaultFlags
inputCurve (ic) nurbsCurveNULLoutputinputconnectable
The input curve.
startSweep (ssw) angle (double)0.0degoutputinputconnectablestorablekeyable
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.2831853outputinputconnectablestorablekeyable
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) boolfalseoutputinputconnectablestorable
Use the tolerance, or the number of sections to control the sections.
degree (d) enum3outputinputconnectablestorablekeyable
The degree of the resulting surface.
sections (s) integer8outputinputconnectablestorablekeyable
Number of sections of the resulting surface (if tolerance is not used).
tolerance (tol) distance (double)0.01cmoutputinputconnectablestorable
Tolerance to build to (if useTolerance attribute is set)
axis (ax) double3outputinputconnectablestorable
Revolve axis
axisX (axx) distance (double)1cmoutputinputconnectablestorablekeyable
X of the axis
axisY (axy) distance (double)0cmoutputinputconnectablestorablekeyable
Y of the axis
axisZ (axz) distance (double)0cmoutputinputconnectablestorablekeyable
Z of the axis
pivot (p) double3outputinputconnectablestorable
Revolve pivot point
pivotX (px) distance (double)0cmoutputinputconnectablestorablekeyable
X of the pivot
pivotY (py) distance (double)0cmoutputinputconnectablestorablekeyable
Y of the pivot
pivotZ (pz) distance (double)0cmoutputinputconnectablestorablekeyable
Z of the pivot
autoCorrectNormal (acn) boolfalseoutputinputconnectablestorable
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) enum0outputinputconnectablestorable
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)1cmoutputinputconnectablestorable
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-1outputinputconnectablestorable
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) enum0outputinputconnectablestorable
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) boolfalseoutputinputconnectablestorable
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) nurbsSurfaceNULLoutputconnectable
Output surface
bridgeCurve (bc) nurbsCurveNULLoutputconnectable
If we have a partial revolve, this curve can be used to bridge the surface into a pie shaped one.
compAxis (ca) double3outputconnectable
Computed axis if computePivotAndAxis attribute was set to non-zero.
compAxisX (cax) double0.0outputconnectable
X of the computed axis if computePivotAndAxis attribute was set.
compAxisY (cay) double0.0outputconnectable
Y of the computed axis if computePivotAndAxis attribute was set.
compAxisZ (caz) double0.0outputconnectable
Z of the computed axis if computePivotAndAxis attribute was set.
compPivot (cp) double3outputconnectable
Computed pivot if computePivotAndAxis attribute was set to non-zero.
compPivotX (cpx) distance (double)0.0cmoutputconnectable
X of the computed pivot.
compPivotY (cpy) distance (double)0.0cmoutputconnectable
Y of the computed pivot.
compPivotZ (cpz) distance (double)0.0cmoutputconnectable
Z of the computed pivot.
compAxisChoice (cac) enum0outputconnectable
Computed axis choice, either matching non-zero axis choice or computed from the curve.
compAnchor (cn) double3outputconnectable
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.0cmoutputconnectable
X of the computed anchor.
compAnchorY (cny) distance (double)0.0cmoutputconnectable
Y of the computed anchor.
compAnchorZ (cnz) distance (double)0.0cmoutputconnectable
Z of the computed anchor.