1 .. _max_element_length_3d_page:
7 This quality control criterion consists in calculation of the maximal length of edges and diagonals of 3D mesh elements (tetrahedrons, pyramids, etc). For polyhedra the value is always zero.
9 **To apply the Element Diameter 3D quality criterion to your mesh:**
11 #. Display your mesh in the viewer.
12 #. Choose **Controls > Volume Controls > Element Diameter 3D** or click **"Element Diameter 3D"** button in the toolbar.
14 .. image:: ../images/image43.png
18 **"Element Diameter 3D" button**
20 Your mesh will be displayed in the viewer with its elements colored according to the applied mesh quality control criterion:
22 .. image:: ../images/max_element_length_3d.png
26 **See Also** a sample TUI Script of a :ref:`tui_max_element_length_3d` operation.