sketch_polygon
Creates a regular polygon in a SolidWorks sketch by specifying side count and circumscribed circle diameter, with optional center and rotation.
Instructions
Draws a regular polygon (e.g. hexagon: sides=6) inscribed in a circle of the given diameter (mm).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sides | Yes | Number of sides (>= 3) | |
| center_x_mm | No | ||
| center_y_mm | No | ||
| rotation_deg | No | ||
| circumscribed_diameter_mm | Yes | Inscribed circle diameter in mm |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |