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=4748>
\r
33 <meta name=layout-width content=684>
\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
62 <style type="text/css">
\r
64 p.whs1 {font-size: 12pt;}
\r
65 img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}
\r
66 p.whs3 {margin-left: 40px;}
\r
67 img_whs4 {border-style: none; border: none; width: 21px; height: 19px;}
\r
68 p.whs5 {font-size: 12pt; margin-left: 40px;}
\r
69 img_whs6 {border-style: none; border: none; width: 200px; height: 221px;}
\r
70 p.whs7 {font-family: 'Times New Roman', serif; font-size: 14pt;}
\r
71 img_whs8 {border-style: none; width: 20px; height: 20px;}
\r
72 p.whs9 {font-family: 'Times New Roman', serif; font-size: 12pt;}
\r
73 img_whs10 {border-style: none; border: none; width: 200px; height: 161px;}
\r
74 img_whs11 {border-style: none; border: none; width: 200px; height: 190px;}
\r
75 p.whs12 {font-size: 12pt; margin-left: 400px;}
\r
76 img_whs13 {border-style: none; border: none; width: 200px; height: 175px;}
\r
77 p.whs14 {font-size: 12pt; font-weight: bold;}
\r
78 img_whs15 {border-style: none; border: none; width: 200px; height: 171px;}
\r
79 p.whs16 {font-size: 12pt; font-weight: normal;}
\r
80 img_whs17 {border-style: none; border: none; width: 200px; height: 151px;}
\r
81 img_whs18 {border-style: none; border: none; width: 200px; height: 193px;}
\r
82 img_whs19 {border-style: none; border: none; width: 200px; height: 219px;}
\r
85 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
88 if (innerWidth != origWidth || innerHeight != origHeight)
\r
91 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
92 origWidth = innerWidth;
\r
93 origHeight = innerHeight;
\r
99 <style type="text/css">
\r
101 div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}
\r
104 <script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
\r
105 <script type="text/javascript" language="javascript" src="../whver.js"></script>
\r
106 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
\r
107 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
\r
108 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
\r
111 <!--(Body)==========================================================-->
\r
116 <script type="text/javascript" language="javascript1.2">
\r
118 if (window.gbWhTopic)
\r
120 if (window.addTocInfo)
\r
122 addTocInfo("GEOM module\nUsing measurement tools");
\r
123 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
126 if (window.writeBtnStyle)
\r
129 if (window.writeIntopicBar)
\r
130 writeIntopicBar(1);
\r
132 if (window.setRelStartPage)
\r
134 setRelStartPage("../geom.html");
\r
142 document.location.reload();
\r
145 <h1>Using measurement tools</h1>
\r
147 <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">Measurement tools in GEOM are necessary for getting</b> different
\r
148 data concerning created or imported geometrical objects. They are:</p>
\r
150 <p class="whs1"> </p>
\r
154 <li class=kadov-p><p class="whs1"><a href="#PointCoord">Point
\r
155 coordinates</a></p></li>
\r
157 <li class=kadov-p><p class="whs1"><a href="#Basic_properties">Basic
\r
158 properties</a></p></li>
\r
160 <li class=kadov-p><p class="whs1"><a href="#Center_gravity">Center
\r
161 of mass</a></p></li>
\r
163 <li class=kadov-p><p class="whs1"><a href="#Inertia_axis">Axis
\r
164 of inertia</a></p></li>
\r
166 <li class=kadov-p><p class="whs1"><a href="#Bounding_box">Bounding
\r
169 <li class=kadov-p><p class="whs1"><a href="#Min_distance">Min.
\r
170 distance</a></p></li>
\r
172 <li class=kadov-p><p class="whs1"><a href="#Tolerance">Tolerance</a></p></li>
\r
174 <li class=kadov-p><p class="whs1"><a href="#Whatis">WhatIs</a></p></li>
\r
176 <li class=kadov-p><p class="whs1"><a href="#check">Check</a></p></li>
\r
179 <p class="whs1"> </p>
\r
181 <p class=TODO>To use measurement tools:</p>
\r
183 <p class=TODO> </p>
\r
185 <p class="whs3">In the main menu select <span style="font-weight: bold;"><B>Measures
\r
186 </B></span>submenu.</p>
\r
188 <p class="whs3"> </p>
\r
190 <p class="whs1"> </p>
\r
192 <p class="whs1"><a name=PointCoord> <img src="../image49.gif" width="21px" height="19px" border="0" class="img_whs4"> <span style="font-weight: bold; font-size: 14pt;"><font size=4 style="font-size:14pt;"><B>Point coordinates</B></font></span></a></p>
\r
194 <p class="whs1"> </p>
\r
196 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
\r
197 Returns the coordinates of a point.</font></span></p>
\r
199 <p class="whs1"> </p>
\r
201 <p class="whs1"><b style="font-weight: bold;">Result:</b> Point
\r
202 coordinates (X, Y, Z) in 3D space in the form of Python Tuple.</p>
\r
204 <p class="whs1"> </p>
\r
206 <p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
\r
207 <span style="font-style: italic;"><I>geompy.PointCoordinates(Point)</I></span>,
\r
208 where Point is a point whose coordinates are inquired.</p>
\r
210 <p class="whs1"> </p>
\r
212 <p class="whs1"> </p>
\r
214 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
217 <p class="whs1"> </p>
\r
219 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
221 <p class="whs1"> </p>
\r
223 <p class="whs5"><b style="font-weight: bold;"><img src="../image173.jpg" width="200px" height="221px" border="0" class="img_whs6"></b></p>
\r
225 <p class="whs1"> </p>
\r
227 <p class="whs1"> </p>
\r
229 <p class="whs7"><b style="font-weight: bold;"><a
\r
230 NAME=Basic_properties
\r
231 style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image71.gif" width="20px" height="20px" border="0" class="img_whs8"> Basic properties</a></b>
\r
234 <p class="whs9"> </p>
\r
236 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
237 Return the properties (Length, Surface & Volume) of a definite geometrical
\r
240 <p class="whs1"> </p>
\r
242 <p class="whs1"><b style="font-weight: bold;">Result:</b> Display
\r
243 Length, Surface & Volume in the form of Python Tuple.</p>
\r
245 <p class="whs1"> </p>
\r
247 <p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
\r
248 <span style="font-style: italic;"><I>geompy.BasicProperties(Shape)</I></span>,
\r
249 where Shape is a shape whose properties are inquired.</p>
\r
251 <p class="whs1"> </p>
\r
253 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
256 <p class="whs1"> </p>
\r
258 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
260 <p class="whs1"> </p>
\r
262 <p class="whs3"><img src="../image55.jpg" width="200px" height="161px" border="0" class="img_whs10"></p>
\r
268 <p class="whs7"><a name=Center_gravity
\r
269 style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image72.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
\r
270 Center of gravity</b></a></p>
\r
272 <p class="whs9"> </p>
\r
274 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
275 Creates a gravity center of a shape and returns its coordinates.</p>
\r
277 <p class="whs1"> </p>
\r
279 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object
\r
282 <p class="whs1"> </p>
\r
284 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
285 </i><span style="font-style: italic;"><I>geompy.MakeCDG(Shape)</I></span>, where
\r
286 Shape is the shape for which a center of gravity is computed.</p>
\r
288 <p class="whs1"> </p>
\r
290 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
293 <p class="whs1"> </p>
\r
295 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
297 <p class="whs1"> </p>
\r
299 <p class="whs5"><img src="../image56.jpg" width="200px" height="190px" border="0" class="img_whs11"></p>
\r
301 <p class="whs1"> </p>
\r
303 <p class="whs7"> </p>
\r
305 <p class="whs7"><a NAME=Inertia_axis
\r
306 style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image73.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
\r
308 inertia</font></b></a> </p>
\r
310 <p class="whs7"> </p>
\r
312 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
313 Returns the inertia axis of a geometrical object.</p>
\r
315 <p class="whs1"> </p>
\r
317 <p class="whs1"><b style="font-weight: bold;">Result:</b> Display
\r
318 the inertia axis values in the form of Python Tuple (I11, I12, I13, </p>
\r
320 <p class="whs12"> I21,
\r
323 <p class="whs12"> I31,
\r
326 <p class="whs12"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> Ix,
\r
327 Iy, Iz)</font></span>.</p>
\r
329 <p class="whs1"> </p>
\r
331 <p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
\r
332 <span style="font-style: italic;"><I>geompy.Inertia(Shape)</I></span>, where
\r
333 Shape is a shape for which a matrix of inertia and moment of inertia are
\r
336 <p class="whs1"> </p>
\r
338 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
341 <p class="whs1"> </p>
\r
343 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
345 <p class="whs5"> </p>
\r
347 <p class="whs5"><img src="../image57.jpg" width="200px" height="175px" border="0" class="img_whs13"></p>
\r
349 <p class="whs1"> </p>
\r
351 <p class="whs1"> </p>
\r
353 <p class="whs7"><a NAME=Bounding_box
\r
354 style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image74.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
\r
356 box</font></b></a> </p>
\r
358 <p class="whs7"> </p>
\r
360 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
361 Returns the dimensions of the bounding box of a geometrical object.</p>
\r
363 <p class="whs1"> </p>
\r
365 <p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
\r
366 the dimensions of the bounding box of a geometrical object in the form
\r
367 of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).</p>
\r
369 <p class="whs1"> </p>
\r
371 <p class="whs14">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.BoundingBox(Shape)</I></span><span
\r
372 style="font-weight: normal;">, where Shape is a shape for which a bounding
\r
373 box is computed.</span></p>
\r
375 <p class="whs1"> </p>
\r
377 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
380 <p class="whs1"> </p>
\r
382 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
384 <p class="whs1"> </p>
\r
386 <p class="whs5"><img src="../image58.jpg" width="200px" height="171px" border="0" class="img_whs15"></p>
\r
388 <p class="whs1"> </p>
\r
390 <p class="whs1"> </p>
\r
392 <p class="whs7"><a NAME=Min_distance
\r
393 style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image75.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
\r
394 size=4> Min. distance</font></b></a></p>
\r
396 <p class="whs7"> </p>
\r
398 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
399 Returns the min. distance between 2 geometrical objects.</p>
\r
401 <p class="whs1"> </p>
\r
403 <p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
\r
404 the min. distance.</p>
\r
406 <p class="whs1"> </p>
\r
408 <p class="whs14">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.MinDistance(Shape1,
\r
409 Shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2
\r
410 are shapes between which the minimal distance computed.</span></p>
\r
412 <p class="whs16"> </p>
\r
414 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
417 <p class="whs1"> </p>
\r
419 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
421 <p class="whs1"> </p>
\r
423 <p class="whs5"><img src="../image59.jpg" width="200px" height="151px" border="0" class="img_whs17"></p>
\r
425 <p class="whs1"> </p>
\r
427 <p class="whs1"> </p>
\r
429 <p class="whs7"><a NAME=Tolerance
\r
430 style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image76.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;">
\r
431 Tolerance</b></a> </p>
\r
433 <p class="whs9"> </p>
\r
435 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
436 Returns the tolerance of a geometrical object.</p>
\r
438 <p class="whs1"> </p>
\r
440 <p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
\r
441 the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol,
\r
442 VertexMinTol, VertexMaxTol).</p>
\r
444 <p class="whs1"> </p>
\r
446 <p class="whs14">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.Tolerance(Shape)</I></span><span
\r
447 style="font-weight: normal;">, where Shape is a shape for which minimal
\r
448 and maximal tolerances are returned.</span></p>
\r
450 <p class="whs1"> </p>
\r
452 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
455 <p class="whs1"> </p>
\r
457 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
459 <p class="whs1"> </p>
\r
461 <p class="whs5"><img src="../image60.jpg" width="200px" height="171px" border="0" class="img_whs15"></p>
\r
463 <p class="whs1"> </p>
\r
465 <p class="whs1"> </p>
\r
467 <p class="whs7"><a NAME=Whatis><span
\r
468 style="font-size: 14pt;"><font size=4 style="font-size:14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image77.gif" width="20px" height="20px" border="0" class="img_whs8"><b style="font-size: 14pt;"> WhatIs</b></a>
\r
471 <p class="whs9"> </p>
\r
473 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
474 Returns the type of a geometrical object.</p>
\r
476 <p class="whs1"> </p>
\r
478 <p class="whs1"><b style="font-weight: bold;">Result:</b> Displays
\r
479 all elements composing your geometrical object.</p>
\r
481 <p class="whs1"> </p>
\r
483 <p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span>
\r
484 <span style="font-style: italic;"><I>geompy.WhatIs(Shape)</I></span>, where Shape
\r
485 is a shape from which a description is returned.</p>
\r
487 <p class="whs1"> </p>
\r
489 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
492 <p class="whs1"> </p>
\r
494 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
496 <p class="whs1"> </p>
\r
498 <p class="whs5"><img src="../image61.jpg" width="200px" height="193px" border="0" class="img_whs18"></p>
\r
500 <p class="whs5"> </p>
\r
502 <p class="whs5"> </p>
\r
504 <p class="whs7"><a NAME=check
\r
505 style="font-size: 14pt;"><img src="salome2_sp3_measuregui_functions_salome2_sp3_measuregui_functions_image78.gif" width="20px" height="20px" border="0" class="img_whs8"><b><font style="font-size: 14pt;"
\r
506 size=4> Check</font></b></a>
\r
509 <p class="whs7"> </p>
\r
511 <p class="whs1"><b style="font-weight: bold;">Description:</b>
\r
512 Return True if this geometrical object is valid.</p>
\r
514 <p class="whs1"> </p>
\r
516 <p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean.</p>
\r
518 <p class="whs1"> </p>
\r
520 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i>
\r
521 </i><span style="font-style: italic;"><I>geompy.CheckShape(Shape)</I></span>,
\r
522 where is shape which is checked for validity.</p>
\r
524 <p class="whs1"> </p>
\r
526 <p class="whs1"><b style="font-weight: bold;">Arguments:</b>
\r
529 <p class="whs1"> </p>
\r
531 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
533 <p class="whs1"> </p>
\r
535 <p class="whs5"><img src="../image62.jpg" width="200px" height="219px" border="0" class="img_whs19"></p>
\r
537 <p class="whs5"> </p>
\r
539 <script type="text/javascript" language="javascript1.2">
\r
541 if (window.writeIntopicBar)
\r
542 writeIntopicBar(0);
\r