Salome HOME
Merge with PAL/SALOME 2.1.0d
[modules/geom.git] / doc / salome / gui / GEOM / files / salome2_sp3_generationgui_functions.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <!--(==============================================================)-->\r
6 <!--(Document created with RoboEditor. )============================-->\r
7 <!--(==============================================================)-->\r
8 \r
9 <head>\r
10 \r
11 <title>Titre</title>\r
12 \r
13 <!--(Meta)==========================================================-->\r
14 \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&#1081;veloppements sp&#1081;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=3135>\r
33 <meta name=layout-width content=491>\r
34 \r
35 \r
36 <!--(Links)=========================================================-->\r
37 \r
38  <link rel='stylesheet' href='../default_ns.css'>\r
39 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
40 <!--\r
41 if (navigator.appName !="Netscape")\r
42 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
43 //-->\r
44 </script>\r
45 <!--(Style Sheet)===================================================-->\r
46 \r
47 <style>\r
48 <!--\r
49 \r
50 A:link {\r
51         color: #0000ff;\r
52 }\r
53 \r
54 -->\r
55 </style>\r
56 \r
57 \r
58 <style type="text/css">\r
59 <!--\r
60 p.whs1 {font-size: 12pt;}\r
61 img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}\r
62 p.whs3 {margin-left: 40px;}\r
63 h3.whs4 {font-size: 14pt;}\r
64 img_whs5 {border-style: none; width: 20px; height: 20px;}\r
65 p.whs6 {font-size: 12pt; margin-left: 40px;}\r
66 img_whs7 {border-style: none; border: none; width: 200px; height: 193px;}\r
67 img_whs8 {border-style: none; border: none; width: 150px; height: 116px;}\r
68 p.whs9 {font-family: 'Times New Roman', serif; font-size: 14pt;}\r
69 img_whs10 {border-style: none; border: none; width: 150px; height: 153px;}\r
70 img_whs11 {border-style: none; border: none; width: 200px; height: 185px;}\r
71 img_whs12 {border-style: none; border: none; width: 150px; height: 103px;}\r
72 p.whs13 {font-family: 'Times New Roman', serif; font-size: 12pt;}\r
73 img_whs14 {border-style: none; border: none; width: 200px; height: 175px;}\r
74 img_whs15 {border-style: none; border: none; width: 150px; height: 117px;}\r
75 -->\r
76 </style>\r
77 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
78 <!--\r
79 function reDo() {\r
80   if (innerWidth != origWidth || innerHeight != origHeight)\r
81      location.reload();\r
82 }\r
83 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
84         origWidth = innerWidth;\r
85         origHeight = innerHeight;\r
86         onresize = reDo;\r
87 }\r
88 onerror = null; \r
89 //-->\r
90 </script>\r
91 <style type="text/css">\r
92 <!--\r
93   div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
94 -->\r
95 </style>\r
96 <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 \r
103 <!--(Body)==========================================================-->\r
104 \r
105 \r
106 <body>\r
107 \r
108 <script type="text/javascript" language="javascript1.2">\r
109 <!--\r
110 if (window.gbWhTopic)\r
111 {\r
112         if (window.addTocInfo)\r
113         {\r
114         addTocInfo("GEOM module\nCreating geometrical objects\nGenerating complex objects");\r
115 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
116 \r
117         }\r
118         if (window.writeBtnStyle)\r
119                 writeBtnStyle();\r
120 \r
121         if (window.writeIntopicBar)\r
122                 writeIntopicBar(1);\r
123 \r
124         if (window.setRelStartPage)\r
125         {\r
126         setRelStartPage("../geom.html");\r
127 \r
128                 autoSync(0);\r
129                 sendSyncInfo();\r
130                 sendAveInfoOut();\r
131         }\r
132 }\r
133 else\r
134         document.location.reload();\r
135 //-->\r
136 </script>\r
137 <h1>Generating complex objects</h1>\r
138 \r
139 <p class="whs1"><b style="font-weight: normal;"><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"> </b>Generation operations in GEOM are used to create advanced \r
140  geometrical objects (3D elements). They are:</p>\r
141 \r
142 <p class="whs1">&nbsp;</p>\r
143 \r
144 <ul>\r
145         \r
146         <li class=kadov-p><p class="whs1"><a href="#Prism">Extrusion</a></p></li>\r
147         \r
148         <li class=kadov-p><p class="whs1"><a href="#Revolution">Revolution</a></p></li>\r
149         \r
150         <li class=kadov-p><p class="whs1"><a href="#Filling">Filling</a></p></li>\r
151         \r
152         <li class=kadov-p><p class="whs1"><a href="#Pipe">Pipe \r
153  creation</a></p></li>\r
154 </ul>\r
155 \r
156 <p class="whs1">&nbsp;</p>\r
157 \r
158 <p class=TODO>To use generation operations:</p>\r
159 \r
160 <p class=TODO>&nbsp;</p>\r
161 \r
162 <p class="whs3">In the main menu select <span style="font-weight: bold;"><B>New \r
163  Entity &gt; Generation</B></span><span>.</span></p>\r
164 \r
165 <p class="whs1">&nbsp;</p>\r
166 \r
167 <h3 class="whs4"><b style="font-weight: bold;"><a NAME=Prism><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image56.gif" width="20px" height="20px" border="0" class="img_whs5"> Extrusion</a></b> </h3>\r
168 \r
169 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
170  Creates an extruded shape.</p>\r
171 \r
172 <p class="whs1">&nbsp;</p>\r
173 \r
174 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
175  (edge, face, solid or compsolid).</p>\r
176 \r
177 <p class="whs1">&nbsp;</p>\r
178 \r
179 <p class="whs1"><b style="font-weight: bold;">TUI Command :</b><i> \r
180  </i><span style="font-style: italic;"><I>geompy.MakePrism(baseShape, Vector, \r
181  Height)</I></span>, where baseShape is a basis of the prism, Vector is a normal \r
182  of the prism and Height is a height of the prism.</p>\r
183 \r
184 <p class="whs1">&nbsp;</p>\r
185 \r
186 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
187  1 shape (vertex, edge, wire, face or shell) serving as base object + 1 \r
188  vector (for direction) + 1 value (dimension).</p>\r
189 \r
190 <p class="whs1">&nbsp;</p>\r
191 \r
192 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
193 \r
194 <p class="whs1">&nbsp;</p>\r
195 \r
196 <p class="whs6"><img src="../image26.jpg" width="200px" height="193px" border="0" class="img_whs7"></p>\r
197 \r
198 <p class="whs1">&nbsp;</p>\r
199 \r
200 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
201 \r
202 <p class="whs1">&nbsp;</p>\r
203 \r
204 <p class="whs6"><img src="../image14.gif" width="150px" height="116px" border="0" class="img_whs8"> &nbsp;<img src="../image27.jpg" width="150px" height="116px" border="0" class="img_whs8"></p>\r
205 \r
206 <p class="whs1">&nbsp;</p>\r
207 \r
208 <p class="whs9"><a NAME=Revolution><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image57.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Revolution</b></a></p>\r
209 \r
210 <p class="whs9"><span><font size=4 style="font-size:14pt;"><b \r
211  style="font-weight: bold;"><font style="font-size: 14pt;"\r
212                                                                         size=4>&#9;</font></b></font></span></p>\r
213 \r
214 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
215  Creates an extruded shape by revolution.</p>\r
216 \r
217 <p class="whs1">&nbsp;</p>\r
218 \r
219 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
220  (edge, face, solid or compsolid).</p>\r
221 \r
222 <p class="whs1">&nbsp;</p>\r
223 \r
224 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
225  </i><span style="font-style: italic;"><I>geompy.MakeRevolution(Shape, Axis, \r
226  Angle)</I></span>, where Shape is a shape to rotate, Axis is the axis of the \r
227  revolution and Angle is an angle by which Shape has to be rotated around \r
228  Axis.</p>\r
229 \r
230 <p class="whs1">&nbsp;</p>\r
231 \r
232 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
233  1 shape (vertex, edge, wire, face or shell) serving as base object + 1 \r
234  vector (for direction) + 1 value (angle).</p>\r
235 \r
236 <p class="whs1">&nbsp;</p>\r
237 \r
238 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
239 \r
240 <p class="whs1">&nbsp;</p>\r
241 \r
242 <p class="whs6"><img src="../image28.jpg" width="200px" height="193px" border="0" class="img_whs7"></p>\r
243 \r
244 <p class="whs6">&nbsp;</p>\r
245 \r
246 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
247 \r
248 <p class="whs1">&nbsp;</p>\r
249 \r
250 <p class="whs6"><img src="../image15.gif" width="150px" height="153px" border="0" class="img_whs10"> &nbsp;<img src="../image52.jpg" width="150px" height="153px" border="0" class="img_whs10"></p>\r
251 \r
252 <p class="whs1">&nbsp;</p>\r
253 \r
254 <p class="whs9"><a NAME=Filling><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image58.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Filling</b></a></p>\r
255 \r
256 <p class="whs9">&nbsp;</p>\r
257 \r
258 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
259  Creates a curving face using several curves.</p>\r
260 \r
261 <p class="whs1">&nbsp;</p>\r
262 \r
263 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
264  (face).</p>\r
265 \r
266 <p class="whs1">&nbsp;</p>\r
267 \r
268 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
269  </i><span style="font-style: italic;"><I>geompy.MakeFilling(Shape, MinDegree, \r
270  MaxDegree, Tol2D, Tol3D, NbIter)</I></span>, where Shape is a shape to fill, \r
271  MinDegree and MaxDegree are correspondingly maximal and minimal degree, \r
272  Tol2D is a tolerance for 2D and Tol3D is a tolerance for 3D, NbIter is \r
273  a number of iterations.</p>\r
274 \r
275 <p class="whs1">&nbsp;</p>\r
276 \r
277 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
278  1 List of edges + 5 Parameters (Min. degree, Max. degree, Number of iterations, \r
279  2D tolerance, 3D tolerance).</p>\r
280 \r
281 <p class="whs1">&nbsp;</p>\r
282 \r
283 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
284 \r
285 <p class="whs1">&nbsp;</p>\r
286 \r
287 <p class="whs6"><img src="../image29.jpg" width="200px" height="185px" border="0" class="img_whs11"></p>\r
288 \r
289 <p class="whs1">&nbsp;</p>\r
290 \r
291 <p class="whs1">&nbsp;</p>\r
292 \r
293 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
294 \r
295 <p class="whs1">&nbsp;</p>\r
296 \r
297 <p class="whs6"><img src="../image7.gif" width="150px" height="103px" border="0" class="img_whs12"> &nbsp;<img src="../image11.jpg" width="150px" height="103px" border="0" class="img_whs12"></p>\r
298 \r
299 <p class="whs13">&nbsp;</p>\r
300 \r
301 <p class="whs9"><a NAME=Pipe><img src="salome2_sp3_generationgui_functions_salome2_sp3_generationgui_functions_image59.gif" width="20px" height="20px" border="0" class="img_whs5"><b> Pipe</b></a></p>\r
302 \r
303 <p class="whs13"><span><font size=3 style="font-size:12pt;"><b \r
304  style="font-weight: bold;"><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
305                                                                         face="Times New Roman"\r
306                                                                         size=4>&#9;</font></b></font></span></p>\r
307 \r
308 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
309  Creates an extruded shape.</p>\r
310 \r
311 <p class="whs1">&nbsp;</p>\r
312 \r
313 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
314  (edge, face, solid or compsolid).</p>\r
315 \r
316 <p class="whs1">&nbsp;</p>\r
317 \r
318 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
319  </i><span style="font-style: italic;"><I>geompy.MakePipe(baseShape, pathShape)</I></span>, \r
320  where baseShape is a shape to be extruded, pathShape is a path along which \r
321  baseShape is extruded.</p>\r
322 \r
323 <p class="whs1">&nbsp;</p>\r
324 \r
325 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
326  1 shape (vertex, edge, wire, face or shell) serving as base object + 1 \r
327  shape (edge, face or shell) for definition of the path.</p>\r
328 \r
329 <p class="whs1">&nbsp;</p>\r
330 \r
331 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
332 \r
333 <p class="whs1">&nbsp;</p>\r
334 \r
335 <p class="whs6"><img src="../image51.jpg" width="200px" height="175px" border="0" class="img_whs14"></p>\r
336 \r
337 <p class="whs6">&nbsp;</p>\r
338 \r
339 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>\r
340 \r
341 <p class="whs1">&nbsp;</p>\r
342 \r
343 <p class="whs6"><img src="../image8.gif" width="150px" height="117px" border="0" class="img_whs15"> &nbsp;<img src="../image12.jpg" width="150px" height="117px" border="0" class="img_whs15"></p>\r
344 \r
345 <p class="whs6">&nbsp;</p>\r
346 \r
347 <script type="text/javascript" language="javascript1.2">\r
348 <!--\r
349 if (window.writeIntopicBar)\r
350         writeIntopicBar(0);\r
351 //-->\r
352 </script>\r
353 </body>\r
354 \r
355 </html>\r