Extend Curve
extend_curveExtend a sketch curve to the nearest intersection, starting from the end nearest a given point. Use to close gaps or connect curves in CAD sketches.
Instructions
Extend a sketch curve to the nearest intersection. The end nearest to the given point is extended. Unless a parameter says otherwise, lengths and coordinates are in cm (not mm) and angles in degrees.
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": {
"curve_index": "<curve_index>",
"point_x": "<point_x>",
"point_y": "<point_y>"
},
"name": "extend_curve"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| point_x | Yes | X near the end to extend | |
| point_y | Yes | Y near the end to extend | |
| curve_index | Yes | Index of the curve to extend | |
| sketch_name | No |