Salome HOME
Merging with WPdev
[modules/smesh.git] / doc / salome / gui / SMESH / files / constructing_meshes.htm
index 9005df312cb1630e9df20b3d2b38aebd2f1e964c..1098a35d5ed3efc17f1934fb7cdf423945be7cab 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<head>\r
-<title>Constructing meshes</title>\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
-//-->\r
-</script>\r
-<style type="text/css">\r
-<!--\r
-p.whs1 { margin-left:0px; }\r
-ul.whs2 { list-style:disc; }\r
-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; border-style:none; width:355px; height:296px; float: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
--->\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.whs1 {margin-left:1pt; }";\r
-  strNSS +="</style>";\r
-  document.write(strNSS);\r
-}\r
-//-->\r
-</script>\r
-<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
-<!--\r
-function reDo() {\r
-  if (innerWidth != origWidth || innerHeight != origHeight)\r
-     location.reload();\r
-}\r
-if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
-       origWidth = innerWidth;\r
-       origHeight = innerHeight;\r
-       onresize = reDo;\r
-}\r
-onerror = null; \r
-//-->\r
-</script>\r
-<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
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.gbWhTopic)\r
-{\r
-       if (window.setRelStartPage)\r
-       {\r
-       addTocInfo("MESH module\nCreating meshes\nConstructing meshes");\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
-\r
-\r
-       if (window.setRelStartPage)\r
-       {\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
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<ul type="disc" class="whs2">\r
-       \r
-       <li class=kadov-p><p class="whs1">Selecting a geometrical \r
- object for meshing</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs1">Applying <a href="about_meshing_algorithms.htm">meshing \r
- algorithms</a> and <a href="about_hypotheses.htm">hypotheses</a> which \r
- will be used at computation of this mesh.</p></li>\r
-</ul>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class=TODO>To construct a mesh:</p>\r
-\r
-<p class="whs3">1. In the <span style="font-weight: bold;"><B>Mesh \r
- </B></span>menu select<span style="font-weight: bold;"><B> Create Mesh </B></span>or \r
- click <img src="../image32.gif" width="22px" height="24px" border="0" class="img_whs4"> button in the toolbar. The following dialog box will \r
- appear:</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs5"><img src="../pics/createmesh-inv.png" x-maintain-ratio="TRUE" width="355px" height="296px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs3">2. For example, you need to mesh a 3d object. \r
- </p>\r
-\r
-<p class="whs3">First, type the name for your mesh in the \r
- &quot;Name&quot; box, by default, it is &quot;Mesh_1&quot;. Then select \r
- the object you wish to mesh in the Object Browser <img src="../image119.gif" width="173px" height="88px" border="0" class="img_whs7">and click \r
- the <img src="../image120.gif" width="34px" height="29px" border="0" class="img_whs8"> &quot;Add&quot; button. </p>\r
-\r
-<p class="whs3">Now you can define 1d Algorithm and 1d Hypotheses, \r
- which will be applied to the edges of your object. (Note that any object \r
- has edges, even if their existence is not apparent, for example, a sphere \r
- has 4 edges). Click the &nbsp;<img src="../image121.gif" width="29px" height="28px" border="0" class="img_whs9"> button to add a hypothesis. Click the <img src="../image122.gif" width="30px" height="29px" border="0" class="img_whs10"> button \r
- to define values for the current hypothesis. The use of additional hypotheses \r
- is optional (i.e. you may leave &quot;None&quot; in this box). &nbsp;&nbsp;</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p class="whs3">Proceed in the same way with 2d and 3d Algorithms \r
- and Hypotheses, note that the choice of hypotheses depends on the algorithm. \r
- There must be one Algorithm and one or several Hypotheses for each dimension \r
- of your object, otherwise you will not get any mesh at all. Of course, \r
- if you wish to mesh a face, which is a 2d object, you don't need to define \r
- 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:</p>\r
-\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
-       <li class=kadov-p><p class="whs3">a reference to the \r
- geometrical object on the basis of which the mesh has been constructed;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Applied \r
- hypotheses </B></span>folder containing the references to the hypotheses applied \r
- to the construction of the mesh;</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Applied \r
- algorithms </B></span>folder containing the references to the algorithms applied \r
- to the construction of the mesh.</p></li>\r
-</ul>\r
-\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>. \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. </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
- section.</p>\r
-\r
-<p class="whs3">&nbsp;</p>\r
-\r
-<p>&nbsp;</p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-</html>\r
+<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
+
+<html>
+
+<head>
+<title>Constructing meshes</title>
+<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">
+<!--
+if (navigator.appName !="Netscape")
+{   document.write("<link rel='stylesheet' href='../default.css'>");}
+//-->
+</script>
+<style type="text/css">
+<!--
+p.whs1 { margin-left:0px; }
+ul.whs2 { list-style:disc; }
+p.whs3 { margin-left:40px; }
+img_whs4 { border:none; width:22px; height:24px; border-style:none; }
+p.whs5 { margin-left:80px; }
+img_whs6 { border:none; border-style:none; width:355px; height:296px; float:none; }
+img_whs7 { border:none; width:173px; height:88px; border-style:none; }
+img_whs8 { border:none; width:34px; height:29px; border-style:none; }
+img_whs9 { border:none; width:29px; height:28px; border-style:none; }
+img_whs10 { border:none; width:30px; height:29px; border-style:none; }
+img_whs11 { border:none; width:232px; height:142px; border-style:none; float:right; }
+img_whs12 { border:none; width:25px; height:24px; border-style:none; }
+-->
+</style><script type="text/javascript" language="JavaScript">
+<!--
+if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
+{
+  var strNSS = "<style type='text/css'>";
+  strNSS += "p.whs1 {margin-left:1pt; }";
+  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">
+<!--
+div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
+p.WebHelpNavBar { text-align:right; }
+-->
+</style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
+<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>
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.gbWhTopic)
+{
+       if (window.setRelStartPage)
+       {
+       addTocInfo("MESH module\nCreating meshes\nConstructing meshes");
+addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
+addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
+
+       }
+
+
+       if (window.setRelStartPage)
+       {
+       setRelStartPage("../index.htm");
+
+               autoSync(1);
+               sendSyncInfo();
+               sendAveInfoOut();
+       }
+
+}
+else
+       if (window.gbIE4)
+               document.location.reload();
+//-->
+</script>
+</head>
+<body><script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(4);
+//-->
+</script>
+<h1>Constructing meshes</h1>
+
+<p class="whs1">Construction of a mesh consists of:</p>
+
+<p class="whs1">&nbsp;</p>
+
+<ul type="disc" class="whs2">
+       
+       <li class=kadov-p><p class="whs1">Selecting a geometrical 
+ object for meshing</p></li>
+       
+       <li class=kadov-p><p class="whs1">Applying <a href="about_meshing_algorithms.htm">meshing 
+ algorithms</a> and <a href="about_hypotheses.htm">hypotheses</a> which 
+ will be used at computation of this mesh.</p></li>
+</ul>
+
+<p class="whs1">&nbsp;</p>
+
+<p class=TODO>To construct a mesh:</p>
+
+<p class="whs3">1. In the <span style="font-weight: bold;"><B>Mesh 
+ </B></span>menu select<span style="font-weight: bold;"><B> Create Mesh </B></span>or 
+ click <img src="../image32.gif" width="22px" height="24px" border="0" class="img_whs4"> button in the toolbar. The following dialog box will 
+ appear:</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs5"><img src="../pics/createmesh-inv.png" x-maintain-ratio="TRUE" width="355px" height="296px" border="0" class="img_whs6"></p>
+
+<p class="whs5">&nbsp;</p>
+
+<p class="whs3">2. For example, you need to mesh a 3d object. 
+ </p>
+
+<p class="whs3">First, type the name for your mesh in the 
+ &quot;Name&quot; box, by default, it is &quot;Mesh_1&quot;. Then select 
+ the object you wish to mesh in the Object Browser <img src="../image119.gif" width="173px" height="88px" border="0" class="img_whs7">and click 
+ the <img src="../image120.gif" width="34px" height="29px" border="0" class="img_whs8"> &quot;Add&quot; button. </p>
+
+<p class="whs3">Now you can define 1d Algorithm and 1d Hypotheses, 
+ which will be applied to the edges of your object. (Note that any object 
+ has edges, even if their existence is not apparent, for example, a sphere 
+ has 4 edges). Click the &nbsp;<img src="../image121.gif" width="29px" height="28px" border="0" class="img_whs9"> button to add a hypothesis. Click the <img src="../image122.gif" width="30px" height="29px" border="0" class="img_whs10"> button 
+ to define values for the current hypothesis. The use of additional hypotheses 
+ is optional (i.e. you may leave &quot;None&quot; in this box). &nbsp;&nbsp;</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3">Proceed in the same way with 2d and 3d Algorithms 
+ and Hypotheses, note that the choice of hypotheses depends on the algorithm. 
+ There must be one Algorithm and one or several Hypotheses for each dimension 
+ of your object, otherwise you will not get any mesh at all. Of course, 
+ if you wish to mesh a face, which is a 2d object, you don't need to define 
+ 3d Algorithm and Hypotheses. </p>
+
+<p class="whs3">In the <span style="font-weight: bold;"><B>Object 
+ Browser</B></span> the structure of the new mesh will be displayed as follows:</p>
+
+<p class="whs3"><img src="../image88.jpg" width="232px" height="142px" align="right" border="0" class="img_whs11">It contains:</p>
+
+<ul type="disc" class="whs2">
+       
+       <li class=kadov-p><p class="whs3">a reference to the 
+ geometrical object on the basis of which the mesh has been constructed;</p></li>
+       
+       <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Applied 
+ hypotheses </B></span>folder containing the references to the hypotheses applied 
+ to the construction of the mesh;</p></li>
+       
+       <li class=kadov-p><p class="whs3"><span style="font-weight: bold;"><B>Applied 
+ algorithms </B></span>folder containing the references to the algorithms applied 
+ to the construction of the mesh.</p></li>
+</ul>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3">There is an alternative way to create a mesh 
+ on an object simply by clicking <span style="font-weight: bold;"><B>Assign 
+ a set of hypotheses </B></span>button and selecting between Automatic Tetrahedralization 
+ or Hexahedralization. &nbsp;The 
+ program will automatically generate a 3D mesh with the most appropriate 
+ settings. In the same way you can apply this functionality for meshing 
+ 2D objects, in which case 3D algorithms are not applied. </p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3">3. Now, when everything is ready, select 
+ your mesh in the <span style="font-weight: bold;"><B>Object Browser</B></span>. 
+ &nbsp;From the 
+ <span style="font-weight: bold;"><B>Mesh </B></span>menu select<span style="font-weight: bold;"><B> 
+ Compute </B></span>or click <img src="../image28.gif" width="25px" height="24px" border="0" class="img_whs12"> button of the toolbar. </p>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs3">Consider trying a sample script for construction 
+ of a mesh from our <a href="../constructing_meshes.htm">TUI Scripts</a> 
+ section.</p>
+
+<p class="whs3">&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>