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.
- Ribbon: Direct Modeling › Repair
- Guide: Solid modeling
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
- Choose Check and Repair. Its panel opens on the right with numbered steps; anything you selected first fills matching inputs.
- Pick Body to check (solid or surface) (solid, surface).
- 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 |
|---|---|---|
| Tiny size (faces and edges thinner than this) | 0.05 mm | 0.000001 to 10000 mm |
| Sewing gap (closes gaps up to this) | 0.01 mm | 0.000001 to 1000 mm |
| Heal: sew gaps, drop duplicate faces, merge split faces | Off | |
| Remove tiny and sliver faces | Off | |
| Close an open surface into a solid when it seals | Off |
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)