FreeCAD Boolean Operations in Part Workbench

This article provides a concise overview of the core Boolean operations available in the FreeCAD Part workbench. It explains the purpose of Constructive Solid Geometry (CSG) tools, detailing how the Union, Cut, and Intersection operations function to combine, subtract, and isolate 3D geometries. By understanding these fundamental commands, users can efficiently model complex mechanical components from basic parametric shapes.

Understanding Boolean Operations in FreeCAD

In the FreeCAD Part workbench, Boolean operations serve as the primary method for Constructive Solid Geometry (CSG). Instead of modeling a shape entirely from a single sketch, designers combine or alter simpler solid shapes (primitives like cubes, cylinders, or spheres) to produce intricate 3D models. FreeCAD offers three primary Boolean tools: Union, Cut, and Intersection.

1. Union (Fuse)

The Union tool, also known as "Fuse," merges two or more selected solids into a single, contiguous solid object.

  • Primary Use: Combining distinct parts into a unified structure without leaving internal faces or duplicate geometry.
  • How it works: When two overlapping solids are fused, FreeCAD eliminates the overlapping internal surfaces, creating a single outer shell.
  • Common Applications: Attaching mounting lugs to a main body, joining structural ribs to a housing, or combining multiple primitive shapes to create a complex custom solid.

2. Difference (Cut)

The Cut tool subtracts one solid object (the tool) from another solid object (the base).

  • Primary Use: Creating holes, slots, recesses, pockets, and complex negative geometries.
  • How it works: Selection order is critical. The first selected object is the base shape that remains, while the second selected object is the cutting tool that is subtracted and hidden.
  • Common Applications: Drilling bolt holes using cylinders, carving channels for wiring or fluid flow, and chamfering or beveling custom corners using angled solid shapes.

3. Intersection (Common)

The Intersection tool, labeled as "Common" in the Part workbench, keeps only the volume that is shared simultaneously by all selected solids.

  • Primary Use: Producing complex profiles by combining multiple orthogonal shapes or determining geometric interference between components.
  • How it works: Any volume belonging to only one of the original shapes is deleted; only the overlapping material remains.
  • Common Applications: Creating complex curved blocks by intersecting two different extruded profiles from orthogonal planes (such as a circle extruded on the X-axis and a curve extruded on the Z-axis).

Key Best Practices

  • Selection Order: For the Cut operation, always select the base shape first in the tree view or viewport, hold the Ctrl key, and then select the subtracting shape.
  • Slight Offsets for Clean Cuts: When cutting through a face completely, ensure the cutting object slightly extends beyond the surface of the base object to prevent coplanar rendering errors or non-manifold geometry.
  • Parametric History: Boolean operations in the Part workbench are non-destructive. The original shapes remain accessible within the model tree, allowing their dimensions and positions to be adjusted at any stage of the design process.