Skip to content

What is the Subtract operation?

In CAD, Subtract is also known as a Boolean difference operation. It takes at least two inputs:

Input Role
Target body The object that will remain after the operation
Tool body The object used to remove material from the target

The resulting geometry is the target object minus the intersecting region occupied by the tool object.

How does Subtract work?

In a 3D solid modeling workflow, the CAD system calculates the intersection between the target body and the tool body. It then removes the overlapping volume from the target and rebuilds the remaining boundary representation.

For example, subtracting a cylinder from a block can create a circular hole. Subtracting a rectangular prism from a housing can create a slot, pocket, or access opening.

In 2D CAD, subtract operations can also be applied to regions or closed profiles. In that case, the operation removes the overlapping area rather than a 3D volume.

Subtract vs. other Boolean operations

Subtract is one of the three core Boolean operations used in CAD modeling:

Boolean operation Result
Union Combines two or more bodies into one
Intersect Keeps only the shared overlapping region
Subtract Removes one body or region from another

Together, these operations let designers build complex models from simpler shapes.

Applications and Industry Use Cases

Subtract is widely used in mechanical design, manufacturing, architecture, product design, and simulation preparation.

Use case Example
Creating holes Removing a cylinder from a solid block
Creating cavities Hollowing out a housing or enclosure
Adding slots and pockets Cutting a keyway, groove, or mounting channel
Architectural modeling Creating door, window, or service openings
Manufacturing preparation Modeling machined cuts, drilled features, or tooling clearances
Simulation preprocessing Removing unnecessary volumes or simplifying internal features

For engineers and software developers, subtract operations matter because they rely on robust geometric computation. A successful Boolean difference must produce valid topology that can still be queried, meshed, edited, or exported downstream.

Relation to Other Concepts

Related glossary terms: Boolean operation, Boolean difference, Union, Intersect, solid modeling, B-Rep, topology, geometry kernel, direct editing, feature modeling, CAD interoperability, geometry healing.

Challenges or Common Pitfalls

Pitfall What to keep in mind
Invalid input geometry Gaps, self-intersections, non-manifold edges, tolerance problems, or poorly stitched surfaces can stop the system from calculating a clean result.
Bodies that don't actually intersect If the tool body doesn't overlap the target, the subtract may produce no visible change.
Nearly tangent or thin-edge intersections When two surfaces touch very closely or overlap only along a thin edge, the resulting topology can become unstable or ambiguous.
Mixing geometry types A Boolean difference on exact B-Rep solids is not the same as a mesh Boolean on triangulated geometry. Each needs a different robustness strategy.

How Spatial Helps

We support subtract and other Boolean modeling operations through our geometric modeling kernels, 3D ACIS Modeler and CGM Modeler. Both provide the underlying solid modeling needed to compute Boolean operations on precise B-Rep geometry.

For CAD application developers, this matters because a subtract is more than a visual cut. The resulting model has to stay geometrically and topologically valid for whatever comes next — blending, shelling, meshing, simulation, manufacturing prep, or export.

Our modeling and interoperability tools also help when you run Boolean operations on imported geometry. In those cases, you may need to repair and heal the geometry first before a subtract can run reliably.

Want to try it on your own models? Request an evaluation or talk to our team.