sweep
Create a solid along a path sketch from a closed profile or a specified diameter, and optionally remove the resulting volume as a cut.
Instructions
Sweep a solid along a path sketch. Give a closed profile sketch and a path sketch (the path must start on the profile's plane), or give a diameter to sweep a round bar along the path without a profile sketch. By default the profile is the last sketch and the path the one before it. With cut=true the swept volume is removed from the body instead (refused when the part has no solid body or the cut removes nothing).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sweep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cut | No | Remove material (a swept cut) instead of adding it | |
| path | No | Name of the path sketch (default: the sketch before the profile; the last sketch when diameter is given) | |
| unit | No | Unit for diameter (mm, cm, m, inch or ft) | |
| merge | No | Merge new material into the body it touches (boss only) | |
| profile | No | Name of the profile sketch (default: the last sketch) | |
| diameter | No | Sweep a circle of this diameter instead of a profile sketch |