Create Sweep
create_sweepAdds material by sweeping a closed profile along a sketch or curve path, optionally using a circular profile for spring wire and returning volume change.
Instructions
Sweep a closed profile along a path to add material (Insert > Boss/Base > Sweep).
The path is a sketch or a curve such as a helix from create_helix. The
profile is a circle of circular_profile_diameter mm (a spring's wire, no
sketch needed), the sketch named profile, or else the sketch you closed last
that isn't the path; draw a profile sketch where the path starts. The volume
must grow, or the sweep is removed and the call fails. Needs: an open part with
the path (and the profile sketch). Changes: adds a Sweep feature. Returns:
sweep with name, profile, path and volume_before, volume_after,
volume_change (mm³).
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": {
"input_data": "<input_data>"
},
"name": "create_sweep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_data | Yes | The sweep. `path` is required; `profile`, `circular_profile_diameter`, `twist_along_path`, `twist_angle` (degrees) and `merge_result` have defaults. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||