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

Mate ​

Snap a free component onto another by two faces: touching, flush or a set distance apart.

Mate: Start: two separate parts compared with Result: the faces mated.
Prism help example. Snap a free component onto another by two faces: touching, flush or a set distance apart. Mates position parts; joints also say how they can move. View full size

In the app

Pick a flat or round face on each of two components. The second component turns and slides so the faces meet, or sit a distance apart. It is a one-time positioning move: use a joint to keep parts connected.

How to use ​

  1. Choose Mate. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Face on the part that stays (face).
  3. Pick Face on the part that moves (face).
  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
MateFace to face (touching)Face to face (touching), Flush (same direction)
Distance between the faces0 mm

Script it ​

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

python
import cadkit as cad

cad.run("mate", slots={"Face on the part that stays": ..., "Face on the part that moves": ...}, mate="Face to face (touching)", distance_between_the_faces=0)