Salome HOME
PAL12557: Documentation for scripts is not up to date.
[modules/geom.git] / doc / salome / gui / GEOM / newentity_blocks.htm
index 8fb6b151154c11415ce63c2f83616c57cd433156..bd0b02887d70b05c5f587896ddd0490be13f58c7 100755 (executable)
@@ -2,31 +2,11 @@
 \r
 <html>\r
 \r
-<!--(==============================================================)-->\r
-<!--(Document created with RoboEditor. )============================-->\r
-<!--(==============================================================)-->\r
-\r
 <head>\r
-\r
 <title>Blocks</title>\r
-\r
-<!--(Meta)==========================================================-->\r
-\r
-<meta http-equiv=content-type content="text/html; charset=windows-1252">\r
-<meta name=generator content="RoboHELP by eHelp Corporation - www.ehelp.com">\r
-<meta name=generator-major-version content=0.1>\r
-<meta name=generator-minor-version content=1>\r
-<meta name=filetype content=kadov>\r
-<meta name=filetype-version content=1>\r
-<meta name=page-count content=1>\r
-<meta name=layout-height content=2843>\r
-<meta name=layout-width content=688>\r
-\r
-\r
-<!--(Links)=========================================================-->\r
-\r
- <link rel='stylesheet' href='default_ns.css'>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
+<meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
+<meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
+<link rel="stylesheet" href="default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
 <!--\r
 if (navigator.appName !="Netscape")\r
 {   document.write("<link rel='stylesheet' href='default.css'>");}\r
@@ -34,44 +14,46 @@ if (navigator.appName !="Netscape")
 </script>\r
 <style type="text/css">\r
 <!--\r
-p.whs1 {font-size: 14pt; font-weight: bold;}\r
-img_whs2 {border-style: none; border: none; float: none; width: 30px; height: 30px;}\r
-ul.whs3 {list-style: disc;}\r
-img_whs4 {border-style: none; border: none; width: 23px; height: 22px;}\r
-p.whs5 {font-size: 12pt;}\r
-p.whs6 {font-size: 12pt; font-style: italic; font-weight: normal;}\r
-table.whs7 {x-cell-content-align: top; width: 89.919%; border-spacing: 0px; border-spacing: 0px;}\r
-col.whs8 {width: 29.973%;}\r
-col.whs9 {width: 33.333%;}\r
-tr.whs10 {x-cell-content-align: top;}\r
-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
-img_whs12 {border-style: none; border: none; width: 200px; height: 250px;}\r
-td.whs13 {width: 29.973%; padding-right: 10px; padding-left: 10px; border-right-style: none; border-top-style: none; border-bottom-style: none;}\r
-td.whs14 {width: 33.333%; padding-right: 10px; padding-left: 10px; border-top-style: none; border-bottom-style: none; border-right-style: none;}\r
-img_whs15 {border-style: none; border: none; width: 200px; height: 264px;}\r
-p.whs16 {font-weight: bold;}\r
-img_whs17 {border-style: none; border: none; width: 250px; height: 195px;}\r
-img_whs18 {border-style: none; border: none; width: 24px; height: 22px;}\r
-table.whs19 {x-cell-content-align: top; width: 63.172%; border-spacing: 0px; border-spacing: 0px;}\r
-col.whs20 {width: 52.553%;}\r
-col.whs21 {width: 47.447%;}\r
-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
-img_whs23 {border-style: none; border: none; width: 200px; height: 207px;}\r
-td.whs24 {width: 47.447%; padding-right: 10px; padding-left: 10px; border-top-style: none; border-bottom-style: none; border-right-style: none;}\r
-img_whs25 {border-style: none; border: none; width: 200px; height: 297px;}\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-style: none; border: none; width: 300px; height: 234px; float: none;}\r
-img_whs29 {border-style: none; border: none; width: 251px; height: 234px;}\r
-p.whs30 {font-size: 12pt; margin-left: 40px;}\r
+p.whs1 { font-size:14pt; font-weight:bold; }\r
+img_whs2 { border:none; float:none; width:30px; height:30px; border-style:none; }\r
+ul.whs3 { list-style:disc; }\r
+img_whs4 { border:none; width:23px; height:22px; border-style:none; }\r
+p.whs5 { font-size:12pt; }\r
+p.whs6 { font-size:12pt; font-style:italic; font-weight:normal; }\r
+table.whs7 { x-cell-content-align:top; width:66.515%; border-spacing:0px; }\r
+col.whs8 { width:32.996%; }\r
+col.whs9 { width:33.052%; }\r
+col.whs10 { width:33.952%; }\r
+tr.whs11 { x-cell-content-align:top; }\r
+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
+img_whs13 { border:none; width:312px; height:410px; float:none; border-style:none; }\r
+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
+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>\r
-<script type="text/javascript" language="JavaScript">\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:1; }";\r
+  strNSS += "p.whs30 {margin-left:1pt; }";\r
   strNSS +="</style>";\r
   document.write(strNSS);\r
 }\r
@@ -93,48 +75,47 @@ onerror = null;
 </script>\r
 <style type="text/css">\r
 <!--\r
-  div.WebHelpPopupMenu {position:absolute; left:0px; top:0px; z-index:4; visibility:hidden;}\r
+div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
+p.WebHelpNavBar { text-align:right; }\r
 -->\r
