sketch_polygon
Draw regular polygons in the active SolidWorks sketch by specifying center, number of sides, circumscribed radius, rotation angle, and optional inscribed or construction geometry.
Instructions
Draw a regular polygon in the active sketch
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"center": "<center>",
"sides": "<sides>",
"radius": "<radius>"
},
"name": "sketch_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| center | Yes | ||
| sides | Yes | Number of sides | |
| radius | Yes | Circumscribed circle radius in mm | |
| rotation | No | Rotation angle in degrees | |
| inscribed | No | Use inscribed circle radius instead | |
| construction | No | Create as construction geometry |