catia_sketch_polygon
Draw regular polygons (hexagons, octagons, etc.) in CATIA sketches by defining center, radius, side count, rotation, and inscribed or circumscribed mode.
Instructions
Add a closed regular polygon (hexagon, octagon and so on) inscribed in or circumscribed about a circle.
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_x": "<center_x>",
"center_y": "<center_y>",
"sides": "<sides>",
"radius": "<radius>"
},
"name": "catia_sketch_polygon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sides | Yes | Number of sides. | |
| radius | Yes | Radius in mm. | |
| sketch | No | Target sketch. | |
| center_x | Yes | Centre H coordinate, mm. | |
| center_y | Yes | Centre V coordinate, mm. | |
| rotation | No | Rotation of the first vertex from H, degrees. | |
| circumscribed | No | True for across-flats (radius is the inscribed circle, as with a hex nut), False for across-corners. |