How 3D Shapes are represented in CAD

Nov 29, 2026·
Biswajit Sahoo
Biswajit Sahoo
· 4 min read
blog Blog

This post introduces the CAD–CAE–CAM workflow and explores how CAD represents 3D shapes.

The CAD–CAE–CAM Workflow

Computers are increasingly being used in all disciplines, and manufacturing is no exception. Before a part is manufactured, it has to go through three major steps. First, the part has to be designed. Second, the design is tested under operational loads in simulation, and its behavior is observed. This step may also involve design modifications to ensure that the part’s behavior is satisfactory under the intended load. Third, the part’s design needs to be converted into machine code (for example, G-code, where G stands for geometric) that is used to manufacture the part.

The first step is called Computer-Aided Design (CAD). It is concerned only with designing the part, using a computer to do so. The second step, i.e., verifying the design under operational loads, is done using Computer-Aided Engineering (CAE). This is done to ensure that the actual stress distribution does not exceed the permissible stress in any section of the design and that deformations remain within acceptable limits. If any deviation is found during this step, the design is modified to make it conform to acceptable engineering limits. The third step, converting the design to machine code, is done using Computer-Aided Manufacturing (CAM). CAM converts the design into toolpaths and G-code that a computer-controlled machine can follow to manufacture the part. SOLIDWORKS is proprietary software used for CAD. Open-source software also exists in the CAD domain. A popular option is SolidCraft. One proprietary software package commonly used in CAE is Ansys. A proprietary software package for CAM that also includes CAD capabilities is Ency.

Note

In this post, we are not considering the use of computers during manufacturing itself. Manufacturing is a complex process involving assembly lines that require coordination and continuous inspection. These days, all of that is being done using computers, with increasing adoption of artificial intelligence.

Before mass production of a part, there may be another optional step: prototyping, in which a few components are manufactured to study the part’s effectiveness.

Solid modeling is the process of creating 3D objects. These solids can be described using different representation schemes.

Solid representation schemes

Three popular approaches used in CAD to model 3D objects are mentioned below.

Boundary Representation (B-Rep)

It describes a solid by its boundaries (faces, edges, and vertices). In B-rep, a shape is represented by geometry (mathematical descriptions of those faces, edges, NURBS—Non-Uniform Rational B-Splines, etc.) and the topological relationships between faces, edges, and vertices.

Boundary Representation
Boundary representation of an object (Source: shapr3D article)

Popular free software packages that use B-rep in 3D modeling include SolidCraft (built on top of solidcore) and CadQuery (built on top of Open CASCADE Technology (OCCT)), among others.

Constructive Solid Geometry (CSG)

It describes a solid as a combination of primitives (such as spheres, cylinders, cubes, etc.) and Boolean operations (such as union, intersection, difference, etc.). The following image from Wikipedia explains the approach.

Constructive Solid Geometry
Inspect from bottom to top to see how primitive objects are combined to create the solid object at the top. (Source: Wikipedia)

A popular free software package that uses CSG-based 3D modeling is OpenSCAD.

Implicit modeling

It describes an object using mathematical functions over a field. This approach is mainly used to design complex periodic and non-periodic lattice structures. The following image shows the difference between B-rep and implicit modeling.

Implicit modeling
Difference between B-rep and implicit modeling. (Source: nTop article)

Proprietary software packages using implicit modeling include Siemens Altair Inspire and nTop.

Others: Meshes, Voxels, Point Clouds

Along with the three approaches described above, other 3D representation schemes are also available.

  • Meshes

    Meshes represent shapes using polygons, often triangles. Although a 3D object can be represented by a closed, watertight mesh, B-rep is usually preferred over meshes when precise dimensions are required for manufacturing.

  • Voxels

    Voxels represent an object as being made of a grid of 3D cells.

  • Point Clouds

    Point clouds represent an object as a set of points in 3D space. By themselves, these points do not define a solid boundary.

In an upcoming post, we will venture into the details of how boundary representation (B-rep) enables the creation of parametric designs.

References

Biswajit Sahoo
Authors
Machine Learning Engineer
My research interests include machine learning, deep learning, agentic systems, signal processing and data-driven machinery condition monitoring.