catia_sketch_line
Adds a straight line between two points in the current sketch, optionally as construction geometry or as the revolution axis.
Instructions
Add a straight line between two points in the current sketch. Set construction=true for a reference line that does not take part in the profile, and axis=true to make it the sketch's revolution axis (what catia_shaft and catia_groove revolve around).
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "catia_sketch_line"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Start H coordinate, mm. | |
| x2 | Yes | End H coordinate, mm. | |
| y1 | Yes | Start V coordinate, mm. | |
| y2 | Yes | End V coordinate, mm. | |
| axis | No | Use this line as the sketch's revolution axis. | |
| sketch | No | Target sketch. | |
| construction | No | Make it a construction (reference) line. |