> For the complete documentation index, see [llms.txt](https://docs.icraft.design/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.icraft.design/editor-features/resource-panel/basic-graphics/polygon.md). Agents can also search and read this documentation through its [MCP server](https://docs.icraft.design/~gitbook/mcp).

# Polygon

When basic geometric primitives cannot meet the needs of complex architectural outlines, irregular bases, or custom part designs, you can use the **Pen Tool** to freely draw a polygon and convert it into a 3D solid model with thickness and bevel effects in a single step.

Custom polygons combine the flexibility of 2D drawing with the precision of parametric modeling. Through simple point-and-click operations, you can create any closed shape, ranging from simple triangles to complex industrial contours.

***

## How to Draw a Polygon?

{% stepper %}
{% step %}

### STEP 1

In the **top navigation bar of the canvas**, click the **Pen Tool icon**. The mouse cursor will change to a pen icon, indicating that you have entered **drawing mode**.
{% endstep %}

{% step %}

### STEP 2

Click the left mouse button anywhere on the canvas to place an anchor point.\
iCraft will automatically connect adjacent anchor points with lines to outline the shape.
{% endstep %}

{% step %}

### STEP 3

Move the cursor back to the **first anchor point** and click it to close the path.
{% endstep %}

{% step %}

### STEP 4

Press **`ENTER`**, the editor will automatically fill the surface and convert the shape into a polygon, which can then be edited like other scene elements.
{% endstep %}
{% endstepper %}

{% hint style="info" %}
💡Tips:

* It is recommended to draw polygons in **2D view** (shortcut **`V`**) for a more intuitive experience.
* Enable **Grid Snapping** (shortcut **`G`**). The cursor will automatically snap to grid lines and anchor points, helping you place points more precisely.
* If you place an anchor point incorrectly, press **`Ctrl + Z`** to undo the previous point.
* Press **`ESC`** to clear all anchor points and exit drawing mode.
  {% endhint %}

<figure><img src="https://2043086618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqs5xBLyTN4cVMplr2ANM%2Fuploads%2F84Zfd6X0zJ4324b0qJSZ%2F%E7%BB%98%E5%88%B6%E5%A4%9A%E8%BE%B9%E5%BD%A2-%E8%8B%B1%E6%96%87.gif?alt=media&amp;token=1cecd0af-cee1-4b88-9e82-b9e9ed5cfa37" alt=""><figcaption></figcaption></figure>

***

## Polygon Special Parameters

* **Height**\
  Controls the extrusion depth (thickness) of the polygon. The larger the value, the thicker the resulting model.

  Default value: 0

  Adjustable range: `0 ~ unlimited`
* **Radius**\
  Applies rounded edges to the polygon or the extruded polyhedron. The value represents the arc radius used to smooth the edges. Larger values create smoother edges. A value of 0 produces a standard polygon or polyhedron.\
  Default value: 0

  Adjustable range: `0 ~ 10`
* **Subdivision**\
  Controls the mesh density of rounded corners and curved parts of the polygon or extruded polyhedron. Higher values produce smoother edges.

  Default value: 8

  Adjustable range: `1 ~ 32`
* **Bevel**\
  Adds a smooth bevel to the top and bottom edges of the polygon or extruded polyhedron, improving visual appearance and light reflection.\
  Default value: 0

  Adjustable range: `0 ~ 1`
* **Bevel Sides**\
  Effective only when **Bevel** is enabled. Determines the smoothness of the bevel surface. Higher values produce rounder edges.\
  Default value: 3

  Adjustable range: `1 ~ 10`
* **Stroke**\
  A toggle switch that determines whether the polygon or extruded polyhedron displays surface outlines.\
  Default: Disabled
* **Stroke Color**\
  Selects the color of the stroke using the color picker.
* **Border Line Width**\
  Adjusts the thickness of the stroke.\
  Default value: 0.03

  Adjustable range: `0 ~ 0.1`

<figure><img src="https://2043086618-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqs5xBLyTN4cVMplr2ANM%2Fuploads%2FsfSHrcFwozZuDy2GGkIv%2F%E5%A4%9A%E8%BE%B9%E5%BD%A2-%E8%8B%B1%E6%96%87.png?alt=media&amp;token=82fb0764-c218-46e6-bfeb-e6f76061ddf7" alt=""><figcaption></figcaption></figure>
