1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\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
17 A:visited { color:#800080; }
\r
18 A:link { color:#0000ff; }
\r
20 </style><style type="text/css">
\r
22 p.whs1 { font-size:12pt; }
\r
23 img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
\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 { width:20px; height:20px; border-style:none; }
\r
28 p.whs7 { font-size:12pt; margin-left:40px; }
\r
29 img_whs8 { border:none; width:184px; height:250px; border-style:none; }
\r
30 img_whs9 { border:none; width:196px; height:250px; border-style:none; }
\r
31 img_whs10 { border:none; width:197px; height:250px; border-style:none; }
\r
32 p.whs11 { margin-left:40px; }
\r
33 img_whs12 { border:none; width:150px; height:163px; border-style:none; }
\r
34 img_whs13 { border:none; width:218px; height:250px; border-style:none; }
\r
35 img_whs14 { border:none; width:150px; height:145px; border-style:none; }
\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:none; width:25px; height:22px; border-style:none; }
\r
39 img_whs18 { border:none; width:209px; height:234px; border-style:none; }
\r
40 img_whs19 { border:none; width:200px; height:234px; border-style:none; }
\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:none; width:200px; height:209px; border-style:none; }
\r
44 img_whs23 { border:none; width:214px; height:250px; border-style:none; }
\r
45 img_whs24 { border:none; width:215px; height:250px; border-style:none; }
\r
46 img_whs25 { border:none; width:216px; height:250px; border-style:none; }
\r
47 img_whs26 { border:none; width:150px; height:127px; border-style:none; }
\r
48 img_whs27 { border:none; width:205px; height:250px; border-style:none; }
\r
49 p.whs28 { margin-left:40px; font-size:12pt; }
\r
50 img_whs29 { border:none; width:150px; height:153px; border-style:none; }
\r
51 img_whs30 { border:none; width:24px; height:22px; border-style:none; }
\r
52 p.whs31 { font-size:12pt; margin-left:40px; font-weight:bold; }
\r
53 img_whs32 { border:none; width:225px; height:250px; border-style:none; }
\r
54 p.whs33 { font-size:12pt; font-weight:bold; }
\r
55 img_whs34 { border:none; width:200px; height:191px; border-style:none; }
\r
56 img_whs35 { border:none; width:140px; height:250px; border-style:none; }
\r
57 img_whs36 { border:none; width:141px; height:250px; border-style:none; }
\r
58 img_whs37 { border:none; width:150px; height:123px; border-style:none; }
\r
59 img_whs38 { border:none; width:159px; height:250px; border-style:none; }
\r
60 img_whs39 { border:none; width:160px; height:250px; border-style:none; }
\r
61 img_whs40 { border:none; width:150px; height:128px; border-style:none; }
\r
62 img_whs41 { border:none; width:150px; height:113px; border-style:none; }
\r
64 </style><script type="text/javascript" language="JavaScript">
\r
66 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\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
78 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
81 if (innerWidth != origWidth || innerHeight != origHeight)
\r
84 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
85 origWidth = innerWidth;
\r
86 origHeight = innerHeight;
\r
92 <style type="text/css">
\r
94 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\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
102 <body><script type="text/javascript" language="javascript1.2">
\r
104 if (window.gbWhTopic)
\r
106 if (window.addTocInfo)
\r
108 addTocInfo("GEOM module\nTransforming geometrical objects\nUsing transformation operations");
\r
109 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
112 if (window.writeBtnStyle)
\r
115 if (window.writeIntopicBar)
\r
116 writeIntopicBar(1);
\r
118 if (window.setRelStartPage)
\r
120 setRelStartPage("../geom.htm");
\r
129 document.location.reload();
\r
132 <h1>Using transformation operations</h1>
\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
138 <p class="whs1"> </p>
\r
140 <ul type="disc" class="whs3">
\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	</font></span></font></a></p></li>
\r
145 <li class=kadov-p><p class="whs4"><a
\r
146 HREF="#_Toc57113211">Rotation</a></p></li>
\r
148 <li class=kadov-p><p class="whs4"><a
\r
149 href="#_Toc57113217">Modify the location</a><a HREF="#_Toc57113211">	</a></p></li>
\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	</font></span></a></p></li>
\r
155 <li class=kadov-p><p class="whs4"><a
\r
156 HREF="#_Toc57113213">Scale transform</a></p></li>
\r
158 <li class=kadov-p><p class="whs4"><a
\r
159 href="#_Toc57113216">Offset surface</a><a HREF="#_Toc57113213">	</a></p></li>
\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)	</font></span></a></p></li>
\r
165 <li class=kadov-p><p class="whs4"><a
\r
166 HREF="#_Toc57113215">Multi-Rotation (Pattern)</a></p></li>
\r
169 <p class="whs1"> </p>
\r
171 <p class="whs1">All these operations are accessible in the
\r
172 main menu, via <span style="font-style: italic;"><I>Operations / Transformation.</I></span></p>
\r
174 <p class="whs1"> </p>
\r
176 <p class="whs5"><b style="font-weight: bold;"><a
\r
177 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
178 style="font-size: 14pt;"
\r
179 size=4> Translation</font></a></b> </font></span></p>
\r
181 <p class="whs5"> </p>
\r
183 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
184 Makes a translation of a shape.</p>
\r
186 <p class="whs1"> </p>
\r
188 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
190 <p class="whs1"> </p>
\r
192 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
193 </i><span style="font-style: italic;"><I>geompy.MakeTranslation(Shape, DX,
\r
194 DY, DZ)</I></span>, where Shape is a shape to be translated, DX, DY, DZ are
\r
195 components of translation vector.</p>
\r
197 <p class="whs1"> </p>
\r
199 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
202 <ul type="disc" class="whs3">
\r
204 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
\r
205 Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
\r
206 + 3 values (coordinates).</p></li>
\r
208 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2st
\r
209 Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
\r
210 + 2 vertices.</p></li>
\r
212 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">3st
\r
213 Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
\r
214 + 1 vector.</p></li>
\r
217 <p class="whs1"> </p>
\r
219 <p class="whs1"><span style="font-weight: bold;"><B>Create a copy
\r
220 </B></span>checkbox allows to keep the initial object, otherwise it will be
\r
223 <p class="whs1"> </p>
\r
225 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
227 <p class="whs1"> </p>
\r
229 <p class="whs7"><img src="../image271.jpg" width="184px" height="250px" border="0" class="img_whs8"> <img src="../image272.jpg" width="196px" height="250px" border="0" class="img_whs9"> <img src="../image273.jpg" width="197px" height="250px" border="0" class="img_whs10"></p>
\r
231 <p class="whs7"> </p>
\r
233 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
235 <p class="whs1"> </p>
\r
237 <p class="whs11"><img src="../image6.gif" width="150px" height="163px" border="0" class="img_whs12"> <img src="../image8.jpg" width="150px" height="163px" border="0" class="img_whs12"></p>
\r
239 <p class="whs11"> </p>
\r
241 <p class="whs5"><a NAME=_Toc57113211><span
\r
242 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
243 size=4> Rotation</font></b></a>
\r
246 <p class="whs5"> </p>
\r
248 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
249 Rotates the initial shape.</p>
\r
251 <p class="whs1"> </p>
\r
253 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
255 <p class="whs1"> </p>
\r
257 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
258 </i><span style="font-style: italic;"><I>geompy.MakeRotation(Shape, Axis,
\r
259 Angle)</I></span>, where Shape is a shape to be rotated, Axis is an axis of
\r
260 rotation, Angle is an angle of rotation.</p>
\r
262 <p class="whs1"> </p>
\r
264 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
265 1 shape + 1 vector for direction of rotation + 1 angle.</p>
\r
267 <p class="whs1"><span style="font-weight: bold;"><B>Reverse </B></span>checkbox
\r
268 allows to specify the direction of rotation.</p>
\r
270 <p class="whs1"><span style="font-weight: bold;"><B>Create a copy
\r
271 </B></span>checkbox allows to keep the initial object, otherwise it will be
\r
274 <p class="whs1"> </p>
\r
276 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
278 <p class="whs7"> </p>
\r
280 <p class="whs7"><img src="../image270.jpg" width="218px" height="250px" border="0" class="img_whs13"></p>
\r
282 <p class="whs7"> </p>
\r
284 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
286 <p class="whs1"> </p>
\r
288 <p class="whs11"><img src="../image9.jpg" width="150px" height="145px" border="0" class="img_whs14"> <img src="../image10.jpg" width="150px" height="145px" border="0" class="img_whs14"></p>
\r
290 <p class="whs11"> </p>
\r
292 <p class="whs15"> </p>
\r
294 <p class="whs16"><a name=_Toc57113217
\r
295 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
297 <p class="whs15"> </p>
\r
299 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
\r
300 Modification of location of an object.</font></span></p>
\r
302 <p class="whs1"> </p>
\r
304 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
306 <p class="whs1"> </p>
\r
308 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
309 geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where theObject
\r
310 is a shape, location of which is modified, theStartLCS is a location to
\r
311 move the shape from, theEndLCS is a location to move the shape to.</p>
\r
313 <p class="whs1"> </p>
\r
315 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
316 Name + 1 GEOM_Object + [Starting Coordinate System] + End Coordinate System.</p>
\r
318 <p class="whs1"><span style="font-weight: bold;"><B>Create a copy
\r
319 </B></span>checkbox allows to keep the initial object, otherwise it will be
\r
322 <p class="whs1"> </p>
\r
324 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
326 <p class="whs1"> </p>
\r
328 <p class="whs7"><img src="../image199.jpg" width="209px" height="234px" border="0" class="img_whs18"> <img src="../image196.jpg" width="200px" height="234px" border="0" class="img_whs19"></p>
\r
330 <p class="whs20"> </p>
\r
332 <p class="whs20"><b style="font-weight: bold;">Example:</b></p>
\r
334 <p class="whs20"> </p>
\r
336 <p class="whs21"><img src="../image197.jpg" width="200px" height="209px" border="0" class="img_whs22"></p>
\r
338 <p class="whs20"> </p>
\r
340 <p class="whs20"> </p>
\r
342 <p class="whs20"> </p>
\r
344 <p class="whs5"><a NAME=_Toc57113212><span
\r
345 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
348 <p class="whs4"> </p>
\r
350 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
351 Symmetrical copy of a shape.</p>
\r
353 <p class="whs1"> </p>
\r
355 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
357 <p class="whs1"> </p>
\r
359 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
360 </i><span style="font-style: italic;"><I>geompy.MakeMirrorByPlane(Shape,
\r
361 Plane)</I></span>, where Shape is a shape to be mirrored, Plane is a plane
\r
364 <p class="whs1"> </p>
\r
366 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
369 <ul type="disc" class="whs3">
\r
371 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
\r
372 Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
\r
373 + 1 vertex.</p></li>
\r
375 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2st
\r
376 Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
\r
377 + 1 vector.</p></li>
\r
379 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">3st
\r
380 Constructor: <span style="font-weight: normal;">Name + </span></b>1 shape
\r
381 + 1 plane.</p></li>
\r
384 <p class="whs1"><span style="font-weight: bold;"><B>Create a copy
\r
385 </B></span><span>checkbox allows to keep the initial object, otherwise it
\r
386 will be removed.</span></p>
\r
388 <p class="whs1"> </p>
\r
390 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
392 <p class="whs1"> </p>
\r
394 <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
396 <p class="whs1"> </p>
\r
398 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
400 <p class="whs1"> </p>
\r
402 <p class="whs7"><img src="../image121.jpg" width="150px" height="127px" border="0" class="img_whs26"> <img src="../image122.jpg" width="150px" height="127px" border="0" class="img_whs26"></p>
\r
404 <p class="whs7"> </p>
\r
406 <p class="whs5"><a NAME=_Toc57113213><span
\r
407 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
408 size=4> Scale transform</a>
\r
409 </font></b></font></span></p>
\r
411 <p class="whs5"> </p>
\r
413 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
414 Creates a scaled shape basing on the initial shape.</p>
\r
416 <p class="whs1"> </p>
\r
418 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
420 <p class="whs1"> </p>
\r
422 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
423 </i><span style="font-style: italic;"><I>geompy.MakeScaleTransform(Shape,
\r
424 CenterOfScale, Factor)</I></span>, where Shape is a shape to be scaled, CenterOfScale
\r
425 is a center point of scale, Factor is a factor of the scale.</p>
\r
427 <p class="whs1"> </p>
\r
429 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
430 Name + 1 shape(s) + 1 vertex + 1 Scale Factor.</p>
\r
432 <p class="whs1"> </p>
\r
434 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
436 <p class="whs1"> </p>
\r
438 <p class="whs7"><img src="../image266.jpg" width="205px" height="250px" border="0" class="img_whs27"></p>
\r
440 <p class="whs7"> </p>
\r
442 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
444 <p class="whs1"> </p>
\r
446 <p class="whs28"><img src="../image23.gif" width="150px" height="153px" border="0" class="img_whs29"> <img src="../image124.jpg" width="150px" height="153px" border="0" class="img_whs29"></p>
\r
448 <p class="whs7"> </p>
\r
450 <p class="whs20"><a name=_Toc57113216><img src="../image37.gif" width="24px" height="22px" border="0" class="img_whs30"> <span
\r
451 style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Offset surface</B></font></span></a></p>
\r
453 <p class="whs20"> </p>
\r
455 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
456 Each point is translated along a local normal by a given distance (signed
\r
457 number, negative value meaning inner offset). Offset operation is applicable
\r
458 to faces, shells and solids.</p>
\r
460 <p class="whs1"> </p>
\r
462 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
465 <p class="whs1"> </p>
\r
467 <p class="whs1"><b style="font-weight: bold;">TUI Command:
\r
468 </b><span style="font-style: italic;"><I>geompy.MakeOffset(Shape, Offset)</I></span>,
\r
469 where Shape is a shape which has to be an offset, Offset is a value of
\r
472 <p class="whs1"> </p>
\r
474 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
\r
476 <ul type="disc" class="whs3">
\r
478 <li class=kadov-p><p class="whs1"><span><font size=3 style="font-size:12pt;">Name of the resulting
\r
479 object</font></span></p></li>
\r
481 <li class=kadov-p><p class="whs1">GEOM_Object (face, shell,
\r
482 solid, compound) </p></li>
\r
484 <li class=kadov-p><p class="whs1">offset value </p></li>
\r
487 <p class="whs1"> </p>
\r
489 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
491 <p class="whs1"> </p>
\r
493 <p class="whs31"><img src="../image265.jpg" width="225px" height="250px" border="0" class="img_whs32"></p>
\r
495 <p class="whs1"> </p>
\r
497 <p class="whs33">Example:</p>
\r
499 <p class="whs7"><img src="../image151.jpg" width="200px" height="191px" border="0" class="img_whs34"></p>
\r
501 <p class="whs7"> </p>
\r
503 <p class="whs7"> </p>
\r
505 <p class="whs5"><a NAME=_Toc57113214><span
\r
506 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
507 size=4> Multi-Translation</font></b></font></span></a></p>
\r
509 <p class="whs5"> </p>
\r
511 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
512 Makes several translations of a shape in <span style="font-weight: bold;"><B>one</B></span>
\r
513 or <span style="font-weight: bold;"><B>two</B></span> directions.</p>
\r
515 <p class="whs1"> </p>
\r
517 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
520 <p class="whs1"> </p>
\r
522 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
\r
526 <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation1D(Shape,
\r
527 Dir, Step, NbTimes)</I></span>, where Shape is a shape to be translated, Dir
\r
528 is a direction of translation, Step is a step of the translation, NbTimes
\r
529 is a number of times the shape must be moved.</p></li>
\r
531 <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiTranslation2D(Shape,
\r
532 Dir1, Step1, NbTimes1, Dir2, Step2, NbTimes2)</I></span>, where Shape is a
\r
533 shape to be translated, Dir1 is the first direction of translation, Step1
\r
534 of the first translation, NbTimes1 is a number of translations to be done
\r
535 along, Dir2 is the second direction of translation, Step2 of the second
\r
536 translation, NbTimes2 is a number of translations to be done along Dir2.</p></li>
\r
539 <p class="whs1"> </p>
\r
541 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
\r
545 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
\r
546 Constructor <span style="font-weight: normal;">(in one direction):</span></b>
\r
547 Name + 1 shape + 1 vector (for direction) + 1 step value + 1 value (repetition).</p></li>
\r
549 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd
\r
550 Constructor<span style="font-weight: normal;"> (in two directions):</span></b>
\r
551 Name + 1 shape + 2 vectors defining the direction + 2 step values + 2
\r
552 values (repetitions).</p></li>
\r
555 <p class="whs1"> </p>
\r
557 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
559 <p class="whs1"> </p>
\r
561 <p class="whs7"><img src="../image263.jpg" width="140px" height="250px" border="0" class="img_whs35"> <img src="../image264.jpg" width="141px" height="250px" border="0" class="img_whs36"></p>
\r
563 <p class="whs1"> </p>
\r
565 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
567 <p class="whs1"> </p>
\r
569 <p class="whs1">One direction:</p>
\r
571 <p class="whs1"> </p>
\r
573 <p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs37"> <img src="../image128.jpg" width="150px" height="123px" border="0" class="img_whs37"></p>
\r
575 <p class="whs1"> </p>
\r
577 <p class="whs1">Two directions:</p>
\r
579 <p class="whs1"> </p>
\r
581 <p class="whs7"><img src="../image24.gif" width="150px" height="123px" border="0" class="img_whs37"> <img src="../image127.jpg" width="150px" height="123px" border="0" class="img_whs37"></p>
\r
583 <p class="whs1"> </p>
\r
585 <p class="whs4"> </p>
\r
587 <p class="whs5"><a NAME=_Toc57113215><span
\r
588 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
590 <p class="whs4"> </p>
\r
592 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
593 Creates several rotated geometrical objects in <span style="font-weight: bold;"><B>one
\r
594 </B></span><span>or </span><span style="font-weight: bold;"><B>two </B></span><span>directions
\r
595 basing on the initial geometrical object</span>.</p>
\r
597 <p class="whs1"> </p>
\r
599 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
602 <p class="whs1"> </p>
\r
604 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
\r
608 <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation1D(Shape,
\r
609 Axis, NbTimes)</I></span>, where Shape is a shape to be rotated, Axis is an
\r
610 Axis of rotation, NbTimes is a number of the shape must be rotated.</p></li>
\r
612 <li class=kadov-p><p class="whs1"><span style="font-style: italic;"><I>geompy.MakeMultiRotation2D(Shape,
\r
613 Axis, Angle, NbTimes1, Step, NbTimes2)</I></span>, where Shape is a shape
\r
614 to be rotated, Axis is an axis of rotation, Angle is an angle of rotation,
\r
615 NbTimes1 is a number of rotation, Step is a step of translation, NbTimes2
\r
616 is a number of translation.</p></li>
\r
619 <p class="whs1"> </p>
\r
621 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
\r
625 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">1st
\r
626 Constructor <span style="font-weight: normal;">(in one direction):</span></b>
\r
627 Name + 1 shape + 1 vector for direction + 1 value (repetition).</p></li>
\r
629 <li class=kadov-p><p class="whs1"><b style="font-weight: bold;">2nd
\r
630 Constructor <span style="font-weight: normal;">(in two directions):</span></b>
\r
631 Name + 1 shape + 1 vector for direction + 1 angle + 1 value (repetition)
\r
632 + 1 step value + 1 value (repetition); <span style="font-weight: bold;"><B>Reverse
\r
633 </B></span><span>checkbox allows to set the direction of rotation</span>.</p></li>
\r
636 <p class="whs1"> </p>
\r
638 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
640 <p class="whs1"> </p>
\r
642 <p class="whs7"><img src="../image261.jpg" width="159px" height="250px" border="0" class="img_whs38"> <img src="../image262.jpg" width="160px" height="250px" border="0" class="img_whs39"></p>
\r
644 <p class="whs7"> </p>
\r
646 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><b
\r
647 style="font-weight: bold;">E</b>xample:</b></font></span></p>
\r
651 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">One direction:</font></span></p>
\r
653 <p class="whs1"> </p>
\r
655 <p class="whs7"><img src="../image129.jpg" width="150px" height="128px" border="0" class="img_whs40"> <img src="../image130.jpg" width="150px" height="128px" border="0" class="img_whs40"></p>
\r
657 <p class="whs1"> </p>
\r
659 <p class="whs1">Two directions:</p>
\r
661 <p class="whs1"> </p>
\r
663 <p class="whs7"><img src="../image25.gif" width="150px" height="113px" border="0" class="img_whs41"> <img src="../image133.jpg" width="150px" height="113px" border="0" class="img_whs41"></p>
\r
667 <p class="whs1"> </p>
\r
669 <script type="text/javascript" language="javascript1.2">
\r
671 if (window.writeIntopicBar)
\r
672 writeIntopicBar(0);
\r