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 and Repair ​

Check an imported body for open edges, tiny or sliver faces, duplicates and bad edges, then heal, sew or clean it up.

Check and Repair: Checks report geometry problems; review the report before repairing.
Concept diagram. Checks report geometry problems; review the report before repairing. View full size

In the app

Pick an imported solid or surface body. The panel lists problems: an invalid shape, open edges, tiny or sliver faces, duplicate faces and non-manifold edges. Tick what to fix, then Repair: Heal sews gaps up to the sewing gap, drops duplicate faces and merges faces split on the same surface. Remove tiny faces deletes faces thinner than the tiny size and lets their neighbours close the gap. Closing turns a sealed set of surfaces into a solid. With nothing ticked it only reports.

How to use ​

  1. Choose Check and Repair. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
  2. Pick Body to check (solid or surface) (solid, surface).
  3. Adjust the settings and check the preview in the viewport.
  4. Confirm in the panel to apply, or cancel to leave the model unchanged. Applied changes are one undo step.

Settings ​

SettingDefaultValues
Tiny size (faces and edges thinner than this)0.05 mm0.000001 to 10000 mm
Sewing gap (closes gaps up to this)0.01 mm0.000001 to 1000 mm
Heal: sew gaps, drop duplicate faces, merge split facesOff
Remove tiny and sliver facesOff
Close an open surface into a solid when it sealsOff

Script it ​

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

python
import cadkit as cad

cad.run("check_repair", slots={"Body to check (solid or surface)": ...}, tiny_size=0.05, sewing_gap=0.01)