1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
6 <title>Modify the Location</title>
\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
\r
9 <link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\r
17 img_whs1 { border:none; width:25px; height:22px; border-style:none; }
\r
18 p.whs2 { font-size:12pt; }
\r
19 img_whs3 { border:none; width:312px; height:350px; float:none; border-style:none; }
\r
20 img_whs4 { border:none; width:431px; height:233px; border-style:none; }
\r
21 img_whs5 { border:none; width:312px; height:385px; float:none; border-style:none; }
\r
22 img_whs6 { border:none; width:326px; height:377px; border-style:none; }
\r
23 p.whs7 { list-style:disc; margin-left:0in; margin-right:0in; margin-top:0px; margin-bottom:0px; }
\r
25 </style><script type="text/javascript" language="JavaScript">
\r
27 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
29 var strNSS = "<style type='text/css'>";
\r
30 strNSS += "p.whs7 {margin-left:1pt;margin-right:1pt;margin-top:1pt;margin-bottom:1pt; }";
\r
31 strNSS +="</style>";
\r
32 document.write(strNSS);
\r
36 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
39 if (innerWidth != origWidth || innerHeight != origHeight)
\r
42 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
43 origWidth = innerWidth;
\r
44 origHeight = innerHeight;
\r
50 <style type="text/css">
\r
52 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\r
54 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
\r
55 <script type="text/javascript" language="javascript" src="whver.js"></script>
\r
56 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
\r
57 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
\r
58 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
\r
60 <body><script type="text/javascript" language="javascript1.2">
\r
62 if (window.gbWhTopic)
\r
64 if (window.addTocInfo)
\r
66 addTocInfo("GEOM module\nTransforming geometrical objects\nTransformation Operations\nModify the Location");
\r
67 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
70 if (window.writeBtnStyle)
\r
73 if (window.writeIntopicBar)
\r
76 if (window.setRelStartPage)
\r
78 setRelStartPage("geom.htm");
\r
87 document.location.reload();
\r
90 <h1><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="image59.gif" width="25px" height="22px" border="0" class="img_whs1"> </font></span>Modify the Location</h1>
\r
92 <p class="whs2"><b style="font-weight: normal;">T</b>o<span
\r
93 style="font-weight: bold;"><B> Modify the Location</B></span> in the Main Menu
\r
94 select <span style="font-weight: bold;"><B>Operations - > Transformation
\r
95 - > Modify the Location.</B></span></p>
\r
97 <p class="whs2"> </p>
\r
99 <p class="whs2">This operation modifies the <span style="font-weight: bold;"><B>Location</B></span>
\r
100 of an <span style="font-weight: bold;"><B>Object </B></span></p>
\r
102 <p class="whs2">The first algorithm places the object so that
\r
103 its center coincides with the center of an End Local Coordinate System.</p>
\r
105 <p class="whs2"><span style="font-weight: bold;"><B>Create a copy
\r
106 </B></span>checkbox allows to keep the initial object, otherwise it will be
\r
109 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><span><b style="font-weight: bold;">A</span>rguments:</b>
\r
110 Name + 1 GEOM_Object + End Coordinate System.</font></span></p>
\r
114 <p class="whs2"><img src="pics/transformation5.png" x-maintain-ratio="TRUE" width="312px" height="350px" border="0" class="img_whs3"> </p>
\r
116 <p class="whs2"> </p>
\r
118 <p class="whs2">In the picture the initial cube with the global
\r
119 coordinate system is to
\r
120 the right and the modified cube with the Local Coordinate System in the
\r
121 center of it is to the left . </p>
\r
123 <p class="whs2"> </p>
\r
125 <p class="whs2"><img src="image30.gif" width="431px" height="233px" border="0" class="img_whs4"></p>
\r
127 <p class="whs2"> </p>
\r
129 <p class="whs2">The second algorithm modifies
\r
130 the location of an object using Start and End LSC, however, it does not
\r
131 place the object in the center of any of the two systems. </p>
\r
133 <p class="whs2"><span style="font-weight: bold;"><B>Create a copy
\r
134 </B></span>checkbox allows to keep the initial object, otherwise it will be
\r
137 <p class="whs2"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Arguments:</b>
\r
138 Name + 1 GEOM_Object + Start Coordinate System + End Coordinate System.</font></span></p>
\r
140 <p class="whs2"> </p>
\r
142 <p class="whs2"><img src="pics/transformation6.png" x-maintain-ratio="TRUE" width="312px" height="385px" border="0" class="img_whs5"></p>
\r
144 <p class="whs2"> </p>
\r
146 <p class="whs2">In this picture the initial cube with the global
\r
147 coordinate system is above, the modified cube is below and the End Local
\r
148 Coordinate System is the big one. </p>
\r
150 <p class="whs2"> </p>
\r
152 <p class="whs2"><img src="image31.gif" width="326px" height="377px" border="0" class="img_whs6"></p>
\r
154 <p class="whs2"> </p>
\r
156 <p class="whs2">The <span style="font-weight: bold;"><B>R</B></span><b><span
\r
157 style="font-weight: bold;"><B>esult</B></span><span style="font-weight: normal;">
\r
158 of this operation will be a</span> </b> GEOM_Object.</p>
\r
160 <p class="whs2"> </p>
\r
162 <p class="whs2"><b style="font-weight: bold;">TUI Command:</b><i>
\r
163 geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where theObject
\r
164 is a shape, location of which is modified, theStartLCS is a location to
\r
165 move the shape from, theEndLCS is a location to move the shape to.</p>
\r
167 <p class="whs2"> </p>
\r
169 <p class="whs7"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">Our </font></span><span
\r
170 style="font-weight: bold;"><B>TUI Scripts</B></span><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">
\r
171 provide you with useful examples of the use of <a href="transformation_operations.htm#bookmark2">Transformation
\r
172 Operations</a>. </font></span></p>
\r
176 <script type="text/javascript" language="javascript1.2">
\r
178 if (window.writeIntopicBar)
\r
179 writeIntopicBar(0);
\r