# Box

## <img src="/files/3OJWErbqUVDldAGbvnzi" alt="" data-size="line"> Box <a href="#profiles" id="profiles"></a>

The Box command creates an [Extrusion](https://docs.mcneel.com/rhino/8/help/en-us/information/rhinoobjects.htm#LightWeightExtrusions) box.

<div align="left"><img src="https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/box.gif" alt=""></div>

### **Steps**

1. Pick two points for the opposite corners of the base rectangle.

   Press and hold Shift to draw a square.

   Or, select one of the options to draw the rectangle in a different way.
2. Pick the height.

   Press Enter to use the width value for the height.

### Command-line options

Diagonal: Creates a box from the diagonal corners. If you pick the two corners on the CPlane, the command prompts for picking the height.

![](https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/box_diagonal.png)

Cube: Creates a box with six square faces from the diagonal corners.

![](https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/box_diagonal_cube.png)

(Default): Draws the rectangle using two opposite corners.

![](https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/rectangle_default.png)

3Point: Draws the rectangle using two adjacent corner locations and a location on the opposite side.

![](https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/rectangle_3point.png)

EdgeMidpoint: Draws the rectangle from the midpoint of the first edge, and end of the edge, an end of the edge, and a location on the opposite side.

![](https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/rectangle_edgemidpoint.png)

Vertical: Draws the rectangle perpendicular to the construction plane.

![](https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/rectangle_vertical.png)

Center: Draws the rectangle from the center point and a corner.

![](https://docs.mcneel.com/rhino/8/help/en-us/image/topic_illustrations/rectangle_center.png)

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.rhinoartisan.com/commands/solid/basic-geometry/box.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
