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

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.

Check Quality: Start: a form compared with Result: colored by curvature.
Prism help example. Mark poles, triangles and n-gons, see how stretched the quads are and how the curvature varies, or color the surface by its distance to a reference. Even curvature colors mean a smooth, well-spread cage. View full size
Freeform Quality marking poles and an n-gon on the Azure bottle
Check Quality marks cage topology on the smooth form: yellow poles have three edges, red poles have five or more, and blue marks identify n-gons. No comparison reference is selected here. View full size

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 ​

  1. Choose Check Quality. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Freeform to check (freeform).
  3. Pick Compare with (scan, CAD body or form) (solid, surface, freeform, mesh), optional.
  4. Adjust the settings and check the preview in the viewport.
  5. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Mark poles, triangles and n-gonsOn
Color the surface by distance to the referenceOn
Tolerance0.2 mm0.0001 to 100 mm
Color range (±)1 mm0.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)