# MeshExtruder class

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class MeshExtruder : IDisposable
```

Extrudes a mesh and provides preview

## Constructors

- [MeshExtruder](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/ctor.md): Construct object to extrude given mesh faces, edges and ngons.

## Finalizer

- [~MeshExtruder](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/finalize.md): Destructor

## Properties

- [EdgeBasedUVN](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/edgebaseduvn.md): Edge based UVN defines UVN directions according to boundary edge directions
- [FaceDirectionMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/facedirectionmode.md): Face direction mode determines how faces are oriented
- [KeepOriginalFaces](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/keeporiginalfaces.md): Whether or not to keep original faces.
- [PreviewLines](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/previewlines.md): Gets Line objects to preview extruded mesh.
- [SurfaceParameterMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/surfaceparametermode.md): Mode for creating surface parameters for extruded areas
- [TextureCoordinateMode](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/texturecoordinatemode.md): Mode for creating texture coordinates for extruded areas
- [Transform](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/transform.md): Transform of extrusion
- [UVN](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/uvn.md): Whether or not to perform extrude in UVN basis.

## Methods

- [Dispose](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/dispose.md): Dispose of this object and any unmanaged memory associated with it.
- [ExtrudedMesh](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/extrudedmesh.md): (2 overloads) Creates new extruded mesh. Returns true if any edges or faces were extruded.
- [GetWallFaces](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.meshextruder/getwallfaces.md): Return list of faces that were added to connect transformed edges/faces to non-transformed edges/faces.
