]> SALOME platform Git repositories - modules/geom.git/blob - doc/salome/gui/GEOM/files/salome2_sp3_measuregui_functions.htm
Salome HOME
7242d8a04e40d7684bf652626eed89e512580259
[modules/geom.git] / doc / salome / gui / GEOM / files / salome2_sp3_measuregui_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:visited { color:#800080; }\r
18 A:link { color:#0000ff; }\r
19 -->\r
20 </style><style type="text/css">\r
21 <!--\r
22 p.whs1 { font-size:12pt; }\r
23 img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
24 p.whs3 { margin-left:40px; }\r
25 img_whs4 { border:none; width:21px; height:19px; border-style:none; }\r
26 p.whs5 { font-size:12pt; margin-left:40px; font-weight:bold; }\r
27 img_whs6 { border:none; width:216px; height:250px; border-style:none; }\r
28 p.whs7 { font-family:'Times New Roman' , serif; font-size:14pt; }\r
29 img_whs8 { width:20px; height:20px; border-style:none; }\r
30 p.whs9 { font-family:'Times New Roman' , serif; font-size:12pt; }\r
31 img_whs10 { border:none; width:283px; height:250px; border-style:none; }\r
32 p.whs11 { font-size:12pt; margin-left:40px; }\r
33 img_whs12 { border:none; width:199px; height:250px; border-style:none; }\r
34 p.whs13 { font-size:12pt; margin-left:400px; }\r
35 img_whs14 { border:none; width:256px; height:250px; border-style:none; }\r
36 p.whs15 { font-size:12pt; font-weight:bold; }\r
37 img_whs16 { border:none; width:263px; height:250px; border-style:none; }\r
38 p.whs17 { font-size:12pt; font-weight:normal; }\r
39 img_whs18 { border:none; width:310px; height:250px; border-style:none; }\r
40 img_whs19 { border:none; width:262px; height:250px; border-style:none; }\r
41 img_whs20 { border:none; width:268px; height:250px; border-style:none; }\r
42 img_whs21 { border:none; width:266px; height:250px; border-style:none; }\r
43 p.whs22 { font-size:12pt; margin-left:40px; text-indent:-40px; }\r
44 img_whs23 { border:none; width:25px; height:23px; border-style:none; }\r
45 ul.whs24 { list-style:disc; }\r
46 img_whs25 { border:none; width:300px; height:374px; border-style:none; }\r
47 -->\r
48 </style><script type="text/javascript" language="JavaScript">\r
49 <!--\r
50 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
51 {\r
52   var strNSS = "<style type='text/css'>";\r
53   strNSS += "p.whs22 {text-indent:1pt; }";\r
54   strNSS +="</style>";\r
55   document.write(strNSS);\r
56 }\r
57 //-->\r
58 </script>\r
59 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
60 <!--\r
61 function reDo() {\r
62   if (innerWidth != origWidth || innerHeight != origHeight)\r
63      location.reload();\r
64 }\r
65 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
66         origWidth = innerWidth;\r
67         origHeight = innerHeight;\r
68         onresize = reDo;\r
69 }\r
70 onerror = null; \r
71 //-->\r
72 </script>\r
73 <style type="text/css">\r
74 <!--\r
75 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
76 -->\r
77 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
78 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
79 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
80 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
81 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
82 </head>\r
83 <body><script type="text/javascript" language="javascript1.2">\r
84 <!--\r
85 if (window.gbWhTopic)\r
86 {\r
87         if (window.addTocInfo)\r
88         {\r
89         addTocInfo("GEOM module\nUsing measurement tools");\r
90 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
91 \r
92         }\r
93         if (window.writeBtnStyle)\r
94                 writeBtnStyle();\r
95 \r
96         if (window.writeIntopicBar)\r
97                 writeIntopicBar(1);\r
98 \r
99         if (window.setRelStartPage)\r
100         {\r
101         setRelStartPage("../geom.htm");\r
102 \r
103                 autoSync(1);\r
104                 sendSyncInfo();\r
105                 sendAveInfoOut();\r
106         }\r
107 }\r
108 else\r
109         if (window.gbIE4)\r
110                 document.location.reload();\r
111 //-->\r
112 </script>\r
113 <h1>Using measurement tools</h1>\r
114 \r
115 <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
116  data concerning created or imported geometrical objects. They are:</p>\r
117 \r
118 <p class="whs1">&nbsp;</p>\r
119 \r
120 <ul>\r
121         \r
122         <li class=kadov-p><p class="whs1"><a href="#PointCoord">Point \r
123  coordinates</a></p></li>\r
124         \r
125         <li class=kadov-p><p class="whs1"><a href="#Basic_properties">Basic \r
126  properties</a></p></li>\r
127         \r
128         <li class=kadov-p><p class="whs1"><a href="#Center_gravity">Center \r
129  of mass</a></p></li>\r
130         \r
131         <li class=kadov-p><p class="whs1"><a href="#Inertia_axis">Inertia</a></p></li>\r
132         \r
133         <li class=kadov-p><p class="whs1"><a href="#Bounding_box">Bounding \r
134  box</a></p></li>\r
135         \r
136         <li class=kadov-p><p class="whs1"><a href="#Min_distance">Min. \r
137  distance</a></p></li>\r
138         \r
139         <li class=kadov-p><p class="whs1"><a href="#Tolerance">Tolerance</a></p></li>\r
140         \r
141         <li class=kadov-p><p class="whs1"><a href="#Whatis">WhatIs</a></p></li>\r
142         \r
143         <li class=kadov-p><p class="whs1"><a href="#check">Check</a></p></li>\r
144         \r
145         <li class=kadov-p><p class="whs1"><a href="#Check_comp_blocks">Check \r
146  compound of blocks</a></p></li>\r
147 </ul>\r
148 \r
149 <p class="whs1">&nbsp;</p>\r
150 \r
151 <p class=TODO>To use measurement tools:</p>\r
152 \r
153 <p class=TODO>&nbsp;</p>\r
154 \r
155 <p class="whs3">In the main menu select <span style="font-weight: bold;"><B>Measures \r
156  </B></span>submenu.</p>\r
157 \r
158 <p class="whs3">&nbsp;</p>\r
159 \r
160 <p class="whs1">&nbsp;</p>\r
161 \r
162 <p class="whs1"><a name=PointCoord>&nbsp;<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
163 \r
164 <p class="whs1">&nbsp;</p>\r
165 \r
166 <p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
167  Returns the coordinates of a point.</font></span></p>\r
168 \r
169 <p class="whs1">&nbsp;</p>\r
170 \r
171 <p class="whs1"><b style="font-weight: bold;">Result:</b> Point \r
172  coordinates (X, Y, Z) in 3D space in the form of Python Tuple.</p>\r
173 \r
174 <p class="whs1">&nbsp;</p>\r
175 \r
176 <p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
177  <span style="font-style: italic;"><I>geompy.PointCoordinates(Point)</I></span>, \r
178  where Point is a point whose coordinates are inquired.</p>\r
179 \r
180 <p class="whs1">&nbsp;</p>\r
181 \r
182 <p class="whs1">&nbsp;</p>\r
183 \r
184 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
185  1 point.</p>\r
186 \r
187 <p class="whs1">&nbsp;</p>\r
188 \r
189 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
190 \r
191 <p class="whs1">&nbsp;</p>\r
192 \r
193 <p class="whs5"><img src="../image292.jpg" width="216px" height="250px" border="0" class="img_whs6"></p>\r
194 \r
195 <p class="whs1">&nbsp;</p>\r
196 \r
197 <p class="whs1">&nbsp;</p>\r
198 \r
199 <p class="whs7"><b style="font-weight: bold;"><a \r
200  NAME=Basic_properties\r
201         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
202  </p>\r
203 \r
204 <p class="whs9">&nbsp;</p>\r
205 \r
206 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
207  Return the properties (Length, Surface &amp; Volume) of a definite geometrical \r
208  object.</p>\r
209 \r
210 <p class="whs1">&nbsp;</p>\r
211 \r
212 <p class="whs1"><b style="font-weight: bold;">Result:</b> Display \r
213  Length, Surface &amp; Volume in the form of Python Tuple.</p>\r
214 \r
215 <p class="whs1">&nbsp;</p>\r
216 \r
217 <p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
218  <span style="font-style: italic;"><I>geompy.BasicProperties(Shape)</I></span>, \r
219  where Shape is a shape whose properties are inquired.</p>\r
220 \r
221 <p class="whs1">&nbsp;</p>\r
222 \r
223 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
224  1 shape.</p>\r
225 \r
226 <p class="whs1">&nbsp;</p>\r
227 \r
228 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
229 \r
230 <p class="whs1">&nbsp;</p>\r
231 \r
232 <p class="whs3"><img src="../image293.jpg" width="283px" height="250px" border="0" class="img_whs10"></p>\r
233 \r
234 <p>&nbsp;</p>\r
235 \r
236 <p>&nbsp;</p>\r
237 \r
238 <p class="whs7"><a name=Center_gravity\r
239         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
240  Center of mass</b></a></p>\r
241 \r
242 <p class="whs9">&nbsp;</p>\r
243 \r
244 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
245  Creates a gravity center of a shape and returns its coordinates.</p>\r
246 \r
247 <p class="whs1">&nbsp;</p>\r
248 \r
249 <p class="whs1"><b style="font-weight: bold;">Result:</b> GEOM_Object \r
250  (vertex).</p>\r
251 \r
252 <p class="whs1">&nbsp;</p>\r
253 \r
254 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
255  </i><span style="font-style: italic;"><I>geompy.MakeCDG(Shape)</I></span>, where \r
256  Shape is the shape for which a center of gravity is computed.</p>\r
257 \r
258 <p class="whs1">&nbsp;</p>\r
259 \r
260 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
261  1 shape.</p>\r
262 \r
263 <p class="whs1">&nbsp;</p>\r
264 \r
265 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
266 \r
267 <p class="whs1">&nbsp;</p>\r
268 \r
269 <p class="whs11"><img src="../image294.jpg" width="199px" height="250px" border="0" class="img_whs12"></p>\r
270 \r
271 <p class="whs1">&nbsp;</p>\r
272 \r
273 <p class="whs7">&nbsp;</p>\r
274 \r
275 <p class="whs7"><a NAME=Inertia_axis\r
276         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
277                                                                                                                 size=4> Inertia</font></b></a> \r
278  </p>\r
279 \r
280 <p class="whs7">&nbsp;</p>\r
281 \r
282 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
283  Returns the inertia axis of a geometrical object.</p>\r
284 \r
285 <p class="whs1">&nbsp;</p>\r
286 \r
287 <p class="whs1"><b style="font-weight: bold;">Result:</b> Display \r
288  the matrix and moments of inretia in the form of Python Tuple (I11, I12, \r
289  I13, </p>\r
290 \r
291 <p class="whs13">&nbsp;I21, \r
292  I22, I23, </p>\r
293 \r
294 <p class="whs13">&nbsp;I31, \r
295  I32, I33,</p>\r
296 \r
297 <p class="whs13"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">&nbsp;Ix, \r
298  Iy, Iz)</font></span>.</p>\r
299 \r
300 <p class="whs1">&nbsp;</p>\r
301 \r
302 <p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
303  <span style="font-style: italic;"><I>geompy.Inertia(Shape)</I></span>, where \r
304  Shape is a shape for which a matrix of inertia and moment of inertia are \r
305  returned.</p>\r
306 \r
307 <p class="whs1">&nbsp;</p>\r
308 \r
309 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
310  1 shape.</p>\r
311 \r
312 <p class="whs1">&nbsp;</p>\r
313 \r
314 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
315 \r
316 <p class="whs11">&nbsp;</p>\r
317 \r
318 <p class="whs11"><img src="../image295.jpg" width="256px" height="250px" border="0" class="img_whs14"></p>\r
319 \r
320 <p class="whs1">&nbsp;</p>\r
321 \r
322 <p class="whs1">&nbsp;</p>\r
323 \r
324 <p class="whs7"><a NAME=Bounding_box\r
325         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
326                                                                                                                 size=4> Bounding \r
327  box</font></b></a> </p>\r
328 \r
329 <p class="whs7">&nbsp;</p>\r
330 \r
331 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
332  Returns the dimensions of the bounding box of a geometrical object.</p>\r
333 \r
334 <p class="whs1">&nbsp;</p>\r
335 \r
336 <p class="whs1"><b style="font-weight: bold;">Result:</b> Displays \r
337  the dimensions of the bounding box of a geometrical object in the form \r
338  of Python Tuple (Xmin, Xmax, Ymin, Ymax, Zmin, Zmax).</p>\r
339 \r
340 <p class="whs1">&nbsp;</p>\r
341 \r
342 <p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.BoundingBox(Shape)</I></span><span \r
343  style="font-weight: normal;">, where Shape is a shape for which a bounding \r
344  box is computed.</span></p>\r
345 \r
346 <p class="whs1">&nbsp;</p>\r
347 \r
348 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
349  1 shape.</p>\r
350 \r
351 <p class="whs1">&nbsp;</p>\r
352 \r
353 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
354 \r
355 <p class="whs1">&nbsp;</p>\r
356 \r
357 <p class="whs11"><img src="../image296.jpg" width="263px" height="250px" border="0" class="img_whs16"></p>\r
358 \r
359 <p class="whs1">&nbsp;</p>\r
360 \r
361 <p class="whs1">&nbsp;</p>\r
362 \r
363 <p class="whs7"><a NAME=Min_distance\r
364         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
365                                                                                                                 size=4> Min. distance</font></b></a></p>\r
366 \r
367 <p class="whs7">&nbsp;</p>\r
368 \r
369 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
370  Returns the min. distance between 2 geometrical objects.</p>\r
371 \r
372 <p class="whs1">&nbsp;</p>\r
373 \r
374 <p class="whs1"><b style="font-weight: bold;">Result:</b> Displays \r
375  the min. distance.</p>\r
376 \r
377 <p class="whs1">&nbsp;</p>\r
378 \r
379 <p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.MinDistance(Shape1, \r
380  Shape2)</I></span><span style="font-weight: normal;">, where Shape1 and Shape2 \r
381  are shapes between which the minimal distance computed.</span></p>\r
382 \r
383 <p class="whs17">&nbsp;</p>\r
384 \r
385 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
386  2 shapes.</p>\r
387 \r
388 <p class="whs1">&nbsp;</p>\r
389 \r
390 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
391 \r
392 <p class="whs1">&nbsp;</p>\r
393 \r
394 <p class="whs11"><img src="../image297.jpg" width="310px" height="250px" border="0" class="img_whs18"></p>\r
395 \r
396 <p class="whs1">&nbsp;</p>\r
397 \r
398 <p class="whs1">&nbsp;</p>\r
399 \r
400 <p class="whs7"><a NAME=Tolerance\r
401         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
402  Tolerance</b></a> </p>\r
403 \r
404 <p class="whs9">&nbsp;</p>\r
405 \r
406 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
407  Returns the tolerance of a geometrical object.</p>\r
408 \r
409 <p class="whs1">&nbsp;</p>\r
410 \r
411 <p class="whs1"><b style="font-weight: bold;">Result:</b> Displays \r
412  the tolerance values (FaceMinTol, FaceMaxTol, EgdeMinTol, EgdeMaxTol, \r
413  VertexMinTol, VertexMaxTol).</p>\r
414 \r
415 <p class="whs1">&nbsp;</p>\r
416 \r
417 <p class="whs15">TUI command: <span style="font-weight: normal; font-style: italic;"><I>geompy.Tolerance(Shape)</I></span><span \r
418  style="font-weight: normal;">, where Shape is a shape for which minimal \r
419  and maximal tolerances are returned.</span></p>\r
420 \r
421 <p class="whs1">&nbsp;</p>\r
422 \r
423 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
424  1 shape.</p>\r
425 \r
426 <p class="whs1">&nbsp;</p>\r
427 \r
428 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
429 \r
430 <p class="whs1">&nbsp;</p>\r
431 \r
432 <p class="whs11"><img src="../image298.jpg" width="262px" height="250px" border="0" class="img_whs19"></p>\r
433 \r
434 <p class="whs1">&nbsp;</p>\r
435 \r
436 <p class="whs1">&nbsp;</p>\r
437 \r
438 <p class="whs7"><a NAME=Whatis><span \r
439  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
440  </font></span></p>\r
441 \r
442 <p class="whs9">&nbsp;</p>\r
443 \r
444 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
445  Returns the type of a geometrical object.</p>\r
446 \r
447 <p class="whs1">&nbsp;</p>\r
448 \r
449 <p class="whs1"><b style="font-weight: bold;">Result:</b> Displays \r
450  all elements composing your geometrical object.</p>\r
451 \r
452 <p class="whs1">&nbsp;</p>\r
453 \r
454 <p class="whs1"><span style="font-weight: bold;"><B>TUI command:</B></span> \r
455  <span style="font-style: italic;"><I>geompy.WhatIs(Shape)</I></span>, where Shape \r
456  is a shape from which a description is returned.</p>\r
457 \r
458 <p class="whs1">&nbsp;</p>\r
459 \r
460 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
461  1 shape.</p>\r
462 \r
463 <p class="whs1">&nbsp;</p>\r
464 \r
465 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
466 \r
467 <p class="whs1">&nbsp;</p>\r
468 \r
469 <p class="whs11"><img src="../image299.jpg" width="268px" height="250px" border="0" class="img_whs20"></p>\r
470 \r
471 <p class="whs11">&nbsp;</p>\r
472 \r
473 <p class="whs11">&nbsp;</p>\r
474 \r
475 <p class="whs7"><a NAME=check\r
476         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
477                                                                                                                 size=4> Check</font></b></a> \r
478  </p>\r
479 \r
480 <p class="whs7">&nbsp;</p>\r
481 \r
482 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
483  Returns True if this geometrical object is valid.</p>\r
484 \r
485 <p class="whs1">&nbsp;</p>\r
486 \r
487 <p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean.</p>\r
488 \r
489 <p class="whs1">&nbsp;</p>\r
490 \r
491 <p class="whs1"><b style="font-weight: bold;">TUI Command:</b><i> \r
492  </i><span style="font-style: italic;"><I>geompy.CheckShape(Shape)</I></span>, \r
493  where is shape which is checked for validity.</p>\r
494 \r
495 <p class="whs1">&nbsp;</p>\r
496 \r
497 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
498  1 shape.</p>\r
499 \r
500 <p class="whs1">&nbsp;</p>\r
501 \r
502 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
503 \r
504 <p class="whs1">&nbsp;</p>\r
505 \r
506 <p class="whs11"><img src="../image300.jpg" width="266px" height="250px" border="0" class="img_whs21"></p>\r
507 \r
508 <p class="whs11">&nbsp;</p>\r
509 \r
510 <p class="whs22">&nbsp;</p>\r
511 \r
512 <p class="whs22">&nbsp;</p>\r
513 \r
514 <p class="whs22"><a name=Check_comp_blocks><img src="../image27.gif" width="25px" height="23px" border="0" class="img_whs23"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Check compound \r
515  of blocks</B></font></span></a></p>\r
516 \r
517 <p class="whs22">&nbsp;</p>\r
518 \r
519 <p class="whs1"><b style="font-weight: bold;">Description:</b> \r
520  Checks whether a shape is a compound of glued blocks. To be considered \r
521  as a compound of blocks, the given shape must satisfy the following conditions:</p>\r
522 \r
523 <ul type="disc" class="whs24">\r
524         \r
525         <li class=kadov-p><p class="whs1">&nbsp;Each \r
526  element of the compound should be a Block (6 faces and 12 edges);</p></li>\r
527         \r
528         <li class=kadov-p><p class="whs1">&nbsp;A \r
529  connection between two Blocks should be an entire quadrangle face or an \r
530  entire edge;</p></li>\r
531         \r
532         <li class=kadov-p><p class="whs1">&nbsp;The \r
533  compound should be connected;</p></li>\r
534         \r
535         <li class=kadov-p><p class="whs1">&nbsp;Two \r
536  quadrangle faces should be glued. </p></li>\r
537 </ul>\r
538 \r
539 <p class="whs1">&nbsp;</p>\r
540 \r
541 <p class="whs1">Informs of the following possible errors:</p>\r
542 \r
543 <ul type="disc" class="whs24">\r
544         \r
545         <li class=kadov-p><p class="whs1">not a block,</p></li>\r
546         \r
547         <li class=kadov-p><p class="whs1">not glued,</p></li>\r
548         \r
549         <li class=kadov-p><p class="whs1">not connected,</p></li>\r
550         \r
551         <li class=kadov-p><p class="whs1"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;">extra \r
552  or degenerated edge.</font></span></p></li>\r
553 </ul>\r
554 \r
555 <p class="whs1">&nbsp;</p>\r
556 \r
557 <p class="whs1"><b style="font-weight: bold;">Result:</b> Boolean; \r
558  highlight in the viewer.</p>\r
559 \r
560 <p class="whs1">&nbsp;</p>\r
561 \r
562 <p class="whs1"><b>TUI Command:</b><i> </i><span style="font-style: italic;"><I>geompy.CheckCompoundOfBlocks(Compound)</I></span>, \r
563  where the Compound is a shape, investigated in order to see, if it is \r
564  a valid compound of blocks. Validity flag is returned, encountered errors \r
565  are printed in the python console.</p>\r
566 \r
567 <p class="whs1">&nbsp;</p>\r
568 \r
569 <p class="whs1"><b style="font-weight: bold;">Arguments:</b> \r
570  1 shape.</p>\r
571 \r
572 <p class="whs1">&nbsp;</p>\r
573 \r
574 <p class="whs1"><b style="font-weight: bold;">Dialog Box:</b></p>\r
575 \r
576 <p class="whs11">&nbsp;</p>\r
577 \r
578 <p class="whs11"><img src="../image13.jpg" width="300px" height="374px" border="0" class="img_whs25"></p>\r
579 \r
580 <p class="whs11">&nbsp;</p>\r
581 \r
582 <script type="text/javascript" language="javascript1.2">\r
583 <!--\r
584 if (window.writeIntopicBar)\r
585         writeIntopicBar(0);\r
586 //-->\r
587 </script>\r
588 </body>\r
589 </html>\r