]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions.htm
Salome HOME
023acb55427b7844fe26ed4624698868b249cf63
[modules/geom.git] / doc / salome / gui / GEOM / files / salome2_sp3_transformationgui_functions.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Titre</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
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style>\r
16 <!--\r
17 A:visited { color:#800080; }\r
18 A:link { color:#0000ff; }\r
19 -->\r
20 </style><style type="text/css">\r
21 <!--\r
22 p.whs1 { font-size:12pt; }\r
23 img_whs2 { border-style:none; border:none; float:none; width:30px; height:30px; }\r
24 ul.whs3 { list-style:disc; }\r
25 p.whs4 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
26 p.whs5 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
27 img_whs6 { border-style:none; width:20px; height:20px; }\r
28 p.whs7 { font-size:12pt; margin-left:40px; }\r
29 img_whs8 { border:none; width:184px; height:250px; }\r
30 img_whs9 { border:none; width:196px; height:250px; }\r
31 img_whs10 { border:none; width:197px; height:250px; }\r
32 p.whs11 { margin-left:40px; }\r
33 img_whs12 { border-style:none; border:none; width:150px; height:163px; }\r
34 img_whs13 { border:none; width:218px; height:250px; }\r
35 img_whs14 { border-style:none; border:none; width:150px; height:145px; }\r
36 p.whs15 { margin-left:48px; text-indent:-48px; }\r
37 p.whs16 { margin-left:48px; text-indent:-48px; font-size:14pt; font-weight:bold; }\r
38 img_whs17 { border-style:none; border:none; width:25px; height:22px; }\r
39 img_whs18 { border-style:none; border:none; width:209px; height:234px; }\r
40 img_whs19 { border-style:none; border:none; width:200px; height:234px; }\r
41 p.whs20 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
42 p.whs21 { font-size:12pt; text-indent:-40px; margin-left:80px; }\r
43 img_whs22 { border-style:none; border:none; width:200px; height:209px; }\r
44 img_whs23 { border:none; width:214px; height:250px; }\r
45 img_whs24 { border:none; width:215px; height:250px; }\r
46 img_whs25 { border:none; width:216px; height:250px; }\r
47 img_whs26 { border-style:none; border:none; width:150px; height:127px; }\r
48 img_whs27 { border:none; width:205px; height:250px; }\r
49 p.whs28 { margin-left:40px; font-size:12pt; }\r
50 img_whs29 { border-style:none; border:none; width:150px; height:153px; }\r
51 img_whs30 { border-style:none; border:none; width:24px; height:22px; }\r
52 p.whs31 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
53 img_whs32 { border:none; width:225px; height:250px; }\r
54 p.whs33 { font-size:12pt; font-weight:bold; }\r
55 img_whs34 { border-style:none; border:none; width:200px; height:191px; }\r
56 img_whs35 { border:none; width:140px; height:250px; }\r
57 img_whs36 { border:none; width:141px; height:250px; }\r
58 img_whs37 { border-style:none; border:none; width:150px; height:123px; }\r
59 img_whs38 { border:none; width:159px; height:250px; }\r
60 img_whs39 { border:none; width:160px; height:250px; }\r
61 img_whs40 { border-style:none; border:none; width:150px; height:128px; }\r
62 img_whs41 { border-style:none; border:none; width:150px; height:113px; }\r
63 -->\r
64 </style><script type="text/javascript" language="JavaScript">\r
65 <!--\r
66 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
67 {\r
68   var strNSS = "<style type='text/css'>";\r
69   strNSS += "p.whs15 {text-indent:1pt; }";\r
70   strNSS += "p.whs16 {text-indent:1pt; }";\r
71   strNSS += "p.whs20 {text-indent:1pt; }";\r
72   strNSS += "p.whs21 {text-indent:1pt; }";\r
73   strNSS +="</style>";\r
74   document.write(strNSS);\r
75 }\r
76 //-->\r
77 </script>\r
78 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
79 <!--\r
80 function reDo() {\r
81   if (innerWidth != origWidth || innerHeight != origHeight)\r
82      location.reload();\r
83 }\r
84 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
85         origWidth = innerWidth;\r
86         origHeight = innerHeight;\r
87         onresize = reDo;\r
88 }\r
89 onerror = null; \r
90 //-->\r
91 </script>\r
92 <style type="text/css">\r
93 <!--\r
94 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
95 -->\r
96 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
97 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
98 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
99 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
100 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
101 </head>\r
102 <body><script type="text/javascript" language="javascript1.2">\r
103 <!--\r
104 if (window.gbWhTopic)\r
105 {\r
106         if (window.addTocInfo)\r
107         {\r
108         addTocInfo("GEOM module\nTransforming geometrical objects\nUsing transformation operations");\r
109 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
110 \r
111         }\r
112         if (window.writeBtnStyle)\r
113                 writeBtnStyle();\r
114 \r
115         if (window.writeIntopicBar)\r
116                 writeIntopicBar(1);\r
117 \r
118         if (window.setRelStartPage)\r
119         {\r
120         setRelStartPage("../geom.htm");\r
121 \r
122                 autoSync(1);\r
123                 sendSyncInfo();\r
124                 sendAveInfoOut();\r
125         }\r
126 }\r
127 else\r
128         if (window.gbIE4)\r
129                 document.location.reload();\r
130 //-->\r
131 </script>\r
132 <h1>Using transformation operations</h1>\r
133 \r
134 <p class="whs1"><b style="font-weight: bold;"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" x-save-file="TRUE" x-save-method="compute-relative" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In GEOM there is a set \r
135  of operations allowing to transform the initial geometrical object into \r
136  other objects, which will be also created. These operations are</span></b></p>\r
137 \r
138 <p class="whs1">&nbsp;</p>\r
139 \r
140 <ul type="disc" class="whs3">\r
141         \r
142         <li class=kadov-p><p class="whs4"><a \r
143  HREF="#_Toc57113210"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Translation&#9;</font></span></font></a></p></li>\r
144         \r
145         <li class=kadov-p><p class="whs4"><a \r
146  HREF="#_Toc57113211">Rotation</a></p></li>\r
147         \r
148         <li class=kadov-p><p class="whs4"><a \r
149  href="#_Toc57113217">Modify the location</a><a HREF="#_Toc57113211">&#9;</a></p></li>\r
150         \r
151         <li class=kadov-p><p class="whs4"><a \r
152  HREF="#_Toc57113212"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Mirror \r
153  image&#9;</font></span></a></p></li>\r
154         \r
155         <li class=kadov-p><p class="whs4"><a \r
156  HREF="#_Toc57113213">Scale transform</a></p></li>\r
157         \r
158         <li class=kadov-p><p class="whs4"><a \r
159  href="#_Toc57113216">Offset surface</a><a HREF="#_Toc57113213">&#9;</a></p></li>\r
160         \r
161         <li class=kadov-p><p class="whs4"><a \r
162  HREF="#_Toc57113214"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Multi-Translation \r
163  (Pattern)&#9;</font></span></a></p></li>\r
164         \r
165         <li class=kadov-p><p class="whs4"><a \r
166  HREF="#_Toc57113215">Multi-Rotation (Pattern)</a></p></li>\r
167 </ul>\r
168 \r
169 <p class="whs1">&nbsp;</p>\r
170 \r
171 <p class="whs1">&nbsp;</p>\r
172 \r
173 <p class="whs5"><b style="font-weight: bold;"><a \r
174  NAME=_Toc57113210><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image128.gif" width="20px" height="20px" border="0" class="img_whs6"><font \r
175  style="font-size: 14pt;"\r
176         size=4> Translation</font></a></b> </font></span></p>\r
177 \r
178 <p class="whs5">&nbsp;</p>\r
179 \r
180 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
181  Makes a translation of a shape.</p>\r
182 \r
183 <p class="whs1">&nbsp;</p>\r
184 \r
185 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
186 \r
187 <p class="whs1">&nbsp;</p>\r
188 \r
189 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
190  </i><span style="font-style: italic;"><I>geompy.MakeTranslation(Shape, DX, \r
191  DY, DZ)</I></span>, where Shape is a shape to be translated, DX, DY, DZ are \r
192  components of translation vector.</p>\r
193 \r
194 <p class="whs1">&nbsp;</p>\r
195 \r
196 <p class="whs1"><b>Arguments:</b> </p>\r
197 \r
198 <ul type="disc" class="whs3">\r
199         \r
200         <li class=kadov-p><p class="whs1"><b>1st Constructor: <span \r
201  style="font-weight: normal;">Name + </span></b>1 shape + 3 values (coordinates).</p></li>\r
202         \r
203         <li class=kadov-p><p class="whs1"><b>2st Constructor: <span \r
204  style="font-weight: normal;">Name + </span></b>1 shape + 2 vertices.</p></li>\r
205         \r
206         <li class=kadov-p><p class="whs1"><b>3st Constructor: <span \r
207  style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p></li>\r
208 </ul>\r
209 \r
210 <p class="whs1">&nbsp;</p>\r
211 \r
212 <p class="whs1"><span style="font-weight: bold;"><B>Create a copy \r
213  </B></span>checkbox allows to keep the initial object, otherwise it will be \r
214  removed.</p>\r
215 \r
216 <p class="whs1">&nbsp;</p>\r
217 \r
218 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
219 \r
220 <p class="whs1">&nbsp;</p>\r
221 \r
222 <p class="whs7"><img src="../image271.jpg" width="184px" height="250px" border="0" class="img_whs8"> &nbsp;<img src="../image272.jpg" width="196px" height="250px" border="0" class="img_whs9"> &nbsp;<img src="../image273.jpg" width="197px" height="250px" border="0" class="img_whs10"></p>\r
223 \r
224 <p class="whs7">&nbsp;</p>\r
225 \r
226 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
227 \r
228 <p class="whs1">&nbsp;</p>\r
229 \r
230 <p class="whs11"><img src="../image6.gif" width="150px" height="163px" border="0" class="img_whs12"> &nbsp;<img src="../image8.jpg" width="150px" height="163px" border="0" class="img_whs12"></p>\r
231 \r
232 <p class="whs11">&nbsp;</p>\r
233 \r
234 <p class="whs5"><a NAME=_Toc57113211><span \r
235  style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image129.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
236                                                                                                         size=4> Rotation</font></b></a> \r
237  </font></span></p>\r
238 \r
239 <p class="whs5">&nbsp;</p>\r
240 \r
241 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
242  Rotates the initial shape.</p>\r
243 \r
244 <p class="whs1">&nbsp;</p>\r
245 \r
246 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
247 \r
248 <p class="whs1">&nbsp;</p>\r
249 \r
250 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
251  </i><span style="font-style: italic;"><I>geompy.MakeRotation(Shape, Axis, \r
252  Angle)</I></span>, where Shape is a shape to be rotated, Axis is an axis of \r
253  rotation, Angle is an angle of rotation.</p>\r
254 \r
255 <p class="whs1">&nbsp;</p>\r
256 \r
257 <p class="whs1"><b>Arguments:</b> 1 shape + 1 vector for direction \r
258  of rotation + 1 angle.</p>\r
259 \r
260 <p class="whs1"><span style="font-weight: bold;"><B>Reverse </B></span>checkbox \r
261  allows to specify the direction of rotation.</p>\r
262 \r
263 <p class="whs1"><span style="font-weight: bold;"><B>Create a copy \r
264  </B></span>checkbox allows to keep the initial object, otherwise it will be \r
265  removed.</p>\r
266 \r
267 <p class="whs1">&nbsp;</p>\r
268 \r
269 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
270 \r
271 <p class="whs7">&nbsp;</p>\r
272 \r
273 <p class="whs7"><img src="../image270.jpg" width="218px" height="250px" border="0" class="img_whs13"></p>\r
274 \r
275 <p class="whs7">&nbsp;</p>\r
276 \r
277 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
278 \r
279 <p class="whs1">&nbsp;</p>\r
280 \r
281 <p class="whs11"><img src="../image9.jpg" width="150px" height="145px" border="0" class="img_whs14"> &nbsp;<img src="../image10.jpg" width="150px" height="145px" border="0" class="img_whs14"></p>\r
282 \r
283 <p class="whs11">&nbsp;</p>\r
284 \r
285 <p class="whs15">&nbsp;</p>\r
286 \r
287 <p class="whs16"><a name=_Toc57113217\r
288                                                                         style="font-size: 14pt; font-weight: bold;"><img src="../image59.gif" width="25px" height="22px" border="0" class="img_whs17"> Modify the Location</a></p>\r
289 \r
290 <p class="whs15">&nbsp;</p>\r
291 \r
292 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
293  Modification of location of an object.</font></span></p>\r
294 \r
295 <p class="whs1">&nbsp;</p>\r
296 \r
297 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
298 \r
299 <p class="whs1">&nbsp;</p>\r
300 \r
301 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
302  geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where&nbsp;theObject \r
303  is a shape, location of which is modified, theStartLCS is a location to \r
304  move the shape from, theEndLCS is a location to move the shape to.</p>\r
305 \r
306 <p class="whs1">&nbsp;</p>\r
307 \r
308 <p class="whs1"><b>Arguments:</b> Name + 1 GEOM_Object + [Starting \r
309  Coordinate System] + End Coordinate System.</p>\r
310 \r
311 <p class="whs1"><span style="font-weight: bold;"><B>Create a copy \r
312  </B></span>checkbox allows to keep the initial object, otherwise it will be \r
313  removed.</p>\r
314 \r
315 <p class="whs1">&nbsp;</p>\r
316 \r
317 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
318 \r
319 <p class="whs1">&nbsp;</p>\r
320 \r
321 <p class="whs7"><img src="../image199.jpg" width="209px" height="234px" border="0" class="img_whs18"> &nbsp;&nbsp;<img src="../image196.jpg" width="200px" height="234px" border="0" class="img_whs19"></p>\r
322 \r
323 <p class="whs20">&nbsp;</p>\r
324 \r
325 <p class="whs20"><b style="font-weight: bold;">Example:</b></p>\r
326 \r
327 <p class="whs20">&nbsp;</p>\r
328 \r
329 <p class="whs21"><img src="../image197.jpg" width="200px" height="209px" border="0" class="img_whs22"></p>\r
330 \r
331 <p class="whs20">&nbsp;</p>\r
332 \r
333 <p class="whs20">&nbsp;</p>\r
334 \r
335 <p class="whs20">&nbsp;</p>\r
336 \r
337 <p class="whs5"><a NAME=_Toc57113212><span \r
338  style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image130.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Mirror</b></a> \r
339  </font></span></p>\r
340 \r
341 <p class="whs4">&nbsp;</p>\r
342 \r
343 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
344  Symmetrical copy of a shape.</p>\r
345 \r
346 <p class="whs1">&nbsp;</p>\r
347 \r
348 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
349 \r
350 <p class="whs1">&nbsp;</p>\r
351 \r
352 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
353  </i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape, \r
354  Plane)</I></span>, where Shape is a shape to be mirrored, Plane is a plane \r
355  of symmetry.</p>\r
356 \r
357 <p class="whs1">&nbsp;</p>\r
358 \r
359 <p class="whs1"><b>Arguments:</b> </p>\r
360 \r
361 <ul type="disc" class="whs3">\r
362         \r
363         <li class=kadov-p><p class="whs1"><b>1st Constructor: <span \r
364  style="font-weight: normal;">Name + </span></b>1 shape + 1 vertex.</p></li>\r
365         \r
366         <li class=kadov-p><p class="whs1"><b>2st Constructor: <span \r
367  style="font-weight: normal;">Name + </span></b>1 shape + 1 vector.</p></li>\r
368         \r
369         <li class=kadov-p><p class="whs1"><b>3st Constructor: <span \r
370  style="font-weight: normal;">Name + </span></b>1 shape + 1 plane.</p></li>\r
371 </ul>\r
372 \r
373 <p class="whs1"><span style="font-weight: bold;"><B>Create a copy \r
374  </B></span><span>checkbox allows to keep the initial object, otherwise it \r
375  will be removed.</span></p>\r
376 \r
377 <p class="whs1">&nbsp;</p>\r
378 \r
379 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
380 \r
381 <p class="whs1">&nbsp;</p>\r
382 \r
383 <p class="whs7"><img src="../image267.jpg" width="214px" height="250px" border="0" class="img_whs23"> <img src="../image268.jpg" width="215px" height="250px" border="0" class="img_whs24"> <img src="../image269.jpg" width="216px" height="250px" border="0" class="img_whs25"></p>\r
384 \r
385 <p class="whs1">&nbsp;</p>\r
386 \r
387 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
388 \r
389 <p class="whs1">&nbsp;</p>\r
390 \r
391 <p class="whs7"><img src="../image121.jpg" width="150px" height="127px" border="0" class="img_whs26"> &nbsp;<img src="../image122.jpg" width="150px" height="127px" border="0" class="img_whs26"></p>\r
392 \r
393 <p class="whs7">&nbsp;</p>\r
394 \r
395 <p class="whs5"><a NAME=_Toc57113213><span \r
396  style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image131.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
397                                                                                                         size=4> Scale transform</a> \r
398  </font></b></font></span></p>\r
399 \r
400 <p class="whs5">&nbsp;</p>\r
401 \r
402 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
403  Creates a scaled shape basing on the initial shape.</p>\r
404 \r
405 <p class="whs1">&nbsp;</p>\r
406 \r
407 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
408 \r
409 <p class="whs1">&nbsp;</p>\r
410 \r
411 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
412  </i><span style="font-style: italic;"><I>geompy.MakeScaleTransform(Shape, \r
413  CenterOfScale, Factor)</I></span>, where Shape is a shape to be scaled, CenterOfScale \r
414  is a center point of scale, Factor is a factor of the scale.</p>\r
415 \r
416 <p class="whs1">&nbsp;</p>\r
417 \r
418 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
419  Name + 1 shape(s) + 1 vertex + 1 Scale Factor.</p>\r
420 \r
421 <p class="whs1">&nbsp;</p>\r
422 \r
423 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
424 \r
425 <p class="whs1">&nbsp;</p>\r
426 \r
427 <p class="whs7"><img src="../image266.jpg" width="205px" height="250px" border="0" class="img_whs27"></p>\r
428 \r
429 <p class="whs7">&nbsp;</p>\r
430 \r
431 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
432 \r
433 <p class="whs1">&nbsp;</p>\r
434 \r
435 <p class="whs28"><img src="../image23.gif" width="150px" height="153px" border="0" class="img_whs29"> &nbsp;<img src="../image124.jpg" width="150px" height="153px" border="0" class="img_whs29"></p>\r
436 \r
437 <p class="whs7">&nbsp;</p>\r
438 \r
439 <p class="whs20"><a name=_Toc57113216><img src="../image37.gif" width="24px" height="22px" border="0" class="img_whs30"> <span \r
440  style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Offset surface</B></font></span></a></p>\r
441 \r
442 <p class="whs20">&nbsp;</p>\r
443 \r
444 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
445  Each point is translated along a local normal by a given distance (signed \r
446  number, negative value meaning inner offset). Offset operation is applicable \r
447  to faces, shells and solids.</p>\r
448 \r
449 <p class="whs1">&nbsp;</p>\r
450 \r
451 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
452  </p>\r
453 \r
454 <p class="whs1">&nbsp;</p>\r
455 \r
456 <p class="whs1"><b style="font-weight: bold;">TUI Command: \r
457  </b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape, Offset)</I></span>, \r
458  where Shape is a shape which has to be an offset, Offset is a value of \r
459  the offset.</p>\r
460 \r
461 <p class="whs1">&nbsp;</p>\r
462 \r
463 <p class="whs1"><b>Arguments:</b></p>\r
464 \r
465 <ul type="disc" class="whs3">\r
466         \r
467         <li class=kadov-p><p class="whs1"><span><font size=3 style="font-size:12pt;">Name of the resulting \r
468  object</font></span></p></li>\r
469         \r
470         <li class=kadov-p><p class="whs1">GEOM_Object (face, shell, \r
471  solid, compound) </p></li>\r
472         \r
473         <li class=kadov-p><p class="whs1">offset value </p></li>\r
474 </ul>\r
475 \r
476 <p class="whs1">&nbsp;</p>\r
477 \r
478 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
479 \r
480 <p class="whs1">&nbsp;</p>\r
481 \r
482 <p class="whs31"><img src="../image265.jpg" width="225px" height="250px" border="0" class="img_whs32"></p>\r
483 \r
484 <p class="whs1">&nbsp;</p>\r
485 \r
486 <p class="whs33">Example:</p>\r
487 \r
488 <p class="whs7"><img src="../image151.jpg" width="200px" height="191px" border="0" class="img_whs34"></p>\r
489 \r
490 <p class="whs7">&nbsp;</p>\r
491 \r
492 <p class="whs7">&nbsp;</p>\r
493 \r
494 <p class="whs5"><a NAME=_Toc57113214><span \r
495  style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image132.gif" width="20px" height="20px" border="0" class="img_whs6"><b><font style="font-size: 14pt;"\r
496                                                                                                         size=4> Multi-Translation</font></b></font></span></a></p>\r
497 \r
498 <p class="whs5">&nbsp;</p>\r
499 \r
500 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
501  Makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span> \r
502  or <span style="font-weight: bold;"><B>two</B></span> directions.</p>\r
503 \r
504 <p class="whs1">&nbsp;</p>\r
505 \r
506 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
507  (compound).</p>\r
508 \r
509 <p class="whs1">&nbsp;</p>\r
510 \r
511 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>\r
512 \r
513 <ul>\r
514         \r
515         <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape, \r
516  Dir, Step, NbTimes)</I></span>, where Shape is a shape to be translated, Dir \r
517  is a direction of translation, Step is a step of the translation, NbTimes \r
518  is a number of times the shape must be moved.</p></li>\r
519         \r
520         <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation2D(Shape, \r
521  Dir1, Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where Shape is a \r
522  shape to be translated, Dir1 is the first direction of translation, Step1 \r
523  of the first translation, NbTimes1 is a number of translations to be done \r
524  along, Dir2 is the second direction of translation, Step2 of the second \r
525  translation, NbTimes2 is a number of translations to be done along Dir2.</p></li>\r
526 </ul>\r
527 \r
528 <p class="whs1">&nbsp;</p>\r
529 \r
530 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>\r
531 \r
532 <ul>\r
533         \r
534         <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st \r
535  Constructor <span style="font-weight: normal;">(in one direction):</span></b> \r
536  Name + 1 shape + 1 vector (for direction) + 1 step value + 1 value (repetition).</p></li>\r
537         \r
538         <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd \r
539  Constructor<span style="font-weight: normal;"> (in two directions):</span></b> \r
540  Name + 1 shape + 2 vectors defining the direction + 2 step values + 2 \r
541  values (repetitions).</p></li>\r
542 </ul>\r
543 \r
544 <p class="whs1">&nbsp;</p>\r
545 \r
546 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
547 \r
548 <p class="whs1">&nbsp;</p>\r
549 \r
550 <p class="whs7"><img src="../image263.jpg" width="140px" height="250px" border="0" class="img_whs35"> &nbsp;<img src="../image264.jpg" width="141px" height="250px" border="0" class="img_whs36"></p>\r
551 \r
552 <p class="whs1">&nbsp;</p>\r
553 \r
554 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
555 \r
556 <p class="whs1">&nbsp;</p>\r
557 \r
558 <p class="whs1">One direction:</p>\r
559 \r
560 <p class="whs1">&nbsp;</p>\r
561 \r
562 <p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs37"> &nbsp;<img src="../image128.jpg" width="150px" height="123px" border="0" class="img_whs37"></p>\r
563 \r
564 <p class="whs1">&nbsp;</p>\r
565 \r
566 <p class="whs1">Two directions:</p>\r
567 \r
568 <p class="whs1">&nbsp;</p>\r
569 \r
570 <p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs37"> &nbsp;<img src="../image127.jpg" width="150px" height="123px" border="0" class="img_whs37"></p>\r
571 \r
572 <p class="whs1">&nbsp;</p>\r
573 \r
574 <p class="whs4">&nbsp;</p>\r
575 \r
576 <p class="whs5"><a NAME=_Toc57113215><span \r
577  style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_transformationgui_functions_salome2_sp3_transformationgui_functions_image133.gif" width="20px" height="20px" border="0" class="img_whs6"><b style="font-size: 14pt;"> Multi-Rotation</b></font></span></a></p>\r
578 \r
579 <p class="whs4">&nbsp;</p>\r
580 \r
581 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
582  Creates several rotated geometrical objects in <span style="font-weight: bold;"><B>one \r
583  </B></span><span>or </span><span style="font-weight: bold;"><B>two </B></span><span>directions \r
584  basing on the initial geometrical object</span>.</p>\r
585 \r
586 <p class="whs1">&nbsp;</p>\r
587 \r
588 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
589  (compound).</p>\r
590 \r
591 <p class="whs1">&nbsp;</p>\r
592 \r
593 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>\r
594 \r
595 <ul>\r
596         \r
597         <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape, \r
598  Axis, NbTimes)</I></span>, where Shape is a shape to be rotated, Axis is an \r
599  Axis of rotation, NbTimes is a number of the shape must be rotated.</p></li>\r
600         \r
601         <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape, \r
602  Axis, Angle, NbTimes1, Step, NbTimes2)</I></span>, where Shape is a shape \r
603  to be rotated, Axis is an axis of rotation, Angle is an angle of rotation, \r
604  NbTimes1 is a number of rotation, Step is a step of translation, NbTimes2 \r
605  is a number of translation.</p></li>\r
606 </ul>\r
607 \r
608 <p class="whs1">&nbsp;</p>\r
609 \r
610 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>\r
611 \r
612 <ul>\r
613         \r
614         <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st \r
615  Constructor <span style="font-weight: normal;">(in one direction):</span></b> \r
616  Name + 1 shape + 1 vector for direction + 1 value (repetition).</p></li>\r
617         \r
618         <li class=kadov-p><p class="whs1"><b>2nd Constructor <span \r
619  style="font-weight: normal;">(in two directions):</span></b> Name + 1 \r
620  shape + 1 vector for direction + 1 angle + 1 value (repetition) + 1 step \r
621  value + 1 value (repetition); <span style="font-weight: bold;"><B>Reverse \r
622  </B></span><span>checkbox allows to set the direction of rotation</span>.</p></li>\r
623 </ul>\r
624 \r
625 <p class="whs1">&nbsp;</p>\r
626 \r
627 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
628 \r
629 <p class="whs1">&nbsp;</p>\r
630 \r
631 <p class="whs7"><img src="../image261.jpg" width="159px" height="250px" border="0" class="img_whs38"> &nbsp;<img src="../image262.jpg" width="160px" height="250px" border="0" class="img_whs39"></p>\r
632 \r
633 <p class="whs7">&nbsp;</p>\r
634 \r
635 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b \r
636  style="font-weight: bold;">E</b>xample:</b></font></span></p>\r
637 \r
638 <p>&nbsp;</p>\r
639 \r
640 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">One direction:</font></span></p>\r
641 \r
642 <p class="whs1">&nbsp;</p>\r
643 \r
644 <p class="whs7"><img src="../image129.jpg" width="150px" height="128px" border="0" class="img_whs40"> &nbsp;<img src="../image130.jpg" width="150px" height="128px" border="0" class="img_whs40"></p>\r
645 \r
646 <p class="whs1">&nbsp;</p>\r
647 \r
648 <p class="whs1">Two directions:</p>\r
649 \r
650 <p class="whs1">&nbsp;</p>\r
651 \r
652 <p class="whs7"><img src="../image25.gif" width="150px" height="113px" border="0" class="img_whs41"> &nbsp;<img src="../image133.jpg" width="150px" height="113px" border="0" class="img_whs41"></p>\r
653 \r
654 <p>&nbsp;</p>\r
655 \r
656 <p class="whs1">&nbsp;</p>\r
657 \r
658 <script type="text/javascript" language="javascript1.2">\r
659 <!--\r
660 if (window.writeIntopicBar)\r
661         writeIntopicBar(0);\r
662 //-->\r
663 </script>\r
664 </body>\r
665 </html>\r