Slider
The second component slides along one direction.
- Ribbon: Joints › Joint
- Guide: Assembly and animation

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
- Choose Slider. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick On the first part (face, circle edge or round face) (face, edge).
- Pick On the part that moves (face, edge).
- 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 |
|---|---|---|
| Direction | Automatic | Automatic, Flip, Do not flip |
| Placement | Snap to picks | Snap to picks, Keep where it is |
| Limit the motion | Off | |
| Minimum travel | 0 mm | -1000000 to 1000000 mm |
| Maximum travel | 50 mm | -1000000 to 1000000 mm |
| Minimum travel | 0 mm | -1000000 to 1000000 mm |
| Maximum travel | 50 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")