# Extrude Surface

## <img src="https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2F826Za8cl8UeqNJZooUqn%2FG2_02_SOLID_EXTRUDE_SURFACE2.png?alt=media&#x26;token=f0b1f9ef-b3e1-49c8-9a26-f212e4aeb1dc" alt="" data-size="line"> Extrude Surface <a href="#profiles" id="profiles"></a>

The ExtrudeSrf command creates a solid by tracing the path of the surface edges in a straight line.

**Steps**

1. Select a surface.
2. Specify a[ ](https://docs.mcneel.com/rhino/8/help/en-us/popup_actions/distance_pick_2pts.htm)distance.

#### Command-line options

SetBasePoint: Specify a location that serves as the first point when picking two points that set the extrusion distance.

Direction: Two points establish the direction angle

* Direction steps

  1.Pick a base point.

  2.Pick a second point that establishes the direction angle.

BothSides: Draws the object on both sides of the start point, creating the object twice as long as you indicate.

<div align="left"><figure><img src="https://3375153115-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5uhW8FwQpXQj8tHUULMo%2Fuploads%2FpJNwbfOMimbdGM3qZYdb%2Fline_bothsides.png?alt=media&#x26;token=4b2dbcf4-f5ef-4256-8f62-08fc0a6c743c" alt=""><figcaption></figcaption></figure></div>

Solid: If the profile curve is closed and planar, both ends of the extruded object are filled with planar surfaces and joined to make a closed polysurface.

DeleteInput

* Yes: Deletes the original geometry.
* No: Retains the original geometry.

ToBoundary: Extrudes the object to a boundary surface.

For more information, please refer to the [Rhino documentation](https://docs.mcneel.com/rhino/8/help/en-us/commands/extrudesrf.htm).
