Sweep
Carry a profile along a path. Add a second rail to steer how it turns.
- Ribbon: Surface › Create
- Ribbon: NURBS › Surfaces
- Guide: Surfaces and NURBS

0.4 development branch
See the illustrated 0.4 guide for workflows and current limits. The settings below were refreshed from the development branch.
In the app
Click one edge of the profile and the connected chain is taken whole (Ctrl-click for a single edge); same for the path. The dropdown next to each pick switches between single edges and connected, tangent or partial chains. Add a second rail to steer how the profile turns; it should touch the profile at the start.
How to use
- Choose Sweep. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick Profile (curve or sketch, face, edge, one or more).
- Pick Path (curve, edge, one or more).
- Pick Second rail (optional) (curve, edge, one or more), optional.
- Pick Guide curve: the profile grows and shrinks with its distance (optional) (curve, edge, one or more), optional.
- Pick Second guide curve (optional) (curve, edge, one or more), optional.
- Adjust the settings and check the preview in the viewport.
- Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.
Settings
| Setting | Default | Values |
|---|---|---|
| Between two guides | Resize evenly | Resize evenly, Stretch between the guides |
| Profile orientation | Follow the path | Follow the path, Keep parallel (no turning), Keep upright (Z stays up) |
| Scale at the end | 1 | 0.01 to 100 |
| Scale at the start | 1 | 0.01 to 100 |
| Scale along the path (optional) | Text | |
| Twist along the path | 0 ° | -3600 to 3600 ° |
Script it
Command name sweep_surface. See Python scripting and the command reference.
python
import cadkit as cad
cad.run("sweep_surface", slots={"Profile": [...], "Path": [...]}, between_two_guides="Resize evenly", profile_orientation="Follow the path")