2004-12-01 15:39:14 +05:00
<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
< html >
< head >
< title > Blocks< / title >
2004-12-17 16:18:33 +05:00
< meta http-equiv = "content-type" content = "text/html; charset=windows-1252" >
< meta name = "generator" content = "RoboHelp by eHelp Corporation www.ehelp.com" >
< link rel = "stylesheet" href = "default_ns.css" > < script type = "text/javascript" language = "JavaScript" title = "WebHelpSplitCss" >
2004-12-01 15:39:14 +05:00
<!--
if (navigator.appName !="Netscape")
{ document.write("< link rel = 'stylesheet' href = 'default.css' > ");}
//-->
< / script >
< style type = "text/css" >
<!--
2004-12-17 16:18:33 +05:00
p.whs1 { font-size:14pt; font-weight:bold; }
2005-06-02 13:17:09 +06:00
img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }
2004-12-17 16:18:33 +05:00
ul.whs3 { list-style:disc; }
2005-06-02 13:17:09 +06:00
img_whs4 { border:none; width:23px; height:22px; border-style:none; }
2004-12-17 16:18:33 +05:00
p.whs5 { font-size:12pt; }
p.whs6 { font-size:12pt; font-style:italic; font-weight:normal; }
2005-11-24 20:34:00 +05:00
table.whs7 { x-cell-content-align:top; width:66.515%; border-spacing:0px; }
2004-12-17 16:18:33 +05:00
col.whs8 { width:32.996%; }
col.whs9 { width:33.052%; }
col.whs10 { width:33.952%; }
tr.whs11 { x-cell-content-align:top; }
2005-06-02 13:17:09 +06:00
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; }
2005-11-24 20:34:00 +05:00
img_whs13 { border:none; width:312px; height:410px; float:none; border-style:none; }
2005-06-02 13:17:09 +06:00
td.whs14 { width:33.052%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }
td.whs15 { width:33.952%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
2005-11-24 20:34:00 +05:00
p.whs16 { font-weight:bold; }
img_whs17 { border:none; width:250px; height:195px; border-style:none; }
img_whs18 { border:none; width:24px; height:22px; border-style:none; }
table.whs19 { x-cell-content-align:top; width:40.406%; border-spacing:0px; }
col.whs20 { width:49.761%; }
col.whs21 { width:50.239%; }
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; }
img_whs23 { border:none; width:312px; height:324px; float:none; border-style:none; }
td.whs24 { width:50.239%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
img_whs25 { border:none; width:312px; height:464px; float:none; border-style:none; }
p.whs26 { font-size:12pt; font-weight:bold; }
p.whs27 { font-size:12pt; font-weight:bold; margin-left:0px; }
img_whs28 { border:none; width:300px; height:234px; float:none; border-style:none; }
img_whs29 { border:none; width:251px; height:234px; border-style:none; }
p.whs30 { font-size:12pt; margin-left:40px; }
2004-12-01 15:39:14 +05:00
-->
2004-12-17 16:18:33 +05:00
< / style > < script type = "text/javascript" language = "JavaScript" >
2004-12-01 15:39:14 +05:00
<!--
if ((navigator.appName == "Netscape") & & (parseInt(navigator.appVersion) == 4))
{
var strNSS = "< style type = 'text/css' > " ;
2005-11-24 20:34:00 +05:00
strNSS += "p.whs27 {margin-left:1pt; }";
2004-12-01 15:39:14 +05:00
strNSS +="< / style > ";
document.write(strNSS);
}
//-->
< / script >
< script type = "text/javascript" language = "JavaScript" title = "WebHelpInlineScript" >
<!--
function reDo() {
if (innerWidth != origWidth || innerHeight != origHeight)
location.reload();
}
if ((parseInt(navigator.appVersion) == 4) & & (navigator.appName == "Netscape")) {
origWidth = innerWidth;
origHeight = innerHeight;
onresize = reDo;
}
onerror = null;
//-->
< / script >
< style type = "text/css" >
<!--
2004-12-17 16:18:33 +05:00
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
2004-12-01 15:39:14 +05:00
-->
2004-12-17 16:18:33 +05:00
< / style > < script type = "text/javascript" language = "javascript1.2" src = "whmsg.js" > < / script >
2004-12-01 15:39:14 +05:00
< script type = "text/javascript" language = "javascript" src = "whver.js" > < / script >
< script type = "text/javascript" language = "javascript1.2" src = "whproxy.js" > < / script >
< script type = "text/javascript" language = "javascript1.2" src = "whutils.js" > < / script >
< script type = "text/javascript" language = "javascript1.2" src = "whtopic.js" > < / script >
< / head >
2004-12-17 16:18:33 +05:00
< body > < script type = "text/javascript" language = "javascript1.2" >
2004-12-01 15:39:14 +05:00
<!--
if (window.gbWhTopic)
{
if (window.addTocInfo)
{
addTocInfo("GEOM module\nCreating geometrical objects\nBuilding by blocks");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");
}
if (window.writeBtnStyle)
writeBtnStyle();
if (window.writeIntopicBar)
writeIntopicBar(1);
if (window.setRelStartPage)
{
2004-12-17 16:18:33 +05:00
setRelStartPage("geom.htm");
2004-12-01 15:39:14 +05:00
2004-12-17 16:18:33 +05:00
autoSync(1);
2004-12-01 15:39:14 +05:00
sendSyncInfo();
sendAveInfoOut();
}
}
else
2004-12-17 16:18:33 +05:00
if (window.gbIE4)
document.location.reload();
2004-12-01 15:39:14 +05:00
//-->
< / script >
< h1 > Building by blocks< / h1 >
< p class = "whs1" > < span style = "font-size: 14pt; font-weight: bold;" > < font size = 4 style = "font-size:14pt;" > < B > Introduction.< / B > < / font > < / span > < / p >
< p > < / p >
< p > Below are some general notions about blocks:< / p >
< p > < / p >
< 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
has specific geometric constraints oriented for meshing. In the hexahedral
case, blocks have 6 faces and each face has 4 edges. < / p >
< p > < / p >
< p > Tetrahedral Block - is a block with constraints for tetrahedral meshing.
< / p >
< p > < / p >
< p > Hexahedral Block - is a block with constraints for hexahedral meshing.< / p >
< p > < / p >
< p > Block Compound - is a compound composed of blocks only.< / p >
< p > < / p >
2005-06-02 13:17:09 +06:00
< p > These functionalities are available from the main menu via < span style = "font-style: italic;" > < I > New
Entity / Blocks.< / I > < / span > < / p >
2004-12-01 15:39:14 +05:00
< p > < / p >
< ul type = "disc" class = "whs3" >
< li class = kadov-p > < p > < a href = "#QuadrangleFace" > Quadrangle face< / a > < / p > < / li >
< li class = kadov-p > < p > < a href = "#HexahedralSolid" > Hexahedral solid< / a > < / p > < / li >
< / ul >
< p > < / p >
< p > < / p >
< 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
face< / B > < / font > < / span > < / a > < / p >
< p > < / p >
< p class = "whs5" > < span style = "font-size: 12pt;" > < font size = 3 style = "font-size:12pt;" > < b style = "font-weight: bold;" > Description:< / b >
Builds a face using the below mentioned arguments. This operation allows
to build a face bypassing the intermediate stage of building edges and
wires (in the case of building by 4 points) or wires (in the case of building
by 4 or 2 edges).< / font > < / span > < / p >
< p class = "whs5" > < / p >
2006-02-07 20:58:35 +05:00
< p class = "whs5" > < b style = "font-weight: bold;" > < span style = "font-size: 12pt; font-weight: normal;" > < font size = 3 style = "font-size:12pt;" > T< / b > < b > he< / font > < / span > < span
style="font-size: 12pt;">< font size = 3 style = "font-size:12pt;" > Result < / font > < / span > < span style = "font-size: 12pt; font-weight: normal;" > < font size = 3 style = "font-size:12pt;" > of
the operation will be a< / font > < / span > < / b > < span style = "font-size: 12pt;" > < font size = 3 style = "font-size:12pt;" > < b > GEOM_Object< / b > < / font > < / span > < span
style="font-size: 12pt;">< font size = 3 style = "font-size:12pt;" > (face).< / font > < / span > < / p >
2004-12-01 15:39:14 +05:00
< p class = "whs5" > < / p >
< p class = "whs5" > < b style = "font-weight: bold;" > TUI Command:< / b > < / p >
< ul type = "disc" class = "whs3" >
2006-02-07 20:58:35 +05:00
< li class = kadov-p > < p class = "whs6" > < b style = "font-weight: normal;" > geompy.MakeQuad4Vertices(V1,
2004-12-01 15:39:14 +05:00
V2, V3, V4), < span style = "font-style: normal;" > where V1, V2, V3, V4 are
four vertices from which a face is constructed. Edges are created automatically.< / span > < / b > < / p > < / li >
2006-02-07 20:58:35 +05:00
< li class = kadov-p > < p class = "whs5" > < span style = "font-style: italic;" > < I > geompy.MakeQuad2Edges(E1,
2004-12-01 15:39:14 +05:00
E2)< / I > < / span > , where E1, E2 are edges from which the face is constructed,
two other edges are created automatically.< / p > < / li >
< li class = kadov-p > < p class = "whs5" > < b style = "font-weight: normal;" > < span
2006-02-07 20:58:35 +05:00
style="font-style: italic;">< I > g< / b > eompy.MakeQuad(E1, E2, E3, E4)< / I > < / span > ,
2004-12-01 15:39:14 +05:00
where E1, E2, E3, E4 are four edges from which the face is constructed.< / p > < / li >
< / ul >
< p class = "whs5" > < / p >
< p class = "whs5" > < b style = "font-weight: bold;" > Arguments:< / b >
< / p >
< ul type = "disc" class = "whs3" >
2004-12-17 16:18:33 +05:00
< li class = kadov-p > < p class = "whs5" > Name + 4 Points, or< / p > < / li >
2004-12-01 15:39:14 +05:00
2004-12-17 16:18:33 +05:00
< li class = kadov-p > < p class = "whs5" > Name + 2 Edges, or < / p > < / li >
2004-12-01 15:39:14 +05:00
2004-12-17 16:18:33 +05:00
< li class = kadov-p > < p class = "whs5" > Name + 4 Edges.< / p > < / li >
2004-12-01 15:39:14 +05:00
< / ul >
< p class = "whs5" > < / p >
< p class = "whs5" > < b style = "font-weight: bold;" > Dialog Box:< / b > < / p >
2005-06-02 13:17:09 +06:00
< table x-use-null-cells cellspacing = "0" width = "66.515%" class = "whs7" >
2004-12-01 15:39:14 +05:00
< col class = "whs8" >
< col class = "whs9" >
2004-12-17 16:18:33 +05:00
< col class = "whs10" >
< tr valign = "top" class = "whs11" >
< td width = "32.996%" class = "whs12" >
2005-11-24 20:34:00 +05:00
< p > < img src = "pics/block1.png" x-maintain-ratio = "TRUE" width = "312px" height = "410px" border = "0" class = "img_whs13" > < / td >
2004-12-17 16:18:33 +05:00
< td width = "33.052%" class = "whs14" >
2005-11-24 20:34:00 +05:00
< p > < img src = "pics/block2.png" x-maintain-ratio = "TRUE" width = "312px" height = "410px" border = "0" class = "img_whs13" > < / td >
2004-12-17 16:18:33 +05:00
< td width = "33.952%" class = "whs15" >
2005-11-24 20:34:00 +05:00
< p > < img src = "pics/block3.png" x-maintain-ratio = "TRUE" width = "312px" height = "410px" border = "0" class = "img_whs13" > < / td > < / tr >
2004-12-01 15:39:14 +05:00
< / table >
< p class = "whs5" > < / p >
< p > < / p >
2005-11-24 20:34:00 +05:00
< p class = "whs16" > Example:< / p >
2004-12-01 15:39:14 +05:00
2005-11-24 20:34:00 +05:00
< p class = "whs16" > < / p >
2004-12-01 15:39:14 +05:00
2005-11-24 20:34:00 +05:00
< p > < img src = "image185.jpg" width = "250px" height = "195px" border = "0" class = "img_whs17" > < / p >
2004-12-01 15:39:14 +05:00
< p > < / p >
< p > < / p >
2005-11-24 20:34:00 +05:00
< 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
2004-12-01 15:39:14 +05:00
solid< / B > < / font > < / span > < / a > < / p >
< p > < / p >
< p class = "whs5" > < b style = "font-weight: bold;" > Description:< / b >
2005-11-24 20:34:00 +05:00
Builds a hexahedral solid. either of the below mentioned arguments. This
2004-12-01 15:39:14 +05:00
operation allows to build a solid bypassing the intermediate stage of
building a shell and 4 faces (in the case of building by 2 faces) or just
a shell (in the case of building by 6 faces).< / p >
< p class = "whs5" > < / p >
2006-02-07 20:58:35 +05:00
< p class = "whs5" > < b > < span style = "font-weight: normal;" > The< / span >
Result< span style = "font-weight: normal;" > of the operation will be a< / span > < / b > < b >
GEOM_Object< / b > (solid).< / p >
2004-12-01 15:39:14 +05:00
2006-02-07 20:58:35 +05:00
< p > < / p >
2004-12-01 15:39:14 +05:00
< p class = "whs5" > < b style = "font-weight: bold;" > TUI Command:< / b > < / p >
< ul type = "disc" class = "whs3" >
2006-02-07 20:58:35 +05:00
< li class = kadov-p > < p class = "whs5" > < span style = "font-style: italic;" > < I > geompy.MakeHexa2Faces(F1,
F2)< / I > < / span > < span style = "font-style: italic;" > < I > , where F1 and F2 are faces
from which the hexahedron is constructed, other four faces are created
automatically.< / I > < / span > < / p > < / li >
< li class = kadov-p > < p class = "whs5" > < span style = "font-style: italic;" > < I > geompy.MakeHexa(F1,
2004-12-01 15:39:14 +05:00
F2, F3, F4, F5, F6)< / I > < / span > , where F1 <20> F6 are six faces from which the
hexahedron is constructed.< / p > < / li >
< / ul >
< p class = "whs5" > < / p >
< p class = "whs5" > < b style = "font-weight: bold;" > Arguments:< / b >
< / p >
< ul type = "disc" class = "whs3" >
2004-12-17 16:18:33 +05:00
< li class = kadov-p > < p class = "whs5" > Name + 2 Faces, or < / p > < / li >
2004-12-01 15:39:14 +05:00
2004-12-17 16:18:33 +05:00
< li class = kadov-p > < p class = "whs5" > Name + 6 Faces.< / p > < / li >
2004-12-01 15:39:14 +05:00
< / ul >
< p class = "whs5" > < / p >
< p class = "whs5" > < b style = "font-weight: bold;" > Dialog Box:< / b > < / p >
< p class = "whs5" > < / p >
2005-11-24 20:34:00 +05:00
< table x-use-null-cells cellspacing = "0" width = "40.406%" class = "whs19" >
< col class = "whs20" >
2004-12-01 15:39:14 +05:00
< col class = "whs21" >
2004-12-17 16:18:33 +05:00
< tr valign = "top" class = "whs11" >
2005-11-24 20:34:00 +05:00
< td width = "49.761%" class = "whs22" >
< 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 >
< td width = "50.239%" class = "whs24" >
< p > < img src = "pics/block5.png" x-maintain-ratio = "TRUE" width = "312px" height = "464px" border = "0" class = "img_whs25" > < / td > < / tr >
2004-12-01 15:39:14 +05:00
< / table >
< p class = "whs5" > < / p >
2005-11-24 20:34:00 +05:00
< p class = "whs26" > Example:< / p >
< p class = "whs26" > < / p >
2004-12-01 15:39:14 +05:00
2005-11-24 20:34:00 +05:00
< 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 >
2004-12-01 15:39:14 +05:00
2005-11-24 20:34:00 +05:00
< p class = "whs30" > < b style = "font-weight: bold;" > < / b > < / p >
2004-12-01 15:39:14 +05:00
2005-11-24 20:34:00 +05:00
< p class = "whs5" > Our < span style = "font-weight: bold;" > < B > TUI Scripts< / B > < / span >
provide you with useful examples of < a href = "building_by_blocks.htm" > Building
by Blocks< / a > . < / p >
2004-12-01 15:39:14 +05:00
2005-11-24 20:34:00 +05:00
< p > < / p >
2004-12-01 15:39:14 +05:00
< script type = "text/javascript" language = "javascript1.2" >
<!--
if (window.writeIntopicBar)
writeIntopicBar(0);
//-->
< / script >
< / body >
< / html >