Guide › Mesh tab › Repair

Repair

Find what's wrong with a mesh (holes, flipped faces, bad edges, loose pieces, self-intersections, spikes, fins), see it painted on the model in a color per kind, leave alone what you want to keep, and repair the rest in one go.

On the Mesh tab, first of the large buttons. It needs a mesh (a point cloud has no faces).
You getThe mesh repaired in place, as one Undo step. The analysis then runs again on the result.
ReviewEvery kind of defect is painted in its own color; the rest of the mesh turns gray.
Nothing changesNothing changes until you press Apply repairs. Close takes the paint off and leaves the mesh as it was.

The panel at a glance

  1. Summary says how many faces will change.
  2. Kinds of defect are ticked to be repaired, and each arrow opens that kind's settings.
  3. Remove selection takes the selected faces out of the repair.
  4. Restore all puts every removed area back and resets Grow and Shrink.
  5. Grow widens the painted Spikes and Fins by one row of faces.
  6. Shrink narrows the painted Spikes and Fins by one row of faces.
  7. Finish cuts out the defects left after the repair and fills the openings.
  8. Apply repairs repairs the mesh as one Undo step.
  9. Close takes the paint off and closes the panel. The mesh is not changed.

How to repair a mesh

Analyze

Select the mesh and click Repair. It's analyzed (“Analyzing what a repair would change...”) and every kind of defect found is painted and ticked. Kinds with nothing found are grayed.

Review

Press a preset (Safe clean, Open scan or Watertight) to tick a usual set of kinds, or tick them yourself. Untick a kind to leave it alone, or open its arrow to set limits (the largest hole to fill, the largest loose piece to remove…). To protect an area, select it with any selection tool and press Remove selection. Grow and Shrink widen or narrow the painted Spikes and Fins by one row of faces.

Apply

Press Apply repairs. Everything ticked is repaired in the background, fins, spikes, tunnels and Finish included, as one Undo step. The mesh is then analyzed again and repainted, and the panel stays open with the new figures, so you can see what's left.

The kinds of defect

■ Self-intersections

These are places where the surface passes through itself. They are repaired by rebuilding the shells that cross. A higher Strength (50%) takes a wider margin round each tangle and tests more pairs.

■ Bad edges

These are edges shared by more than two faces, degenerate and duplicate triangles, and duplicate and unused points. They are tidied, welded or removed.

■ Winding

These are faces wound against their neighbors. They are flipped; no point moves and no triangle is lost.

■ Loose pieces

These are islands separate from the part, such as scanner debris and stray shells. Pieces with more faces than Largest piece (Any size) are kept.

■ Holes

These are open boundaries. While Holes is ticked, the rim of each hole to be filled is outlined in green on the model. Holes with longer rims (more edges) than Largest hole (Any size) are left open. An open scan's outer edge is not counted as a hole, so it stays open.

Patch shape
Sets the shape of each patch: Curvature (the default) blends smoothly into the surface round it, Tangent matches the slope at the rim, and Flat caps straight across.

■ Spikes

These are triangles meeting at an acute angle.

Sensitivity
Sets how sharp a join counts as a spike (50 = 80°). Higher finds gentler spikes, and more of them. The paint updates when you let go of the slider.
Method
Chooses whether to smooth the spikes down, or Delete and fill.
Strength
Sets how far each spike is taken down (100%).

■ Fins

These are thin sheets a fuse left standing off an open edge where no scan saw anything, some folded back. They're found against the scans the mesh was fused from, and ticked when those scans are there. With no other scan to check against they're found from their shape alone and left unticked, so look before you tick them. Apply cuts the fins off at their root before the other repairs, in the same Undo step. If the openings they leave show as holes when the panel repaints, press Apply again to fill them. See Fins on open edges.

Internal tunnels

These are hidden handles tunneling through the solid. They're found as the repair runs, so they can't be painted first and have no count. When ticked, Apply closes them after the painted repairs, in the same Undo step. A higher Largest tunnel (50%) closes larger tunnels.

Presets and Finish

Safe clean button

Ticks Bad edges, Winding and Loose pieces only, so every hole stays open, and turns Finish off.

Open scan button

Ticks every kind except Internal tunnels and turns Finish off. Use it on a scan that is meant to stay open.

Watertight button

Ticks the same kinds as Open scan, Holes included, and turns Finish on, for a part you will print or make solid.

Finish: cut out remaining defects and fill tick boxoff

After the ticked repairs, runs up to three more clean-up rounds, but only on Holes and Spikes, and only when they are ticked. Unticked kinds, holes larger than Largest hole and an open scan's outer edge are left alone. It is part of the same Undo step.

A preset ticks only the kinds the analysis found. You can change the ticks after pressing one.

Leaving areas alone

Remove selection takes the faces selected in the view out of the paint, so any defect touching them is left alone. Restore all puts every removed area back (and resets Grow and Shrink). Grow and Shrink work on the painted Spikes and Fins only. They go up to 8 rows either way, and the panel says how far, such as “Grown by 2 polygons”.

Some repairs (bad edges, winding) must spread over a whole connected piece, so they can't avoid removed areas. Their row turns amber, marked “(ignores removed areas)”, and Apply asks before going ahead.

If something goes wrong

“Analyze found nothing to repair”

The mesh is clean for every kind the analysis looks for.

“Nothing is selected to repair…”

Every kind is unticked, or every painted area was removed. Tick a kind or press Restore all.

“This analysis flags more faces than the highlight will draw at once…”

More than 2 million faces are flagged. Untick some kinds and analyze again, or clean up with Strays and Fill first.

User guide for Tesselform 1.1.3