Sub topic 1
Vertices, edges and faces: the parts of a mesh
Prerequisites
This chapter assumes you can do the following in Blender:
- Move around the 3D viewport (orbit, pan, zoom).
- Switch between Object Mode and Edit Mode with Tab.
- Select and move vertices, edges and faces.
- Add a modifier from the Properties editor.
You don't need any scripting experience to follow the main text. The two short Python scripts near the end are optional, and you can run them in Blender's Scripting workspace.
Why start here
Every later chapter in this tutorial deals with arrangement: where loops run, where poles sit, which faces are quads. Arrangement only makes sense once you know what is being arranged. A polygon mesh in Blender contains three kinds of element, and each of them is a separate piece of data you can select, count and break.
The Subdivision Surface modifier reads these three element types and builds a new, denser mesh from them. Problems in the base mesh, such as duplicate points or inconsistent face direction, carry through into the smoothed result. This chapter gives you the vocabulary and the checks for a healthy base mesh.
The three element types
A mesh is built from three layers, each one defined by the layer below it.
- A vertex is a single point in 3D space. It stores a position (x, y, z) and nothing else that you can see.
- An edge is a straight line segment that connects exactly two vertices.
- A face is a flat area enclosed by a closed ring of three or more edges. Blender also calls faces polygons.
Only vertices hold coordinates. When you move an edge, Blender moves its two vertices. When you move a face, it moves every vertex around that face. Edges and faces are connections between points, and they have no position of their own.
A default cube shows the whole structure. It has 8 vertices, 12 edges and 6 faces.
Shared elements and connectivity
Elements are shared, and this sharing is what makes a mesh a connected surface instead of a pile of separate shapes. Each corner of a cube is one vertex used by three edges and three faces. Each edge is used by two faces.
Connectivity is the reason that moving one vertex deforms every face around it. It is also what Subdivision Surface depends on. The modifier looks at which faces share which edges and vertices, and it computes new points from those neighbours.
If two vertices sit at the same position but are not the same vertex, Blender treats them as unconnected. The surface looks closed, but it has a hidden seam.
Selection modes
In Edit Mode you choose which element type you are working with. The keys 1, 2 and 3 on the main keyboard row switch between them.
| Key | Mode | You select | Typical use |
|---|---|---|---|
| 1 | Vertex | Individual points | Fine adjustment, merging, removing stray points |
| 2 | Edge | Line segments | Loops, bevels, creases, seams |
| 3 | Face | Whole polygons | Extruding, insetting, deleting areas |
Selection mode changes what a selection means, not what is stored. If you select two adjacent vertices in vertex mode and then switch to edge mode, the edge between them becomes selected. If you select a whole face and then switch to vertex mode, its corner vertices stay selected.
Edge loops and rings, which later chapters rely on, are selected in edge mode with Alt+click.
Reading the numbers: statistics and Euler's formula
Turn on Overlays, open the Statistics option, and Blender shows the vertex, edge and face counts for the selection and the whole mesh. These numbers are a quick health check.
For a closed mesh with no holes through it, such as a cube or a sphere, the counts obey Euler's formula:
V − E + F = 2
For the cube, 8 − 12 + 6 = 2. A UV sphere with a different layout gives the same result. If a mesh that should be closed does not satisfy the formula, it has a defect such as a hole, a duplicated vertex or a stray edge. A torus (a donut shape) gives 0 instead of 2 because of the hole through it, and each additional hole lowers the number by two.
Treat the formula as a hint, not a proof. A mesh can satisfy it and still have problems, but a mesh that fails it for a closed single-body shape always has one.
What a healthy base mesh looks like
Subdivision modeling works best when the base mesh follows these rules:
- Every vertex belongs to at least one edge, and every edge belongs to at least one face.
- Each edge is shared by exactly two faces, except along deliberate open borders.
- All faces point outward, so their normals agree.
- There are no duplicate vertices stacked at the same position.
A normal is the direction a face points away from its surface. Blender uses it for shading and to decide which side of a face is the outside. Subdivision generates new faces with consistent normals only when the faces it starts from are consistent.
Common defects
| Defect | What it is | How it shows up | Fix |
|---|---|---|---|
| Loose vertex or edge | A point or line not part of any face | Stray dots or lines in Edit Mode, odd bounds | Select All by Trait, then delete loose geometry |
| Duplicate vertices | Two vertices at the same position | Hidden seams, a cut that looks closed but is not | Merge by Distance (M, then By Distance) |
| Flipped normals | A face pointing inward | Dark patches, wrong shading, blue faces in Face Orientation overlay | Recalculate Outside (Shift+N) |
| Non-manifold edge | An edge with one, three or more faces | Holes, internal faces, a mesh that is not watertight | Select All by Trait, Non Manifold, then repair |
A manifold edge is an edge shared by exactly two faces. A non-manifold edge has any other count. An intentional open border, such as the rim of a cup modeled as a single surface, has one-face edges. Blender reports these as non-manifold, and that is fine when you meant it. An edge with three faces is almost always an error, usually left behind by an extrusion that was cancelled.
You can find non-manifold geometry in Edit Mode through Select, Select All by Trait, Non Manifold. In vertex or edge mode, this highlights the problem edges.
Check normals with the Face Orientation overlay. Faces pointing outward show blue, and faces pointing inward show red. A clean model shows blue everywhere. Recalculating normals works for closed shapes. On an open surface it can pick the wrong side, so check the result.
A worked example: finding a hidden seam
Suppose you built a pillar by extruding a ring, and the Subdivision Surface modifier produces a visible crease at one spot. Work through the elements in order.
- Open Edit Mode and switch to vertex mode (1).
- Enable the Statistics overlay and note the vertex count with nothing selected.
- Select everything (A), then choose Mesh, Clean Up, Merge by Distance.
- Read the status message. If it says it removed vertices, your mesh had duplicates.
- Switch on the Face Orientation overlay and look for red faces. If you find any, press Shift+N.
- Check Select All by Trait, Non Manifold. If no edges light up on a closed pillar, the surface is watertight.
If the crease is still there after these steps, the cause is not broken geometry. It is arrangement, and the chapters on quads, poles and edge flow cover that.
Inspecting a mesh with Python (optional)
Blender exposes the three element lists directly. This script works in Object Mode on the active mesh and prints the counts together with Euler's number:
import bpy
obj = bpy.context.active_object
me = obj.data
v = len(me.vertices)
e = len(me.edges)
f = len(me.polygons)
print(f"Vertices: {v}, edges: {e}, faces: {f}")
print(f"V - E + F = {v - e + f}")On a default cube it prints V - E + F = 2. In Python, faces are in me.polygons, not me.faces.
The next script runs in Edit Mode. It uses the bmesh module, which gives you connectivity (which edges touch which vertices) that the plain lists do not show directly:
import bpy
import bmesh
obj = bpy.context.edit_object
bm = bmesh.from_edit_mesh(obj.data)
loose_verts = sum(1 for v in bm.verts if not v.link_edges)
wire_edges = sum(1 for e in bm.edges if not e.link_faces)
non_manifold = sum(1 for e in bm.edges if not e.is_manifold)
print(f"Loose vertices: {loose_verts}")
print(f"Edges with no face: {wire_edges}")
print(f"Non-manifold edges: {non_manifold}")Here link_edges lists the edges attached to a vertex, and link_faces lists the faces attached to an edge. The same link_edges idea gives you vertex valence in a later chapter. Non-manifold edges include wire edges and open borders, so a count above zero on an open mesh is expected.
Common mistakes
- Fixing shading problems by editing the modifier before checking the base mesh for duplicates and flipped normals.
- Applying Merge by Distance with the whole object selected when only part of it was meant. Without a selection in Edit Mode, nothing is merged.
- Reading a non-manifold report on an open surface as an error when the borders are intentional.
- Assuming that two vertices at one position are one vertex. Only Merge by Distance (or Merge at Center) makes them one.
- Working with unapplied scale. A cube scaled to 5 in Object Mode keeps its original vertex coordinates, and distance-based tools then behave differently from what you see.
Exercise
A closed, single-body model shows V = 26, E = 48 and F = 22 in the Statistics overlay. Does it pass the Euler check, and if not, what should you inspect first?
Show answer
V − E + F = 26 − 48 + 22 = 0, not 2. A closed shape without holes should give 2, so the mesh has a defect. Run Select All by Trait, Non Manifold, then check for duplicate vertices with Merge by Distance and for loose geometry. A result of 0 can also mean the model is a torus-like shape with one hole, so check whether a hole is intended before editing.
Exercise
You select one face in Face mode and switch to Vertex mode. What stays selected, and why does moving it behave differently from moving the face's neighbour?
Show answer
The vertices around the face stay selected, because a face is defined by the vertices and edges that enclose it. Moving them moves the shared edges and therefore also reshapes every neighbouring face that uses those vertices.