create_polygon
Build regular polygons with a chosen number of sides by specifying radius and side count; set center, normal, material, layer, and inscribed or circumscribed mode in metres.
Instructions
Create a regular polygon (triangle, pentagon, hexagon, etc.) with n sides. All lengths and coordinates are in metres.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | ||
| center | No | [x, y, z] center point | |
| normal | No | [x, y, z] normal vector | |
| radius | Yes | Radius from center to vertices, in metres | |
| material | No | ||
| inscribed | No | True if inscribed (default), false if circumscribed | |
| num_sides | Yes | Number of sides (min 3) |