]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/input/translation_operation.doc
Salome HOME
Small corrections
[modules/geom.git] / doc / salome / gui / GEOM / input / translation_operation.doc
1 /*!
2
3 \page translation_operation_page Translation
4
5 \n To produce a \b Translation in the <b>Main Menu</b> select
6 <b>Operations - > Transformation - > Translation</b>
7
8 This Operation makes a translation of an \b Object. To translate a
9 shape you need to define the base shape and the coordinates of the
10 vector of translation. <b>Create a copy</b> checkbox allows to keep the
11 initial object, otherwise it will be removed.
12 \n The \b Result of all operations will be any \b GEOM_Object.
13
14 \n Firstly you can define an \b Object and the vector coordinates along the
15 axes.
16 \n <b>TUI Command:</b> <em>geompy.MakeTranslation(Shape, DX, DY,
17 DZ),</em> where Shape is a shape to be translated, DX, DY, DZ are
18 components of translation vector.
19 \n <b>Arguments:</b> Name + one or several objects + 3 values (coordinates).
20 \n <b>Advanced option:</b>
21    \ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
22
23 \image html transformation1.png
24
25 \n Secondly you can define an \b Object and the start and the end points
26 of the vector.
27 \n <b>TUI Command:</b> <em>geompy.MakeTranslationTwoPoints(Object, Point1, Point2)</em>
28 \n <b>Arguments:</b> Name + one or several objects + 2 vertices
29 \n <b>Advanced option:</b>
30    \ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
31
32 \image html transformation2.png
33
34 \n Finally you can define an \b Object and the vector  
35 \n <b>TUI Command:</b> <em>geompy.MakeTranslationVector(Object, Vector)</em>
36 \n <b>Arguments:</b> Name + one or several objects + 1 vector.
37 \n <b>Advanced option:</b>
38    \ref restore_presentation_parameters_page "Set presentation parameters and subshapes from arguments".
39
40 \image html transformation3.png
41
42 \n <b>Example:</b>
43
44 \image html translationsn1.png
45
46 \image html translationsn2.png
47
48 Our <b>TUI Scripts</b> provide you with useful examples of the use of 
49 \ref tui_translation "Transformation Operations".
50
51 */