2012-08-09 16:03:55 +06:00
/*!
\page measurements_page Measurements
Mesh module provides the possibility to perform different measurements
of the selected mesh data.
All measurement operations are available via \b Measurements
top-level menu. Access to the measurements operations is
implemented via a single dialog box, where each operation is represented
as a separate tab page.
\section min_distance_anchor Minimum Distance
This operation allows measuring the distance between two objects.
Currently only node-to-node and node-to-origin operations are
available, but this operation will be extended in the future to support
other mesh objects - elements, meshes, sub-meshes and groups.
To start <b>Minimum Distance</b> operation, select <b>Minimum Distance</b>
2013-12-18 21:08:18 +06:00
tab in \b Measurements dialog.
2012-08-09 16:03:55 +06:00
\image html min_distance.png
2013-12-18 21:08:18 +06:00
Choose the first and the second target by
2012-08-09 16:03:55 +06:00
switching the corresponding radio buttons, then select the objects the distance
between which is to be calculated (or input their IDs directly
2013-12-18 21:08:18 +06:00
in case of nodes/elements) and press \b Compute button.
2012-08-09 16:03:55 +06:00
2013-12-18 21:08:18 +06:00
The following targets are supported:
- \b Node: single mesh node;
- \b Element: single mesh element (not available in this version);
- \b Object: mesh, sub-mesh or group object (not available in this
2012-08-09 16:03:55 +06:00
version);
2013-12-18 21:08:18 +06:00
- \b Origin: origin of the global co-ordinate system.
2012-08-09 16:03:55 +06:00
2013-12-18 21:08:18 +06:00
The result will be shown in the bottom area of the dialog. In addition, a simple
2012-08-09 16:03:55 +06:00
preview will be shown in the 3D viewer.
\image html min_distance_preview.png
\section bounding_box_anchor Bounding Box
2013-12-18 21:08:18 +06:00
This operation allows calculating the bounding box of the selected
2012-08-09 16:03:55 +06:00
object(s).
To start <b>Bounding Box</b> operation, select <b>Bounding Box</b>
2013-12-18 21:08:18 +06:00
tab in \b Measurements dialog.
2012-08-09 16:03:55 +06:00
\image html bnd_box.png
2013-12-18 21:08:18 +06:00
Choose the required type of the object by switching the corresponding radio button, select the object(s) and press \em Compute button.
2012-08-09 16:03:55 +06:00
The following types of input are available:
2013-12-18 21:08:18 +06:00
- \b Objects: one or several mesh, sub-mesh or group objects;
- \b Nodes: a set of mesh nodes;
- \b Elements: a set of mesh elements.
2012-08-09 16:03:55 +06:00
The result of calculation will be shown in the bottom area of the
2013-12-18 21:08:18 +06:00
dialog. In addition, a simple preview will be shown in the 3D viewer.
2012-08-09 16:03:55 +06:00
\image html bnd_box_preview.png
2013-08-08 21:17:00 +06:00
\section basic_properties_anchor Basic Properties
2013-12-18 21:08:18 +06:00
This operation provides calculation of length, area or volume for the the selected object:
- \b Length is calculated as a sum of lengths of all 1D elements;
- \b Area is a sum of areas of all 2D elements
- \b Volume is a sum of volumes of all 3D elements.
2013-08-08 21:17:00 +06:00
2013-12-18 21:08:18 +06:00
To start a <b>Basic Properties</b> calculation, select <b>Length</b>, <b>Area</b> or <b>Volume</b> item.
2013-08-08 21:17:00 +06:00
\image html basic_props.png
2013-12-18 21:08:18 +06:00
In the dialog box select the required type of calculation (length, area or volume) and the object (mesh, sub-mesh or group) and press \b Compute button.
2013-08-08 21:17:00 +06:00
2013-12-18 21:08:18 +06:00
The result of calculation will be shown in the bottom area of the dialog.
2013-08-08 21:17:00 +06:00
\note
2013-12-18 21:08:18 +06:00
- If the mesh consists of 3D elements only, its "length" and "area" will be 0.
- As calculation result is a sum of lengths, areas and volumes of all mesh elements, the
duplication is not taken into account; i.e. all duplicated elements
2013-08-08 21:17:00 +06:00
(elements built on the same set of nodes) will be included into the result.
- Similarly, intersection of elements is not taken into account.
2013-12-18 21:08:18 +06:00
<b>See Also</b> a sample TUI Script of
2012-08-09 16:03:55 +06:00
\ref tui_measurements_page "Measurement operations".
*/