Sub topic 12
Finding and Fixing Non-Manifold Geometry
This chapter assumes you can move between Object Mode and Edit Mode, select vertices, edges and faces, and apply modifiers. It also assumes you know what a manifold mesh is from the earlier chapter: every edge is shared by exactly two faces, and the surface has no holes or stray geometry. Here you will find the places where a mesh breaks that rule and repair them, so that a Boolean modifier can work on the result.
What non-manifold geometry looks like
A mesh is non-manifold when some part of it cannot belong to a closed, solid surface. The Exact solver relies on being able to tell inside from outside. Non-manifold geometry makes that question ambiguous, and the boolean then fails or produces holes.
The common forms are:
| Problem | What it is | Typical cause |
|---|---|---|
| Open boundary (hole) | An edge used by only one face | Deleted faces, an unclosed extrusion |
| Wire edge | An edge used by no faces | Leftover edges after deleting faces |
| Loose vertex | A vertex with no edges | Stray points after a delete or an import |
| Multi-face edge | An edge shared by three or more faces | Duplicated or overlapping geometry, a T-junction extrusion |
| Interior face | A face inside a solid, joined to the shell | A face left behind after joining objects |
| Duplicate vertices | Two vertices at one position, splitting an edge | Imported meshes, mirror seams |
| Inconsistent normals | Neighbouring faces facing opposite ways | Flipped faces after manual edits |
Duplicate vertices and inconsistent normals are covered in the cleanup chapter. Here the focus is on holes, wire edges, loose geometry and multi-face edges.
Finding problems with Select Non Manifold
Blender can select the offending geometry for you.
- Select the object and press Tab to enter Edit Mode.
- Press 1 for vertex select mode. Select Non Manifold works only in vertex and edge modes.
- Deselect everything with Alt+A.
- Open Select > Select All by Trait > Non Manifold.
- In the Adjust Last Operation panel, enable the checks you want.
The panel offers these options:
- Wire: edges with no faces.
- Boundaries: edges with only one face. These outline holes.
- Multiple Faces: edges with three or more faces.
- Non Contiguous: edges where adjacent faces have opposite normals.
- Vertices: vertices that join otherwise separate parts of the surface, and loose vertices.
Leave all of them on for a first pass. The selection shows you where to look. To see the whole mesh while you work, press Numpad / for local view, or enable the Statistics overlay to read vertex, edge and face counts before and after a fix.
A selection on a mesh that is meant to be open, such as a plane or a cylinder without caps, is not an error. Boolean cutting needs a closed solid, but a flat decal or a sheet of cloth does not.
Reading the selection
After running the command, look at the shape of the selection.
- A closed loop of selected edges is a hole. Its boundary is selected, and the hole itself is empty.
- A single selected edge or vertex on a flat region is usually a wire edge or a loose point.
- A selected edge running through the middle of a surface often means three or more faces share it, or that a duplicate-vertex seam splits the surface.
- Selected vertices at a point where two shells touch indicate a pinch point, where two parts of the surface meet at one vertex.
The diagram shows a sensible order for working through these cases.
Repairing the problems
Loose vertices and wire edges
Choose Mesh > Clean Up > Delete Loose. Enable Vertices, Edges and Faces as needed. This removes points with no edges and edges with no faces. If a wire edge is part of something you want to keep, such as a curve outline, select and delete it by hand instead.
Holes
With the boundary edges of one hole selected, use Face > Fill (Alt+F). Fill builds a single n-gon across the loop. That is fine for a flat hole, but a large n-gon on a curved surface can shade badly and can make later booleans less predictable.
For a better result on a larger hole:
- Use Face > Grid Fill for an even quad patch. The loop must have an even number of edges.
- Use Face > Triangle Fill or Beautify Faces when the hole has an awkward shape.
- Use the F key to create a face from two to four selected vertices or edges, one hole at a time.
A hole is easier to fill when you select only its boundary loop. If the whole non-manifold selection is active, Fill may connect unrelated holes. Select one loop with Alt+click on an edge, then fill it.
Multiple faces on one edge
An edge with three or more faces usually means some geometry was duplicated or extruded in place. Select the edge, then choose Select > Select More/Less or Select Linked to inspect the faces around it. Switch to wireframe with Z or Alt+Z to see interior faces. Delete the extra faces (X, then Faces), then run Select Non Manifold again, because removing them often leaves a new hole.
Interior faces
A face inside a solid that touches the shell will appear as a multi-face edge. Use Select > Select All by Trait > Interior Faces to find faces whose edges all have more than two faces. Delete them, then fill any hole that remains.
Seams from duplicate vertices
If an edge is selected as a boundary but looks closed, two vertices probably sit in the same place. Select the area and use Mesh > Clean Up > Merge by Distance (M, then By Distance). Check the number of removed vertices in the message at the bottom of the window. The default distance is 0.0001 m. Raising it too far collapses small details.
Checking the result
Repeat Select Non Manifold until nothing is selected, then fix normals with Mesh > Normals > Recalculate Outside (Shift+N). Turn on Overlays > Face Orientation to confirm that every face is blue on the outside. Then test the mesh with a Boolean modifier.
A quick check by script can confirm a mesh is closed before you run a boolean. This example uses bmesh and counts edges that are not manifold.
import bpy
import bmesh
obj = bpy.context.active_object
bm = bmesh.new()
bm.from_mesh(obj.data)
bad_edges = [e for e in bm.edges if not e.is_manifold]
bad_verts = [v for v in bm.verts if not v.is_manifold]
loose = [v for v in bm.verts if not v.link_edges]
print(f"Non-manifold edges: {len(bad_edges)}")
print(f"Non-manifold vertices: {len(bad_verts)}")
print(f"Loose vertices: {len(loose)}")
bm.free()In bmesh, is_manifold on an edge is true when exactly two faces use it. For a vertex it is true when the faces around it form a single fan. A result of zero for all three counts means the mesh is a closed, clean surface.
Limits of manual repair
Some meshes cannot be repaired by hand in reasonable time. Scanned models, damaged imports and meshes with many self-intersections can have thousands of problems. In those cases, the next chapters cover fallbacks such as the Remesh modifier, which rebuilds a clean surface from the shape.
Exercises
Exercise
You run Select Non Manifold on a cube you modelled and a ring of edges around one face is selected, but no vertices are loose. What is the most likely problem, and which operator fixes it?
Show answer
The face was deleted, leaving an open boundary of edges that each belong to only one face. Select the boundary loop and use Face > Fill (Alt+F), or press F with the loop selected, to recreate the face. Then run Select Non Manifold again to confirm nothing is selected.
Exercise
After a boolean, Select Non Manifold highlights an edge that looks closed in the viewport. Which tool do you try first, and how do you confirm it worked?
Show answer
Use Merge by Distance, because the edge probably has duplicate vertices at the same position. Confirm by reading the removed-vertex count in the status message, then run Select Non Manifold again and check that the selection is empty.