Sweep
sweepCreates geometry by moving a sketch profile along a path curve, applying cut, join, or intersect to a named target body when specified.
Instructions
Sweep a sketch profile along a path (sketch curve). A cut/join/intersect applies to target_body when named; without it Fusion applies the operation to every body the sweep reaches.
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": {
"profile_index": "<profile_index>",
"path_sketch_name": "<path_sketch_name>"
},
"name": "sweep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | No | new_body | |
| sketch_name | No | Sketch holding the profile (default: the most recent sketch) | |
| target_body | No | Body the cut/join/intersect applies to. Without it Fusion applies the operation to every body the sweep reaches. | |
| profile_index | Yes | Index of the profile in the chosen sketch (sketch_name, default the most recent one) | |
| path_curve_index | No | ||
| path_sketch_name | Yes | Name of the sketch containing the sweep path |