catia_sketch_polyline
Adds a connected polyline to a sketch from a point list, optionally closing it to form a profile suitable for pads or pockets.
Instructions
Add a chain of connected lines through a list of points, optionally closing it back to the first point. Shared end points are created explicitly, so a closed polyline is immediately usable as a pad or pocket profile.
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": {
"points": "<points>"
},
"name": "catia_sketch_polyline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closed | No | Join the last point back to the first. | |
| points | Yes | Points as [[x1,y1],[x2,y2],...] in sketch coordinates, mm. | |
| sketch | No | Target sketch. |