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

Mesh Quality ​

Find thin triangles, open edges and self-intersections.

Mesh Quality: Start: a mesh with hidden defects compared with Result: problem areas marked.
Prism help example. Find thin or stretched triangles, open and non-manifold edges and self-intersections. Highlights stay on screen after the command closes; use Clear Colors to remove them. View full size
Mouse housing mesh with aspect-ratio colors and highlighted narrow triangles
Mesh Quality on a deliberately coarse tessellation of the mouse housing. The colors and highlighted triangles help identify areas needing review. View full size

In the app

Measures triangle shape (aspect ratio, angles, edge lengths), finds self-intersections, and highlights defects in the viewport. The highlights stay until you press 'Clear defect display' or Clear Analysis.

How to use ​

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

Settings ​

SettingDefaultValues
Heat mapAspect ratioOff, Aspect ratio, Smallest angle, Largest angle, Triangle size outliers
Needle: smallest angle below10 °1 to 30 °
Cap: largest angle above160 °120 to 179 °
Show open edges (red)On
Show non-manifold edges (magenta)On
Show self-intersecting triangles (orange)On
Show sliver triangles (yellow)On

Script it ​

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

python
import cadkit as cad

cad.run("mesh_quality", slots={"Mesh": ...}, heat_map="Aspect ratio", needle_smallest_angle_below=10)