3 \page modify_location_operation_page Modify the Location
5 \n To <b>Modify the Location</b> in the <b>Main Menu</b> select
6 <b>Operations - > Transformation - > Modify the Location</b>.
8 \n This operation modifies the \b Location of \b Objects.
10 \n The first algorithm places the object(s) so that its center coincides
11 with the origin of the Local Coordinate System.
12 \n <b>Create a copy</b> checkbox allows to keep the initial objects, otherwise they
14 \n <b>Arguments:</b> Name + one or several objects + End Coordinate System.
16 \image html transformation5.png
18 \n In the picture the initial cube with the global coordinate system
19 is to the right and the modified cube with the Local Coordinate
20 System in the center of it is to the left .
22 \image html image30.gif
24 \n The second algorithm modifies the location of an object using Start
25 and End LSC, although the final position of the object will not
26 coincide with the center of either of the two systems. In this method
27 the object is shifted from its initial position by the value of the
28 remainder after subtraction of the coordinates of the Start LSC from
29 the coordinates of the End LSC.
30 \n <b>Create a copy</b> checkbox allows to keep the initial object,
31 otherwise it will be removed.
32 \n <b>Arguments:</b> Name + one or several objects + Start Coordinate System + End
35 \image html transformation6.png
37 In this picture we see the initial cube with the global coordinate
38 system and two LCS: LocalCS1 (GCS+100 along x-axis) and LocalCS2
39 (GCS+200 along x-axis)
41 \image html image1.gif
43 Selecting Start LCS = LCS1 and End LCS = LCS2, we obtain the
44 translated cube at the position (100;0;0)
46 \image html image2.gif
48 Selecting Start LCS = LCS2 and End LCS = LCS1, we obtain the
49 translated cube at the position (-100;0;0)
51 \image html image4.gif
53 \n <b>TUI Command:</b> <em>geompy.MakePosition(theObject, theStartLCS,
54 theEndLCS),</em> where \em theObject is a shape, location of which is
55 modified, \em theStartLCS is a location to move the shape from, \em
56 theEndLCS is a location to move the shape to.
58 \n Our <b>TUI Scripts</b> provide you with useful examples of the use
59 of \ref tui_translation "Transformation Operations".