1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='../default.css'>");}
\r
17 A:link { color:#0000ff; }
\r
19 </style><style type="text/css">
\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
103 </style><script type="text/javascript" language="JavaScript">
\r
105 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\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
121 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
124 if (innerWidth != origWidth || innerHeight != origHeight)
\r
127 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
128 origWidth = innerWidth;
\r
129 origHeight = innerHeight;
\r
135 <style type="text/css">
\r
137 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\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
145 <body><script type="text/javascript" language="javascript1.2">
\r
147 if (window.gbWhTopic)
\r
149 if (window.addTocInfo)
\r
151 addTocInfo("GEOM module\nCreating geometrical objects\nCreating basic geometrical objects");
\r
152 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
155 if (window.writeBtnStyle)
\r
158 if (window.writeIntopicBar)
\r
159 writeIntopicBar(1);
\r
161 if (window.setRelStartPage)
\r
163 setRelStartPage("../geom.htm");
\r
172 document.location.reload();
\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;">	</font></span></b></a></h1>
\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 & 2D elements) such as:</p>
\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;">	</font></span></font></b></a></p>
\r
186 <ul type="disc" class="whs3">
\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> Point	</font></span></a></p></li>
\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> Line	</font></span></a></p></li>
\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> Circle	</font></span></a></p></li>
\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> Ellipse	</font></span></a></p></li>
\r
208 <li class=kadov-p><p class="whs1"><a
\r
209 HREF="#_Toc57604484"> Arc</a></p></li>
\r
211 <li class=kadov-p><p class="whs1"> <a
\r
212 href="#_Toc57604488">Curve</a></p></li>
\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> Vector	</font></span></a></p></li>
\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> Plane	</font></span></a></p></li>
\r
224 <li class=kadov-p><p class="whs1"><a
\r
225 HREF="#_Toc57604487"> Working plane</a></p></li>
\r
227 <li class=kadov-p><p class="whs1"> <a
\r
228 href="#_Toc57604489">Local coordinate system</a><a
\r
229 HREF="#_Toc57604487">	</a></p></li>
\r
233 <p class="whs4"> </p>
\r
235 <p class="whs4"> </p>
\r
237 <p class=TODO>To create basic geometrical objects:</p>
\r
239 <p class=TODO> </p>
\r
241 <p class="whs5">In the main menu select <span style="font-weight: bold;"><B>New
\r
242 Entity > Basic</B></span>.</p>
\r
244 <p class="whs5"> </p>
\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
251 <p class="whs6"> </p>
\r
253 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
254 Creates a point.</p>
\r
256 <p class="whs4"> </p>
\r
258 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
261 <p class="whs4"> </p>
\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
267 <p class="whs4"> </p>
\r
269 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
\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
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
280 <li class=kadov-p><p class="whs4"><b>2nd Constructor:</b>
\r
281 Name + 1 edge +
\r
282 1 Parameter defining the position of the point on the given edge.</p></li>
\r
285 <p class="whs4"> </p>
\r
287 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
289 <p class="whs4"> </p>
\r
291 <table x-use-null-cells width="65.051%" cellspacing="0" class="whs8">
\r
293 <col class="whs10">
\r
294 <col class="whs11">
\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
305 <p class="whs4"> </p>
\r
307 <p class="whs4"> </p>
\r
309 <p class="whs20"> </p>
\r
311 <p class="whs21"> </p>
\r
313 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
315 <p class="whs21"> </p>
\r
317 <p class="whs23"><img src="../image16.gif" width="150px" height="140px" border="0" class="img_whs24"></p>
\r
319 <p class="whs23"> </p>
\r
321 <p class="whs4"> </p>
\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
326 <p class="whs6"> </p>
\r
328 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
329 Creates a line.</p>
\r
331 <p class="whs4"> </p>
\r
333 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
336 <p class="whs4"> </p>
\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 which
\r
341 the line passes.</p>
\r
343 <p class="whs4"> </p>
\r
345 <p class="whs4"><b>Arguments:</b> Name + 2 vertices.</p>
\r
347 <p class="whs4"> </p>
\r
349 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
351 <p class="whs4"> </p>
\r
353 <p class="whs20"><img src="../image223.jpg" width="234px" height="250px" border="0" class="img_whs25"></p>
\r
355 <p class="whs21"> </p>
\r
357 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
359 <p class="whs21"> </p>
\r
361 <p class="whs23"><img src="../image67.jpg" width="150px" height="139px" border="0" class="img_whs26"></p>
\r
363 <p class="whs4"> </p>
\r
365 <p class="whs4"> </p>
\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
370 <p class="whs6"> </p>
\r
372 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
373 Creates a circle.</p>
\r
375 <p class="whs4"> </p>
\r
377 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
380 <p class="whs4"> </p>
\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
\92s
\r
385 normal and Radius is the circle
\92s radius.</p>
\r
387 <p class="whs4"> </p>
\r
389 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\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
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
401 <p class="whs4"> </p>
\r
403 <p class="whs4"> </p>
\r
405 <p class="whs4"> </p>
\r
407 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
409 <p class="whs4"> </p>
\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
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
422 <p class="whs4"> </p>
\r
424 <p class="whs4"> </p>
\r
426 <p class="whs20"> </p>
\r
428 <p class="whs20"> </p>
\r
430 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
432 <p class="whs21"> </p>
\r
434 <p class="whs23"><img src="../image17.gif" width="150px" height="129px" border="0" class="img_whs32"></p>
\r
436 <p class="whs4"> </p>
\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
441 <p class="whs6"> </p>
\r
443 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
444 Creates an ellipse.</p>
\r
446 <p class="whs4"> </p>
\r
448 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
451 <p class="whs4"> </p>
\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 are
\r
457 correspondingly a major and minor radiuses of the ellipse.</p>
\r
459 <p class="whs4"> </p>
\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
464 <p class="whs4"> </p>
\r
466 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
468 <p class="whs4"> </p>
\r
470 <p class="whs20"><img src="../image222.jpg" width="197px" height="250px" border="0" class="img_whs33"></p>
\r
472 <p class="whs34"> </p>
\r
474 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
476 <p class="whs21"> </p>
\r
478 <p class="whs23"><img src="../image19.gif" width="150px" height="154px" border="0" class="img_whs35"></p>
\r
480 <p class="whs4"> </p>
\r
482 <p class="whs4"> </p>
\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
487 <p class="whs6"> </p>
\r
489 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
490 Creates an arc.</p>
\r
492 <p class="whs4"> </p>
\r
494 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
497 <p class="whs4"> </p>
\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
504 <p class="whs4"> </p>
\r
506 <p class="whs4"><b>Arguments:</b> Name + 3 vertices.</p>
\r
508 <p class="whs4"> </p>
\r
510 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
512 <p class="whs4"> </p>
\r
514 <p class="whs20"><img src="../image221.jpg" width="211px" height="250px" border="0" class="img_whs36"></p>
\r
516 <p class="whs21"> </p>
\r
518 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
520 <p class="whs21"> </p>
\r
522 <p class="whs23"><img src="../image20.gif" width="150px" height="123px" border="0" class="img_whs37"></p>
\r
524 <p class="whs23"> </p>
\r
526 <p class="whs4"> </p>
\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
530 <p class="whs4"> </p>
\r
532 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
533 Creates a curve in 3D space.</p>
\r
535 <p class="whs4"> </p>
\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
540 <p class="whs4"> </p>
\r
542 <p class="whs4"><b style="font-weight: bold;">TUI Command:</b>
\r
545 <ul type="disc" class="whs3">
\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
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
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
557 <p class="whs4"> </p>
\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
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="../image226.jpg" width="262px" height="250px" border="0" class="img_whs40"></p>
\r
570 <p class="whs4"> </p>
\r
572 <p class="whs41">Example:</p>
\r
574 <p class="whs4"> </p>
\r
576 <p class="whs42">Polyline
\r
577 Bezier
\r
578 B-Spline</p>
\r
580 <p class="whs4"><img src="../image147.jpg" x-maintain-ratio="TRUE" width="200px" height="181px" border="0" class="img_whs43"> <img src="../image149.jpg" width="175px" height="181px" border="0" class="img_whs44"> <img src="../image150.jpg" width="203px" height="181px" border="0" class="img_whs45"></p>
\r
582 <p class="whs20"> </p>
\r
584 <p class="whs4"> </p>
\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
589 <p class="whs6"> </p>
\r
591 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
592 Creates a vector.</p>
\r
594 <p class="whs4"> </p>
\r
596 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
599 <p class="whs4"> </p>
\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
606 <p class="whs4"> </p>
\r
608 <p class="whs4"><b style="font-weight: bold;">Arguments :</b></p>
\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
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
620 <p class="whs4"> </p>
\r
622 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
624 <p class="whs20"> </p>
\r
626 <p class="whs46"> <img src="../image225.jpg" width="236px" height="250px" border="0" class="img_whs47"> <img src="../image224.jpg" width="204px" height="250px" border="0" class="img_whs48"></p>
\r
628 <p class="whs20"> </p>
\r
630 <p class="whs22"><b style="font-weight: bold;">Example:</b></p>
\r
632 <p class="whs21"> </p>
\r
634 <p class="whs23"><img src="../image21.gif" width="150px" height="128px" border="0" class="img_whs49"></p>
\r
636 <p class="whs4"> </p>
\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
641 <p class="whs6"> </p>
\r
643 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
644 Creates a plane.</p>
\r
646 <p class="whs4"> </p>
\r
648 <p class="whs4"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
651 <p class="whs4"> </p>
\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 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
659 <p class="whs4"> </p>
\r
661 <p class="whs4"><b style="font-weight: bold;">Arguments:</b></p>
\r
665 <li class=kadov-p><p class="whs4"><b>1st Constructor :</b>
\r
666 Name + 1 vertex + 1 vector +
\r
667 1 value (to define the size of the plane).</p></li>
\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
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
677 <p class="whs4"> </p>
\r
679 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
681 <p class="whs4"> </p>
\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
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
697 <p class="whs4"> </p>
\r
699 <p class="whs4"> </p>
\r
701 <p class="whs4"> </p>
\r
703 <p class="whs4"> </p>
\r
705 <p class="whs57"><b><span style="font-weight: bold;"><B>Example:</B></span></b></p>
\r
707 <p class="whs21"> </p>
\r
709 <p class="whs23"><img src="../image76.jpg" width="150px" height="131px" border="0" class="img_whs58"></p>
\r
711 <p class="whs4"> </p>
\r
713 <p class="whs4"> </p>
\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
719 <p class="whs6"> </p>
\r
721 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\r
722 Sets the working plane (and the camera position).</p>
\r
724 <p class="whs4"> </p>
\r
726 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\r
729 <ul type="disc" class="whs3">
\r
731 <li class=kadov-p><p class="whs4">Name + 1 selection (face
\r
732 or planar face), </p></li>
\r
734 <li class=kadov-p><p class="whs4">Name + 2
\r
737 <li class=kadov-p><p class="whs4">Name + XYZ coordinate
\r
741 <p class="whs4"> </p>
\r
743 <p class="whs4"> </p>
\r
745 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
747 <p class="whs4"> </p>
\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
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
763 <p class="whs4"> </p>
\r
765 <p class="whs46"> </p>
\r
767 <p class="whs20"> </p>
\r
769 <p class="whs34"> </p>
\r
771 <p class="whs66"> </p>
\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
777 <p class="whs66"> </p>
\r
779 <p class="whs4"><b style="font-weight: bold;">Description:</b>
\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
786 <p class="whs4">The user then specifies components of X and
\r
787 Y axes direction.</p>
\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
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
797 <p class="whs4"> </p>
\r
799 <p class="whs4"> </p>
\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 direction
\r
805 of the LCS and YDX, YDY, YDZ is a a vector of OY direction of the LCS.</p>
\r
807 <p class="whs4"> </p>
\r
809 <p class="whs4"> </p>
\r
811 <p class="whs4"><b style="font-weight: bold;">Arguments:</b>
\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
819 <li class=kadov-p><p class="whs4"><b>2nd Constructor :</b>
\r
820 Name + reference object.</p></li>
\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
826 <p class="whs4"> </p>
\r
828 <p class="whs4">.</p>
\r
830 <p class="whs4"> </p>
\r
832 <p class="whs4"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
834 <p class="whs4"> </p>
\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
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"> </td></tr>
\r
850 <p class="whs75"> </p>
\r
852 <p class="whs76"> <img src="../image218.jpg" width="257px" height="250px" border="0" class="img_whs77"></p>
\r
854 <p class="whs78"> </p>
\r
856 <p class="whs79">Example:</p>
\r
858 <p class="whs79"> </p>
\r
860 <p class="whs80"><img src="../image145.jpg" width="200px" height="219px" border="0" class="img_whs81"></p>
\r
862 <script type="text/javascript" language="javascript1.2">
\r
864 if (window.writeIntopicBar)
\r
865 writeIntopicBar(0);
\r