smesh/doc/salome/gui/SMESH/input/projection_algos.doc

117 lines
4.7 KiB
Plaintext
Raw Normal View History

/*!
\page projection_algos_page Projection Algorithms
\tableofcontents
Projection algorithms allow to define the mesh of a geometrical
object by the projection of another already meshed geometrical object.
\note Source and target geometrical objects mush be topologically
equal, i.e. they must have same number of sub-shapes, connected to
corresponding counterparts.
\image html topo_equality.png Topologically equal faces suitable for 2D projection.
\section projection_1D Projection 1D
2009-02-17 10:27:49 +05:00
<b>Projection 1D</b> algorithm allows to define the mesh of an edge
(or group of edges)
by the projection of another already meshed edge (or group of edges).
\n To apply this algorithm select the edge to be meshed (indicated in
the field \b Geometry of <b>Create mesh</b> dialog box),
<b>Projection1D</b> in the list of 1D algorithms and click the
<em>"Add Hypothesis"</em> button.
The following dialog box will appear:
\image html projection_1d.png
2013-02-12 20:37:44 +06:00
In this dialog you can define
<ul>
<li> the \b Name of the algorithm,</li>
<li> the already meshed <b> Source Edge</b> and </li>
<li> the <b>Source Mesh </b> (It can be omitted only when projecting
a sub-mesh on another one of the same Mesh).</li>
<li> It could also be necessary to define the orientation of edges,
which is done by indicating the <b>Source Vertex</b> being the
first point of the <b>Source Edge </b>and the <b>Target Vertex</b> being
the first point of the edge being meshed.</li>
</ul>
2012-08-09 16:03:55 +06:00
<br>
For a group of edges, <b>Source</b> and <b>Target</b> vertices should be
2013-02-12 20:37:44 +06:00
shared by only one edge of the group. If <b>Source</b> and <b>Target</b>
vertices are specified, the edges in the group must be connected.
2012-08-09 16:03:55 +06:00
The source and target groups must contain equal number of edges
and they must form topologically equal structures.
\section projection_2D Projection 2D
2009-02-17 10:27:49 +05:00
\n <b>Projection 2D</b> algorithm allows to define the mesh of a face
2013-02-12 20:37:44 +06:00
(or group of faces) by the projection of another already meshed face
(or group of faces). This algorithm works only if all edges of the
target face have been discretized into the same number of
segments as corresponding edges of the source face.
To apply this algorithm select the face to be meshed (indicated in the
field \b Geometry of <b>Create mesh</b> dialog box), <b>Projection
2013-02-12 20:37:44 +06:00
2D</b> in the list of 2D algorithms and click the <em> "Add
Hypothesis"</em> button. The following dialog box will appear:
\image html projection_2d.png
2013-02-12 20:37:44 +06:00
In this dialog you can define
<ul>
<li> the \b Name of the algorithm, </li>
<li> the already meshed <b> Source Face </b> and </li>
<li> the <b> Source Mesh </b> (It can be omitted only when
projecting a submesh on another one of the same Mesh). </li>
<li> It could also be necessary to define the orientation of mesh on
the face, which is done by indicating two <b>Source Vertices</b>,
which belong to the same edge of the <b>Source Face</b>, and
two <b>Target Vertices</b>, which belong to the same edge of the
face being meshed.</li>
</ul>
2013-04-17 22:20:21 +06:00
2013-04-18 13:58:41 +06:00
The groups of faces are suitable for this algorithm only if they
contain an equal number of faces and form topologically equal
structures.
2012-08-09 16:03:55 +06:00
\section projection_1D2D Projection 1D-2D
\n <b>Projection 1D-2D</b> algorithm differs from
\ref projection_2D algorithm in one aspect: it generates mesh segments
on edges of the face according to the projected 2D elements; thus it
does not require the edges to be meshed by any other 1D algorithm;
moreover it does not allow to mesh edges of the face using another
algorithm via definition of sub-meshes.
\section projection_3D Projection 3D
2009-02-17 10:27:49 +05:00
\n <b>Projection 3D</b> algorithm allows to define the mesh of a shape by
the projection of another already meshed shape. This algorithm works
2012-08-09 16:03:55 +06:00
only if all faces and edges of the target shape have been meshed as 1D-2D
Projections of the faces and edges of the source shape. Another
limitation is that this algorithm currently works only on boxes.
To apply this algorithm select the solid to be meshed (indicated in
the field \b Geometry of <b>Create mesh</b> dialog box), <b>Projection
3D</b> in the list of 3D algorithms and click the button. The
following dialog box will appear:
\image html projection_3d.png
2009-02-17 10:27:49 +05:00
In this menu you can define the \b Name of the algorithm, the already
2012-08-09 16:03:55 +06:00
meshed source <b>3D shape</b> and the \b Mesh (It can be omitted only when
projecting a submesh on another one from the same global Mesh).
It could also be necessary to define the orientation of mesh on the shape, which is
done by indicating two <b>Source Vertices</b>, which belong to the same edge
of the source <b>3D Shape</b>, and two <b>Target Vertices</b>, which belong to the
same edge of the source <b>3D Shape</b>.
2012-08-09 16:03:55 +06:00
<br><b>See Also</b> a sample TUI Script of a
\ref tui_projection "Projection Algorithms".
*/