Sub topic 13
Tidying topology with Limited Dissolve and Triangulate
This chapter assumes you can already select geometry in Edit Mode, apply modifiers, and run the Boolean cleanup steps from the previous chapter (Merge by Distance, Delete Loose, Recalculate Normals). It covers what a boolean leaves behind in the surface layout, and how to tidy it with two tools: Limited Dissolve and Triangulate.
What a boolean leaves behind
The Exact solver cuts faces along the intersection curve. It splits every face the cutter touches into smaller pieces. The result often has two kinds of clutter:
- Extra edges and vertices on flat surfaces, because the solver subdivided a face that was already flat.
- N-gons (faces with more than four sides) around the cut, where a cut face was re-stitched into one polygon.
Flat clutter is harmless for rendering but makes later editing awkward. Loop selection breaks, bevels behave unpredictably, and subdivision surface modifiers produce pinched shading. N-gons can be fine on flat, static surfaces. They cause problems when they are deformed, subdivided, or exported to engines that triangulate them in unpredictable ways.
You have two opposite goals here. Limited Dissolve removes geometry that does not describe the shape. Triangulate makes the face layout explicit and predictable.
Limited Dissolve
Limited Dissolve is an Edit Mode operator that removes edges and vertices between faces that are nearly coplanar. The "limit" is an angle. If the angle between two neighbouring faces is below the limit, the edge between them is dissolved and the faces merge into one.
Find it under Mesh > Delete > Limited Dissolve, or press X in Edit Mode and choose it from the menu. Select the faces or the whole mesh first. With nothing selected, it does nothing.
Options
| Option | Default | What it does |
|---|---|---|
| Max Angle | 5° | Edges between faces closer than this angle are dissolved. |
| All Boundaries | Off | Also dissolves vertices along open boundary edges. Leave off unless you want boundaries simplified. |
| Delimit | Normal | Stops dissolving across the chosen features: Material, Seam, Sharp, or UV Boundary. |
The default angle is a good start. Raise it and curved surfaces begin to flatten, because gently curved faces fall under the limit and merge. Lower it for models with fine curvature.
Delimit protects your data
Dissolving across a material boundary merges faces that have different materials. Dissolving across a UV seam destroys the seam. Before dissolving a model that has either, tick Material and Seam under Delimit (plus Sharp if you marked sharp edges on purpose). The operator then leaves those edges in place.
Triangulate
Triangulate splits every selected face into triangles. In Edit Mode, press Ctrl+T or use Face > Triangulate Faces. There is also a Triangulate modifier, which does the same thing non-destructively.
Why triangulate deliberately? A quad or n-gon is only flat if all of its vertices lie in one plane. Renderers and game engines split non-triangular faces into triangles anyway, and they choose the diagonals themselves. If you triangulate yourself, you pick the diagonals and get the same shading everywhere.
Quad and n-gon methods
The tool needs a rule for choosing where to cut.
| Setting (UI name) | Meaning |
|---|---|
| Quad Method: Beauty | Splits along the diagonal that gives the most regular triangles. Slowest, usually best. |
| Quad Method: Shortest Diagonal | Picks the shorter diagonal. Fast and predictable. |
| Quad Method: Longest Diagonal | Picks the longer diagonal. |
| Quad Method: Fixed / Fixed Alternate | Always uses the same diagonal, or alternates them. Useful for regular grids. |
| N-gon Method: Beauty | Builds triangles with regular shapes. Slower on large n-gons. |
| N-gon Method: Clip | Cuts ear-shaped triangles off the polygon. Faster, can produce long slivers. |
The Triangulate modifier also has a Minimum Vertices setting. Set it to 5 and the modifier only triangulates n-gons, leaving your quads alone. This is the usual setting after a boolean.
A practical order of operations
Limited Dissolve and Triangulate pull in opposite directions, so the order matters.
- Finish the basic cleanup first. Duplicate vertices and flipped normals can make Limited Dissolve refuse to merge faces or merge the wrong ones.
- Run Limited Dissolve with Delimit set for any materials and seams.
- Look for n-gons. Select by type with Select > Select All by Trait > Faces by Sides, set the number of vertices to 4, and set Type to Greater Than. This selects every n-gon.
- Decide per n-gon. Flat, convex n-gons on a static hard-surface model can stay. Concave ones, or ones on curved surfaces, should be triangulated or reworked by hand.
- For export, add the Triangulate modifier last.
Edge cases and common mistakes
- Dissolving curved surfaces. A cylinder with 32 segments has about 11° between neighbouring faces. A 15° limit merges its side walls into a few huge faces and destroys the round shape. Check the angle before raising the limit.
- Triangulating before dissolving. Triangles have many small, nearly coplanar neighbours. Triangulating first just gives Limited Dissolve more to merge, and it will then merge them back into n-gons.
- Dissolving with unapplied scale. The angle test uses face normals, so non-uniform scale does not change the limit directly. Distorted scale still makes shading and bevels look wrong, though. Apply scale first, as covered earlier in this tutorial.
- Expecting a perfect quad grid. Neither tool retopologises. If you need clean quads for subdivision or sculpting, plan a manual or Remesh approach (covered in a later chapter).
- Dissolving the wrong selection. The operator acts on the selection only. Selecting all with A before dissolving is common, but it also hits areas you may want to leave alone.
Scripting the same pass
You can run the same two steps from Python with bmesh. This script dissolves nearly coplanar faces, then triangulates only the n-gons (faces with more than four sides). It runs on the active mesh object in Object Mode.
import bpy
import bmesh
from math import radians
obj = bpy.context.active_object
bm = bmesh.new()
bm.from_mesh(obj.data)
bmesh.ops.dissolve_limit(
bm,
angle_limit=radians(5.0),
use_dissolve_boundaries=False,
verts=bm.verts,
edges=bm.edges,
delimit={'NORMAL'},
)
ngons = [f for f in bm.faces if len(f.verts) > 4]
bmesh.ops.triangulate(
bm,
faces=ngons,
quad_method='BEAUTY',
ngon_method='BEAUTY',
)
print(f"Faces after cleanup: {len(bm.faces)}")
bm.to_mesh(obj.data)
bm.free()
obj.data.update()The bmesh enum names differ from the UI. For example, the bmesh operator's ngon_method accepts 'BEAUTY' or 'EAR_CLIP', while the modifier's setting is called Clip. If you pass a name from the menu and get a TypeError, check the bmesh documentation for the exact spelling.
Summary
- Limited Dissolve removes edges between nearly flat faces. Set Delimit to protect materials, seams and sharp edges.
- Triangulate makes diagonals explicit. Prefer the modifier with Minimum Vertices 5 when you only want n-gons split.
- Clean up first, dissolve second, triangulate last.
Exercise
A hard-surface model has a boolean-cut panel. After you run Limited Dissolve with a 20° Max Angle, the rounded corners of the panel become flat chamfers. What went wrong, and what should you change?
Show answer
The 20° limit is larger than the angle between the faces that form the rounded corners, so those faces count as "nearly coplanar" and Limited Dissolve merged them. Undo the operation and lower Max Angle to something below the corner's per-segment angle, such as the 5° default. If the corners still collapse, mark their edges sharp and enable Sharp under Delimit.
Exercise
You want a game-ready export of a mesh with clean quads for editing and no n-gons in the exported file. How do you get both without losing the editable mesh?
Show answer
Keep the editable quad-and-n-gon mesh as the base and add a Triangulate modifier at the end of the stack with Minimum Vertices set to 5, so only n-gons are split. Export with modifiers applied, and leave the modifier unapplied in the working file.