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).
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": {
"start": "<start>",
"segments": "<segments>"
},
"name": "catia_sketch_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | [h, v] start point (mm, sketch coordinates). | |
| closed | No | ||
| segments | Yes |