Constructive solid geometry

From FreeCAD Documentation

Introduction

Constructive solid geometry (CSG) is a modelling paradigm that is used in many traditional CAD systems. It essentially consists of using primitive solid objects and doing boolean operations with them, such as fusion, subtraction and intersection, in order to create a final shape.

In FreeCAD, this method is mostly utilized with the Part Workbench, which has the ability of creating primitive objects like boxes, cylinders, and spheres and fuse them together, or use them to cut other objects with tools like Part Cut.

Constructive solid geometry (CSG) workflow; any number of operations can be done on solid primitives to create other solid objects, and then fuse or cut them until the final shape is produced.

Alternatively, the PartDesign Workbench uses a more modern approach than simple CSG; this method is called feature editing, which means creating a base solid, and then adding sequential parametric transformations to obtain a final body.

Note: A PartDesign Body created with the PartDesign Workbench can also be used in a boolean operation with other objects.

Example

Example of constructive solid geometry (CSG) workflow: primitive parts are fused (union); the intersection of two other primitive parts is calculated (common); the difference (cut) of the two previous shapes is obtained.

Tutorials

The tutorials page provides some examples on creating solids with the Part Workbench that use the CSG method.