Constructive solid geometry: Difference between revisions

From FreeCAD Documentation
(New page explaining constructive solid geometry (CSG))
 
(→‎Introduction: New images and text describing the constructive solid geometry process)
Line 4: Line 4:
[https://en.wikipedia.org/wiki/Constructive_solid_geometry 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.
[https://en.wikipedia.org/wiki/Constructive_solid_geometry 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 [[Part Box|boxes]], [[Part Cylinder|cylinders]], and [[Part Sphere|spheres]] and fuse them together.
In FreeCAD, this method is mostly utilized with the [[Part Workbench|Part Workbench]], which has the ability of creating primitive objects like [[Part Box|boxes]], [[Part Cylinder|cylinders]], and [[Part Sphere|spheres]] and fuse them together, or use them to cut other objects with tools like [[Part Union|Part Union]] and [[Part Cut|Part Cut]]. A Body created with the [[PartDesign Workbench]] can also be used in a boolean operation with other objects.


</translate>
</translate>
Line 11: Line 11:


{{Caption|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.}}
{{Caption|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.}}

The [[PartDesign Workbench|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.

== Example ==


</translate>
</translate>
[[Image:Part_Boolean_example.png|600px]]
[[Image:Part_CGS_workflow_example.svg|600px]]
<translate>
<translate>


{{Caption|Example constructive solid geometry (CSG) workflow: fusion (union), intersection (common) and difference (cut) of solid shapes.}}
{{Caption|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.}}

On the other hand, the [[PartDesign Workbench|PartDesign Workbench]] uses a more modern approach of creating a shape; this method is called [[feature editing]], which means creating a base solid, and then adding sequential parametric transformations to obtain a final body.


== Tutorials ==
== Tutorials ==

Revision as of 04:59, 4 May 2019

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 Union and Part Cut. A Body created with the PartDesign Workbench can also be used in a boolean operation with other objects.

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.

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.

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.