Go to: Related nodes. Attributes.

Create a surface by extruding a profile curve. There are three ways to perform the extrusion (extrueType):

distance - The profile is extruded along a vector (direction) by a given distance (length).

flat - The profile is extruded along a path curve. The relationship between the profile and path remains the same as the profile travels along the path.

tube - The profile is extruded along a path curve. The profile is rotated as it travels along a path.

The location of the resulting surface can be controlled by fixedPath. The shape of the resulting surface can be controlled by useProfileNormal, useComponentPivot and the placement of each object's pivot point.
The resulting surface can be scaled and rotated (for each extrude type) to produce spirals and twists in the surface. The pivot point is only used for flat and distance extrude type if there is a rotation/scale.

Node name Parents MFn type Compatible function sets
extrude abstractBaseCreate kExtrude kBase
kNamedObject
kDependencyNode
kCreate
kExtrude

Related nodes

revolve, makeNurbsSquare, loft

Attributes (21)

degreeAlongLength, direction, directionX, directionY, directionZ, extrudeType, fixedPath, length, outputSurface, path, pivot, pivotX, pivotY, pivotZ, profile, reverseSurfaceIfPathReversed, rotation, scale, subCurveSubSurface, useComponentPivot, useProfileNormal

Long name (short name) Type Default Flags
profile (pr) nurbsCurve NULL outputinputconnectable
The curve to extrude (profile).
path (pt) nurbsCurve NULL outputinputconnectable
The path curve. Used only if extrudeType is flat or tube
extrudeType (et) enum 2 outputinputconnectablestorablekeyable
The extrude type (distance-0, flat-1, or tube-2)
fixedPath (fpt) bool false outputinputconnectablestorablekeyable
If true, the resulting surface will be placed at the path curve. Otherwise, the resulting surface will be placed at the profile curve.
useComponentPivot (ucp) enum 0 outputinputconnectablestorablekeyable
Use closest endpoint of the path - 0, component pivot - 1 or the center of the bounding box of the profile - 2
useProfileNormal (upn) bool false outputinputconnectablestorablekeyable
If true, use the profile curve normal for the direction in which to extrude. Use only for distance or tube extrudeType.
direction (d) double3 outputinputconnectablestorablekeyable
The direction in which to extrude. Use only for distance extrudeType and useProfileNormal off
directionX (dx) distance (double) 0cm outputinputconnectablestorablekeyable
X of the direction
directionY (dy) distance (double) 1cm outputinputconnectablestorablekeyable
Y of the direction
directionZ (dz) distance (double) 0cm outputinputconnectablestorablekeyable
Z of the direction
length (l) distance (double) 1cm outputinputconnectablestorablekeyable
The distance to extrude. Use only for distance extrudeType
pivot (p) double3 outputinputconnectablestorable
The pivot point used for tube extrudeType
pivotX (px) distance (double) 0cm outputinputconnectablestorablehidden
X of the pivot
pivotY (py) distance (double) 0cm outputinputconnectablestorablehidden
Y of the pivot
pivotZ (pz) distance (double) 0cm outputinputconnectablestorablehidden
Z of the pivot
rotation (ro) angle (double) 0.0deg outputinputconnectablestorablekeyable
Amount to rotate the profile curve as it sweeps along the path curve.
scale (sc) double 1.0 outputinputconnectablestorablekeyable
Amount to scale the profile curve as it sweeps along the path curve.
reverseSurfaceIfPathReversed (rsp) bool false outputinputconnectablestorable
If true, extrude type is tube (2) and path has been internally reversed then computed surface is reversed in the direction corresponding to the path.
degreeAlongLength (dl) short 1 outputinputconnectablestorable
Surface degree along the distance when a distance extrude is performed
subCurveSubSurface (scs) bool false outputinputconnectablestorable
If true, curve range on the path will get applied to the resulting surface instead of cut before the extrude.
outputSurface (os) nurbsSurface NULL outputconnectable
The extruded surface.