Sub topic 4
Unwrapping the Marked Mesh
This chapter assumes you can navigate Blender, switch between Object Mode and Edit Mode, select mesh components, and apply a texture image. It also assumes you have already marked seams on the mesh.
Start with the Unwrap operator
A UV map is a flat coordinate layout for a 3D mesh. Blender uses the coordinates to place pixels from an image on the model. Seams tell Blender where it may cut the surface before flattening it.
- Select the mesh object.
- Switch to Edit Mode.
- Select the faces you want to unwrap. Press
Ato select the whole mesh. - Open the UV Editing workspace.
- Choose UV > Unwrap in the UV Editor or press
Uin the 3D Viewport and choose Unwrap.
Blender cuts the mesh along marked seams and creates UV islands. An island is a connected group of faces that is separated from other groups in UV space.
Angle Based or Conformal
The Unwrap operator has two important methods. Both use the existing seams, but they solve the flattening problem differently.
| Method | Strength | Common use |
|---|---|---|
| Angle Based | Preserves angles and usually distributes distortion well | Organic or irregular shapes |
| Conformal | Preserves local shape and follows face angles closely | Hard-surface parts and flatter regions |
Angle Based is a good first choice for curved or irregular objects. Conformal can produce cleaner results on mechanical parts, especially when the islands are already reasonably flat. Test both methods on a duplicate or by undoing, then compare the checker pattern in the UV Editor.
The following script selects the mesh, unwraps it with Angle Based, packs the islands, and returns to Object Mode. It assumes the object is the active mesh and that its seams are already marked.
import bpy
bpy.ops.object.mode_set(mode='EDIT')
bpy.ops.mesh.select_all(action='SELECT')
bpy.ops.uv.unwrap(method='ANGLE_BASED', margin=0.02)
bpy.ops.uv.pack_islands(margin=0.02)
bpy.ops.object.mode_set(mode='OBJECT')The margin value controls empty space between islands. A value of 0.02 gives a normalized gap in UV space. Increase it when mipmapping or texture filtering causes colors from neighboring islands to bleed into each other.
Inspect the result in the UV Editor
In the UV Editing workspace, the left panel shows the UV layout and the right panel shows the 3D mesh. Enable UV Sync Selection when you want selections in the 3D Viewport and UV Editor to match directly.
Look for these signs:
- Islands should fit inside the 0–1 square unless you intentionally use another tile.
- Seams should create logical, readable islands.
- Long, narrow islands often indicate a poor cut or excessive stretching.
- Tiny gaps can cause texture bleeding.
- Overlapping islands are useful for intentional mirroring but are a problem when faces need unique texture detail.
Exercise
Exercise
Which unwrap method is usually a sensible first test for an irregular, curved mesh, and what should you inspect afterward?
Show answer
Try Angle Based, then inspect the UV islands with a checker texture or the UV Editor's distortion display. If the pattern stretches badly, revise the seams or compare Conformal.