]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/files/salome2_sp3_basicgui_functions.htm
Salome HOME
Modified a method createAndDisplayGO
[modules/geom.git] / doc / salome / gui / GEOM / files / salome2_sp3_basicgui_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:link { color:#0000ff; }\r
18 -->\r
19 </style><style type="text/css">\r
20 <!--\r
21 p.whs1 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
22 img_whs2 { border-style:none; border:none; float:none; width:30px; height:30px; }\r
23 ul.whs3 { list-style:disc; }\r
24 p.whs4 { font-size:12pt; }\r
25 p.whs5 { margin-left:40px; }\r
26 p.whs6 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
27 img_whs7 { border-style:none; width:20px; height:20px; }\r
28 table.whs8 { x-cell-content-align:top; border-spacing:0px; width:65.051%; }\r
29 col.whs9 { width:39.418%; }\r
30 col.whs10 { width:28.296%; }\r
31 col.whs11 { width:32.286%; }\r
32 tr.whs12 { x-cell-content-align:top; }\r
33 td.whs13 { padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }\r
34 img_whs14 { border-style:none; border:none; width:218px; height:250px; }\r
35 td.whs15 { padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }\r
36 p.whs16 { font-size:12pt; margin-right:0px; }\r
37 img_whs17 { border-style:none; border:none; width:150px; height:250px; }\r
38 td.whs18 { padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
39 img_whs19 { border-style:none; border:none; width:170px; height:250px; }\r
40 p.whs20 { font-size:12pt; margin-left:40px; }\r
41 p.whs21 { color:#808080; font-size:12pt; }\r
42 p.whs22 { font-size:12pt; color:#000000; }\r
43 p.whs23 { color:#808080; font-size:12pt; margin-left:40px; }\r
44 img_whs24 { border-style:none; border:none; width:150px; height:140px; }\r
45 img_whs25 { border:none; width:234px; height:250px; }\r
46 img_whs26 { border-style:none; border:none; width:150px; height:139px; }\r
47 table.whs27 { x-cell-content-align:top; border-spacing:0px; width:50.278%; }\r
48 col.whs28 { width:49.724%; }\r
49 col.whs29 { width:50.276%; }\r
50 img_whs30 { border-style:none; border:none; width:212px; height:250px; }\r
51 img_whs31 { border-style:none; border:none; width:211px; height:250px; }\r
52 img_whs32 { border-style:none; border:none; width:150px; height:129px; }\r
53 img_whs33 { border:none; width:197px; height:250px; }\r
54 p.whs34 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
55 img_whs35 { border-style:none; border:none; width:150px; height:154px; }\r
56 img_whs36 { border:none; width:211px; height:250px; }\r
57 img_whs37 { border-style:none; border:none; width:150px; height:123px; }\r
58 p.whs38 { font-size:14pt; }\r
59 img_whs39 { border-style:none; border:none; width:20px; height:20px; }\r
60 img_whs40 { border:none; width:262px; height:250px; }\r
61 p.whs41 { font-size:12pt; font-weight:bold; }\r
62 p.whs42 { font-size:12pt; font-weight:bold; font-style:italic; x-text-underline:off; text-decoration:none; }\r
63 img_whs43 { border-style:none; border:none; width:200px; height:181px; float:none; }\r
64 img_whs44 { border-style:none; border:none; width:175px; height:181px; }\r
65 img_whs45 { border-style:none; border:none; width:203px; height:181px; }\r
66 p.whs46 { font-size:12pt; margin-left:0px; }\r
67 img_whs47 { border:none; width:236px; height:250px; }\r
68 img_whs48 { border:none; width:204px; height:250px; }\r
69 img_whs49 { border-style:none; border:none; width:150px; height:128px; }\r
70 table.whs50 { x-cell-content-align:top; border-spacing:0px; width:72.604%; }\r
71 col.whs51 { width:32.089%; }\r
72 col.whs52 { width:32.008%; }\r
73 col.whs53 { width:35.903%; }\r
74 img_whs54 { border-style:none; border:none; width:196px; height:250px; }\r
75 img_whs55 { border-style:none; border:none; width:195px; height:250px; }\r
76 img_whs56 { border-style:none; border:none; width:214px; height:250px; }\r
77 p.whs57 { font-size:12pt; font-weight:bold; color:#000000; }\r
78 img_whs58 { border-style:none; border:none; width:150px; height:131px; }\r
79 table.whs59 { x-cell-content-align:top; border-spacing:0px; width:81.596%; }\r
80 col.whs60 { width:33.942%; }\r
81 col.whs61 { width:33.812%; }\r
82 col.whs62 { width:32.246%; }\r
83 img_whs63 { border:none; width:234px; height:200px; border-style:none; }\r
84 img_whs64 { border:none; width:235px; height:200px; border-style:none; }\r
85 img_whs65 { border-style:none; border:none; width:221px; height:200px; }\r
86 p.whs66 { font-size:12pt; margin-left:40px; font-weight:bold; text-indent:-40px; }\r
87 img_whs67 { border-style:none; border:none; width:16px; height:16px; }\r
88 table.whs68 { x-cell-content-align:top; border-spacing:0px; width:63.512%; }\r
89 col.whs69 { width:49.962%; }\r
90 col.whs70 { width:45.348%; }\r
91 col.whs71 { width:4.69%; }\r
92 p.whs72 { font-weight:bold; font-size:14pt; }\r
93 img_whs73 { border:none; width:272px; height:250px; border-style:none; }\r
94 img_whs74 { border:none; width:242px; height:250px; border-style:none; }\r
95 p.whs75 { margin-left:40px; font-weight:bold; text-indent:-40px; font-size:14pt; }\r
96 p.whs76 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:40px; }\r
97 img_whs77 { border:none; width:257px; height:250px; border-style:none; }\r
98 p.whs78 { font-weight:bold; text-indent:-40px; font-size:14pt; margin-left:80px; }\r
99 p.whs79 { font-weight:bold; margin-left:80px; text-indent:-80px; font-size:12pt; }\r
100 p.whs80 { font-weight:bold; text-indent:-80px; font-size:12pt; margin-left:120px; }\r
101 img_whs81 { border-style:none; border:none; width:200px; height:219px; }\r
102 -->\r
103 </style><script type="text/javascript" language="JavaScript">\r
104 <!--\r
105 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
106 {\r
107   var strNSS = "<style type='text/css'>";\r
108   strNSS += "p.whs16 {margin-right:1pt; }";\r
109   strNSS += "p.whs46 {margin-left:1pt; }";\r
110   strNSS += "p.whs66 {text-indent:1pt; }";\r
111   strNSS += "p.whs75 {text-indent:1pt; }";\r
112   strNSS += "p.whs76 {text-indent:1pt; }";\r
113   strNSS += "p.whs78 {text-indent:1pt; }";\r
114   strNSS += "p.whs79 {text-indent:1pt; }";\r
115   strNSS += "p.whs80 {text-indent:1pt; }";\r
116   strNSS +="</style>";\r
117   document.write(strNSS);\r
118 }\r
119 //-->\r
120 </script>\r
121 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
122 <!--\r
123 function reDo() {\r
124   if (innerWidth != origWidth || innerHeight != origHeight)\r
125      location.reload();\r
126 }\r
127 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
128         origWidth = innerWidth;\r
129         origHeight = innerHeight;\r
130         onresize = reDo;\r
131 }\r
132 onerror = null; \r
133 //-->\r
134 </script>\r
135 <style type="text/css">\r
136 <!--\r
137 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
138 -->\r
139 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
140 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
141 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
142 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
143 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
144 </head>\r
145 <body><script type="text/javascript" language="javascript1.2">\r
146 <!--\r
147 if (window.gbWhTopic)\r
148 {\r
149         if (window.addTocInfo)\r
150         {\r
151         addTocInfo("GEOM module\nCreating geometrical objects\nCreating basic geometrical objects");\r
152 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
153 \r
154         }\r
155         if (window.writeBtnStyle)\r
156                 writeBtnStyle();\r
157 \r
158         if (window.writeIntopicBar)\r
159                 writeIntopicBar(1);\r
160 \r
161         if (window.setRelStartPage)\r
162         {\r
163         setRelStartPage("../geom.htm");\r
164 \r
165                 autoSync(1);\r
166                 sendSyncInfo();\r
167                 sendAveInfoOut();\r
168         }\r
169 }\r
170 else\r
171         if (window.gbIE4)\r
172                 document.location.reload();\r
173 //-->\r
174 </script>\r
175 <h1>Creating basic geometrical objects<a HREF="#_Toc57604478"><b><span \r
176  style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">&#9;</font></span></b></a></h1>\r
177 \r
178 <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
179  &amp; 2D elements) such as:</p>\r
180 \r
181 <p class="whs1"><a HREF="#_Toc57604479"><b><font><span \r
182  style="font-family: 'Times New Roman', serif; font-size: 12pt;"><font size=3 style="font-size:12pt;">&#9;</font></span></font></b></a></p>\r
183 \r
184 <dir>\r
185         \r
186         <ul type="disc" class="whs3">\r
187                 \r
188                 <li class=kadov-p><p class="whs1"><a \r
189  HREF="#_Toc57604480"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
190                                                                         face="Times New Roman"\r
191                                                                         size=4>&nbsp;Point&#9;</font></span></a></p></li>\r
192                 \r
193                 <li class=kadov-p><p class="whs1"><a \r
194  HREF="#_Toc57604481"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
195                                                                         face="Times New Roman"\r
196                                                                         size=4>&nbsp;Line&#9;</font></span></a></p></li>\r
197                 \r
198                 <li class=kadov-p><p class="whs1"><a \r
199  HREF="#_Toc57604482"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
200                                                                         face="Times New Roman"\r
201                                                                         size=4>&nbsp;Circle&#9;</font></span></a></p></li>\r
202                 \r
203                 <li class=kadov-p><p class="whs1"><a \r
204  HREF="#_Toc57604483"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
205                                                                         face="Times New Roman"\r
206                                                                         size=4>&nbsp;Ellipse&#9;</font></span></a></p></li>\r
207                 \r
208                 <li class=kadov-p><p class="whs1"><a \r
209  HREF="#_Toc57604484">&nbsp;Arc</a></p></li>\r
210                 \r
211                 <li class=kadov-p><p class="whs1">&nbsp;<a \r
212  href="#_Toc57604488">Curve</a></p></li>\r
213                 \r
214                 <li class=kadov-p><p class="whs1"><a \r
215  HREF="#_Toc57604485"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
216                                                                         face="Times New Roman"\r
217                                                                         size=4>&nbsp;Vector&#9;</font></span></a></p></li>\r
218                 \r
219                 <li class=kadov-p><p class="whs1"><a \r
220  HREF="#_Toc57604486"><span><font style="font-family: 'Times New Roman', serif; font-size: 12pt;"\r
221                                                                         face="Times New Roman"\r
222                                                                         size=4>&nbsp;Plane&#9;</font></span></a></p></li>\r
223                 \r
224                 <li class=kadov-p><p class="whs1"><a \r
225  HREF="#_Toc57604487">&nbsp;Working plane</a></p></li>\r
226                 \r
227                 <li class=kadov-p><p class="whs1">&nbsp;<a \r
228  href="#_Toc57604489">Local coordinate system</a><a \r
229  HREF="#_Toc57604487">&#9;</a></p></li>\r
230         </ul>\r
231 </dir>\r
232 \r
233 <p class="whs4">&nbsp;</p>\r
234 \r
235 <p class="whs4">&nbsp;</p>\r
236 \r
237 <p class=TODO>To create basic geometrical objects:</p>\r
238 \r
239 <p class=TODO>&nbsp;</p>\r
240 \r
241 <p class="whs5">In the main menu select <span style="font-weight: bold;"><B>New \r
242  Entity &gt; Basic</B></span>.</p>\r
243 \r
244 <p class="whs5">&nbsp;</p>\r
245 \r
246 &nbsp; \r
247 \r
248 <p class="whs6"><b style="font-weight: bold;"><a \r
249  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
250 \r
251 <p class="whs6">&nbsp;</p>\r
252 \r
253 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
254  Creates a point.</p>\r
255 \r
256 <p class="whs4">&nbsp;</p>\r
257 \r
258 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
259  (vertex).</p>\r
260 \r
261 <p class="whs4">&nbsp;</p>\r
262 \r
263 <p class="whs4"><b style="font-weight: bold;">TUI Command :</b> \r
264  <span style="font-style: italic;"><I>geompy.MakeVertex(X, Y, X)</I></span>, where \r
265  X, Y, Z are coordinates of the point.</p>\r
266 \r
267 <p class="whs4">&nbsp;</p>\r
268 \r
269 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>\r
270 \r
271 <ul>\r
272         \r
273         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st \r
274  Constructor:</b> Name + 3 coordinates.</p></li>\r
275         \r
276         <li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd \r
277  Constructor: </B></span>Name + 1 reference point + 3 coordinates defining \r
278  the position of this point regarding the reference one</p></li>\r
279         \r
280         <li class=kadov-p><p class="whs4"><b>2nd Constructor:</b> \r
281  Name + 1 edge &nbsp;+ \r
282  1 Parameter defining the position of the point on the given edge.</p></li>\r
283 </ul>\r
284 \r
285 <p class="whs4">&nbsp;</p>\r
286 \r
287 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
288 \r
289 <p class="whs4">&nbsp;</p>\r
290 \r
291 <table x-use-null-cells width="65.051%" cellspacing="0" class="whs8">\r
292 <col class="whs9">\r
293 <col class="whs10">\r
294 <col class="whs11">\r
295 \r
296 <tr valign="top" class="whs12">\r
297 <td width="39.418%" class="whs13">\r
298 <p class="whs4"><img src="../image207.jpg" width="218px" height="250px" border="0" class="img_whs14"></td>\r
299 <td width="28.296%" class="whs15">\r
300 <p class="whs16"><img src="../image208.jpg" width="150px" height="250px" border="0" class="img_whs17"></td>\r
301 <td width="32.286%" class="whs18">\r
302 <p class="whs4"><img src="../image209.jpg" width="170px" height="250px" border="0" class="img_whs19"></td></tr>\r
303 </table>\r
304 \r
305 <p class="whs4">&nbsp;</p>\r
306 \r
307 <p class="whs4">&nbsp;</p>\r
308 \r
309 <p class="whs20">&nbsp;&nbsp;&nbsp;</p>\r
310 \r
311 <p class="whs21">&nbsp;</p>\r
312 \r
313 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
314 \r
315 <p class="whs21">&nbsp;</p>\r
316 \r
317 <p class="whs23"><img src="../image16.gif" width="150px" height="140px" border="0" class="img_whs24"></p>\r
318 \r
319 <p class="whs23">&nbsp;</p>\r
320 \r
321 <p class="whs4">&nbsp;</p>\r
322 \r
323 <p class="whs6"><b style="font-weight: bold;"><a \r
324  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
325 \r
326 <p class="whs6">&nbsp;</p>\r
327 \r
328 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
329  Creates a line.</p>\r
330 \r
331 <p class="whs4">&nbsp;</p>\r
332 \r
333 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
334  (edge).</p>\r
335 \r
336 <p class="whs4">&nbsp;</p>\r
337 \r
338 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
339  <span style="font-style: italic;"><I>geompy.MakeLine(Point1, Point2)</I></span>, \r
340  where Point1 and Point2 are points through &nbsp;which \r
341  the line passes.</p>\r
342 \r
343 <p class="whs4">&nbsp;</p>\r
344 \r
345 <p class="whs4"><b>Arguments:</b> Name + 2 vertices.</p>\r
346 \r
347 <p class="whs4">&nbsp;</p>\r
348 \r
349 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
350 \r
351 <p class="whs4">&nbsp;</p>\r
352 \r
353 <p class="whs20"><img src="../image223.jpg" width="234px" height="250px" border="0" class="img_whs25"></p>\r
354 \r
355 <p class="whs21">&nbsp;</p>\r
356 \r
357 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
358 \r
359 <p class="whs21">&nbsp;</p>\r
360 \r
361 <p class="whs23"><img src="../image67.jpg" width="150px" height="139px" border="0" class="img_whs26"></p>\r
362 \r
363 <p class="whs4">&nbsp;</p>\r
364 \r
365 <p class="whs4">&nbsp;</p>\r
366 \r
367 <p class="whs6"><b style="font-weight: bold;"><a \r
368  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
369 \r
370 <p class="whs6">&nbsp;</p>\r
371 \r
372 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
373  Creates a circle.</p>\r
374 \r
375 <p class="whs4">&nbsp;</p>\r
376 \r
377 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
378  (edge).</p>\r
379 \r
380 <p class="whs4">&nbsp;</p>\r
381 \r
382 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
383  <span style="font-style: italic;"><I>geompy.MakeCircle(Point, Vector, Radius)</I></span>, \r
384  where Point defines the center of the circle, Vector gives the circle\92\r
385  normal and Radius is the circle\92s &nbsp;radius.</p>\r
386 \r
387 <p class="whs4">&nbsp;</p>\r
388 \r
389 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
390  </p>\r
391 \r
392 <ul>\r
393         \r
394         <li class=kadov-p><p class="whs4"><b>1st Constructor:</b> \r
395  Name + 1 vertex (for the center) + 1 edge (for the direction) + Radius.</p></li>\r
396         \r
397         <li class=kadov-p><p class="whs4"><span style="font-weight: bold;"><B>2nd \r
398  Constructor: </B></span>Name + 3 points which will form the circle.</p></li>\r
399 </ul>\r
400 \r
401 <p class="whs4">&nbsp;</p>\r
402 \r
403 <p class="whs4">&nbsp;</p>\r
404 \r
405 <p class="whs4">&nbsp;</p>\r
406 \r
407 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
408 \r
409 <p class="whs4">&nbsp;</p>\r
410 \r
411 <table x-use-null-cells width="50.278%" cellspacing="0" class="whs27">\r
412 <col class="whs28">\r
413 <col class="whs29">\r
414 \r
415 <tr valign="top" class="whs12">\r
416 <td width="49.724%" class="whs13">\r
417 <p class="whs4"><img src="../image210.jpg" width="212px" height="250px" border="0" class="img_whs30"></td>\r
418 <td width="50.276%" class="whs18">\r
419 <p class="whs4"><img src="../image211.jpg" width="211px" height="250px" border="0" class="img_whs31"></td></tr>\r
420 </table>\r
421 \r
422 <p class="whs4">&nbsp;</p>\r
423 \r
424 <p class="whs4">&nbsp;</p>\r
425 \r
426 <p class="whs20">&nbsp;</p>\r
427 \r
428 <p class="whs20">&nbsp;</p>\r
429 \r
430 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
431 \r
432 <p class="whs21">&nbsp;</p>\r
433 \r
434 <p class="whs23"><img src="../image17.gif" width="150px" height="129px" border="0" class="img_whs32"></p>\r
435 \r
436 <p class="whs4">&nbsp;</p>\r
437 \r
438 <p class="whs6"><b style="font-weight: bold;"><a \r
439  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
440 \r
441 <p class="whs6">&nbsp;</p>\r
442 \r
443 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
444  Creates an ellipse.</p>\r
445 \r
446 <p class="whs4">&nbsp;</p>\r
447 \r
448 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
449  (edge).</p>\r
450 \r
451 <p class="whs4">&nbsp;</p>\r
452 \r
453 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b><span \r
454  style="font-style: italic;"><I> geompy.MakeEllipse(Point, Vector, RadiusMajor, \r
455  RadiusMinor)</I></span>, where Point defines the center of the ellipse, Vector \r
456  gives the ellipse\92s normal, RadiusMajor and RadiusMinor &nbsp;are \r
457  correspondingly a major and minor radiuses of the ellipse.</p>\r
458 \r
459 <p class="whs4">&nbsp;</p>\r
460 \r
461 <p class="whs4"><b>Arguments:</b> Name + 1 vertex (for the \r
462  center) + 1 edge (for the direction) + 1 X Radius + 1 Y Radius.</p>\r
463 \r
464 <p class="whs4">&nbsp;</p>\r
465 \r
466 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
467 \r
468 <p class="whs4">&nbsp;</p>\r
469 \r
470 <p class="whs20"><img src="../image222.jpg" width="197px" height="250px" border="0" class="img_whs33"></p>\r
471 \r
472 <p class="whs34">&nbsp;</p>\r
473 \r
474 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
475 \r
476 <p class="whs21">&nbsp;</p>\r
477 \r
478 <p class="whs23"><img src="../image19.gif" width="150px" height="154px" border="0" class="img_whs35"></p>\r
479 \r
480 <p class="whs4">&nbsp;</p>\r
481 \r
482 <p class="whs4">&nbsp;</p>\r
483 \r
484 <p class="whs6"><b style="font-weight: bold;"><a \r
485  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
486 \r
487 <p class="whs6">&nbsp;</p>\r
488 \r
489 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
490  Creates an arc.</p>\r
491 \r
492 <p class="whs4">&nbsp;</p>\r
493 \r
494 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
495  (edge).</p>\r
496 \r
497 <p class="whs4">&nbsp;</p>\r
498 \r
499 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
500  <span style="font-style: italic;"><I>geompy.MakeArc(Point1, Point2, Point3)</I></span>, \r
501  where Point1 is the starting point of the arc, Point2 is a middle point \r
502  of the arc and Point3 is the ending point of the arc.</p>\r
503 \r
504 <p class="whs4">&nbsp;</p>\r
505 \r
506 <p class="whs4"><b>Arguments:</b> Name + 3 vertices.</p>\r
507 \r
508 <p class="whs4">&nbsp;</p>\r
509 \r
510 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
511 \r
512 <p class="whs4">&nbsp;</p>\r
513 \r
514 <p class="whs20"><img src="../image221.jpg" width="211px" height="250px" border="0" class="img_whs36"></p>\r
515 \r
516 <p class="whs21">&nbsp;</p>\r
517 \r
518 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
519 \r
520 <p class="whs21">&nbsp;</p>\r
521 \r
522 <p class="whs23"><img src="../image20.gif" width="150px" height="123px" border="0" class="img_whs37"></p>\r
523 \r
524 <p class="whs23">&nbsp;</p>\r
525 \r
526 <p class="whs4">&nbsp;</p>\r
527 \r
528 <p class="whs38"><b style="font-weight: bold;"><a NAME=_Toc57604488><img src="../image32.gif" width="20px" height="20px" border="0" class="img_whs39"> Curve</a></b></p>\r
529 \r
530 <p class="whs4">&nbsp;</p>\r
531 \r
532 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
533  Creates a curve in 3D space.</p>\r
534 \r
535 <p class="whs4">&nbsp;</p>\r
536 \r
537 <p class="whs4"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Result:</b> \r
538  GEOM_Object (edge).</font></span></p>\r
539 \r
540 <p class="whs4">&nbsp;</p>\r
541 \r
542 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
543  </p>\r
544 \r
545 <ul type="disc" class="whs3">\r
546         \r
547         <li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakePolyline(ListOfShapes)</I></span>, \r
548  where ListOfShape is a list of points through which the curve passes .</p></li>\r
549         \r
550         <li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeInterpol(ListOfShapes)</I></span>, \r
551  where ListOfShape is a list of points through which the curve passes .</p></li>\r
552         \r
553         <li class=kadov-p><p class="whs4"><span style="font-style: italic;"><I>geompy.MakeBezier(ListOfShapes)</I></span>, \r
554  where ListOfShape is a list of points through which the curve passes .</p></li>\r
555 </ul>\r
556 \r
557 <p class="whs4">&nbsp;</p>\r
558 \r
559 <p class="whs4"><b>Arguments:</b> Name + at least 2 points \r
560  which will serve as nodes on the curve.</p>\r
561 \r
562 <p class="whs4">&nbsp;</p>\r
563 \r
564 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
565 \r
566 <p class="whs4">&nbsp;</p>\r
567 \r
568 <p class="whs20"><img src="../image226.jpg" width="262px" height="250px" border="0" class="img_whs40"></p>\r
569 \r
570 <p class="whs4">&nbsp;</p>\r
571 \r
572 <p class="whs41">Example:</p>\r
573 \r
574 <p class="whs4">&nbsp;</p>\r
575 \r
576 <p class="whs42">Polyline \r
577  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bezier \r
578  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;B-Spline</p>\r
579 \r
580 <p class="whs4"><img src="../image147.jpg" x-maintain-ratio="TRUE" width="200px" height="181px" border="0" class="img_whs43"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="../image149.jpg" width="175px" height="181px" border="0" class="img_whs44"> &nbsp;&nbsp;&nbsp;&nbsp;<img src="../image150.jpg" width="203px" height="181px" border="0" class="img_whs45"></p>\r
581 \r
582 <p class="whs20">&nbsp;</p>\r
583 \r
584 <p class="whs4">&nbsp;</p>\r
585 \r
586 <p class="whs6"><b style="font-weight: bold;"><a \r
587  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
588 \r
589 <p class="whs6">&nbsp;</p>\r
590 \r
591 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
592  Creates a vector.</p>\r
593 \r
594 <p class="whs4">&nbsp;</p>\r
595 \r
596 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
597  (edge).</p>\r
598 \r
599 <p class="whs4">&nbsp;</p>\r
600 \r
601 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
602  <span style="font-style: italic;"><I>geompy.MakeVector(Point1, Point2)</I></span>, \r
603  where Point1 is the first point of the vector and the Point2 is the last \r
604  point of the vector.</p>\r
605 \r
606 <p class="whs4">&nbsp;</p>\r
607 \r
608 <p class="whs4"><b style="font-weight: bold;">Arguments :</b></p>\r
609 \r
610 <ul>\r
611         \r
612         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">1st \r
613  Constructor :</b> Name + 2 vertices.</p></li>\r
614         \r
615         <li class=kadov-p><p class="whs4"><b style="font-weight: bold;">2nd \r
616  Constructor :</b> Name + 3 values (Coordinates of the 2nd vertex. The \r
617  first vertex is in the origin).</p></li>\r
618 </ul>\r
619 \r
620 <p class="whs4">&nbsp;</p>\r
621 \r
622 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
623 \r
624 <p class="whs20">&nbsp;</p>\r
625 \r
626 <p class="whs46">&nbsp;&nbsp;<img src="../image225.jpg" width="236px" height="250px" border="0" class="img_whs47"> &nbsp;&nbsp;&nbsp;<img src="../image224.jpg" width="204px" height="250px" border="0" class="img_whs48"></p>\r
627 \r
628 <p class="whs20">&nbsp;</p>\r
629 \r
630 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>\r
631 \r
632 <p class="whs21">&nbsp;</p>\r
633 \r
634 <p class="whs23"><img src="../image21.gif" width="150px" height="128px" border="0" class="img_whs49"></p>\r
635 \r
636 <p class="whs4">&nbsp;</p>\r
637 \r
638 <p class="whs6"><b style="font-weight: bold;"><a \r
639  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
640 \r
641 <p class="whs6">&nbsp;</p>\r
642 \r
643 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
644  Creates a plane.</p>\r
645 \r
646 <p class="whs4">&nbsp;</p>\r
647 \r
648 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
649  (face).</p>\r
650 \r
651 <p class="whs4">&nbsp;</p>\r
652 \r
653 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b> \r
654  <span style="font-style: italic;"><I>geompy.MakePlane(Point, Vector, TrimSize)</I></span>, \r
655  where Point is a point through which &nbsp;the \r
656  plane passes, Vector gives a normal of the plane and TrimSize is a half \r
657  size of a side of quadrangle face, representing the plane.</p>\r
658 \r
659 <p class="whs4">&nbsp;</p>\r
660 \r
661 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>\r
662 \r
663 <ul>\r
664         \r
665         <li class=kadov-p><p class="whs4"><b>1st Constructor :</b> \r
666  Name + 1 vertex + 1 vector &nbsp;+ \r
667  1 value (to define the size of the plane).</p></li>\r
668         \r
669         <li class=kadov-p><p class="whs4"><b>2nd Constructor :</b> \r
670  Name + 1 vertex + 3 points (for the direction) + 1 value (to define the \r
671  size of the plane).</p></li>\r
672         \r
673         <li class=kadov-p><p class="whs4"><b>3rd Constructor :</b> \r
674  Name + 1 selection + 1 value (to define the size of the plane).</p></li>\r
675 </ul>\r
676 \r
677 <p class="whs4">&nbsp;</p>\r
678 \r
679 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
680 \r
681 <p class="whs4">&nbsp;</p>\r
682 \r
683 <table x-use-null-cells width="72.604%" cellspacing="0" class="whs50">\r
684 <col class="whs51">\r
685 <col class="whs52">\r
686 <col class="whs53">\r
687 \r
688 <tr valign="top" class="whs12">\r
689 <td width="32.089%" class="whs13">\r
690 <p class="whs4"><img src="../image212.jpg" width="196px" height="250px" border="0" class="img_whs54"></td>\r
691 <td width="32.008%" class="whs15">\r
692 <p class="whs4"><img src="../image213.jpg" width="195px" height="250px" border="0" class="img_whs55"></td>\r
693 <td width="35.903%" class="whs18">\r
694 <p class="whs4"><img src="../image214.jpg" width="214px" height="250px" border="0" class="img_whs56"></td></tr>\r
695 </table>\r
696 \r
697 <p class="whs4">&nbsp;</p>\r
698 \r
699 <p class="whs4">&nbsp;</p>\r
700 \r
701 <p class="whs4">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>\r
702 \r
703 <p class="whs4">&nbsp;</p>\r
704 \r
705 <p class="whs57"><b><span style="font-weight: bold;"><B>Example:</B></span></b></p>\r
706 \r
707 <p class="whs21">&nbsp;</p>\r
708 \r
709 <p class="whs23"><img src="../image76.jpg" width="150px" height="131px" border="0" class="img_whs58"></p>\r
710 \r
711 <p class="whs4">&nbsp;</p>\r
712 \r
713 <p class="whs4">&nbsp;</p>\r
714 \r
715 <p class="whs6"><b style="font-weight: bold;"><a \r
716  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
717  Plane</font></span></a></b></p>\r
718 \r
719 <p class="whs6">&nbsp;</p>\r
720 \r
721 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
722  Sets the working plane (and the camera position).</p>\r
723 \r
724 <p class="whs4">&nbsp;</p>\r
725 \r
726 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
727  </p>\r
728 \r
729 <ul type="disc" class="whs3">\r
730         \r
731         <li class=kadov-p><p class="whs4">Name + 1 selection (face \r
732  or planar face), </p></li>\r
733         \r
734         <li class=kadov-p><p class="whs4">Name + &nbsp;2 \r
735  vectors, </p></li>\r
736         \r
737         <li class=kadov-p><p class="whs4">Name + XYZ coordinate \r
738  system</p></li>\r
739 </ul>\r
740 \r
741 <p class="whs4">&nbsp;</p>\r
742 \r
743 <p class="whs4">&nbsp;</p>\r
744 \r
745 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
746 \r
747 <p class="whs4">&nbsp;</p>\r
748 \r
749 <table x-use-null-cells width="81.596%" cellspacing="0" class="whs59">\r
750 <col class="whs60">\r
751 <col class="whs61">\r
752 <col class="whs62">\r
753 \r
754 <tr valign="top" class="whs12">\r
755 <td width="33.942%" class="whs13">\r
756 <p class="whs4"><img src="../image216.jpg" width="234px" height="200px" border="0" class="img_whs63"></td>\r
757 <td width="33.812%" class="whs15">\r
758 <p class="whs4"><img src="../image217.jpg" width="235px" height="200px" border="0" class="img_whs64"></td>\r
759 <td width="32.246%" class="whs18">\r
760 <p class="whs4"><img src="../image215.jpg" width="221px" height="200px" border="0" class="img_whs65"></td></tr>\r
761 </table>\r
762 \r
763 <p class="whs4">&nbsp;</p>\r
764 \r
765 <p class="whs46">&nbsp;</p>\r
766 \r
767 <p class="whs20">&nbsp;</p>\r
768 \r
769 <p class="whs34">&nbsp;</p>\r
770 \r
771 <p class="whs66">&nbsp;</p>\r
772 \r
773 <p class="whs66"><a name=_Toc57604489><img src="../image35.gif" width="16px" height="16px" border="0" class="img_whs67"><span \r
774  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
775  coordinate system</font></span></b></a></p>\r
776 \r
777 <p class="whs66">&nbsp;</p>\r
778 \r
779 <p class="whs4"><b style="font-weight: bold;">Description:</b> \r
780  &nbsp;The user \r
781  may manually enter values of X, Y, and Z coordinates of origin in the \r
782  corresponding fields of the dialog box, or select a point in the object \r
783  browser or 3D viewer, in this case coordinates of origin are automatically \r
784  filled in with the coordinates of the selected point. </p>\r
785 \r
786 <p class="whs4">The user then specifies components of X and \r
787  Y axes direction.</p>\r
788 \r
789 <p class="whs4">Preview of the new LCS (small trihedron located \r
790  and oriented according to parameters of LCS) is displayed in the 3D viewer \r
791  and updated as soon as the user modifies some parameter. </p>\r
792 \r
793 <p class="whs4">Then the user presses «OK» or «Apply» button \r
794  to create an LCS at the location with the specified coordinates. The new \r
795  object is shown in the Object Browser and in 3D viewer.</p>\r
796 \r
797 <p class="whs4">&nbsp;</p>\r
798 \r
799 <p class="whs4">&nbsp;</p>\r
800 \r
801 <p class="whs4"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
802  <span style="font-style: italic;"><I>geompy.MakeMarker(OX, OY, OZ, XDX, XDY, \r
803  XDZ, YDX, YDY, YDZ)</I></span>, where OX, OY, OZ are coordinates of the origin \r
804  of LCS, XDX, XDY, XDZ is a vector of OX &nbsp;direction \r
805  of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>\r
806 \r
807 <p class="whs4">&nbsp;</p>\r
808 \r
809 <p class="whs4">&nbsp;</p>\r
810 \r
811 <p class="whs4"><b style="font-weight: bold;">Arguments:</b> \r
812  </p>\r
813 \r
814 <ul>\r
815         \r
816         <li class=kadov-p><p class="whs4"><b>1st Constructor :</b> \r
817  Name + Coordinates of origin, X axis direction, Y axis direction</p></li>\r
818         \r
819         <li class=kadov-p><p class="whs4"><b>2nd Constructor :</b> \r
820  Name + reference object.</p></li>\r
821         \r
822         <li class=kadov-p><p class="whs4"><b>3rd Constructor :</b> \r
823  Name + 1 point of origin + X axis direction, Y axis direction.</p></li>\r
824 </ul>\r
825 \r
826 <p class="whs4">&nbsp;</p>\r
827 \r
828 <p class="whs4">.</p>\r
829 \r
830 <p class="whs4">&nbsp;</p>\r
831 \r
832 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>\r
833 \r
834 <p class="whs4">&nbsp;</p>\r
835 \r
836 <table x-use-null-cells width="63.512%" cellspacing="0" class="whs68">\r
837 <col class="whs69">\r
838 <col class="whs70">\r
839 <col class="whs71">\r
840 \r
841 <tr valign="top" class="whs12">\r
842 <td width="49.962%" class="whs13">\r
843 <p class="whs72"><img src="../image220.jpg" width="272px" height="250px" border="0" class="img_whs73"></td>\r
844 <td width="45.348%" class="whs15">\r
845 <p class="whs72"><img src="../image219.jpg" width="242px" height="250px" border="0" class="img_whs74"></td>\r
846 <td width="4.69%" class="whs18">\r
847 <p class="whs72">&nbsp;</td></tr>\r
848 </table>\r
849 \r
850 <p class="whs75">&nbsp;</p>\r
851 \r
852 <p class="whs76">&nbsp;&nbsp;<img src="../image218.jpg" width="257px" height="250px" border="0" class="img_whs77"></p>\r
853 \r
854 <p class="whs78">&nbsp;</p>\r
855 \r
856 <p class="whs79">Example:</p>\r
857 \r
858 <p class="whs79">&nbsp;</p>\r
859 \r
860 <p class="whs80"><img src="../image145.jpg" width="200px" height="219px" border="0" class="img_whs81"></p>\r
861 \r
862 <script type="text/javascript" language="javascript1.2">\r
863 <!--\r
864 if (window.writeIntopicBar)\r
865         writeIntopicBar(0);\r
866 //-->\r
867 </script>\r
868 </body>\r
869 </html>\r