# Rectangle

## <img src="/files/XGEcvd2jfYZrWJPVpfkv" alt="" data-size="line"> Rectangle

The Plane command draws a rectangular planar [NURBS](http://www.rhino3d.com/nurbs) surface.

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

### Steps

* Pick two points for the opposite corners of a rectangle.

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

***

### Command-line options

**(Default)**\
Draws the rectangle using two opposite corners.

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

<img src="/files/0QKDKyC0vm1OAPRtAVlz" alt="" data-size="line"> **3Point**\
Draws the rectangle using two adjacent corner locations and a location on the opposite side.

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

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

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

<img src="/files/0i56ymFbve2fbtlhskQw" alt="" data-size="line"> **Vertical**\
Draws the rectangle perpendicular to the construction plane.

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

**Center**\
Draws the rectangle from the center point and a corner.

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

**AroundCurve**\
Draws a rectangle perpendicular to a curve.

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

#### Steps

* [Select](https://docs.mcneel.com/rhino/8/help/en-us/popup_actions/select_objects.htm) a curve and [pick](https://docs.mcneel.com/rhino/8/help/en-us/popup_actions/pick_location.htm) the center of the rectangle on the curve.

***

### **Deformable**

Sets the degree in the u and v [directions](https://docs.mcneel.com/rhino/8/help/en-us/popup_moreinformation/curvesurfacedirection.htm) and the point count in the u and v[ directions](https://docs.mcneel.com/rhino/8/help/en-us/popup_moreinformation/curvesurfacedirection.htm).

**UDegree/VDegree**\
Sets the [degree](https://docs.mcneel.com/rhino/8/help/en-us/popup_moreinformation/degree.htm) of the surface in the u and v directions.

**UPointCount/VPointCount**\
The number of control points in the u and v directions.

To watch the video example, please refer to the [Rhino documentation](https://docs.mcneel.com/rhino/8/help/en-us/commands/plane.htm#\(null\)).


---

# 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/surface/rectangle.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.
