freecad_sketch_trim
Cuts away a selected portion of a sketch geometry element at its intersection points, using a nearby coordinate to identify the segment to remove.
Instructions
Trim (cut away) part of a geometry element at intersection points
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": {
"sketchName": "<sketchName>",
"geoIndex": "<geoIndex>",
"posX": "<posX>",
"posY": "<posY>"
},
"name": "freecad_sketch_trim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| posX | Yes | X coordinate of point near the part to remove | |
| posY | Yes | Y coordinate of point near the part to remove | |
| geoIndex | Yes | Index of the geometry element to trim | |
| sketchName | Yes | Name of the sketch |