/*!
\page translation_operation_page Translation
\n To produce a \b Translation in the Main Menu select
Operations - > Transformation - > Translation
This Operation makes a translation of an \b Object. To translate a
shape you need to define the base shape and the coordinates of the
vector of translation. Create a copy checkbox allows to keep the
initial object, otherwise it will be removed.
\n The \b Result of all operations will be any \b GEOM_Object.
\n Firstly you can define an \b Object and the vector coordinates along the
axes.
\n TUI Command: geompy.MakeTranslation(Shape, DX, DY,
DZ), where Shape is a shape to be translated, DX, DY, DZ are
components of translation vector.
\n Arguments: Name + one or several objects + 3 values (coordinates).
\n Advanced option:
\ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
\image html transformation1.png
\n Secondly you can define an \b Object and the start and the end points
of the vector.
\n TUI Command: geompy.MakeTranslationTwoPoints(Object, Point1, Point2)
\n Arguments: Name + one or several objects + 2 vertices
\n Advanced option:
\ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
\image html transformation2.png
\n Finally you can define an \b Object and the vector. The object will be translated by the length of the vector.
\n TUI Command: geompy.MakeTranslationVector(Object, Vector)
\n Activate Distance checkbox and Distance field allow defining the custom distance of translation.
\n TUI Command for translation by vector and custom distance: geompy.MakeTranslationVectorDistance(Object, Vector, Distance)
\n Arguments: Name + one or several objects + 1 vector.
\n Advanced option:
\ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
\image html transformation3.png
\n Example:
\image html translationsn1.png "The initial shape (grey)"
\image html translationsn2.png "The resulting shape (yellow)"
Our TUI Scripts provide you with useful examples of the use of
\ref tui_translation "Transformation Operations".
*/