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