1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
\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
11 if (navigator.appName !="Netscape")
\r
12 { document.write("<link rel='stylesheet' href='default.css'>");}
\r
15 <style type="text/css">
\r
17 p.whs1 { font-size:14pt; font-weight:bold; }
\r
18 img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
\r
19 ul.whs3 { list-style:disc; }
\r
20 img_whs4 { border:none; width:23px; height:22px; border-style:none; }
\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; width:66.515%; border-spacing:0px; }
\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 { width:32.996%; 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:312px; height:410px; float:none; border-style:none; }
\r
30 td.whs14 { width:33.052%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
\r
31 td.whs15 { width:33.952%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
\r
32 p.whs16 { font-weight:bold; }
\r
33 img_whs17 { border:none; width:250px; height:195px; border-style:none; }
\r
34 img_whs18 { border:none; width:24px; height:22px; border-style:none; }
\r
35 table.whs19 { x-cell-content-align:top; width:40.406%; border-spacing:0px; }
\r
36 col.whs20 { width:49.761%; }
\r
37 col.whs21 { width:50.239%; }
\r
38 td.whs22 { width:49.761%; padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }
\r
39 img_whs23 { border:none; width:312px; height:324px; float:none; border-style:none; }
\r
40 td.whs24 { width:50.239%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
\r
41 img_whs25 { border:none; width:312px; height:464px; float:none; border-style:none; }
\r
42 p.whs26 { font-size:12pt; font-weight:bold; }
\r
43 p.whs27 { font-size:12pt; font-weight:bold; margin-left:0px; }
\r
44 img_whs28 { border:none; width:300px; height:234px; float:none; border-style:none; }
\r
45 img_whs29 { border:none; width:251px; height:234px; border-style:none; }
\r
46 p.whs30 { font-size:12pt; margin-left:40px; }
\r
48 </style><script type="text/javascript" language="JavaScript">
\r
50 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
\r
52 var strNSS = "<style type='text/css'>";
\r
53 strNSS += "p.whs27 {margin-left:1pt; }";
\r
54 strNSS +="</style>";
\r
55 document.write(strNSS);
\r
59 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
\r
62 if (innerWidth != origWidth || innerHeight != origHeight)
\r
65 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
\r
66 origWidth = innerWidth;
\r
67 origHeight = innerHeight;
\r
73 <style type="text/css">
\r
75 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
\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
83 <body><script type="text/javascript" language="javascript1.2">
\r
85 if (window.gbWhTopic)
\r
87 if (window.addTocInfo)
\r
89 addTocInfo("GEOM module\nCreating geometrical objects\nBuilding by blocks");
\r
90 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
\r
93 if (window.writeBtnStyle)
\r
96 if (window.writeIntopicBar)
\r
99 if (window.setRelStartPage)
\r
101 setRelStartPage("geom.htm");
\r
110 document.location.reload();
\r
113 <h1>Building by blocks</h1>
\r
115 <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
119 <p>Below are some general notions about blocks:</p>
\r
123 <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
124 has specific geometric constraints oriented for meshing. In the hexahedral
\r
125 case, blocks have 6 faces and each face has 4 edges. </p>
\r
129 <p>Tetrahedral Block - is a block with constraints for tetrahedral meshing.
\r
134 <p>Hexahedral Block - is a block with constraints for hexahedral meshing.</p>
\r
138 <p>Block Compound - is a compound composed of blocks only.</p>
\r
142 <p>These functionalities are available from the main menu via <span style="font-style: italic;"><I>New
\r
143 Entity / Blocks.</I></span></p>
\r
147 <ul type="disc" class="whs3">
\r
149 <li class=kadov-p><p><a href="#QuadrangleFace">Quadrangle face</a></p></li>
\r
151 <li class=kadov-p><p><a href="#HexahedralSolid">Hexahedral solid</a></p></li>
\r
158 <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
159 face</B></font></span></a></p>
\r
163 <p class="whs5"><span style="font-size: 12pt;"><font size=3 style="font-size:12pt;"><b style="font-weight: bold;">Description:</b>
\r
164 Builds a face using the below mentioned arguments. This operation allows
\r
165 to build a face bypassing the intermediate stage of building edges and
\r
166 wires (in the case of building by 4 points) or wires (in the case of building
\r
167 by 4 or 2 edges).</font></span></p>
\r
169 <p class="whs5"> </p>
\r
171 <p class="whs5"><b style="font-weight: bold;">Result :</b>
\r
172 GEOM_Object (face).</p>
\r
174 <p class="whs5"> </p>
\r
176 <p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>
\r
178 <ul type="disc" class="whs3">
\r
180 <li class=kadov-p><p class="whs6"><b style="font-weight: normal;">geompy.MakeQuadFaceVertices(V1,
\r
181 V2, V3, V4), <span style="font-style: normal;">where V1, V2, V3, V4 are
\r
182 four vertices from which a face is constructed. Edges are created automatically.</span></b></p></li>
\r
184 <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeQuadFaceEdges(E1,
\r
185 E2)</I></span>, where E1, E2 are edges from which the face is constructed,
\r
186 two other edges are created automatically.</p></li>
\r
188 <li class=kadov-p><p class="whs5"><b style="font-weight: normal;"><span
\r
189 style="font-style: italic;"><I>g</b>eompy.MakeQuadFace(E1, E2, E3, E4)</I></span>,
\r
190 where E1, E2, E3, E4 are four edges from which the face is constructed.</p></li>
\r
193 <p class="whs5"> </p>
\r
195 <p class="whs5"><b style="font-weight: bold;">Arguments:</b>
\r
198 <ul type="disc" class="whs3">
\r
200 <li class=kadov-p><p class="whs5">Name + 4 Points, or</p></li>
\r
202 <li class=kadov-p><p class="whs5">Name + 2 Edges, or </p></li>
\r
204 <li class=kadov-p><p class="whs5">Name + 4 Edges.</p></li>
\r
207 <p class="whs5"> </p>
\r
209 <p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
211 <table x-use-null-cells cellspacing="0" width="66.515%" class="whs7">
\r
214 <col class="whs10">
\r
216 <tr valign="top" class="whs11">
\r
217 <td width="32.996%" class="whs12">
\r
218 <p><img src="pics/block1.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>
\r
219 <td width="33.052%" class="whs14">
\r
220 <p><img src="pics/block2.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>
\r
221 <td width="33.952%" class="whs15">
\r
222 <p><img src="pics/block3.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td></tr>
\r
225 <p class="whs5"> </p>
\r
229 <p class="whs16">Example:</p>
\r
231 <p class="whs16"> </p>
\r
233 <p><img src="image185.jpg" width="250px" height="195px" border="0" class="img_whs17"> </p>
\r
239 <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
240 solid</B></font></span></a></p>
\r
244 <p class="whs5"><b style="font-weight: bold;">Description:</b>
\r
245 Builds a hexahedral solid. either of the below mentioned arguments. This
\r
246 operation allows to build a solid bypassing the intermediate stage of
\r
247 building a shell and 4 faces (in the case of building by 2 faces) or just
\r
248 a shell (in the case of building by 6 faces).</p>
\r
250 <p class="whs5"> </p>
\r
252 <p class="whs5"><b style="font-weight: bold;">Result :</b>
\r
255 <p class="whs5"> </p>
\r
257 <p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>
\r
259 <ul type="disc" class="whs3">
\r
261 <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolid(F1,
\r
262 F2, F3, F4, F5, F6)</I></span>, where F1
\96 F6 are six faces from which the
\r
263 hexahedron is constructed.</p></li>
\r
265 <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolidTwoFaces(F1,
\r
266 F2)</I></span>, where F1 and F2 are faces from which the hexahedron is constructed,
\r
267 other four faces are created automatically.</p></li>
\r
270 <p class="whs5"> </p>
\r
272 <p class="whs5"><b style="font-weight: bold;">Arguments:</b>
\r
275 <ul type="disc" class="whs3">
\r
277 <li class=kadov-p><p class="whs5">Name + 2 Faces, or </p></li>
\r
279 <li class=kadov-p><p class="whs5">Name + 6 Faces.</p></li>
\r
282 <p class="whs5"> </p>
\r
284 <p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>
\r
286 <p class="whs5"> </p>
\r
288 <table x-use-null-cells cellspacing="0" width="40.406%" class="whs19">
\r
289 <col class="whs20">
\r
290 <col class="whs21">
\r
292 <tr valign="top" class="whs11">
\r
293 <td width="49.761%" class="whs22">
\r
294 <p class="whs5"><b style="font-weight: bold;"> <img src="pics/block4.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs23"></b></td>
\r
295 <td width="50.239%" class="whs24">
\r
296 <p><img src="pics/block5.png" x-maintain-ratio="TRUE" width="312px" height="464px" border="0" class="img_whs25"></td></tr>
\r
299 <p class="whs5"> </p>
\r
301 <p class="whs26">Example:</p>
\r
303 <p class="whs26"> </p>
\r
305 <p class="whs27"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs28"> <img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs29"> </p>
\r
307 <p class="whs30"><b style="font-weight: bold;"> </b> </p>
\r
309 <p class="whs5">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span>
\r
310 provide you with useful examples of <a href="building_by_blocks.htm">Building
\r
311 by Blocks</a>. </p>
\r
315 <script type="text/javascript" language="javascript1.2">
\r
317 if (window.writeIntopicBar)
\r
318 writeIntopicBar(0);
\r