[page:Geometry] →

# [name]

Creates extruded geometry from a path shape

## Constructor

### [name]([page:Array shapes], [page:Object options])

shapes — Shape or an array of shapes.
options — Object that can contain the following parameters.

- curveSegments — int. number of points on the curves
- steps — int. number of points used for subdividing segements of extrude spline
- amount — int. Depth to extrude the shape
- bevelEnabled — bool. turn on bevel
- bevelThickness — float. how deep into the original shape bevel goes
- bevelSize — float. how far from shape outline is bevel
- bevelSegments — int. number of bevel layers
- extrudePath — THREE.CurvePath. 3d spline path to extrude shape along. (creates Frames if (frames aren't defined)
- frames — THREE.TubeGeometry.FrenetFrames. containing arrays of tangents, normals, binormals
- material — int. material index for front and back faces
- extrudeMaterial — int. material index for extrusion and beveled faces
- UVGenerator — Object. object that provides UV generator functions

This object extrudes an 2D shape to an 3D geometry.

## Properties

## Methods

### [method:null addShapeList]([page:Array shapes], [page:Object options])

shapes — An Array of shapes to add.
options — Object that can contain the following parameters.

- curveSegments — int. number of points on the curves
- steps — int. number of points used for subdividing segements of extrude spline
- amount — int. Depth to extrude the shape
- bevelEnabled — bool. turn on bevel
- bevelThickness — float. how deep into the original shape bevel goes
- bevelSize — float. how far from shape outline is bevel
- bevelSegments — int. number of bevel layers
- extrudePath — THREE.CurvePath. 3d spline path to extrude shape along. (creates Frames if (frames aren't defined)
- frames — THREE.TubeGeometry.FrenetFrames. containing arrays of tangents, normals, binormals
- material — int. material index for front and back faces
- extrudeMaterial — int. material index for extrusion and beveled faces
- UVGenerator — Object. object that provides UV generator functions

Adds the shapes to the list to extrude.

### [method:null addShape]([page:Shape shape], [page:Object options])

shape — A shape to add.
options — Object that can contain the following parameters.

- curveSegments — int. number of points on the curves
- steps — int. number of points used for subdividing segements of extrude spline
- amount — int. Depth to extrude the shape
- bevelEnabled — bool. turn on bevel
- bevelThickness — float. how deep into the original shape bevel goes
- bevelSize — float. how far from shape outline is bevel
- bevelSegments — int. number of bevel layers
- extrudePath — THREE.CurvePath. 3d spline path to extrude shape along. (creates Frames if (frames aren't defined)
- frames — THREE.TubeGeometry.FrenetFrames. containing arrays of tangents, normals, binormals
- material — int. material index for front and back faces
- extrudeMaterial — int. material index for extrusion and beveled faces
- UVGenerator — Object. object that provides UV generator functions

Add the shape to the list to extrude.

## Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]