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

Align ​

Orient the mesh or best-fit it onto a reference.

Align: A tilted scan compared with The scan resting flat.
Prism help example. Drop a mesh on the bed, lay a face flat, or best-fit it onto a CAD body. View full size

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 ​

  1. Choose Align. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Mesh (mesh).
  3. Pick Reference body (solid, surface, mesh), optional.
  4. Adjust the settings and check the preview in the viewport.
  5. Use the panel buttons as needed: Preview result.
  6. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
AlignPlace 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
Iterations40Whole number, 5 to 300
Ignore the worst10 %0 to 60 %
Find the starting position automaticallyOn

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)