Salome HOME
8fb6b151154c11415ce63c2f83616c57cd433156
[modules/geom.git] / doc / salome / gui / GEOM / newentity_blocks.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <!--(==============================================================)-->\r
6 <!--(Document created with RoboEditor. )============================-->\r
7 <!--(==============================================================)-->\r
8 \r
9 <head>\r
10 \r
11 <title>Blocks</title>\r
12 \r
13 <!--(Meta)==========================================================-->\r
14 \r
15 <meta http-equiv=content-type content="text/html; charset=windows-1252">\r
16 <meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">\r
17 <meta name=generator-major-version content=0.1>\r
18 <meta name=generator-minor-version content=1>\r
19 <meta name=filetype content=kadov>\r
20 <meta name=filetype-version content=1>\r
21 <meta name=page-count content=1>\r
22 <meta name=layout-height content=2843>\r
23 <meta name=layout-width content=688>\r
24 \r
25 \r
26 <!--(Links)=========================================================-->\r
27 \r
28  <link rel='stylesheet' href='default_ns.css'>\r
29 <script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
30 <!--\r
31 if (navigator.appName !="Netscape")\r
32 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
33 //-->\r
34 </script>\r
35 <style type="text/css">\r
36 <!--\r
37 p.whs1 {font-size: 14pt; font-weight: bold;}\r
38 img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}\r
39 ul.whs3 {list-style: disc;}\r
40 img_whs4 {border-style: none; border: none; width: 23px; height: 22px;}\r
41 p.whs5 {font-size: 12pt;}\r
42 p.whs6 {font-size: 12pt; font-style: italic; font-weight: normal;}\r
43 table.whs7 {x-cell-content-align: top; width: 89.919%; border-spacing: 0px; border-spacing: 0px;}\r
44 col.whs8 {width: 29.973%;}\r
45 col.whs9 {width: 33.333%;}\r
46 tr.whs10 {x-cell-content-align: top;}\r
47 td.whs11 {width: 29.973%; padding-right: 10px; padding-left: 10px; border-right-style: none; border-left-style: none; border-top-style: none; border-bottom-style: none;}\r
48 img_whs12 {border-style: none; border: none; width: 200px; height: 250px;}\r
49 td.whs13 {width: 29.973%; padding-right: 10px; padding-left: 10px; border-right-style: none; border-top-style: none; border-bottom-style: none;}\r
50 td.whs14 {width: 33.333%; padding-right: 10px; padding-left: 10px; border-top-style: none; border-bottom-style: none; border-right-style: none;}\r
51 img_whs15 {border-style: none; border: none; width: 200px; height: 264px;}\r
52 p.whs16 {font-weight: bold;}\r
53 img_whs17 {border-style: none; border: none; width: 250px; height: 195px;}\r
54 img_whs18 {border-style: none; border: none; width: 24px; height: 22px;}\r
55 table.whs19 {x-cell-content-align: top; width: 63.172%; border-spacing: 0px; border-spacing: 0px;}\r
56 col.whs20 {width: 52.553%;}\r
57 col.whs21 {width: 47.447%;}\r
58 td.whs22 {width: 52.553%; padding-right: 10px; padding-left: 10px; border-right-style: none; border-left-style: none; border-top-style: none; border-bottom-style: none;}\r
59 img_whs23 {border-style: none; border: none; width: 200px; height: 207px;}\r
60 td.whs24 {width: 47.447%; padding-right: 10px; padding-left: 10px; border-top-style: none; border-bottom-style: none; border-right-style: none;}\r
61 img_whs25 {border-style: none; border: none; width: 200px; height: 297px;}\r
62 p.whs26 {font-size: 12pt; font-weight: bold;}\r
63 p.whs27 {font-size: 12pt; font-weight: bold; margin-left: 0px;}\r
64 img_whs28 {border-style: none; border: none; width: 300px; height: 234px; float: none;}\r
65 img_whs29 {border-style: none; border: none; width: 251px; height: 234px;}\r
66 p.whs30 {font-size: 12pt; margin-left: 40px;}\r
67 -->\r
68 </style>\r
69 <script type="text/javascript" language="JavaScript">\r
70 <!--\r
71 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
72 {\r
73   var strNSS = "<style type='text/css'>";\r
74   strNSS += "p.whs27 {margin-left:1; }";\r
75   strNSS +="</style>";\r
76   document.write(strNSS);\r
77 }\r
78 //-->\r
79 </script>\r
80 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
81 <!--\r
82 function reDo() {\r
83   if (innerWidth != origWidth || innerHeight != origHeight)\r
84      location.reload();\r
85 }\r
86 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
87         origWidth = innerWidth;\r
88         origHeight = innerHeight;\r
89         onresize = reDo;\r
90 }\r
91 onerror = null; \r
92 //-->\r
93 </script>\r
94 <style type="text/css">\r
95 <!--\r
96   div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
97 -->\r
98 </style>\r
99 <script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
100 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
101 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
102 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
103 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
104 </head>\r
105 \r
106 <!--(Body)==========================================================-->\r
107 \r
108 \r
109 <body>\r
110 \r
111 <script type="text/javascript" language="javascript1.2">\r
112 <!--\r
113 if (window.gbWhTopic)\r
114 {\r
115         if (window.addTocInfo)\r
116         {\r
117         addTocInfo("GEOM module\nCreating geometrical objects\nBuilding by blocks");\r
118 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
119 \r
120         }\r
121         if (window.writeBtnStyle)\r
122                 writeBtnStyle();\r
123 \r
124         if (window.writeIntopicBar)\r
125                 writeIntopicBar(1);\r
126 \r
127         if (window.setRelStartPage)\r
128         {\r
129         setRelStartPage("geom.html");\r
130 \r
131                 autoSync(0);\r
132                 sendSyncInfo();\r
133                 sendAveInfoOut();\r
134         }\r
135 }\r
136 else\r
137         document.location.reload();\r
138 //-->\r
139 </script>\r
140 <h1>Building by blocks</h1>\r
141 \r
142 <p class="whs1"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Introduction.</B></font></span></p>\r
143 \r
144 <p>&nbsp;</p>\r
145 \r
146 <p>Below are some general notions about blocks:</p>\r
147 \r
148 <p>&nbsp;</p>\r
149 \r
150 <p><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;"><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"></b></font></span>A block is a an elementary geometric solid that \r
151  has specific geometric constraints oriented for meshing. In the hexahedral \r
152  case, blocks have 6 faces and each face has 4 edges. &nbsp;</p>\r
153 \r
154 <p>&nbsp;</p>\r
155 \r
156 <p>Tetrahedral Block - is a block with constraints for tetrahedral meshing. \r
157  </p>\r
158 \r
159 <p>&nbsp;</p>\r
160 \r
161 <p>Hexahedral Block - is a block with constraints for hexahedral meshing.</p>\r
162 \r
163 <p>&nbsp;</p>\r
164 \r
165 <p>Block Compound - is a compound composed of blocks only.</p>\r
166 \r
167 <p>&nbsp;</p>\r
168 \r
169 <p>To build a compound the user may take the following steps:</p>\r
170 \r
171 <p>&nbsp;</p>\r
172 \r
173 <ul type="disc" class="whs3">\r
174         \r
175         <li class=kadov-p><p><a href="#QuadrangleFace">Quadrangle face</a></p></li>\r
176         \r
177         <li class=kadov-p><p><a href="#HexahedralSolid">Hexahedral solid</a></p></li>\r
178 </ul>\r
179 \r
180 <p>&nbsp;</p>\r
181 \r
182 <p>&nbsp;</p>\r
183 \r
184 <p><a name=QuadrangleFace><img src="image29.gif" width="23px" height="22px" border="0" class="img_whs4"><span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Quadrangle \r
185  face</B></font></span></a></p>\r
186 \r
187 <p>&nbsp;</p>\r
188 \r
189 <p class="whs5"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b> \r
190  Builds a face using the below mentioned arguments. This operation allows \r
191  to build a face bypassing the intermediate stage of building edges and \r
192  wires (in the case of building by 4 points) or wires (in the case of building \r
193  by 4 or 2 edges).</font></span></p>\r
194 \r
195 <p class="whs5">&nbsp;</p>\r
196 \r
197 <p class="whs5"><b style="font-weight: bold;">Result :</b> \r
198  GEOM_Object.</p>\r
199 \r
200 <p class="whs5">&nbsp;</p>\r
201 \r
202 <p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>\r
203 \r
204 <ul type="disc" class="whs3">\r
205         \r
206         <li class=kadov-p><p class="whs6"><b style="font-weight: normal;">geompy.MakeQuadFaceVertices(V1, \r
207  V2, V3, V4), <span style="font-style: normal;">where V1, V2, V3, V4 are \r
208  four vertices from which a face is constructed. Edges are created automatically.</span></b></p></li>\r
209         \r
210         <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeQuadFaceEdges(E1, \r
211  E2)</I></span>, where E1, E2 are edges from which the face is constructed, \r
212  two other edges are created automatically.</p></li>\r
213         \r
214         <li class=kadov-p><p class="whs5"><b style="font-weight: normal;"><span \r
215  style="font-style: italic;"><I>g</b>eompy.MakeQuadFace(E1, E2, E3, E4)</I></span>, \r
216  where E1, E2, E3, E4 are four edges from which the face is constructed.</p></li>\r
217 </ul>\r
218 \r
219 <p class="whs5">&nbsp;</p>\r
220 \r
221 <p class="whs5"><b style="font-weight: bold;">Arguments:</b> \r
222  </p>\r
223 \r
224 <ul type="disc" class="whs3">\r
225         \r
226         <li class=kadov-p><p class="whs5">4 Points, or</p></li>\r
227         \r
228         <li class=kadov-p><p class="whs5">2 Edges, or </p></li>\r
229         \r
230         <li class=kadov-p><p class="whs5">4 Edges.</p></li>\r
231 </ul>\r
232 \r
233 <p class="whs5">&nbsp;</p>\r
234 \r
235 <p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
236 \r
237 <!--(Table)=========================================================-->\r
238 <table x-use-null-cells cellspacing="0" width="89.919%" class="whs7">\r
239 <col class="whs8">\r
240 <col class="whs8">\r
241 <col class="whs9">\r
242 \r
243 <tr valign="top" class="whs10">\r
244 <td width="29.973%" class="whs11">\r
245 <p><img src="image182.jpg" width="200px" height="250px" border="0" class="img_whs12"></td>\r
246 <td width="29.973%" class="whs13">\r
247 <p><img src="image183.jpg" width="200px" height="250px" border="0" class="img_whs12"></td>\r
248 <td width="33.333%" class="whs14">\r
249 <p><img src="image184.jpg" width="200px" height="264px" border="0" class="img_whs15"></td></tr>\r
250 </table>\r
251 \r
252 <p class="whs5">&nbsp;</p>\r
253 \r
254 <p>&nbsp;</p>\r
255 \r
256 <p class="whs16">Example:</p>\r
257 \r
258 <p class="whs16">&nbsp;</p>\r
259 \r
260 <p><img src="image185.jpg" width="250px" height="195px" border="0" class="img_whs17"> </p>\r
261 \r
262 <p>&nbsp;</p>\r
263 \r
264 <p>&nbsp;</p>\r
265 \r
266 <p><a name=HexahedralSolid><img src="image51.gif" width="24px" height="22px" border="0" class="img_whs18"> <span style="font-size: 14pt; font-weight: bold;"><font size=4 style="font-size:14pt;"><B>Hexahedral \r
267  solid</B></font></span></a></p>\r
268 \r
269 <p>&nbsp;</p>\r
270 \r
271 <p class="whs5"><b style="font-weight: bold;">Description:</b> \r
272  Builds a hexahedral solid either of the below mentioned arguments. This \r
273  operation allows to build a solid bypassing the intermediate stage of \r
274  building a shell and 4 faces (in the case of building by 2 faces) or just \r
275  a shell (in the case of building by 6 faces).</p>\r
276 \r
277 <p class="whs5">&nbsp;</p>\r
278 \r
279 <p class="whs5"><b style="font-weight: bold;">Result :</b> \r
280  GEOM_Object.</p>\r
281 \r
282 <p class="whs5">&nbsp;</p>\r
283 \r
284 <p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>\r
285 \r
286 <ul type="disc" class="whs3">\r
287         \r
288         <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolid(F1, \r
289  F2, F3, F4, F5, F6)</I></span>, where F1 \96 F6 are six faces from which the \r
290  hexahedron is constructed.</p></li>\r
291         \r
292         <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolidTwoFaces(F1, \r
293  F2)</I></span>, where F1 and F2 are faces from which the hexahedron is constructed, \r
294  other four faces are created automatically.</p></li>\r
295 </ul>\r
296 \r
297 <p class="whs5">&nbsp;</p>\r
298 \r
299 <p class="whs5"><b style="font-weight: bold;">Arguments:</b> \r
300  </p>\r
301 \r
302 <ul type="disc" class="whs3">\r
303         \r
304         <li class=kadov-p><p class="whs5">2 Faces, or </p></li>\r
305         \r
306         <li class=kadov-p><p class="whs5">6 Faces.</p></li>\r
307 </ul>\r
308 \r
309 <p class="whs5">&nbsp;</p>\r
310 \r
311 <p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
312 \r
313 <p class="whs5">&nbsp;</p>\r
314 \r
315 <!--(Table)=========================================================-->\r
316 <table x-use-null-cells cellspacing="0" width="63.172%" class="whs19">\r
317 <col class="whs20">\r
318 <col class="whs21">\r
319 \r
320 <tr valign="top" class="whs10">\r
321 <td width="52.553%" class="whs22">\r
322 <p class="whs5"><b style="font-weight: bold;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="image176.jpg" width="200px" height="207px" border="0" class="img_whs23"></b></td>\r
323 <td width="47.447%" class="whs24">\r
324 <p><img src="image179.jpg" width="200px" height="297px" border="0" class="img_whs25"></td></tr>\r
325 </table>\r
326 \r
327 <p class="whs5">&nbsp;</p>\r
328 \r
329 <p class="whs26">Example:</p>\r
330 \r
331 <p class="whs26">&nbsp;</p>\r
332 \r
333 <p class="whs27"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs28"> &nbsp;&nbsp;&nbsp;<img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs29"> &nbsp;</p>\r
334 \r
335 <p class="whs30"><b style="font-weight: bold;">&nbsp;&nbsp;&nbsp;</b>&nbsp;&nbsp;</p>\r
336 \r
337 <p class="whs1">&nbsp;</p>\r
338 \r
339 <script type="text/javascript" language="javascript1.2">\r
340 <!--\r
341 if (window.writeIntopicBar)\r
342         writeIntopicBar(0);\r
343 //-->\r
344 </script>\r
345 </body>\r
346 \r
347 </html>\r