Constructive solid geometry: Difference between revisions

From FreeCAD Documentation
(Marked this version for translation)
(Marked this version for translation)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{TOCright}}
<translate>
<translate>

== Introduction == <!--T:1-->
== Introduction == <!--T:1-->


<!--T:13-->
<!--T:13-->
[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.


<!--T:2-->
<!--T:2-->
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 Cut|Part Cut]]. A [[PartDesign Body|PartDesign Body]] created with the [[PartDesign Workbench|PartDesign Workbench]] can also be used in a boolean operation with other objects.
In FreeCAD, this method is mostly utilized with the [[Image:Workbench_Part.svg|24px]] [[Part Workbench|Part Workbench]], which has the ability of creating primitive objects like [[Image:Part_Box.svg|24px]] [[Part Box|boxes]], [[Image:Part_Cylinder.svg|24px]] [[Part Cylinder|cylinders]], and [[Image:Part_Sphere.svg|24px]] [[Part Sphere|spheres]] and fuse them together, or use them to cut other objects with tools like {{Button|[[Image:Part_Cut.svg|24px]] [[Part Cut|Part Cut]]}}.


<!--T:3-->
<!--T:3-->
Line 17: Line 17:


<!--T:5-->
<!--T:5-->
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.
Alternatively, the [[Image:Workbench_PartDesign.svg|24px|link=PartDesign Workbench]] [[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.

<!--T:15-->
{{Emphasis|Note:}} A [[PartDesign Body|PartDesign Body]] created with the [[PartDesign Workbench|PartDesign Workbench]] can also be used in a boolean operation with other objects.


== Example == <!--T:6-->
== Example == <!--T:6-->
Line 30: Line 33:


<!--T:10-->
<!--T:10-->
The [[tutorials]] page provides some examples on creating solids with the [[Part Workbench|Part Workbench]] that use the CSG method.
The [[tutorials]] page provides some examples on creating solids with the [[Image:Workbench_Part.svg|24px]] [[Part Workbench|Part Workbench]] that use the '''CSG''' method.
* [[Manual:Traditional modeling, the CSG way|Traditional modeling, the CSG way]]
* [[Manual:Traditional modeling, the CSG way|Traditional modeling, the CSG way]]
* [[Whiffle Ball tutorial|Wiffle ball tutorial]]
* [[Whiffle Ball tutorial|Wiffle ball tutorial]]
* [[Basic modeling tutorial|Basic modeling tutorial]]
* [[Basic modeling tutorial|Basic modeling tutorial]]


<!--T:11-->
{{Part Tools navi}}

<!--T:12-->
{{Userdocnavi}}
</translate>
</translate>
[[Category:Common Questions{{#translation:}}]]
{{Part Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}

Latest revision as of 20:13, 9 April 2020

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.