1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\r
5 <!--(==============================================================)-->
\r
6 <!--(Document created with RoboEditor. )============================-->
\r
7 <!--(==============================================================)-->
\r
11 <title>Titre</title>
\r
13 <!--(Meta)==========================================================-->
\r
15 <meta HTTP-EQUIV=Content-Type CONTENT="text/html; charset=windows-1252">
\r
16 <meta NAME=subject CONTENT=Sujet>
\r
17 <meta NAME=keywords CONTENT=Etude>
\r
18 <meta NAME=Client CONTENT=Client>
\r
19 <meta NAME=Department CONTENT="Dйveloppements spйcifiques open cascade">
\r
20 <meta NAME=Division CONTENT="Une filiale EADS Matra Datavision">
\r
21 <meta NAME=Owner CONTENT=OCC>
\r
22 <meta NAME=Project CONTENT=ProjectRef>
\r
23 <meta NAME=Folder CONTENT=FF>
\r
24 <meta NAME=Study CONTENT=SSS>
\r
25 <meta NAME=Reference CONTENT=Reference>
\r
26 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">
\r
27 <meta name=generator-major-version content=0.1>
\r
28 <meta name=generator-minor-version content=1>
\r
29 <meta name=filetype content=kadov>
\r
30 <meta name=filetype-version content=1>
\r
31 <meta name=page-count content=1>
\r
32 <meta name=layout-height content=3135>
\r
33 <meta name=layout-width content=491>
\r
36 <!--(Links)=========================================================-->
\r
38 <link rel='stylesheet' href='../default_ns.css'>
\r
39 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
\r
41 if (navigator.appName !="Netscape")
\r
42 { document.write("<link rel='stylesheet' href='../default.css'>");}
\r
45 <!--(Style Sheet)===================================================-->
\r
58 <style type="text/css">
\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
77 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
80 if (innerWidth != origWidth || innerHeight != origHeight)
\r
83 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
84 origWidth = innerWidth;
\r
85 origHeight = innerHeight;
\r
91 <style type="text/css">
\r
93 div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
\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
103 <!--(Body)==========================================================-->
\r
108 <script type="text/javascript" language="javascript1.2">
\r
110 if (window.gbWhTopic)
\r
112 if (window.addTocInfo)
\r
114 addTocInfo("GEOM module\nCreating geometrical objects\nGenerating complex objects");
\r
115 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
118 if (window.writeBtnStyle)
\r
121 if (window.writeIntopicBar)
\r
122 writeIntopicBar(1);
\r
124 if (window.setRelStartPage)
\r
126 setRelStartPage("../geom.html");
\r
134 document.location.reload();
\r
137 <h1>Generating complex objects</h1>
\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
142 <p class="whs1"> </p>
\r
146 <li class=kadov-p><p class="whs1"><a href="#Prism">Extrusion</a></p></li>
\r
148 <li class=kadov-p><p class="whs1"><a href="#Revolution">Revolution</a></p></li>
\r
150 <li class=kadov-p><p class="whs1"><a href="#Filling">Filling</a></p></li>
\r
152 <li class=kadov-p><p class="whs1"><a href="#Pipe">Pipe
\r
153 creation</a></p></li>
\r
156 <p class="whs1"> </p>
\r
158 <p class=TODO>To use generation operations:</p>
\r
160 <p class=TODO> </p>
\r
162 <p class="whs3">In the main menu select <span style="font-weight: bold;"><B>New
\r
163 Entity > Generation</B></span><span>.</span></p>
\r
165 <p class="whs1"> </p>
\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
169 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
170 Creates an extruded shape.</p>
\r
172 <p class="whs1"> </p>
\r
174 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
175 (edge, face, solid or compsolid).</p>
\r
177 <p class="whs1"> </p>
\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
184 <p class="whs1"> </p>
\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
190 <p class="whs1"> </p>
\r
192 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
194 <p class="whs1"> </p>
\r
196 <p class="whs6"><img src="../image26.jpg" width="200px" height="193px" border="0" class="img_whs7"></p>
\r
198 <p class="whs1"> </p>
\r
200 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
202 <p class="whs1"> </p>
\r
204 <p class="whs6"><img src="../image14.gif" width="150px" height="116px" border="0" class="img_whs8"> <img src="../image27.jpg" width="150px" height="116px" border="0" class="img_whs8"></p>
\r
206 <p class="whs1"> </p>
\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
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>	</font></b></font></span></p>
\r
214 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
215 Creates an extruded shape by revolution.</p>
\r
217 <p class="whs1"> </p>
\r
219 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
220 (edge, face, solid or compsolid).</p>
\r
222 <p class="whs1"> </p>
\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
230 <p class="whs1"> </p>
\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
236 <p class="whs1"> </p>
\r
238 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
240 <p class="whs1"> </p>
\r
242 <p class="whs6"><img src="../image28.jpg" width="200px" height="193px" border="0" class="img_whs7"></p>
\r
244 <p class="whs6"> </p>
\r
246 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
248 <p class="whs1"> </p>
\r
250 <p class="whs6"><img src="../image15.gif" width="150px" height="153px" border="0" class="img_whs10"> <img src="../image52.jpg" width="150px" height="153px" border="0" class="img_whs10"></p>
\r
252 <p class="whs1"> </p>
\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
256 <p class="whs9"> </p>
\r
258 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
259 Creates a curving face using several curves.</p>
\r
261 <p class="whs1"> </p>
\r
263 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
266 <p class="whs1"> </p>
\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
275 <p class="whs1"> </p>
\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
281 <p class="whs1"> </p>
\r
283 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
285 <p class="whs1"> </p>
\r
287 <p class="whs6"><img src="../image29.jpg" width="200px" height="185px" border="0" class="img_whs11"></p>
\r
289 <p class="whs1"> </p>
\r
291 <p class="whs1"> </p>
\r
293 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
295 <p class="whs1"> </p>
\r
297 <p class="whs6"><img src="../image7.gif" width="150px" height="103px" border="0" class="img_whs12"> <img src="../image11.jpg" width="150px" height="103px" border="0" class="img_whs12"></p>
\r
299 <p class="whs13"> </p>
\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
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>	</font></b></font></span></p>
\r
308 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
309 Creates an extruded shape.</p>
\r
311 <p class="whs1"> </p>
\r
313 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
314 (edge, face, solid or compsolid).</p>
\r
316 <p class="whs1"> </p>
\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
323 <p class="whs1"> </p>
\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
329 <p class="whs1"> </p>
\r
331 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
333 <p class="whs1"> </p>
\r
335 <p class="whs6"><img src="../image51.jpg" width="200px" height="175px" border="0" class="img_whs14"></p>
\r
337 <p class="whs6"> </p>
\r
339 <p class="whs1"><b style="font-weight: bold;">Example:</b></p>
\r
341 <p class="whs1"> </p>
\r
343 <p class="whs6"><img src="../image8.gif" width="150px" height="117px" border="0" class="img_whs15"> <img src="../image12.jpg" width="150px" height="117px" border="0" class="img_whs15"></p>
\r
345 <p class="whs6"> </p>
\r
347 <script type="text/javascript" language="javascript1.2">
\r
349 if (window.writeIntopicBar)
\r
350 writeIntopicBar(0);
\r