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-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
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"> </p>
\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
178 <p class="whs5"> </p>
\r
180 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
181 Makes a translation of a shape.</p>
\r
183 <p class="whs1"> </p>
\r
185 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
187 <p class="whs1"> </p>
\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
194 <p class="whs1"> </p>
\r
196 <p class="whs1"><b>Arguments:</b> </p>
\r
198 <ul type="disc" class="whs3">
\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
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
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
210 <p class="whs1"> </p>
\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
216 <p class="whs1"> </p>
\r
218 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
220 <p class="whs1"> </p>
\r
222 <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
224 <p class="whs7"> </p>
\r
226 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
228 <p class="whs1"> </p>
\r
230 <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
232 <p class="whs11"> </p>
\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
239 <p class="whs5"> </p>
\r
241 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
242 Rotates the initial shape.</p>
\r
244 <p class="whs1"> </p>
\r
246 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
248 <p class="whs1"> </p>
\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
255 <p class="whs1"> </p>
\r
257 <p class="whs1"><b>Arguments:</b> 1 shape + 1 vector for direction
\r
258 of rotation + 1 angle.</p>
\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
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
267 <p class="whs1"> </p>
\r
269 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
271 <p class="whs7"> </p>
\r
273 <p class="whs7"><img src="../image270.jpg" width="218px" height="250px" border="0" class="img_whs13"></p>
\r
275 <p class="whs7"> </p>
\r
277 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
279 <p class="whs1"> </p>
\r
281 <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
283 <p class="whs11"> </p>
\r
285 <p class="whs15"> </p>
\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
290 <p class="whs15"> </p>
\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
295 <p class="whs1"> </p>
\r
297 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
299 <p class="whs1"> </p>
\r
301 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
302 geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where 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
306 <p class="whs1"> </p>
\r
308 <p class="whs1"><b>Arguments:</b> Name + 1 GEOM_Object + [Starting
\r
309 Coordinate System] + End Coordinate System.</p>
\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
315 <p class="whs1"> </p>
\r
317 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
319 <p class="whs1"> </p>
\r
321 <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
323 <p class="whs20"> </p>
\r
325 <p class="whs20"><b style="font-weight: bold;">Example:</b></p>
\r
327 <p class="whs20"> </p>
\r
329 <p class="whs21"><img src="../image197.jpg" width="200px" height="209px" border="0" class="img_whs22"></p>
\r
331 <p class="whs20"> </p>
\r
333 <p class="whs20"> </p>
\r
335 <p class="whs20"> </p>
\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
341 <p class="whs4"> </p>
\r
343 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
344 Symmetrical copy of a shape.</p>
\r
346 <p class="whs1"> </p>
\r
348 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
350 <p class="whs1"> </p>
\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
357 <p class="whs1"> </p>
\r
359 <p class="whs1"><b>Arguments:</b> </p>
\r
361 <ul type="disc" class="whs3">
\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
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
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
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
377 <p class="whs1"> </p>
\r
379 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
381 <p class="whs1"> </p>
\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
385 <p class="whs1"> </p>
\r
387 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
389 <p class="whs1"> </p>
\r
391 <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
393 <p class="whs7"> </p>
\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
400 <p class="whs5"> </p>
\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
405 <p class="whs1"> </p>
\r
407 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>
\r
409 <p class="whs1"> </p>
\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
416 <p class="whs1"> </p>
\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
421 <p class="whs1"> </p>
\r
423 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
425 <p class="whs1"> </p>
\r
427 <p class="whs7"><img src="../image266.jpg" width="205px" height="250px" border="0" class="img_whs27"></p>
\r
429 <p class="whs7"> </p>
\r
431 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
433 <p class="whs1"> </p>
\r
435 <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
437 <p class="whs7"> </p>
\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
442 <p class="whs20"> </p>
\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
449 <p class="whs1"> </p>
\r
451 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
454 <p class="whs1"> </p>
\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
461 <p class="whs1"> </p>
\r
463 <p class="whs1"><b>Arguments:</b></p>
\r
465 <ul type="disc" class="whs3">
\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
470 <li class=kadov-p><p class="whs1">GEOM_Object (face, shell,
\r
471 solid, compound) </p></li>
\r
473 <li class=kadov-p><p class="whs1">offset value </p></li>
\r
476 <p class="whs1"> </p>
\r
478 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
480 <p class="whs1"> </p>
\r
482 <p class="whs31"><img src="../image265.jpg" width="225px" height="250px" border="0" class="img_whs32"></p>
\r
484 <p class="whs1"> </p>
\r
486 <p class="whs33">Example:</p>
\r
488 <p class="whs7"><img src="../image151.jpg" width="200px" height="191px" border="0" class="img_whs34"></p>
\r
490 <p class="whs7"> </p>
\r
492 <p class="whs7"> </p>
\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
498 <p class="whs5"> </p>
\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
504 <p class="whs1"> </p>
\r
506 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
509 <p class="whs1"> </p>
\r
511 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
\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
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
528 <p class="whs1"> </p>
\r
530 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
\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
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
544 <p class="whs1"> </p>
\r
546 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
548 <p class="whs1"> </p>
\r
550 <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
552 <p class="whs1"> </p>
\r
554 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
556 <p class="whs1"> </p>
\r
558 <p class="whs1">One direction:</p>
\r
560 <p class="whs1"> </p>
\r
562 <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
564 <p class="whs1"> </p>
\r
566 <p class="whs1">Two directions:</p>
\r
568 <p class="whs1"> </p>
\r
570 <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
572 <p class="whs1"> </p>
\r
574 <p class="whs4"> </p>
\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
579 <p class="whs4"> </p>
\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
586 <p class="whs1"> </p>
\r
588 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
591 <p class="whs1"> </p>
\r
593 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>
\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
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
608 <p class="whs1"> </p>
\r
610 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>
\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
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
625 <p class="whs1"> </p>
\r
627 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
629 <p class="whs1"> </p>
\r
631 <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
633 <p class="whs7"> </p>
\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
640 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">One direction:</font></span></p>
\r
642 <p class="whs1"> </p>
\r
644 <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
646 <p class="whs1"> </p>
\r
648 <p class="whs1">Two directions:</p>
\r
650 <p class="whs1"> </p>
\r
652 <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
656 <p class="whs1"> </p>
\r
658 <script type="text/javascript" language="javascript1.2">
\r
660 if (window.writeIntopicBar)
\r
661 writeIntopicBar(0);
\r