Salome HOME
Update of GUI documentation for bugs:
[modules/smesh.git] / doc / salome / gui / SMESH / files / constructing_meshes.htm
index 112bb76eb79df3a29d90a2e01c261810004ed39c..0995c01c21a7d41e6d8aedf657d6e28a66fb169a 100755 (executable)
@@ -19,14 +19,25 @@ ul.whs2 { list-style:disc; }
 p.whs3 { margin-left:40px; }\r
 img_whs4 { border:none; width:22px; height:24px; border-style:none; }\r
 p.whs5 { margin-left:80px; }\r
-img_whs6 { border:none; width:309px; height:266px; float:none; border-style:none; }\r
+img_whs6 { border:none; width:370px; height:296px; float:none; border-style:none; }\r
 img_whs7 { border:none; width:173px; height:88px; border-style:none; }\r
 img_whs8 { border:none; width:34px; height:29px; border-style:none; }\r
 img_whs9 { border:none; width:29px; height:28px; border-style:none; }\r
 img_whs10 { border:none; width:30px; height:29px; border-style:none; }\r
 img_whs11 { border:none; width:232px; height:142px; border-style:none; float:right; }\r
 img_whs12 { border:none; width:25px; height:24px; border-style:none; }\r
-img_whs13 { border:none; width:293px; height:350px; border-style:none; }\r
+img_whs13 { border:none; width:457px; height:486px; float:none; border-style:none; }\r
+img_whs14 { border:none; width:564px; height:402px; float:none; border-style:none; }\r
+img_whs15 { border:none; width:260px; height:270px; float:none; border-style:none; }\r
+table.whs16 { x-cell-content-align:top; border-spacing:0px; width:67.18%; }\r
+col.whs17 { width:65.545%; }\r
+col.whs18 { width:34.455%; }\r
+tr.whs19 { x-cell-content-align:top; }\r
+td.whs20 { padding-right:10px; padding-left:10px; border-right-style:none; border-left-style:none; border-top-style:none; border-bottom-style:none; }\r
+p.whs21 { margin-left:24px; }\r
+td.whs22 { padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }\r
+img_whs23 { border:none; width:214px; height:240px; }\r
+p.whs24 { margin-left:40px; font-weight:bold; }\r
 -->\r
 </style><script type="text/javascript" language="JavaScript">\r
 <!--\r
