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

Slider ​

The second component slides along one direction.

Slider: Two parts compared with The parts joined.
Prism help example. The second component slides along one direction. Picking a body turns it into a part for you. View full size

TIP

Pick a face, edge or point on each of two components. Picking a body that is not yet a part turns it into one.

In the app

Pick a face on each part (a plain body becomes a part when you pick it). The second slides along the direction of the picked face's normal (or a round feature's axis).

How to use ​

  1. Choose Slider. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick On the first part (face, circle edge or round face) (face, edge).
  3. Pick On the part that moves (face, 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
DirectionAutomaticAutomatic, Flip, Do not flip
PlacementSnap to picksSnap to picks, Keep where it is
Limit the motionOff
Minimum travel0 mm-1000000 to 1000000 mm
Maximum travel50 mm-1000000 to 1000000 mm
Minimum travel0 mm-1000000 to 1000000 mm
Maximum travel50 mm-1000000 to 1000000 mm

Script it ​

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

python
import cadkit as cad

cad.run("joint_slider", slots={"On the first part (face, circle edge or round face)": ..., "On the part that moves": ...}, direction="Automatic", placement="Snap to picks")