mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-29 19:00:36 +05:00
7961b83044
This reverts commit 3cd92817cb
.
55 lines
2.0 KiB
Plaintext
55 lines
2.0 KiB
Plaintext
/*!
|
|
|
|
\page partition_explanation Fuse, Partition and Compound usage
|
|
|
|
\tableofcontents
|
|
|
|
It is frequently asked about the difference between the above mentioned operations. It is indeed simple. Let us take the example of a cylinder and a box that you want to join together.
|
|
|
|
\section sec1 Fuse
|
|
|
|
The \b fuse operation will make a <b>single solid</b> from two given solids. It allows you to build complex models by putting simple shapes together.
|
|
\image html fuse.png
|
|
|
|
\section sec2 Partition
|
|
The \b partition operation will also connect the solids but it will <b>keep a face at the frontier</b> (in brown in the picture below). The resulting shape will consist of <b>two connected solids</b> that share
|
|
a face at their frontier. It means that this face is present only one time in the resulting shape and is a sub-shape of both the box and the cylinder.
|
|
|
|
\n This operation allows you to identify different areas in a shape (e.g. different materials) and to ensure a <b>conformal mesh</b> when meshing it later. Indeed the face at the frontier is meshed only once.
|
|
|
|
\image html partition.png
|
|
|
|
|
|
\section sec3 Compound
|
|
When you build a \b compound by using the Build -> Compound operation you just make <b>an object that contains two separate solids</b> like in a "bag".
|
|
The two solids remain unconnected. The compound is just a set of shapes, no more.
|
|
|
|
\n The compound allows applying operations to a collection of shapes.
|
|
|
|
\image html compound2.png
|
|
|
|
|
|
\section sec4 Summary
|
|
|
|
In the frame of this example we can summarize the following differences:
|
|
|
|
<ul>
|
|
<li> \b Fuse
|
|
<ul>
|
|
<li> \a Result : A <b>single solid</b>. </li>
|
|
<li> \a Purpose : Allows building complex models by putting simple shapes together.</li>
|
|
</ul>
|
|
<li> \b Partition
|
|
<ul>
|
|
<li>\a Result : Two <b>connected solids</b> sharing faces.</li>
|
|
<li>\a Purpose : Useful to ensure a conformal mesh of separate areas of your model (fluid / solid , concrete / steel ...).</li>
|
|
</ul>
|
|
<li> \b Compound
|
|
<ul>
|
|
<li>\a Result : Two <b>unconnected solids</b>.</li>
|
|
<li>\a Purpose : Allows applying operations to a collection of shapes.</li>
|
|
</ul>
|
|
</ul>
|
|
|
|
|
|
*/ |