Salome HOME
Merge branch 'V8_5_asterstudy'
[modules/smesh.git] / doc / salome / gui / SMESH / input / aspect_ratio_3d.rst
1 .. _aspect_ratio_3d_page:
2
3 ***************
4 Aspect ratio 3D
5 ***************
6
7 The **Aspect Ratio 3D** mesh quality criterion calculates the same parameter as the :ref:`aspect_ratio_page` criterion, but it is applied to 3D mesh elements: tetrahedrons, pentahedrons, hexahedrons, etc.
8
9 * The **Aspect Ratio** of a **tetrahedron** 3D element defined by vertices {a,b,c,d } is calculated by the formula:
10
11         .. image:: ../images/formula1.png
12                 :align: center
13
14 * Other element types like polyhedron, pentahedron and hexahedron use the following formula:
15
16         .. image:: ../images/formula2.png
17                 :align: center
18
19 *To apply the Aspect Ratio 3D quality criterion to your mesh:*
20
21 .. |img| image:: ../images/image144.png
22
23 #. Display your mesh in the viewer.
24 #. Choose **Controls > Volume Controls > Aspect Ratio 3D** or click *"Aspect Ratio 3D"* button |img| of the toolbar.
25    
26    Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
27
28         .. image:: ../images/image86.jpg
29                 :align: center
30
31
32 **See Also** a sample TUI Script of a :ref:`tui_aspect_ratio_3d` filter.