@@ -56,43 +67,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("MESH module\nCreating meshes\nConstructing meshes");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\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("../smesh.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>Constructing meshes</h1>\r
 \r
 <p class="whs1">Construction of a mesh consists of:</p>\r
@@ -120,7 +136,7 @@ else
 \r
 <p class="whs3">&nbsp;</p>\r
 \r
-<p class="whs5"><img src="../pics/a-createmesh1.png" x-maintain-ratio="TRUE" width="309px" height="266px" border="0" class="img_whs6"></p>\r
+<p class="whs5"><img src="../pics/createmesh-inv.png" x-maintain-ratio="TRUE" width="370px" height="296px" border="0" class="img_whs6"></p>\r
 \r
 <p class="whs5">&nbsp;</p>\r
 \r
@@ -149,9 +165,9 @@ else
  3d Algorithm and Hypotheses. </p>\r
 \r
 <p class="whs3">In the <span style="font-weight: bold;"><B>Object \r
- Browser</B></span> the structure of the new mesh will be displayed as follows:<img src="../image88.jpg" width="232px" height="142px" align="right" border="0" class="img_whs11"></p>\r
+ Browser</B></span> the structure of the new mesh will be displayed as follows:</p>\r
 \r
-<p class="whs3">It contains:</p>\r
+<p class="whs3"><img src="../image88.jpg" width="232px" height="142px" align="right" border="0" class="img_whs11">It contains:</p>\r
 \r
 <ul type="disc" class="whs2">\r
        \r
@@ -169,14 +185,75 @@ else
 \r
 <p class="whs3">&nbsp;</p>\r
 \r
+<p class="whs3">There is an alternative way to create a mesh \r
+ on an object simply by clicking <span style="font-weight: bold;"><B>Assign \r
+ a set of hypotheses </B></span>button and selecting between Automatic Tetrahedralization \r
+ or Hexahedralization. &nbsp;The \r
+ program will automatically generate a 3D mesh with the most appropriate \r
+ settings. In the same way you can apply this functionality for meshing \r
+ 2D objects, in which case 3D algorithms are not applied. </p>\r
+\r
+<p class="whs3">&nbsp;</p>\r
+\r
 <p class="whs3">3. Now, when everything is ready, select \r
- your mesh in the <span style="font-weight: bold;"><B>Object Browser</B></span>.<span> \r
- </span><span>&nbsp;From \r
- the </span><span style="font-weight: bold;"><B>Mesh </B></span><span>menu select</span><span \r
- style="font-weight: bold;"><B> Compute </B></span><span>or click <img src="../image28.gif" width="25px" height="24px" border="0" class="img_whs12"> button of the toolbar. </span></p>\r
+ your mesh in the <span style="font-weight: bold;"><B>Object Browser</B></span>. \r
+ &nbsp;From the \r
+ <span style="font-weight: bold;"><B>Mesh </B></span>menu select<span style="font-weight: bold;"><B> \r
+ Compute </B></span>or click <img src="../image28.gif" width="25px" height="24px" border="0" class="img_whs12"> button of the toolbar. The Mesh \r
+ Computation information box appears.</p>\r
+\r
+<p class="whs3">&nbsp;</p>\r
+\r
+<p class="whs3"><img src="../pics/meshcomputationsucceed.png" x-maintain-ratio="TRUE" width="457px" height="486px" border="0" class="img_whs13"></p>\r
+\r
+<p class="whs3">&nbsp;</p>\r
+\r
+<p class="whs3">If the mesh computation failed, the information \r
+ about the cause of the failure is provided. </p>\r
 \r
-<p class="whs3">If you've done everything right, you'll obtain \r
- something like this. <img src="../image129.gif" width="293px" height="350px" border="0" class="img_whs13"></p>\r
+<p class="whs3">&nbsp;</p>\r
+\r
+<p class="whs3"><img src="../pics/meshcomputationfail.png" x-maintain-ratio="TRUE" width="564px" height="402px" border="0" class="img_whs14"> </p>\r
+\r
+<p class="whs3">&nbsp;</p>\r
+\r
+<p class="whs3">After you select the error, <span style="font-weight: bold;"><B>Show \r
+ Subshape</B></span> button allows visualizing the mesh elements that cause \r
+ it</p>\r
+\r
+<p class="whs3">&nbsp;</p>\r
+\r
+<p class="whs3"><img src="../pics/failed_computation.png" x-maintain-ratio="TRUE" width="260px" height="270px" border="0" class="img_whs15"> </p>\r
+\r
+<p class="whs3">&nbsp;</p>\r
+\r
+<p class="whs3"><span style="font-weight: bold;"><B>Publish \r
+ Subshape</B></span> button allows importing it in a separate MED or UNV file. \r
+ </p>\r
+\r
+<p class="whs3">&nbsp;</p>\r
+\r
+<table x-use-null-cells width="67.18%" cellspacing="0" class="whs16">\r
+<col class="whs17">\r
+<col class="whs18">\r
+\r
+<tr valign="top" class="whs19">\r
+<td width="65.545%" class="whs20">\r
+<p class="whs21"><span style="font-weight: bold;"><B>Note:</B></span> \r
+ It is possible to define a 1D or a 2D mesh in a python script and then \r
+ use such submeshes in the construction of a 3D mesh. For this, there exist \r
+ two algorithms: <span style="font-weight: bold;"><B>Use existing edges</B></span> \r
+ and <span style="font-weight: bold;"><B>Use existing faces</B></span>. They are \r
+ not entirely usable from the GUI, so a mesh created using these algorithms \r
+ should be exported into a python script, edited and then imported into \r
+ the GUI. </td>\r
+<td width="34.455%" class="whs22">\r
+<p><img src="../image162.gif" width="214px" height="240px" border="0" class="img_whs23"></td></tr>\r
+</table>\r
+\r
+<p class="whs24">&nbsp;</p>\r
+\r
+<p class="whs3">&nbsp;</p>\r
 \r
 <p class="whs3">Consider trying a sample script for construction \r
  of a mesh from our <a href="../constructing_meshes.htm">TUI Scripts</a> \r