Snap
Snap automatically fits a part against another part’s face while you drag it. It is the fastest way to assemble furniture: drag the shelf close to the side and it “sticks” to the face.
How it works
While you drag a part (free drag with the Select tool, or through the Move gizmo), ModuleCAD looks, on every frame, for:
- Face-to-face fit — for each face of the dragged part, it checks every face of the other parts. If a face is less than 30 mm from an opposing face and the two overlap, the part is adjusted to touch it exactly.
- Edge alignment — after the fit, it checks whether the perpendicular edges can be aligned or centred with the target part’s edges, and adjusts.
A visual indicator shows the active fit. The calculation takes the parts’ rotation into account.
Snap is only geometry: when you release the part, it stays in the fitted position, but no relationship is created. If you move the target part later, the fitted part doesn’t follow it.
Turn a snap into a mate
Right after a fit, press M. ModuleCAD turns the last snap into a contact mate between the two faces. From then on, when one of the parts moves, the other follows it according to the mate.
Turning it on and off
- Shift+S or the Snap to Object button on the floating toolbar (or in the context menu).
- The state appears in the status bar: Snap: On/Off.
Snap in other contexts
| Context | Behaviour |
|---|---|
| Module instances in projects | Snap to the inner faces of the walls and to the environment’s floor. |
| Sketch | Its own 2D snap: points, edges, midpoints and horizontal/vertical alignment. See Sketch and extrude. |
| Measure | Points snap to face centres, edge midpoints and corners. See Measure. |