]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/files/salome2_sp3_transformationgui_functions.htm
Salome HOME
2ad3f56b22cee4ffe304e71355ee09f6cc7f24ff
[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: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
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">All these operations are accessible in the \r
172  main menu, via <span style="font-style: italic;"><I>Operations / Transformation.</I></span></p>\r
173 \r
174 <p class="whs1">&nbsp;</p>\r
175 \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
180 \r
181 <p class="whs5">&nbsp;</p>\r
182 \r
183 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
184  Makes a translation of a shape.</p>\r
185 \r
186 <p class="whs1">&nbsp;</p>\r
187 \r
188 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
189 \r
190 <p class="whs1">&nbsp;</p>\r
191 \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
196 \r
197 <p class="whs1">&nbsp;</p>\r
198 \r
199 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
200  </p>\r
201 \r
202 <ul type="disc" class="whs3">\r
203         \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
207         \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
211         \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
215 </ul>\r
216 \r
217 <p class="whs1">&nbsp;</p>\r
218 \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
221  removed.</p>\r
222 \r
223 <p class="whs1">&nbsp;</p>\r
224 \r
225 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
226 \r
227 <p class="whs1">&nbsp;</p>\r
228 \r
229 <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
230 \r
231 <p class="whs7">&nbsp;</p>\r
232 \r
233 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
234 \r
235 <p class="whs1">&nbsp;</p>\r
236 \r
237 <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
238 \r
239 <p class="whs11">&nbsp;</p>\r
240 \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
244  </font></span></p>\r
245 \r
246 <p class="whs5">&nbsp;</p>\r
247 \r
248 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
249  Rotates the initial shape.</p>\r
250 \r
251 <p class="whs1">&nbsp;</p>\r
252 \r
253 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
254 \r
255 <p class="whs1">&nbsp;</p>\r
256 \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
261 \r
262 <p class="whs1">&nbsp;</p>\r
263 \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
266 \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
269 \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
272  removed.</p>\r
273 \r
274 <p class="whs1">&nbsp;</p>\r
275 \r
276 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
277 \r
278 <p class="whs7">&nbsp;</p>\r
279 \r
280 <p class="whs7"><img src="../image270.jpg" width="218px" height="250px" border="0" class="img_whs13"></p>\r
281 \r
282 <p class="whs7">&nbsp;</p>\r
283 \r
284 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
285 \r
286 <p class="whs1">&nbsp;</p>\r
287 \r
288 <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
289 \r
290 <p class="whs11">&nbsp;</p>\r
291 \r
292 <p class="whs15">&nbsp;</p>\r
293 \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
296 \r
297 <p class="whs15">&nbsp;</p>\r
298 \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
301 \r
302 <p class="whs1">&nbsp;</p>\r
303 \r
304 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
305 \r
306 <p class="whs1">&nbsp;</p>\r
307 \r
308 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
309  geompy.MakePosition(theObject, theStartLCS, theEndLCS), </i>where&nbsp;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
312 \r
313 <p class="whs1">&nbsp;</p>\r
314 \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
317 \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
320  removed.</p>\r
321 \r
322 <p class="whs1">&nbsp;</p>\r
323 \r
324 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
325 \r
326 <p class="whs1">&nbsp;</p>\r
327 \r
328 <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
329 \r
330 <p class="whs20">&nbsp;</p>\r
331 \r
332 <p class="whs20"><b style="font-weight: bold;">Example:</b></p>\r
333 \r
334 <p class="whs20">&nbsp;</p>\r
335 \r
336 <p class="whs21"><img src="../image197.jpg" width="200px" height="209px" border="0" class="img_whs22"></p>\r
337 \r
338 <p class="whs20">&nbsp;</p>\r
339 \r
340 <p class="whs20">&nbsp;</p>\r
341 \r
342 <p class="whs20">&nbsp;</p>\r
343 \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
346  </font></span></p>\r
347 \r
348 <p class="whs4">&nbsp;</p>\r
349 \r
350 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
351  Symmetrical copy of a shape.</p>\r
352 \r
353 <p class="whs1">&nbsp;</p>\r
354 \r
355 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
356 \r
357 <p class="whs1">&nbsp;</p>\r
358 \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
362  of symmetry.</p>\r
363 \r
364 <p class="whs1">&nbsp;</p>\r
365 \r
366 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
367  </p>\r
368 \r
369 <ul type="disc" class="whs3">\r
370         \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
374         \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
378         \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
382 </ul>\r
383 \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
387 \r
388 <p class="whs1">&nbsp;</p>\r
389 \r
390 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
391 \r
392 <p class="whs1">&nbsp;</p>\r
393 \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
395 \r
396 <p class="whs1">&nbsp;</p>\r
397 \r
398 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
399 \r
400 <p class="whs1">&nbsp;</p>\r
401 \r
402 <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
403 \r
404 <p class="whs7">&nbsp;</p>\r
405 \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
410 \r
411 <p class="whs5">&nbsp;</p>\r
412 \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
415 \r
416 <p class="whs1">&nbsp;</p>\r
417 \r
418 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object.</p>\r
419 \r
420 <p class="whs1">&nbsp;</p>\r
421 \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
426 \r
427 <p class="whs1">&nbsp;</p>\r
428 \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
431 \r
432 <p class="whs1">&nbsp;</p>\r
433 \r
434 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
435 \r
436 <p class="whs1">&nbsp;</p>\r
437 \r
438 <p class="whs7"><img src="../image266.jpg" width="205px" height="250px" border="0" class="img_whs27"></p>\r
439 \r
440 <p class="whs7">&nbsp;</p>\r
441 \r
442 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
443 \r
444 <p class="whs1">&nbsp;</p>\r
445 \r
446 <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
447 \r
448 <p class="whs7">&nbsp;</p>\r
449 \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
452 \r
453 <p class="whs20">&nbsp;</p>\r
454 \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
459 \r
460 <p class="whs1">&nbsp;</p>\r
461 \r
462 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
463  </p>\r
464 \r
465 <p class="whs1">&nbsp;</p>\r
466 \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
470  the offset.</p>\r
471 \r
472 <p class="whs1">&nbsp;</p>\r
473 \r
474 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>\r
475 \r
476 <ul type="disc" class="whs3">\r
477         \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
480         \r
481         <li class=kadov-p><p class="whs1">GEOM_Object (face, shell, \r
482  solid, compound) </p></li>\r
483         \r
484         <li class=kadov-p><p class="whs1">offset value </p></li>\r
485 </ul>\r
486 \r
487 <p class="whs1">&nbsp;</p>\r
488 \r
489 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
490 \r
491 <p class="whs1">&nbsp;</p>\r
492 \r
493 <p class="whs31"><img src="../image265.jpg" width="225px" height="250px" border="0" class="img_whs32"></p>\r
494 \r
495 <p class="whs1">&nbsp;</p>\r
496 \r
497 <p class="whs33">Example:</p>\r
498 \r
499 <p class="whs7"><img src="../image151.jpg" width="200px" height="191px" border="0" class="img_whs34"></p>\r
500 \r
501 <p class="whs7">&nbsp;</p>\r
502 \r
503 <p class="whs7">&nbsp;</p>\r
504 \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
508 \r
509 <p class="whs5">&nbsp;</p>\r
510 \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
514 \r
515 <p class="whs1">&nbsp;</p>\r
516 \r
517 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
518  (compound).</p>\r
519 \r
520 <p class="whs1">&nbsp;</p>\r
521 \r
522 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>\r
523 \r
524 <ul>\r
525         \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
530         \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
537 </ul>\r
538 \r
539 <p class="whs1">&nbsp;</p>\r
540 \r
541 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>\r
542 \r
543 <ul>\r
544         \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
548         \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
553 </ul>\r
554 \r
555 <p class="whs1">&nbsp;</p>\r
556 \r
557 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
558 \r
559 <p class="whs1">&nbsp;</p>\r
560 \r
561 <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
562 \r
563 <p class="whs1">&nbsp;</p>\r
564 \r
565 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
566 \r
567 <p class="whs1">&nbsp;</p>\r
568 \r
569 <p class="whs1">One direction:</p>\r
570 \r
571 <p class="whs1">&nbsp;</p>\r
572 \r
573 <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
574 \r
575 <p class="whs1">&nbsp;</p>\r
576 \r
577 <p class="whs1">Two directions:</p>\r
578 \r
579 <p class="whs1">&nbsp;</p>\r
580 \r
581 <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
582 \r
583 <p class="whs1">&nbsp;</p>\r
584 \r
585 <p class="whs4">&nbsp;</p>\r
586 \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
589 \r
590 <p class="whs4">&nbsp;</p>\r
591 \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
596 \r
597 <p class="whs1">&nbsp;</p>\r
598 \r
599 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
600  (compound).</p>\r
601 \r
602 <p class="whs1">&nbsp;</p>\r
603 \r
604 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b></p>\r
605 \r
606 <ul>\r
607         \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
611         \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
617 </ul>\r
618 \r
619 <p class="whs1">&nbsp;</p>\r
620 \r
621 <p class="whs1"><b style="font-weight: bold;">Arguments:</b></p>\r
622 \r
623 <ul>\r
624         \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
628         \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
634 </ul>\r
635 \r
636 <p class="whs1">&nbsp;</p>\r
637 \r
638 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
639 \r
640 <p class="whs1">&nbsp;</p>\r
641 \r
642 <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
643 \r
644 <p class="whs7">&nbsp;</p>\r
645 \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
648 \r
649 <p>&nbsp;</p>\r
650 \r
651 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">One direction:</font></span></p>\r
652 \r
653 <p class="whs1">&nbsp;</p>\r
654 \r
655 <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
656 \r
657 <p class="whs1">&nbsp;</p>\r
658 \r
659 <p class="whs1">Two directions:</p>\r
660 \r
661 <p class="whs1">&nbsp;</p>\r
662 \r
663 <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
664 \r
665 <p>&nbsp;</p>\r
666 \r
667 <p class="whs1">&nbsp;</p>\r
668 \r
669 <script type="text/javascript" language="javascript1.2">\r
670 <!--\r
671 if (window.writeIntopicBar)\r
672         writeIntopicBar(0);\r
673 //-->\r
674 </script>\r
675 </body>\r
676 </html>\r