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

Deviation ​

Compare the scan with a CAD body or another mesh.

Deviation: A scan compared with Colored by distance to the model.
Prism help example. Compare a scan with its CAD model and show the error as colors. View full size

In the app

Compare a scan with its CAD model (or two meshes): every point is colored by how far it is from the reference. Blue = below the reference, green = on it, red = above.

How to use ​

  1. Choose Deviation. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Mesh to check (mesh).
  3. Pick Compare with (CAD body or mesh) (solid, surface, freeform, mesh).
  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
Tolerance0.1 mm0.0001 to 100 mm
Color range (±)0.5 mm0.001 to 100 mm

Script it ​

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

python
import cadkit as cad

cad.run("mesh_deviation", slots={"Mesh to check": ..., "Compare with (CAD body or mesh)": ...}, tolerance=0.1, color_range=0.5)