1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
5 <!--(==============================================================)-->
\r
6 <!--(Document created with RoboEditor. )============================-->
\r
7 <!--(==============================================================)-->
\r
11 <title>Titre</title>
\r
13 <!--(Meta)==========================================================-->
\r
15 <meta HTTP-EQUIV=Content-Type CONTENT="text/html; charset=windows-1252">
\r
16 <meta NAME=subject CONTENT=Sujet>
\r
17 <meta NAME=keywords CONTENT=Etude>
\r
18 <meta NAME=Client CONTENT=Client>
\r
19 <meta NAME=Department CONTENT="Dйveloppements spйcifiques open cascade">
\r
20 <meta NAME=Division CONTENT="Une filiale EADS Matra Datavision">
\r
21 <meta NAME=Owner CONTENT=OCC>
\r
22 <meta NAME=Project CONTENT=ProjectRef>
\r
23 <meta NAME=Folder CONTENT=FF>
\r
24 <meta NAME=Study CONTENT=SSS>
\r
25 <meta NAME=Reference CONTENT=Reference>
\r
26 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
\r
27 <meta name=generator-major-version content=0.1>
\r
28 <meta name=generator-minor-version content=1>
\r
29 <meta name=filetype content=kadov>
\r
30 <meta name=filetype-version content=1>
\r
31 <meta name=page-count content=1>
\r
32 <meta name=layout-height content=7022>
\r
33 <meta name=layout-width content=510>
\r
36 <!--(Links)=========================================================-->
\r
38 <link rel='stylesheet' href='../default_ns.css'>
\r
39 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
41 if (navigator.appName !="Netscape")
\r
42 { document.write("<link rel='stylesheet' href='../default.css'>");}
\r
45 <!--(Style Sheet)===================================================-->
\r
62 <style type="text/css">
\r
64 p.whs1 {font-size: 12pt;}
\r
65 img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}
\r
66 ul.whs3 {list-style: disc;}
\r
67 p.whs4 {font-family: 'Times New Roman', serif; font-size: 12pt;}
\r
68 p.whs5 {font-family: 'Times New Roman', serif; font-size: 14pt;}
\r
69 img_whs6 {border-style: none; width: 20px; height: 20px;}
\r
70 p.whs7 {font-size: 12pt; margin-left: 40px;}
\r
71 img_whs8 {border-style: none; border: none; width: 200px; height: 202px;}
\r
72 p.whs9 {margin-left: 40px;}
\r
73 img_whs10 {border-style: none; border: none; width: 150px; height: 163px;}
\r
74 img_whs11 {border-style: none; border: none; width: 200px; height: 193px;}
\r
75 img_whs12 {border-style: none; border: none; width: 150px; height: 145px;}
\r
76 p.whs13 {margin-left: 48px; text-indent: -48px;}
\r
77 p.whs14 {margin-left: 48px; text-indent: -48px; font-size: 14pt; font-weight: bold;}
\r
78 img_whs15 {border-style: none; border: none; width: 25px; height: 22px;}
\r
79 img_whs16 {border-style: none; border: none; width: 209px; height: 234px;}
\r
80 img_whs17 {border-style: none; border: none; width: 200px; height: 234px;}
\r
81 p.whs18 {font-size: 12pt; margin-left: 40px; text-indent: -40px;}
\r
82 p.whs19 {font-size: 12pt; text-indent: -40px; margin-left: 80px;}
\r
83 img_whs20 {border-style: none; border: none; width: 200px; height: 209px;}
\r
84 img_whs21 {border-style: none; border: none; width: 200px; height: 176px;}
\r
85 img_whs22 {border-style: none; border: none; width: 150px; height: 127px;}
\r
86 p.whs23 {margin-left: 40px; font-size: 12pt;}
\r
87 img_whs24 {border-style: none; border: none; width: 150px; height: 153px;}
\r
88 img_whs25 {border-style: none; border: none; width: 24px; height: 22px;}
\r
89 img_whs26 {border-style: none; border: none; width: 200px; height: 164px;}
\r
90 p.whs27 {font-size: 12pt; font-weight: bold;}
\r
91 img_whs28 {border-style: none; border: none; width: 200px; height: 191px;}
\r
92 img_whs29 {border-style: none; border: none; width: 200px; height: 227px;}
\r
93 img_whs30 {border-style: none; border: none; width: 150px; height: 123px;}
\r
94 img_whs31 {border-style: none; border: none; width: 150px; height: 128px;}
\r
95 img_whs32 {border-style: none; border: none; width: 150px; height: 113px;}
\r
98 <script type="text/javascript" language="JavaScript">
\r
100 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
102 var strNSS = "<style type='text/css'>";
\r
103 strNSS += "p.whs13 {text-indent:1; }";
\r
104 strNSS += "p.whs14 {text-indent:1; }";
\r
105 strNSS += "p.whs18 {text-indent:1; }";
\r
106 strNSS += "p.whs19 {text-indent:1; }";
\r
107 strNSS +="</style>";
\r
108 document.write(strNSS);
\r
112 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
115 if (innerWidth != origWidth || innerHeight != origHeight)
\r
118 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
119 origWidth = innerWidth;
\r
120 origHeight = innerHeight;
\r
126 <style type="text/css">
\r
128 div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
\r
131 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
\r
132 <script type="text/javascript" language="javascript" src="../whver.js"></script>
\r
133 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
\r
134 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
\r
135 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
\r
138 <!--(Body)==========================================================-->
\r
143 <script type="text/javascript" language="javascript1.2">
\r
145 if (window.gbWhTopic)
\r
147 if (window.addTocInfo)
\r
149 addTocInfo("GEOM module\nTransforming geometrical objects\nUsing transformation operations");
\r
150 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
153 if (window.writeBtnStyle)
\r
156 if (window.writeIntopicBar)
\r
157 writeIntopicBar(1);
\r
159 if (window.setRelStartPage)
\r
161 setRelStartPage("../geom.html");
\r
169 document.location.reload();
\r
172 <h1>Using transformation operations</h1>
\r
174 <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
175 of operations allowing to transform the initial geometrical object into
\r
176 other objects, which will be also created. These operations are</span></b></p>
\r
178 <p class="whs1"> </p>
\r
180 <ul type="disc" class="whs3">
\r
182 <li class=kadov-p><p class="whs4"><a
\r
183 HREF="#_Toc57113210"><font><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Translation	</font></span></font></a></p></li>
\r
185 <li class=kadov-p><p class="whs4"><a
\r
186 HREF="#_Toc57113211">Rotation</a></p></li>
\r
188 <li class=kadov-p><p class="whs4"><a
\r
189 href="#_Toc57113217">Modify the location</a><a HREF="#_Toc57113211">	</a></p></li>
\r
191 <li class=kadov-p><p class="whs4"><a
\r
192 HREF="#_Toc57113212"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Mirror
\r
193 image	</font></span></a></p></li>
\r
195 <li class=kadov-p><p class="whs4"><a
\r
196 HREF="#_Toc57113213">Scale transform</a></p></li>
\r
198 <li class=kadov-p><p class="whs4"><a
\r
199 href="#_Toc57113216">Offset surface</a><a HREF="#_Toc57113213">	</a></p></li>
\r
201 <li class=kadov-p><p class="whs4"><a
\r
202 HREF="#_Toc57113214"><span style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">Multi-Translation
\r
203 (Pattern)	</font></span></a></p></li>
\r
205 <li class=kadov-p><p class="whs4"><a
\r
206 HREF="#_Toc57113215">Multi-Rotation (Pattern)</a></p></li>
\r
209 <p class="whs1"> </p>
\r
211 <p class="whs1"> </p>
\r
213 <p class="whs5"><b style="font-weight: bold;"><a
\r
214 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
215 style="font-size: 14pt;"
\r
216 size=4> Translation</font></a></b> </font></span></p>
\r
218 <p class="whs5"> </p>
\r
220 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
221 Makes a translation of a shape.</p>
\r
223 <p class="whs1"> </p>
\r
225 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
227 <p class="whs1"> </p>
\r
229 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
230 </i><span style="font-style: italic;"><I>geompy.MakeTranslation(Shape, DX,
\r
231 DY, DZ)</I></span>, where Shape is a shape to be translated, DX, DY, DZ are
\r
232 components of translation vector.</p>
\r
234 <p class="whs1"> </p>
\r
236 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
237 1 shape + 3 values (coordinates).</p>
\r
239 <p class="whs1"> </p>
\r
241 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
243 <p class="whs1"> </p>
\r
245 <p class="whs7"><img src="../image118.jpg" width="200px" height="202px" border="0" class="img_whs8"></p>
\r
247 <p class="whs7"> </p>
\r
249 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
251 <p class="whs1"> </p>
\r
253 <p class="whs9"><img src="../image6.gif" width="150px" height="163px" border="0" class="img_whs10"> <img src="../image8.jpg" width="150px" height="163px" border="0" class="img_whs10"></p>
\r
255 <p class="whs9"> </p>
\r
257 <p class="whs5"><a NAME=_Toc57113211><span
\r
258 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
259 size=4> Rotation</font></b></a>
\r
262 <p class="whs5"> </p>
\r
264 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
265 Rotates the initial shape.</p>
\r
267 <p class="whs1"> </p>
\r
269 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
271 <p class="whs1"> </p>
\r
273 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
274 </i><span style="font-style: italic;"><I>geompy.MakeRotation(Shape, Axis,
\r
275 Angle)</I></span>, where Shape is a shape to be rotated, Axis is an axis of
\r
276 rotation, Angle is an angle of rotation.</p>
\r
278 <p class="whs1"> </p>
\r
280 <p class="whs1"><b style="font-weight: bold;">Arguments</b><b>:</b>
\r
281 1 shape + 1 edge +
\r
284 <p class="whs1"> </p>
\r
286 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
288 <p class="whs7"> </p>
\r
290 <p class="whs7"><img src="../image119.jpg" width="200px" height="193px" border="0" class="img_whs11"></p>
\r
292 <p class="whs7"> </p>
\r
294 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
296 <p class="whs1"> </p>
\r
298 <p class="whs9"><img src="../image9.jpg" width="150px" height="145px" border="0" class="img_whs12"> <img src="../image10.jpg" width="150px" height="145px" border="0" class="img_whs12"></p>
\r
300 <p class="whs9"> </p>
\r
302 <p class="whs13"> </p>
\r
304 <p class="whs14"><a name=_Toc57113217
\r
305 style="font-size: 14pt; font-weight: bold;"><img src="../image59.gif" width="25px" height="22px" border="0" class="img_whs15"> Modify the Location</a></p>
\r
307 <p class="whs13"> </p>
\r
309 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
\r
310 Modification of location of an object.</font></span></p>
\r
312 <p class="whs1"> </p>
\r
314 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
316 <p class="whs1"> </p>
\r
318 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
319 geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where theObject
\r
320 is a shape, location of which is modified, theStartLCS is a location to
\r
321 move the shape from, theEndLCS is a location to move the shape to.</p>
\r
323 <p class="whs1"> </p>
\r
325 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
326 1 GEOM_Object + [Starting Coordinate System] + End Coordinate System.</p>
\r
328 <p class="whs1"> </p>
\r
330 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
332 <p class="whs1"> </p>
\r
334 <p class="whs7"><img src="../image199.jpg" width="209px" height="234px" border="0" class="img_whs16"> <img src="../image196.jpg" width="200px" height="234px" border="0" class="img_whs17"></p>
\r
336 <p class="whs18"> </p>
\r
338 <p class="whs18"><b style="font-weight: bold;">Example:</b></p>
\r
340 <p class="whs18"> </p>
\r
342 <p class="whs19"><img src="../image197.jpg" width="200px" height="209px" border="0" class="img_whs20"></p>
\r
344 <p class="whs18"> </p>
\r
346 <p class="whs18"> </p>
\r
348 <p class="whs18"> </p>
\r
350 <p class="whs5"><a NAME=_Toc57113212><span
\r
351 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
354 <p class="whs4"> </p>
\r
356 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
357 Symmetrical copy of a shape.</p>
\r
359 <p class="whs1"> </p>
\r
361 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
363 <p class="whs1"> </p>
\r
365 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
366 </i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape,
\r
367 Plane)</I></span>, where Shape is a shape to be mirrored, Plane is a plane
\r
370 <p class="whs1"> </p>
\r
372 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
373 1 shape + 1 face.</p>
\r
375 <p class="whs1"> </p>
\r
377 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
379 <p class="whs1"> </p>
\r
381 <p class="whs7"><img src="../image120.jpg" width="200px" height="176px" border="0" class="img_whs21"></p>
\r
383 <p class="whs1"> </p>
\r
385 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
387 <p class="whs1"> </p>
\r
389 <p class="whs7"><img src="../image121.jpg" width="150px" height="127px" border="0" class="img_whs22"> <img src="../image122.jpg" width="150px" height="127px" border="0" class="img_whs22"></p>
\r
391 <p class="whs7"> </p>
\r
393 <p class="whs5"><a NAME=_Toc57113213><span
\r
394 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
395 size=4> Scale transform</a>
\r
396 </font></b></font></span></p>
\r
398 <p class="whs5"> </p>
\r
400 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
401 Creates a scaled shape basing on the initial shape.</p>
\r
403 <p class="whs1"> </p>
\r
405 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
407 <p class="whs1"> </p>
\r
409 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
410 </i><span style="font-style: italic;"><I>geompy.MakeScaleTransform(Shape,
\r
411 CenterOfScale, Factor)</I></span>, where Shape is a shape to be scaled, CenterOfScale
\r
412 is a center point of scale, Factor is a factor of the scale.</p>
\r
414 <p class="whs1"> </p>
\r
416 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
417 1 shape + 1 vertex + 1 Scale Factor.</p>
\r
419 <p class="whs1"> </p>
\r
421 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
423 <p class="whs1"> </p>
\r
425 <p class="whs7"><img src="../image123.jpg" width="200px" height="193px" border="0" class="img_whs11"></p>
\r
427 <p class="whs7"> </p>
\r
429 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
431 <p class="whs1"> </p>
\r
433 <p class="whs23"><img src="../image23.gif" width="150px" height="153px" border="0" class="img_whs24"> <img src="../image124.jpg" width="150px" height="153px" border="0" class="img_whs24"></p>
\r
435 <p class="whs7"> </p>
\r
437 <p class="whs18"><a name=_Toc57113216><img src="../image37.gif" width="24px" height="22px" border="0" class="img_whs25"> <span
\r
438 style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Offset surface</B></font></span></a></p>
\r
440 <p class="whs18"> </p>
\r
442 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
443 Each point is translated along a local normal by a given distance (signed
\r
444 number, negative value meaning inner offset). Offset operation is applicable
\r
445 to faces, shells and solids.</p>
\r
447 <p class="whs1"> </p>
\r
449 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
452 <p class="whs1"> </p>
\r
454 <p class="whs1"><b style="font-weight: bold;">TUI Command:
\r
455 </b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape, Offset)</I></span>,
\r
456 where Shape is a shape which has to be an offset, Offset is a value of
\r
459 <p class="whs1"> </p>
\r
461 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
\r
463 <ul type="disc" class="whs3">
\r
465 <li class=kadov-p><p class="whs1">GEOM_Object (face, shell,
\r
466 solid, compound) </p></li>
\r
468 <li class=kadov-p><p class="whs1">offset value </p></li>
\r
471 <p class="whs1"> </p>
\r
473 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
475 <p class="whs1"> </p>
\r
477 <p class="whs7"><b style="font-weight: bold;"><img src="../image152.jpg" width="200px" height="164px" border="0" class="img_whs26"></b></p>
\r
479 <p class="whs1"> </p>
\r
481 <p class="whs27">Example:</p>
\r
483 <p class="whs7"><img src="../image151.jpg" width="200px" height="191px" border="0" class="img_whs28"></p>
\r
485 <p class="whs7"> </p>
\r
487 <p class="whs7"> </p>
\r
489 <p class="whs5"><a NAME=_Toc57113214><span
\r
490 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
491 size=4> Multi-Translation</font></b></font></span></a></p>
\r
493 <p class="whs5"> </p>
\r
495 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
496 Makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span>
\r
497 or <span style="font-weight: bold;"><B>two</B></span> directions.</p>
\r
499 <p class="whs1"> </p>
\r
501 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
504 <p class="whs1"> </p>
\r
506 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
\r
510 <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape,
\r
511 Dir, Step, NbTimes)</I></span>, where Shape is a shape to be translated, Dir
\r
512 is a direction of translation, Step is a step of the translation, NbTimes
\r
513 is a number of times the shape must be moved.</p></li>
\r
515 <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation2D(Shape,
\r
516 Dir1, Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where Shape is a
\r
517 shape to be translated, Dir1 is the first direction of translation, Step1
\r
518 of the first translation, NbTimes1 is a number of translations to be done
\r
519 along, Dir2 is the second direction of translation, Step2 of the second
\r
520 translation, NbTimes2 is a number of translations to be done along Dir2.</p></li>
\r
523 <p class="whs1"> </p>
\r
525 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
\r
529 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
\r
530 Constructor <span style="font-weight: normal;">(in one direction):</span></b>
\r
531 1 shape + 1 edge (for direction) + 1 step value + 1 value (repetition).</p></li>
\r
533 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd
\r
534 Constructor<span style="font-weight: normal;"> (in two directions):</span></b>
\r
535 1 shape + 2 edges + 2 step values + 2 values (repetitions).</p></li>
\r
538 <p class="whs1"> </p>
\r
540 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
542 <p class="whs1"> </p>
\r
544 <p class="whs7"><img src="../image125.jpg" width="200px" height="227px" border="0" class="img_whs29"> <img src="../image126.jpg" width="200px" height="227px" border="0" class="img_whs29"></p>
\r
546 <p class="whs1"> </p>
\r
548 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
550 <p class="whs1"> </p>
\r
552 <p class="whs1">One direction:</p>
\r
554 <p class="whs1"> </p>
\r
556 <p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs30"> <img src="../image128.jpg" width="150px" height="123px" border="0" class="img_whs30"></p>
\r
558 <p class="whs1"> </p>
\r
560 <p class="whs1">Two directions:</p>
\r
562 <p class="whs1"> </p>
\r
564 <p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs30"> <img src="../image127.jpg" width="150px" height="123px" border="0" class="img_whs30"></p>
\r
566 <p class="whs1"> </p>
\r
568 <p class="whs4"> </p>
\r
570 <p class="whs5"><a NAME=_Toc57113215><span
\r
571 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
573 <p class="whs4"> </p>
\r
575 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
576 Creates several rotated geometrical objects in <span style="font-weight: bold;"><B>one
\r
577 </B></span><span>or </span><span style="font-weight: bold;"><B>two </B></span><span>directions
\r
578 basing on the initial geometrical object</span>.</p>
\r
580 <p class="whs1"> </p>
\r
582 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
585 <p class="whs1"> </p>
\r
587 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
\r
591 <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape,
\r
592 Axis, NbTimes)</I></span>, where Shape is a shape to be rotated, Axis is an
\r
593 Axis of rotation, NbTimes is a number of the shape must be rotated.</p></li>
\r
595 <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape,
\r
596 Axis, Angle, NbTimes1, Step, NbTimes2)</I></span>, where Shape is a shape
\r
597 to be rotated, Axis is an axis of rotation, Angle is an angle of rotation,
\r
598 NbTimes1 is a number of rotation, Step is a step of translation, NbTimes2
\r
599 is a number of translation.</p></li>
\r
602 <p class="whs1"> </p>
\r
604 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
\r
608 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
\r
609 Constructor <span style="font-weight: normal;">(in one direction):</span></b>
\r
610 1 shape + 1 edge + 1 value (repetition).</p></li>
\r
612 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd
\r
613 Constructor <span style="font-weight: normal;">(in two directions):</span></b>
\r
614 1 shape + 1 edge + 1 angle + 1 value (repetition) + 1 step value + 1 value
\r
615 (repetition).</p></li>
\r
618 <p class="whs1"> </p>
\r
620 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
622 <p class="whs1"> </p>
\r
624 <p class="whs7"><img src="../image131.jpg" width="200px" height="193px" border="0" class="img_whs11"> <img src="../image132.jpg" width="200px" height="193px" border="0" class="img_whs11"></p>
\r
626 <p class="whs7"> </p>
\r
628 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b
\r
629 style="font-weight: bold;">E</b>xample:</b></font></span></p>
\r
633 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">One direction:</font></span></p>
\r
635 <p class="whs1"> </p>
\r
637 <p class="whs7"><img src="../image129.jpg" width="150px" height="128px" border="0" class="img_whs31"> <img src="../image130.jpg" width="150px" height="128px" border="0" class="img_whs31"></p>
\r
639 <p class="whs1"> </p>
\r
641 <p class="whs1">Two directions:</p>
\r
643 <p class="whs1"> </p>
\r
645 <p class="whs7"><img src="../image25.gif" width="150px" height="113px" border="0" class="img_whs32"> <img src="../image133.jpg" width="150px" height="113px" border="0" class="img_whs32"></p>
\r
649 <p class="whs1"> </p>
\r
651 <script type="text/javascript" language="javascript1.2">
\r
653 if (window.writeIntopicBar)
\r
654 writeIntopicBar(0);
\r