Check Quality
Mark poles, triangles and n-gons, see how stretched the quads are and how the curvature varies, and color the surface by its distance to a reference.


In the app
Check a freeform's cage and surface. Yellow dots are poles with three edges, red dots have five or more, blue squares are n-gons, green squares are triangles. With a reference, the surface is colored by distance: blue = below it, green = on it, red = above it.
How to use
- Choose Check Quality. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick Freeform to check (freeform).
- Pick Compare with (scan, CAD body or form) (solid, surface, freeform, mesh), optional.
- Adjust the settings and check the preview in the viewport.
- Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.
Settings
| Setting | Default | Values |
|---|---|---|
| Mark poles, triangles and n-gons | On | |
| Color the surface by distance to the reference | On | |
| Tolerance | 0.2 mm | 0.0001 to 100 mm |
| Color range (±) | 1 mm | 0.001 to 100 mm |
Script it
Command name form_quality. See Python scripting and the command reference.
python
import cadkit as cad
cad.run("form_quality", slots={"Freeform to check": ...}, mark_poles_triangles_and_n_gons=True, color_the_surface_by_distance_to_the_reference=True)