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=8407>
\r
33 <meta name=layout-width content=778>
\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-family: 'Times New Roman', serif; font-size: 12pt;}
\r
61 img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}
\r
62 ul.whs3 {list-style: disc;}
\r
63 p.whs4 {font-size: 12pt;}
\r
64 p.whs5 {margin-left: 40px;}
\r
65 p.whs6 {font-family: 'Times New Roman', serif; font-size: 14pt;}
\r
66 img_whs7 {border-style: none; width: 20px; height: 20px;}
\r
67 table.whs8 {x-cell-content-align: top; border-spacing: 0; width: 84.306%; border-spacing: 0px;}
\r
68 col.whs9 {width: 33.333%;}
\r
69 col.whs10 {width: 28.501%;}
\r
70 col.whs11 {width: 31.796%;}
\r
71 tr.whs12 {x-cell-content-align: top;}
\r
72 td.whs13 {width: 33.333%; padding-right: 10px; padding-left: 10px; border-right-style: none; border-left-style: none; border-top-style: none; border-bottom-style: none;}
\r
73 img_whs14 {border-style: none; border: none; width: 218px; height: 250px;}
\r
74 td.whs15 {width: 28.501%; padding-right: 10px; padding-left: 10px; border-right-style: none; border-top-style: none; border-bottom-style: none;}
\r
75 p.whs16 {font-size: 12pt; margin-right: 0px;}
\r
76 img_whs17 {border-style: none; border: none; width: 150px; height: 250px;}
\r
77 td.whs18 {width: 31.796%; padding-right: 10px; padding-left: 10px; border-top-style: none; border-bottom-style: none; border-right-style: none;}
\r
78 img_whs19 {border-style: none; border: none; width: 170px; height: 250px;}
\r
79 p.whs20 {font-size: 12pt; margin-left: 40px;}
\r
80 p.whs21 {color: #808080; font-size: 12pt;}
\r
81 p.whs22 {font-size: 12pt; color: #000000;}
\r
82 p.whs23 {color: #808080; font-size: 12pt; margin-left: 40px;}
\r
83 img_whs24 {border-style: none; border: none; width: 150px; height: 140px;}
\r
84 img_whs25 {border-style: none; border: none; width: 200px; height: 176px;}
\r
85 img_whs26 {border-style: none; border: none; width: 150px; height: 139px;}
\r
86 table.whs27 {x-cell-content-align: top; border-spacing: 0; width: 65.278%; border-spacing: 0px;}
\r
87 col.whs28 {width: 50.213%;}
\r
88 col.whs29 {width: 49.787%;}
\r
89 td.whs30 {width: 50.213%; padding-right: 10px; padding-left: 10px; border-right-style: none; border-left-style: none; border-top-style: none; border-bottom-style: none;}
\r
90 img_whs31 {border-style: none; border: none; width: 212px; height: 250px;}
\r
91 td.whs32 {width: 49.787%; padding-right: 10px; padding-left: 10px; border-top-style: none; border-bottom-style: none; border-right-style: none;}
\r
92 img_whs33 {border-style: none; border: none; width: 211px; height: 250px;}
\r
93 img_whs34 {border-style: none; border: none; width: 150px; height: 129px;}
\r
94 img_whs35 {border-style: none; border: none; width: 200px; height: 211px;}
\r
95 p.whs36 {font-size: 12pt; margin-left: 40px; font-weight: bold;}
\r
96 img_whs37 {border-style: none; border: none; width: 150px; height: 154px;}
\r
97 img_whs38 {border-style: none; border: none; width: 200px; height: 202px;}
\r
98 img_whs39 {border-style: none; border: none; width: 150px; height: 123px;}
\r
99 p.whs40 {font-size: 14pt;}
\r
100 img_whs41 {border-style: none; border: none; width: 20px; height: 20px;}
\r
101 img_whs42 {border-style: none; border: none; width: 200px; height: 194px;}
\r
102 p.whs43 {font-size: 12pt; font-weight: bold;}
\r
103 p.whs44 {font-size: 12pt; font-weight: bold; font-style: italic; x-text-underline: off; /*begin!kadov{{*/ text-decoration: none; /*}}end!kadov*/ }
\r
104 img_whs45 {border-style: none; border: none; width: 200px; height: 181px; float: none;}
\r
105 img_whs46 {border-style: none; border: none; width: 175px; height: 181px;}
\r
106 img_whs47 {border-style: none; border: none; width: 203px; height: 181px;}
\r
107 img_whs48 {border-style: none; border: none; width: 200px; height: 175px;}
\r
108 img_whs49 {border-style: none; border: none; width: 150px; height: 128px;}
\r
109 table.whs50 {x-cell-content-align: top; border-spacing: 0; width: 94.306%; border-spacing: 0px;}
\r
110 col.whs51 {width: 32.254%;}
\r
111 col.whs52 {width: 32.547%;}
\r
112 col.whs53 {width: 35.199%;}
\r
113 td.whs54 {width: 32.254%; padding-right: 10px; padding-left: 10px; border-right-style: none; border-left-style: none; border-top-style: none; border-bottom-style: none;}
\r
114 img_whs55 {border-style: none; border: none; width: 196px; height: 250px;}
\r
115 td.whs56 {width: 32.547%; padding-right: 10px; padding-left: 10px; border-right-style: none; border-top-style: none; border-bottom-style: none;}
\r
116 img_whs57 {border-style: none; border: none; width: 195px; height: 250px;}
\r
117 td.whs58 {width: 35.199%; padding-right: 10px; padding-left: 10px; border-top-style: none; border-bottom-style: none; border-right-style: none;}
\r
118 img_whs59 {border-style: none; border: none; width: 214px; height: 250px;}
\r
119 p.whs60 {font-size: 12pt; font-weight: bold; color: #000000;}
\r
120 img_whs61 {border-style: none; border: none; width: 150px; height: 131px;}
\r
121 table.whs62 {x-cell-content-align: top; width: 100%; border-spacing: 0;}
\r
122 td.whs63 {padding-right: 10px; padding-left: 10px; border-right-style: none; border-left-style: none; border-top-style: none; border-bottom-style: none;}
\r
123 img_whs64 {border: none; width: 234px; height: 200px;}
\r
124 td.whs65 {padding-right: 10px; padding-left: 10px; border-right-style: none; border-top-style: none; border-bottom-style: none;}
\r
125 img_whs66 {border: none; width: 235px; height: 200px;}
\r
126 td.whs67 {padding-right: 10px; padding-left: 10px; border-top-style: none; border-bottom-style: none; border-right-style: none;}
\r
127 img_whs68 {border-style: none; border: none; width: 221px; height: 200px;}
\r
128 p.whs69 {font-size: 12pt; margin-left: 0px;}
\r
129 p.whs70 {font-size: 12pt; margin-left: 40px; font-weight: bold; text-indent: -40px;}
\r
130 img_whs71 {border-style: none; border: none; width: 16px; height: 16px;}
\r
131 table.whs72 {x-cell-content-align: top; border-spacing: 0; width: 81.667%;}
\r
132 col.whs73 {width: 4.762%;}
\r
133 p.whs74 {font-weight: bold; font-size: 14pt;}
\r
134 img_whs75 {border: none; width: 272px; height: 250px;}
\r
135 img_whs76 {border: none; width: 242px; height: 250px;}
\r
136 p.whs77 {margin-left: 40px; font-weight: bold; text-indent: -40px; font-size: 14pt;}
\r
137 p.whs78 {font-weight: bold; text-indent: -40px; font-size: 14pt; margin-left: 40px;}
\r
138 img_whs79 {border: none; width: 257px; height: 250px;}
\r
139 p.whs80 {font-weight: bold; text-indent: -40px; font-size: 14pt; margin-left: 80px;}
\r
140 p.whs81 {font-weight: bold; margin-left: 80px; text-indent: -80px; font-size: 12pt;}
\r
141 p.whs82 {font-weight: bold; text-indent: -80px; font-size: 12pt; margin-left: 120px;}
\r
142 img_whs83 {border-style: none; border: none; width: 200px; height: 219px;}
\r
145 <script type="text/javascript" language="JavaScript">
\r
147 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
149 var strNSS = "<style type='text/css'>";
\r
150 strNSS += "p.whs16 {margin-right:1; }";
\r
151 strNSS += "p.whs69 {margin-left:1; }";
\r
152 strNSS += "p.whs70 {text-indent:1; }";
\r
153 strNSS += "p.whs77 {text-indent:1; }";
\r
154 strNSS += "p.whs78 {text-indent:1; }";
\r
155 strNSS += "p.whs80 {text-indent:1; }";
\r
156 strNSS += "p.whs81 {text-indent:1; }";
\r
157 strNSS += "p.whs82 {text-indent:1; }";
\r
158 strNSS +="</style>";
\r
159 document.write(strNSS);
\r
163 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
166 if (innerWidth != origWidth || innerHeight != origHeight)
\r
169 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
170 origWidth = innerWidth;
\r
171 origHeight = innerHeight;
\r
177 <style type="text/css">
\r
179 div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
\r
182 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
\r
183 <script type="text/javascript" language="javascript" src="../whver.js"></script>
\r
184 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
\r
185 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
\r
186 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
\r
189 <!--(Body)==========================================================-->
\r
194 <script type="text/javascript" language="javascript1.2">
\r
196 if (window.gbWhTopic)
\r
198 if (window.addTocInfo)
\r
200 addTocInfo("GEOM module\nCreating geometrical objects\nCreating basic geometrical objects");
\r
201 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
204 if (window.writeBtnStyle)
\r
207 if (window.writeIntopicBar)
\r
208 writeIntopicBar(1);
\r
210 if (window.setRelStartPage)
\r
212 setRelStartPage("../geom.html");
\r
220 document.location.reload();
\r
223 <h1>Creating basic geometrical objects<a HREF="#_Toc57604478"><b><span
\r
224 style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">	</font></span></b></a></h1>
\r
226 <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"> In GEOM you can </b>create basic geometrical objects (1D
\r
227 & 2D elements) such as:</p>
\r
229 <p class="whs1"><a HREF="#_Toc57604479"><b><font><span
\r
230 style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">	</font></span></font></b></a></p>
\r
234 <ul type="disc" class="whs3">
\r
236 <li class=kadov-p><p class="whs1"><a
\r
237 HREF="#_Toc57604480"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
\r
238 face="Times New Roman"
\r
239 size=4> Point	</font></span></a></p></li>
\r
241 <li class=kadov-p><p class="whs1"><a
\r
242 HREF="#_Toc57604481"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
\r
243 face="Times New Roman"
\r
244 size=4> Line	</font></span></a></p></li>
\r
246 <li class=kadov-p><p class="whs1"><a
\r
247 HREF="#_Toc57604482"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
\r
248 face="Times New Roman"
\r
249 size=4> Circle	</font></span></a></p></li>
\r
251 <li class=kadov-p><p class="whs1"><a
\r
252 HREF="#_Toc57604483"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
\r
253 face="Times New Roman"
\r
254 size=4> Ellipse	</font></span></a></p></li>
\r
256 <li class=kadov-p><p class="whs1"><a
\r
257 HREF="#_Toc57604484"> Arc</a></p></li>
\r
259 <li class=kadov-p><p class="whs1"> <a
\r
260 href="#_Toc57604488">Curve</a></p></li>
\r
262 <li class=kadov-p><p class="whs1"><a
\r
263 HREF="#_Toc57604485"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
\r
264 face="Times New Roman"
\r
265 size=4> Vector	</font></span></a></p></li>
\r
267 <li class=kadov-p><p class="whs1"><a
\r
268 HREF="#_Toc57604486"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"
\r
269 face="Times New Roman"
\r
270 size=4> Plane	</font></span></a></p></li>
\r
272 <li class=kadov-p><p class="whs1"><a
\r
273 HREF="#_Toc57604487"> Working plane</a></p></li>
\r
275 <li class=kadov-p><p class="whs1"> <a
\r
276 href="#_Toc57604489">Local coordinate system</a><a
\r
277 HREF="#_Toc57604487">	</a></p></li>
\r
281 <p class="whs4"> </p>
\r
283 <p class="whs4"> </p>
\r
285 <p class=TODO>To create basic geometrical objects:</p>
\r
287 <p class=TODO> </p>
\r
289 <p class="whs5">In the main menu select <span style="font-weight: bold;"><B>New
\r
290 Entity > Basic</B></span>.</p>
\r
292 <p class="whs5"> </p>
\r
296 <p class="whs6"><b style="font-weight: bold;"><a
\r
297 NAME=_Toc57604480><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image27.gif" width="20px" height="20px" border="0" class="img_whs7"> Point</font></span></a></b></p>
\r
299 <p class="whs6"> </p>
\r
301 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
302 Creates a point.</p>
\r
304 <p class="whs4"> </p>
\r
306 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
309 <p class="whs4"> </p>
\r
311 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b>
\r
312 <span style="font-style: italic;"><I>geompy.MakeVertex(X, Y, X)</I></span>, where
\r
313 X, Y, Z are coordinates of the point.</p>
\r
315 <p class="whs4"> </p>
\r
317 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
\r
321 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
\r
322 Constructor:</b> 3 coordinates.</p></li>
\r
324 <li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd
\r
325 Constructor: </B></span><span>1 reference point + 3 coordinates defining the
\r
326 position of this point regarding the reference one</span></p></li>
\r
328 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
\r
329 Constructor:</b> 1 edge +
\r
330 1 Parameter defining the position of the point on the given edge.</p></li>
\r
333 <p class="whs4"> </p>
\r
335 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
337 <p class="whs4"> </p>
\r
339 <!--(Table)=========================================================-->
\r
340 <table x-use-null-cells cellspacing="0" width="84.306%" class="whs8">
\r
342 <col class="whs10">
\r
343 <col class="whs11">
\r
345 <tr valign="top" class="whs12">
\r
346 <td width="33.333%" class="whs13">
\r
347 <p class="whs4"><img src="../image207.jpg" width="218px" height="250px" border="0" class="img_whs14"></td>
\r
348 <td width="28.501%" class="whs15">
\r
349 <p class="whs16"><img src="../image208.jpg" width="150px" height="250px" border="0" class="img_whs17"></td>
\r
350 <td width="31.796%" class="whs18">
\r
351 <p class="whs4"><img src="../image209.jpg" width="170px" height="250px" border="0" class="img_whs19"></td></tr>
\r
354 <p class="whs4"> </p>
\r
356 <p class="whs4"> </p>
\r
358 <p class="whs20"> </p>
\r
360 <p class="whs21"> </p>
\r
362 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
364 <p class="whs21"> </p>
\r
366 <p class="whs23"><img src="../image16.gif" width="150px" height="140px" border="0" class="img_whs24"></p>
\r
368 <p class="whs23"> </p>
\r
370 <p class="whs4"> </p>
\r
372 <p class="whs6"><b style="font-weight: bold;"><a
\r
373 NAME=_Toc57604481><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image28.gif" width="20px" height="20px" border="0" class="img_whs7"> Line</font></span></a></b></p>
\r
375 <p class="whs6"> </p>
\r
377 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
378 Creates a line.</p>
\r
380 <p class="whs4"> </p>
\r
382 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
385 <p class="whs4"> </p>
\r
387 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
\r
388 <span style="font-style: italic;"><I>geompy.MakeLine(Point1, Point2)</I></span>,
\r
389 where Point1 and Point2 are points through which
\r
390 the line passes.</p>
\r
392 <p class="whs4"> </p>
\r
394 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
397 <p class="whs4"> </p>
\r
399 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
401 <p class="whs4"> </p>
\r
403 <p class="whs20"><img src="../image66.jpg" width="200px" height="176px" border="0" class="img_whs25"></p>
\r
405 <p class="whs21"> </p>
\r
407 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
409 <p class="whs21"> </p>
\r
411 <p class="whs23"><img src="../image67.jpg" width="150px" height="139px" border="0" class="img_whs26"></p>
\r
413 <p class="whs4"> </p>
\r
415 <p class="whs4"> </p>
\r
417 <p class="whs6"><b style="font-weight: bold;"><a
\r
418 NAME=_Toc57604482><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image29.gif" width="20px" height="20px" border="0" class="img_whs7"> Circle</font></span></a></b></p>
\r
420 <p class="whs6"> </p>
\r
422 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
423 Creates a circle.</p>
\r
425 <p class="whs4"> </p>
\r
427 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
430 <p class="whs4"> </p>
\r
432 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
\r
433 <span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span>,
\r
434 where Point defines the center of the circle, Vector gives the circle
\92s
\r
435 normal and Radius is the circle
\92s radius.</p>
\r
437 <p class="whs4"> </p>
\r
439 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
444 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
\r
445 Constructor:</b> 1 vertex (for the center) + 1 edge (for the direction)
\r
448 <li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd
\r
449 Constructor: </B></span><span>3 points which will form the circle.</span></p></li>
\r
452 <p class="whs4"> </p>
\r
454 <p class="whs4"> </p>
\r
456 <p class="whs4"> </p>
\r
458 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
460 <p class="whs4"> </p>
\r
462 <!--(Table)=========================================================-->
\r
463 <table x-use-null-cells cellspacing="0" width="65.278%" class="whs27">
\r
464 <col class="whs28">
\r
465 <col class="whs29">
\r
467 <tr valign="top" class="whs12">
\r
468 <td width="50.213%" class="whs30">
\r
469 <p class="whs4"><img src="../image210.jpg" width="212px" height="250px" border="0" class="img_whs31"></td>
\r
470 <td width="49.787%" class="whs32">
\r
471 <p class="whs4"><img src="../image211.jpg" width="211px" height="250px" border="0" class="img_whs33"></td></tr>
\r
474 <p class="whs4"> </p>
\r
476 <p class="whs4"> </p>
\r
478 <p class="whs20"> </p>
\r
480 <p class="whs20"> </p>
\r
482 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
484 <p class="whs21"> </p>
\r
486 <p class="whs23"><img src="../image17.gif" width="150px" height="129px" border="0" class="img_whs34"></p>
\r
488 <p class="whs4"> </p>
\r
490 <p class="whs6"><b style="font-weight: bold;"><a
\r
491 NAME=_Toc57604483><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image30.gif" width="20px" height="20px" border="0" class="img_whs7"> Ellipse</font></span></a></b></p>
\r
493 <p class="whs6"> </p>
\r
495 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
496 Creates an ellipse.</p>
\r
498 <p class="whs4"> </p>
\r
500 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
503 <p class="whs4"> </p>
\r
505 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><span
\r
506 style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor,
\r
507 RadiusMinor)</I></span>, where Point defines the center of the ellipse, Vector
\r
508 gives the ellipse
\92s normal, RadiusMajor and RadiusMinor are
\r
509 correspondingly a major and minor radiuses of the ellipse.</p>
\r
511 <p class="whs4"> </p>
\r
513 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
514 1 vertex (for the center) + 1 edge (for the direction) + 1 X Radius +
\r
517 <p class="whs4"> </p>
\r
519 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
521 <p class="whs4"> </p>
\r
523 <p class="whs20"><img src="../image69.jpg" width="200px" height="211px" border="0" class="img_whs35"></p>
\r
525 <p class="whs36"> </p>
\r
527 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
529 <p class="whs21"> </p>
\r
531 <p class="whs23"><img src="../image19.gif" width="150px" height="154px" border="0" class="img_whs37"></p>
\r
533 <p class="whs4"> </p>
\r
535 <p class="whs4"> </p>
\r
537 <p class="whs6"><b style="font-weight: bold;"><a
\r
538 NAME=_Toc57604484><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image31.gif" width="20px" height="20px" border="0" class="img_whs7"> Arc</font></span></a></b></p>
\r
540 <p class="whs6"> </p>
\r
542 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
543 Creates an arc.</p>
\r
545 <p class="whs4"> </p>
\r
547 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
550 <p class="whs4"> </p>
\r
552 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
\r
553 <span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span>,
\r
554 where Point1 is the starting point of the arc, Point2 is a middle point
\r
555 of the arc and Point3 is the ending point of the arc.</p>
\r
557 <p class="whs4"> </p>
\r
559 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
562 <p class="whs4"> </p>
\r
564 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
566 <p class="whs4"> </p>
\r
568 <p class="whs20"><img src="../image70.jpg" width="200px" height="202px" border="0" class="img_whs38"></p>
\r
570 <p class="whs21"> </p>
\r
572 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
574 <p class="whs21"> </p>
\r
576 <p class="whs23"><img src="../image20.gif" width="150px" height="123px" border="0" class="img_whs39"></p>
\r
578 <p class="whs23"> </p>
\r
580 <p class="whs4"> </p>
\r
582 <p class="whs40"><b style="font-weight: bold;"><a NAME=_Toc57604488><img src="../image32.gif" width="20px" height="20px" border="0" class="img_whs41"> Curve</a></b></p>
\r
584 <p class="whs4"> </p>
\r
586 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
587 Creates a curve in 3D space.</p>
\r
589 <p class="whs4"> </p>
\r
591 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b>
\r
592 GEOM_Object (edge).</font></span></p>
\r
594 <p class="whs4"> </p>
\r
596 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
\r
599 <ul type="disc" class="whs3">
\r
601 <li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span>,
\r
602 where ListOfShape is a list of points through which the curve passes .</p></li>
\r
604 <li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span>,
\r
605 where ListOfShape is a list of points through which the curve passes .</p></li>
\r
607 <li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span>,
\r
608 where ListOfShape is a list of points through which the curve passes .</p></li>
\r
611 <p class="whs4"> </p>
\r
613 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
616 <p class="whs4"> </p>
\r
618 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
620 <p class="whs4"> </p>
\r
622 <p class="whs20"><img src="../image144.jpg" width="200px" height="194px" border="0" class="img_whs42"></p>
\r
624 <p class="whs4"> </p>
\r
626 <p class="whs43">Example:</p>
\r
628 <p class="whs4"> </p>
\r
630 <p class="whs44">Polyline
\r
631 Bezier
\r
632 B-Spline</p>
\r
634 <p class="whs4"><img src="../image147.jpg" x-maintain-ratio="TRUE" width="200px" height="181px" border="0" class="img_whs45"> <img src="../image149.jpg" width="175px" height="181px" border="0" class="img_whs46"> <img src="../image150.jpg" width="203px" height="181px" border="0" class="img_whs47"></p>
\r
636 <p class="whs20"> </p>
\r
638 <p class="whs4"> </p>
\r
640 <p class="whs6"><b style="font-weight: bold;"><a
\r
641 NAME=_Toc57604485><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image32.gif" width="20px" height="20px" border="0" class="img_whs7"> Vector</font></span></a></b></p>
\r
643 <p class="whs6"> </p>
\r
645 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
646 Creates a vector.</p>
\r
648 <p class="whs4"> </p>
\r
650 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
653 <p class="whs4"> </p>
\r
655 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
\r
656 <span style="font-style: italic;"><I>geompy.MakeVector(Point1, Point2)</I></span>,
\r
657 where Point1 is the first point of the vector and the Point2 is the last
\r
658 point of the vector.</p>
\r
660 <p class="whs4"> </p>
\r
662 <p class="whs4"><b style="font-weight: bold;">Arguments :</b></p>
\r
666 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
\r
667 Constructor :</b> 2 vertices.</p></li>
\r
669 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
\r
670 Constructor :</b> 3 values (Coordinates of the 2nd vertex. The first vertex
\r
671 is in the origin).</p></li>
\r
674 <p class="whs4"> </p>
\r
676 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
678 <p class="whs4"> </p>
\r
680 <p class="whs20"><img src="../image71.jpg" width="200px" height="175px" border="0" class="img_whs48"> <img src="../image72.jpg" width="200px" height="175px" border="0" class="img_whs48"></p>
\r
682 <p class="whs20"> </p>
\r
684 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
686 <p class="whs21"> </p>
\r
688 <p class="whs23"><img src="../image21.gif" width="150px" height="128px" border="0" class="img_whs49"></p>
\r
690 <p class="whs4"> </p>
\r
692 <p class="whs6"><b style="font-weight: bold;"><a
\r
693 NAME=_Toc57604486><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image33.gif" width="20px" height="20px" border="0" class="img_whs7"> Plane</font></span></a></b></p>
\r
695 <p class="whs6"> </p>
\r
697 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
698 Creates a plane.</p>
\r
700 <p class="whs4"> </p>
\r
702 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
705 <p class="whs4"> </p>
\r
707 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
\r
708 <span style="font-style: italic;"><I>geompy.MakePlane(Point, Vector, TrimSize)</I></span>,
\r
709 where Point is a point through which the
\r
710 plane passes, Vector gives a normal of the plane and TrimSize is a half
\r
711 size of a side of quadrangle face, representing the plane.</p>
\r
713 <p class="whs4"> </p>
\r
715 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
\r
719 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st
\r
720 Constructor :</b> 1 vertex + 1 vector +
\r
721 1 value (to define the size of the plane).</p></li>
\r
723 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd
\r
724 Constructor :</b> 1 vertex + 3 points (for the direction) + 1 value (to
\r
725 define the size of the plane).</p></li>
\r
727 <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">3rd
\r
728 Constructor :</b> 1 selection + 1 value (to define the size of the plane).</p></li>
\r
731 <p class="whs4"> </p>
\r
733 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
735 <p class="whs4"> </p>
\r
737 <!--(Table)=========================================================-->
\r
738 <table x-use-null-cells cellspacing="0" width="94.306%" class="whs50">
\r
739 <col class="whs51">
\r
740 <col class="whs52">
\r
741 <col class="whs53">
\r
743 <tr valign="top" class="whs12">
\r
744 <td width="32.254%" class="whs54">
\r
745 <p class="whs4"><img src="../image212.jpg" width="196px" height="250px" border="0" class="img_whs55"></td>
\r
746 <td width="32.547%" class="whs56">
\r
747 <p class="whs4"><img src="../image213.jpg" width="195px" height="250px" border="0" class="img_whs57"></td>
\r
748 <td width="35.199%" class="whs58">
\r
749 <p class="whs4"><img src="../image214.jpg" width="214px" height="250px" border="0" class="img_whs59"></td></tr>
\r
752 <p class="whs4"> </p>
\r
754 <p class="whs4"> </p>
\r
756 <p class="whs4"> </p>
\r
758 <p class="whs4"> </p>
\r
760 <p class="whs60"><b><span style="font-weight: bold;"><B>Example:</B></span></b></p>
\r
762 <p class="whs21"> </p>
\r
764 <p class="whs23"><img src="../image76.jpg" width="150px" height="131px" border="0" class="img_whs61"></p>
\r
766 <p class="whs4"> </p>
\r
768 <p class="whs4"> </p>
\r
770 <p class="whs6"><b style="font-weight: bold;"><a
\r
771 NAME=_Toc57604487><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_basicgui_functions_salome2_sp3_basicgui_functions_image34.gif" width="20px" height="20px" border="0" class="img_whs7"> Working
\r
772 Plane</font></span></a></b></p>
\r
774 <p class="whs6"> </p>
\r
776 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
777 Sets the working plane (and the camera position).</p>
\r
779 <p class="whs4"> </p>
\r
781 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
784 <ul type="disc" class="whs3">
\r
786 <li class=kadov-p><p class="whs4">1 selection (face or
\r
787 planar face), or</p></li>
\r
789 <li class=kadov-p><p class="whs4">2 vectors, or</p></li>
\r
791 <li class=kadov-p><p class="whs4">XYZ coordinate system</p></li>
\r
794 <p class="whs4"> </p>
\r
796 <p class="whs4"> </p>
\r
798 <p class="whs4"><b>Dialog Box:</b></p>
\r
800 <p class="whs4"> </p>
\r
802 <!--(Table)=========================================================-->
\r
803 <table x-use-null-cells cellspacing="0" width="100%" class="whs62">
\r
809 <td width="33.333%" class="whs63">
\r
810 <p class="whs4"><img src="../image216.jpg" width="234px" height="200px" border="0" class="img_whs64"></td>
\r
811 <td width="33.333%" class="whs65">
\r
812 <p class="whs4"><img src="../image217.jpg" width="235px" height="200px" border="0" class="img_whs66"></td>
\r
813 <td width="33.333%" class="whs67">
\r
814 <p class="whs4"><img src="../image215.jpg" width="221px" height="200px" border="0" class="img_whs68"></td></tr>
\r
817 <p class="whs4"> </p>
\r
819 <p class="whs69"> </p>
\r
821 <p class="whs20"> </p>
\r
823 <p class="whs36"> </p>
\r
825 <p class="whs70"> </p>
\r
827 <p class="whs70"><a name=_Toc57604489><img src="../image35.gif" width="16px" height="16px" border="0" class="img_whs71"><span
\r
828 style="font-size: 14pt;"> <font size=4 style="font-size:14pt;"></font></span><b><span style="font-size: 14pt;"><font size=4 style="font-size:14pt;">Local
\r
829 coordinate system</font></span></b></a></p>
\r
831 <p class="whs70"> </p>
\r
833 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
835 may manually enter values of X, Y, and Z coordinates of origin in the
\r
836 corresponding fields of the dialog box, or select a point in the object
\r
837 browser or 3D viewer, in this case coordinates of origin are automatically
\r
838 filled in with the coordinates of the selected point. </p>
\r
840 <p class="whs4">The user then specifies components of X and
\r
841 Y axes direction.</p>
\r
843 <p class="whs4">Preview of the new LCS (small trihedron located
\r
844 and oriented according to parameters of LCS) is displayed in the 3D viewer
\r
845 and updated as soon as the user modifies some parameter. </p>
\r
847 <p class="whs4">Then the user presses «OK» or «Apply» button
\r
848 to create an LCS at the location with the specified coordinates. The new
\r
849 object is shown in the Object Browser and in 3D viewer.</p>
\r
851 <p class="whs4"> </p>
\r
853 <p class="whs4"> </p>
\r
855 <p class="whs4"><span style="font-weight: bold;"><B>TUI command:</B></span>
\r
856 <span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY,
\r
857 XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin
\r
858 of LCS, XDX, XDY, XDZ is a vector of OX direction
\r
859 of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>
\r
861 <p class="whs4"> </p>
\r
863 <p class="whs4"> </p>
\r
865 <p class="whs4"><b>Arguments:</b> </p>
\r
869 <li class=kadov-p><p class="whs4"><b>1st Constructor :</b>
\r
870 Coordinates of origin, <span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">X axis direction,
\r
871 Y axis direction</font></span></p></li>
\r
873 <li class=kadov-p><p class="whs4"><b>2nd Constructor :</b>
\r
874 reference object.</p></li>
\r
876 <li class=kadov-p><p class="whs4"><b>3rd Constructor :</b>
\r
877 1 point of origin + X axis direction, Y axis direction.</p></li>
\r
880 <p class="whs4"> </p>
\r
882 <p class="whs4">.</p>
\r
884 <p class="whs4"> </p>
\r
886 <p class="whs4"><b>Dialog Box:</b></p>
\r
888 <p class="whs4"> </p>
\r
890 <!--(Table)=========================================================-->
\r
891 <table x-use-null-cells width="81.667%" cellspacing="0" class="whs72">
\r
894 <col class="whs73">
\r
897 <td width="33.333%" class="whs63">
\r
898 <p class="whs74"><img src="../image220.jpg" width="272px" height="250px" border="0" class="img_whs75"></td>
\r
899 <td width="33.333%" class="whs65">
\r
900 <p class="whs74"><img src="../image219.jpg" width="242px" height="250px" border="0" class="img_whs76"></td>
\r
901 <td width="4.762%" class="whs67">
\r
902 <p class="whs74"> </td></tr>
\r
905 <p class="whs77"> </p>
\r
907 <p class="whs78"> <img src="../image218.jpg" width="257px" height="250px" border="0" class="img_whs79"></p>
\r
909 <p class="whs80"> </p>
\r
911 <p class="whs81">Example:</p>
\r
913 <p class="whs81"> </p>
\r
915 <p class="whs82"><img src="../image145.jpg" width="200px" height="219px" border="0" class="img_whs83"></p>
\r
917 <script type="text/javascript" language="javascript1.2">
\r
919 if (window.writeIntopicBar)
\r
920 writeIntopicBar(0);
\r