Deviation
Compare the scan with a CAD body or another mesh.
- Ribbon: Mesh › Analyze
- Guide: Scan, mesh and reverse engineering

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