sweep
Sweep a closed profile sketch along a sketch path or 3D polyline to create solid pipes, rails, and cable runs in FreeCAD.
Instructions
Sweep a closed profile sketch along a path (a sketch of connected edges, or a 3D polyline path_points). The profile
should sit at the path start, roughly perpendicular to it. Use for pipes, rails and cable runs.
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": {
"doc": "<doc>",
"profile_sketch": "<profile_sketch>",
"result_name": "<result_name>"
},
"name": "sweep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| frenet | No | ||
| material | No | ||
| path_points | No | ||
| path_sketch | No | ||
| result_name | Yes | ||
| profile_sketch | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |