AlphaPrism is in active development: features may change and you may run into bugs. Keep backups of your work.Known issuesReport a bug
Skip to content

Sweep ​

Carry a profile along a path to build a form (pipes, handles, limbs).

Sweep: A profile and a path compared with A swept form.
Prism help example. Carry a profile along a path to build a form (pipes, handles, limbs). View full size

In the app

Pick a profile and a path. The profile is carried along the path (turning with it, without twisting) to build a form cage: pipes, handles, limbs. The profile should be drawn across the path where the sweep starts.

How to use ​

  1. Choose Sweep. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Profile (curve or sketch) (curve or sketch, edge).
  3. Pick Path (curve or edge) (curve or sketch, edge).
  4. Adjust the settings and check the preview in the viewport.
  5. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Points on the profile12Whole number, 4 to 96
Steps along the path16Whole number, 2 to 200
Close the ends (closed profile)On
Smoothness (levels)3Whole number, 1 to 4

Script it ​

Command name form_sweep. See Python scripting and the command reference.

python
import cadkit as cad

cad.run("form_sweep", slots={"Profile (curve or sketch)": ..., "Path (curve or edge)": ...}, points_on_the_profile=12, steps_along_the_path=16)