draw_polygon
Draw a regular polygon in an Autodesk Inventor sketch from center X/Y, circumscribed radius, side count, and sketch index; dimensions are in mm.
Instructions
Draw a regular polygon in a sketch. Dimensions in mm.
Args: x: Center X in mm. y: Center Y in mm. radius: Circumscribed radius in mm. sides: Number of sides (e.g. 6 for hexagon). sketch_index: Sketch number (0 = latest sketch).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "draw_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| sides | No | ||
| radius | No | ||
| instance | No | Which connected Inventor to use (list_instances). Leave empty when only one is connected. | |
| sketch_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |