Sub topic 2
Difference, Union and Intersect
This chapter assumes you can navigate the 3D viewport, switch between Object Mode and Edit Mode, and add and apply modifiers.
Difference, Union and Intersect
The Boolean modifier combines two mesh objects. The object that receives the modifier is the target, and the second object is the operand.
- Difference subtracts the operand from the target, leaving a hole where the operand was.
- Union merges both objects into one shape.
- Intersect keeps only the volume the two objects share.
Exact versus Fast: choosing a solver
The Exact solver is the more reliable choice for most work. It handles messy geometry and coplanar faces better, but it is slower on dense meshes. The Fast solver is quicker and suits simple, clean geometry. Use Exact first, and switch to Fast only when a heavy scene becomes slow.
A non-destructive cutter workflow
A cutter workflow keeps the operand as a separate object, so you can move or reshape it at any time. Hide the cutter from renders so only the result shows.
import bpy
target = bpy.context.active_object
cutter = bpy.data.objects["Cutter"]
mod = target.modifiers.new(name="Boolean", type='BOOLEAN')
mod.operation = 'DIFFERENCE'
mod.operand_type = 'OBJECT'
mod.object = cutter
mod.solver = 'EXACT'
cutter.display_type = 'WIRE'
cutter.hide_render = TrueApplying booleans and managing modifier order
Modifiers run from top to bottom in the stack. A Boolean placed after a Bevel or Subdivision Surface modifier uses the smoothed geometry, which can change the result. Blender applies only the first modifier in the stack directly, so move the Boolean to the top before applying it. Apply the modifier only after you confirm the result.
Why booleans go wrong: common artifacts
| Artifact | Usual cause | Fix |
|---|---|---|
| Holes or missing faces | Non-manifold edges in the input | Repair the mesh so it is watertight |
| Flickering faces | Cutter face lies flush with a target face | Move the cutter slightly |
| Self-intersection errors | Overlapping geometry in the target | Clean the target, or enable the Self Intersection option |
| Inverted result | Flipped normals on an object | Recalculate normals |
Exercise
You apply a Boolean modifier, and the result shows holes. Which step should you check first, and why?
Show answer
Check whether the input meshes are manifold. Boolean operations need watertight meshes, so non-manifold edges in either object cause holes. Repair the mesh before trying other fixes.