freecad_add_sketch_bspline
Add a B-spline curve to a FreeCAD sketch using control points. Define x, y point arrays and optionally close the curve for parametric wire geometry.
Instructions
Add a B-spline curve to a sketch through control 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>",
"points": "<points>"
},
"name": "freecad_add_sketch_bspline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| closed | No | Close the B-spline (default false) | |
| points | Yes | Array of {x, y} control points | |
| sketchName | Yes | Name of the sketch |