/*! \page using_measurement_tools_page Using measurement tools \n Measurement tools in GEOM are necessary for getting different data concerning created or imported geometrical objects. They are: \n Our TUI Scripts show how to use \ref tui_measurement_tools_page "Measurement Tools" with TUI commands. \n To use measurement tools: \par In the Main menu select \b Measures submenu. \anchor point_coord_anchor

Point coordinates

\n Returns the coordinates of a point. \n Result: Point coordinates (X, Y, Z) in 3D space in the form of Python Tuple. \n TUI Command: geompy.PointCoordinates(Point), where \em Point is a point whose coordinates are inquired. \image html measures1.png \anchor basic_prop_anchor

Basic properties

\n Returns the properties (Length, Surface & Volume) for the selected geometrical object. \n Result: Display Length, Surface & Volume in the form of Python Tuple. \n TUI Command: geompy.BasicProperties(Shape), where \em Shape is a shape whose properties are inquired. \image html neo-basicprop.png \anchor center_mass_anchor

Center of mass

\n Calculates and returns the coordinates of the gravity center for the selected geometrical object. \n Result: GEOM_Object (vertex). \n TUI Command: geompy.MakeCDG(Shape), where \em Shape is the shape for which a center of gravity is computed. \image html measures3.png \anchor inertia_anchor

Inertia

Returns the axis of inertia for the selected geometrical object. \n Result: Displays the matrix and moments of inertia in the form of Python Tuple
(I11, I12, I13,
I21, I22, I23,
I31, I32, I33,
Ix, Iy, Iz).
\n TUI Command: geompy.Inertia(Shape), where \em Shape is a shape for which a matrix of inertia and moment of inertia are returned. \image html measures4.png \anchor bounding_box_anchor

Bounding box

\n Returns the dimensions of the bounding box for the selected geometrical object. \n Result: Displays the dimensions of the bounding box of a geometrical object in the form of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax). \n TUI Command: geompy.BoundingBox(Shape), where \em Shape is a shape for which a bounding box is computed. \image html measures5.png \anchor min_distance_anchor

Min. distance

\n Returns the minimum distance between two geometrical objects. \n TUI Command: geompy.MinDistance(Shape1, Shape2), where \em Shape1 and \em Shape2 are shapes between which the minimal distance computed. \image html distance.png \anchor tolerance_anchor

Tolerance

\n Returns the maximum and the minimum tolerance for the selected geometrical object. \n Result: Displays the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol, VertexMinTol, VertexMaxTol). \n TUI Command: geompy.Tolerance(Shape), where \em Shape is a shape for which minimal and maximal tolerances are returned. \image html new-tolerance.png \anchor whatis_anchor

WhatIs

\n Displays types and quantities of all elements composing the selected geometrical object. \n TUI Command: geompy.WhatIs(Shape), where \em Shape is a shape from which a description is returned. \image html measures8.png \anchor check_anchor

Check

\n Checks the topology of the selected geometrical object and returns True if it is valid. Check also geometry checkbox allows to test the geometry as well. \n Result: Boolean. \n TUI Command: geompy.(theShape, theIsCheckGeom = 0), where is shape which is checked for validity. \image html measures9.png \anchor check_compound_anchor

Check compound of blocks

\n Checks whether a shape is a compound of glued blocks. To be considered as a compound of blocks, the given shape must satisfy the following conditions: \n Informs of the following possible errors: \n Result: Boolean; highlight in the viewer. \n TUI Command: geompy.CheckCompoundOfBlocks(Compound). Checks if the shape is a valid compound of blocks. If it is true, then the validity flag is returned, and encountered errors are printed in the python console. \image html measures10.png */