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.
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. |