sweep
Create curved parts by moving a profile along a path, producing bends, pipes, and ribs that standard operations cannot achieve, with support for arcs and splines.
Instructions
Run a profile along a path — genuinely curved parts.
This is how you get curvature that pad/pocket/loft cannot express: a
shaft that bends, a pipe, a curved rib, a hose. The path can be any
wire, including an arc or spline, so the result follows a real curve
rather than a series of straight segments.
`frenet=True` keeps the profile's orientation consistent along the
path, which is what you want for a bent shaft; the alternative can
twist the section unpredictably.
Args:
doc_name: The document.
name: Name for the resulting swept solid.
profile: Name of the profile object to sweep (a sketch or face).
path: Name of the path object (a wire, arc, or spline) to follow.
solid: Produce a solid rather than a surface.
frenet: Keep the profile orientation consistent along the path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| solid | No | ||
| frenet | No | ||
| profile | Yes | ||
| doc_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |