catia_sketch_profile
Draw a connected chain of lines and arcs with shared endpoints to form a real closed contour for Pad/Pocket profiles and half-profiles of revolution.
Instructions
Draw a connected chain of lines and arcs whose ends are SHARED sketch points (a real closed contour, unlike separate lines/arcs whose ends only nearly meet). The tool of choice for any non-trivial Pad/Pocket profile and for half-profiles of revolution (Shaft/Groove: add the axis with catia_sketch_line(is_axis=true) or use axis='h'/'v'). Arcs are given by center + end point (radius = distance center-start; the end must be at the same distance).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | [h, v] start point (mm, sketch coordinates). | |
| closed | No | ||
| segments | Yes |