geom/doc/salome/gui/GEOM/input/partition_explanation.doc

55 lines
2.0 KiB
Plaintext
Raw Normal View History

2012-08-09 13:58:02 +06:00
/*!
\page partition_explanation Fuse, Partition and Compound usage
\tableofcontents
2012-12-13 14:40:36 +06:00
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.
2012-08-09 13:58:02 +06:00
\section sec1 Fuse
2012-12-13 14:40:36 +06:00
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.
2012-08-09 13:58:02 +06:00
\image html fuse.png
\section sec2 Partition
2012-12-13 14:40:36 +06:00
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
2012-08-09 13:58:02 +06:00
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
2012-12-13 14:40:36 +06:00
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".
2012-08-09 13:58:02 +06:00
The two solids remain unconnected. The compound is just a set of shapes, no more.
2012-12-13 14:40:36 +06:00
\n The compound allows applying operations to a collection of shapes.
2012-08-09 13:58:02 +06:00
\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>
2012-12-13 14:40:36 +06:00
<li>\a Purpose : Useful to ensure a conformal mesh of separate areas of your model (fluid / solid , concrete / steel ...).</li>
2012-08-09 13:58:02 +06:00
</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>
*/