Extend Curve
extend_curveExtends a sketch curve to the nearest intersection point, using coordinates to identify which end to extend in CAD automation workflows.
Instructions
Extend a sketch curve to the nearest intersection. The end nearest to the given point is extended.
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 |
|---|---|---|---|
| curve_index | Yes | Index of the curve to extend | |
| point_x | Yes | X near the end to extend | |
| point_y | Yes | Y near the end to extend | |
| sketch_name | No |