-</style>\r
-<script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>\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
-\r
-<!--(Body)==========================================================-->\r
-\r
-\r
-<body>\r
-\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.html");\r
+       setRelStartPage("index.htm");\r
 \r
-               autoSync(0);\r
+               autoSync(1);\r
                sendSyncInfo();\r
                sendAveInfoOut();\r
        }\r
+\r
 }\r
 else\r
-       document.location.reload();\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
@@ -166,7 +147,8 @@ else
 \r
 <p>&nbsp;</p>\r
 \r
-<p>To build a compound the user may take the following steps:</p>\r
+<p>These functionalities are available from the main menu via <span style="font-style: italic;"><I>New \r
+ Entity / Blocks.</I></span></p>\r
 \r
 <p>&nbsp;</p>\r
 \r
@@ -194,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.</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
@@ -203,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
@@ -223,30 +207,29 @@ else
 \r
 <ul type="disc" class="whs3">\r
        \r
-       <li class=kadov-p><p class="whs5">4 Points, or</p></li>\r
+       <li class=kadov-p><p class="whs5">Name + 4 Points, or</p></li>\r
        \r
-       <li class=kadov-p><p class="whs5">2 Edges, or </p></li>\r
+       <li class=kadov-p><p class="whs5">Name + 2 Edges, or </p></li>\r
        \r
-       <li class=kadov-p><p class="whs5">4 Edges.</p></li>\r
+       <li class=kadov-p><p class="whs5">Name + 4 Edges.</p></li>\r
 </ul>\r
 \r
 <p class="whs5">&nbsp;</p>\r
 \r
 <p class="whs5"><b style="font-weight: bold;">Dialog Box:</b></p>\r
 \r
-<!--(Table)=========================================================-->\r
-<table x-use-null-cells cellspacing="0" width="89.919%" class="whs7">\r
-<col class="whs8">\r
+<table x-use-null-cells cellspacing="0" width="66.515%" class="whs7">\r
 <col class="whs8">\r
 <col class="whs9">\r
-\r
-<tr valign="top" class="whs10">\r
-<td width="29.973%" class="whs11">\r
-<p><img src="image182.jpg" width="200px" height="250px" border="0" class="img_whs12"></td>\r
-<td width="29.973%" class="whs13">\r
-<p><img src="image183.jpg" width="200px" height="250px" border="0" class="img_whs12"></td>\r
-<td width="33.333%" class="whs14">\r
-<p><img src="image184.jpg" width="200px" height="264px" border="0" class="img_whs15"></td></tr>\r
+<col class="whs10">\r
+\r
+<tr valign="top" class="whs11">\r
+<td width="32.996%" class="whs12">\r
+<p><img src="pics/block1.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>\r
+<td width="33.052%" class="whs14">\r
+<p><img src="pics/block2.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td>\r
+<td width="33.952%" class="whs15">\r
+<p><img src="pics/block3.png" x-maintain-ratio="TRUE" width="312px" height="410px" border="0" class="img_whs13"></td></tr>\r
 </table>\r
 \r
 <p class="whs5">&nbsp;</p>\r
@@ -257,41 +240,43 @@ 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
 \r
 <p class="whs5"><b style="font-weight: bold;">Description:</b> \r
- Builds a hexahedral solid either of the below mentioned arguments. This \r
+ Builds a hexahedral solid. either of the below mentioned arguments. This \r
  operation allows to build a solid bypassing the intermediate stage of \r
  building a shell and 4 faces (in the case of building by 2 faces) or just \r
  a shell (in the case of building by 6 faces).</p>\r
 \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
@@ -301,9 +286,9 @@ else
 \r
 <ul type="disc" class="whs3">\r
        \r
-       <li class=kadov-p><p class="whs5">2 Faces, or </p></li>\r
+       <li class=kadov-p><p class="whs5">Name + 2 Faces, or </p></li>\r
        \r
-       <li class=kadov-p><p class="whs5">6 Faces.</p></li>\r
+       <li class=kadov-p><p class="whs5">Name + 6 Faces.</p></li>\r
 </ul>\r
 \r
 <p class="whs5">&nbsp;</p>\r
@@ -312,29 +297,38 @@ else
 \r
 <p class="whs5">&nbsp;</p>\r
 \r
-<!--(Table)=========================================================-->\r
-<table x-use-null-cells cellspacing="0" width="63.172%" class="whs19">\r
-<col class="whs20">\r
+<table x-use-null-cells cellspacing="0" width="40.406%" class="whs20">\r
 <col class="whs21">\r
-\r
-<tr valign="top" class="whs10">\r
-<td width="52.553%" class="whs22">\r
-<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
-<td width="47.447%" class="whs24">\r
-<p><img src="image179.jpg" width="200px" height="297px" border="0" class="img_whs25"></td></tr>\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 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="whs1">&nbsp;</p>\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
+ by Blocks</a>. </p>\r
+\r
+<p>&nbsp;</p>\r
 \r
 <script type="text/javascript" language="javascript1.2">\r
 <!--\r
@@ -343,5 +337,4 @@ if (window.writeIntopicBar)
 //-->\r
 </script>\r
 </body>\r
-\r
 </html>\r