Salome HOME
PAL12557: Documentation for scripts is not up to date.
[modules/geom.git] / doc / salome / gui / GEOM / newentity_blocks.htm
index d4c7991ab4f59b93250baa749ccd570ceedee944..bd0b02887d70b05c5f587896ddd0490be13f58c7 100755 (executable)
@@ -30,27 +30,30 @@ img_whs13 { border:none; width:312px; height:410px; float:none; border-style:non
 td.whs14 { width:33.052%; padding-right:10px; padding-left:10px; border-right-style:none; border-top-style:none; border-bottom-style:none; }\r
 td.whs15 { width:33.952%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
 p.whs16 { font-weight:bold; }\r
-img_whs17 { border:none; width:250px; height:195px; border-style:none; }\r
-img_whs18 { border:none; width:24px; height:22px; border-style:none; }\r
-table.whs19 { x-cell-content-align:top; width:40.406%; border-spacing:0px; }\r
-col.whs20 { width:49.761%; }\r
-col.whs21 { width:50.239%; }\r
-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
-img_whs23 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
-td.whs24 { width:50.239%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
-img_whs25 { border:none; width:312px; height:464px; float:none; border-style:none; }\r
-p.whs26 { font-size:12pt; font-weight:bold; }\r
-p.whs27 { font-size:12pt; font-weight:bold; margin-left:0px; }\r
-img_whs28 { border:none; width:300px; height:234px; float:none; border-style:none; }\r
-img_whs29 { border:none; width:251px; height:234px; border-style:none; }\r
-p.whs30 { font-size:12pt; margin-left:40px; }\r
+p.whs17 { margin-left:40px; }\r
+img_whs18 { border:none; width:250px; height:195px; border-style:none; }\r
+img_whs19 { border:none; width:24px; height:22px; border-style:none; }\r
+table.whs20 { x-cell-content-align:top; width:40.406%; border-spacing:0px; }\r
+col.whs21 { width:49.761%; }\r
+col.whs22 { width:50.239%; }\r
+td.whs23 { 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
+img_whs24 { border:none; width:312px; height:324px; float:none; border-style:none; }\r
+td.whs25 { width:50.239%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
+img_whs26 { border:none; width:312px; height:464px; float:none; border-style:none; }\r
+td.whs27 { width:49.761%; padding-right:10px; padding-left:10px; border-left-style:none; border-right-style:none; border-bottom-style:none; }\r
+td.whs28 { width:50.239%; padding-right:10px; padding-left:10px; border-right-style:none; border-bottom-style:none; }\r
+p.whs29 { font-size:12pt; font-weight:bold; }\r
+p.whs30 { font-size:12pt; font-weight:bold; margin-left:0px; }\r
+img_whs31 { border:none; width:300px; height:234px; float:none; border-style:none; }\r
+img_whs32 { border:none; width:251px; height:234px; border-style:none; }\r
+p.whs33 { font-size:12pt; margin-left:40px; }\r
 -->\r
 </style><script type="text/javascript" language="JavaScript">\r
 <!--\r
 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
 {\r
   var strNSS = "<style type='text/css'>";\r
-  strNSS += "p.whs27 {margin-left:1pt; }";\r
+  strNSS += "p.whs30 {margin-left:1pt; }";\r
   strNSS +="</style>";\r
   document.write(strNSS);\r
 }\r
@@ -73,43 +76,48 @@ onerror = null;
 <style type="text/css">\r
 <!--\r
 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
+p.WebHelpNavBar { text-align:right; }\r
 -->\r
 </style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\r
 <script type="text/javascript" language="javascript" src="whver.js"></script>\r
 <script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>\r
 <script type="text/javascript" language="javascript1.2" src="whutils.js"></script>\r
 <script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>\r
-</head>\r
-<body><script type="text/javascript" language="javascript1.2">\r
+<script type="text/javascript" language="javascript1.2">\r
 <!--\r
 if (window.gbWhTopic)\r
 {\r
-       if (window.addTocInfo)\r
+       if (window.setRelStartPage)\r
        {\r
-       addTocInfo("GEOM module\nCreating geometrical objects\nBuilding by blocks");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
+       addTocInfo("Geometry module\nCreating geometrical objects\nBuilding by blocks");\r
+addButton("show",BTN_IMG,"Show","","","","",0,0,"whd_show0.gif","whd_show2.gif","whd_show1.gif");\r
+addButton("hide",BTN_IMG,"Hide","","","","",0,0,"whd_hide0.gif","whd_hide2.gif","whd_hide1.gif");\r
 \r
        }\r
-       if (window.writeBtnStyle)\r
-               writeBtnStyle();\r
 \r
-       if (window.writeIntopicBar)\r
-               writeIntopicBar(1);\r
 \r
        if (window.setRelStartPage)\r
        {\r
-       setRelStartPage("geom.htm");\r
+       setRelStartPage("index.htm");\r
 \r
                autoSync(1);\r
                sendSyncInfo();\r
                sendAveInfoOut();\r
        }\r
+\r
 }\r
 else\r
        if (window.gbIE4)\r
                document.location.reload();\r
 //-->\r
 </script>\r
+</head>\r
+<body><script type="text/javascript" language="javascript1.2">\r
+<!--\r
+if (window.writeIntopicBar)\r
+       writeIntopicBar(4);\r
+//-->\r
+</script>\r
 <h1>Building by blocks</h1>\r
 \r
 <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
@@ -168,8 +176,10 @@ else
 \r
 <p class="whs5">&nbsp;</p>\r
 \r
-<p class="whs5"><b style="font-weight: bold;">Result :</b> \r
- GEOM_Object (face).</p>\r
+<p class="whs5"><b><span style="font-size: 12pt; font-weight: normal;"><font size=3 style="font-size:12pt;">T</b><b>he</font></span><span \r
+ 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 \r
+ 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 \r
+ style="font-size: 12pt;"><font size=3 style="font-size:12pt;"> (face).</font></span></p>\r
 \r
 <p class="whs5">&nbsp;</p>\r
 \r
@@ -177,16 +187,16 @@ else
 \r
 <ul type="disc" class="whs3">\r
        \r
-       <li class=kadov-p><p class="whs6"><b style="font-weight: normal;">geompy.MakeQuadFaceVertices(V1, \r
+       <li class=kadov-p><p class="whs6"><b style="font-weight: normal;">geompy.MakeQuad4Vertices(V1, \r
  V2, V3, V4), <span style="font-style: normal;">where V1, V2, V3, V4 are \r
  four vertices from which a face is constructed. Edges are created automatically.</span></b></p></li>\r
        \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeQuadFaceEdges(E1, \r
+       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeQuad2Edges(E1, \r
  E2)</I></span>, where E1, E2 are edges from which the face is constructed, \r
  two other edges are created automatically.</p></li>\r
        \r
        <li class=kadov-p><p class="whs5"><b style="font-weight: normal;"><span \r
- style="font-style: italic;"><I>g</b>eompy.MakeQuadFace(E1, E2, E3, E4)</I></span>, \r
+ style="font-style: italic;"><I>g</b>eompy.MakeQuad(E1, E2, E3, E4)</I></span>, \r
  where E1, E2, E3, E4 are four edges from which the face is constructed.</p></li>\r
 </ul>\r
 \r
@@ -230,13 +240,13 @@ else
 \r
 <p class="whs16">&nbsp;</p>\r
 \r
-<p><img src="image185.jpg" width="250px" height="195px" border="0" class="img_whs17"> </p>\r
+<p class="whs17"><img src="image185.jpg" width="250px" height="195px" border="0" class="img_whs18"> </p>\r
 \r
 <p>&nbsp;</p>\r
 \r
 <p>&nbsp;</p>\r
 \r
-<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
+<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
  solid</B></font></span></a></p>\r
 \r
 <p>&nbsp;</p>\r
@@ -249,22 +259,24 @@ else
 \r
 <p class="whs5">&nbsp;</p>\r
 \r
-<p class="whs5"><b style="font-weight: bold;">Result :</b> \r
- GEOM_Object.</p>\r
+<p class="whs5"><b style="font-weight: bold;"><span style="font-weight: normal;">The</span> \r
+ Result<span style="font-weight: normal;"> of the operation will be a</span></b><b> \r
+ GEOM_Object</b> (solid).</p>\r
 \r
-<p class="whs5">&nbsp;</p>\r
+<p>&nbsp;</p>\r
 \r
 <p class="whs5"><b style="font-weight: bold;">TUI Command:</b></p>\r
 \r
 <ul type="disc" class="whs3">\r
        \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolid(F1, \r
+       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexa2Faces(F1, \r
+ F2)</I></span><span style="font-style: italic;"><I>, where F1 and F2 are faces \r
+ from which the hexahedron is constructed, other four faces are created \r
+ automatically.</I></span></p></li>\r
+       \r
+       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexa(F1, \r
  F2, F3, F4, F5, F6)</I></span>, where F1 \96 F6 are six faces from which the \r
  hexahedron is constructed.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs5"><span style="font-style: italic;"><I>geompy.MakeHexaSolidTwoFaces(F1, \r
- F2)</I></span>, where F1 and F2 are faces from which the hexahedron is constructed, \r
- other four faces are created automatically.</p></li>\r
 </ul>\r
 \r
 <p class="whs5">&nbsp;</p>\r
@@ -285,26 +297,32 @@ else
 \r
 <p class="whs5">&nbsp;</p>\r
 \r
-<table x-use-null-cells cellspacing="0" width="40.406%" class="whs19">\r
-<col class="whs20">\r
+<table x-use-null-cells cellspacing="0" width="40.406%" class="whs20">\r
 <col class="whs21">\r
+<col class="whs22">\r
+\r
+<tr valign="top" class="whs11">\r
+<td width="49.761%" class="whs23">\r
+<p class="whs5"><b style="font-weight: bold;">&nbsp;<img src="pics/block4.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs24"></b></td>\r
+<td width="50.239%" class="whs25">\r
+<p><img src="pics/block5.png" x-maintain-ratio="TRUE" width="312px" height="464px" border="0" class="img_whs26"></td></tr>\r
 \r
 <tr valign="top" class="whs11">\r
-<td width="49.761%" class="whs22">\r
-<p class="whs5"><b style="font-weight: bold;">&nbsp;<img src="pics/block4.png" x-maintain-ratio="TRUE" width="312px" height="324px" border="0" class="img_whs23"></b></td>\r
-<td width="50.239%" class="whs24">\r
-<p><img src="pics/block5.png" x-maintain-ratio="TRUE" width="312px" height="464px" border="0" class="img_whs25"></td></tr>\r
+<td colspan="1" rowspan="1" width="49.761%" class="whs27">\r
+<p class="whs5">&nbsp;</td>\r
+<td colspan="1" rowspan="1" width="50.239%" class="whs28">\r
+<p>&nbsp;</td></tr>\r
 </table>\r
 \r
 <p class="whs5">&nbsp;</p>\r
 \r
-<p class="whs26">Example:</p>\r
+<p class="whs29">Example:</p>\r
 \r
-<p class="whs26">&nbsp;</p>\r
+<p class="whs29">&nbsp;</p>\r
 \r
-<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
+<p class="whs30"><img src="image180.jpg" x-maintain-ratio="TRUE" width="300px" height="234px" border="0" class="img_whs31"> &nbsp;&nbsp;&nbsp;<img src="image181.jpg" width="251px" height="234px" border="0" class="img_whs32"> &nbsp;</p>\r
 \r
-<p class="whs30"><b style="font-weight: bold;">&nbsp;&nbsp;&nbsp;</b>&nbsp;&nbsp;</p>\r
+<p class="whs33"><b style="font-weight: bold;">&nbsp;&nbsp;&nbsp;</b>&nbsp;&nbsp;</p>\r
 \r
 <p class="whs5">Our <span style="font-weight: bold;"><B>TUI Scripts</B></span> \r
  provide you with useful examples of <a href="building_by_blocks.htm">Building \r