Align
Orient the mesh or best-fit it onto a reference.
- Ribbon: Mesh › Prepare
- Guide: Scan, mesh and reverse engineering

In the app
Position a scan: drop it on the bed, center it, lay a flat face down, or best-fit it onto the CAD model it was scanned from.
How to use
- Choose Align. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick Mesh (mesh).
- Pick Reference body (solid, surface, mesh), optional.
- Adjust the settings and check the preview in the viewport.
- Use the panel buttons as needed: Preview result.
- Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.
Settings
| Setting | Default | Values |
|---|---|---|
| Align | Place on the print bed (lowest point to Z = 0) | Place on the print bed (lowest point to Z = 0), Center on the origin (X, Y), Center of mass to the origin, Lay the biggest flat face on the bed, Principal axes to X, Y, Z, Best fit to a CAD body or mesh |
| Iterations | 40 | Whole number, 5 to 300 |
| Ignore the worst | 10 % | 0 to 60 % |
| Find the starting position automatically | On |
Script it
Command name mesh_align. See Python scripting and the command reference.
python
import cadkit as cad
cad.run("mesh_align", slots={"Mesh": ...}, align="Place on the print bed (lowest point to Z = 0)", iterations=40)