Salome HOME
Merge from BR_Dev_For_4_0 branch (from mergeto_BR_QT4_Dev_17Jan08 tag)
[modules/smesh.git] / doc / salome / gui / SMESH / files / creating_groups.htm
index b5ea84892a7a9048e3fda07dcc715ccc8fec6d50..1200e5969c7c3538131389e05c3cf2bea801e174 100755 (executable)
-<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
-\r
-<html>\r
-\r
-<!--(==============================================================)-->\r
-<!--(Document created with RoboEditor. )============================-->\r
-<!--(==============================================================)-->\r
-\r
-<head>\r
-\r
-<title>Creating groups</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=1562>\r
-<meta name=layout-width content=740>\r
-\r
-\r
-<!--(Links)=========================================================-->\r
-\r
- <link rel='stylesheet' href='../default_ns.css'>\r
-<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 {font-weight: bold;}\r
-img_whs2 {border-style: none; border: none; width: 30px; height: 30px; float: none;}\r
-p.whs3 {margin-left: 40px;}\r
-p.whs4 {font-weight: normal;}\r
-p.whs5 {font-weight: bold; margin-left: 40px;}\r
-img_whs6 {border-style: none; border: none; width: 200px; height: 374px;}\r
-p.whs7 {margin-left: 40px; font-weight: normal;}\r
-ul.whs8 {list-style: disc;}\r
-p.whs9 {margin-left: 40px; font-weight: bold;}\r
-p.whs10 {margin-left: 80px;}\r
--->\r
-</style>\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
--->\r
-</style>\r
-<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
-       {\r
-       addTocInfo("SMESH module\nGrouping elements\nCreating groups");\r
-addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\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
-\r
-               autoSync(0);\r
-               sendSyncInfo();\r
-               sendAveInfoOut();\r
-       }\r
-}\r
-else\r
-       document.location.reload();\r
-//-->\r
-</script>\r
-<h1>Creating groups</h1>\r
-\r
-<p class="whs1"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs2"> <span style="font-weight: normal;">In \r
- SMESH you can create groups of elements of different types and having \r
- definite properties.</span></p>\r
-\r
-<p class="whs1">&nbsp;</p>\r
-\r
-<p class=TODO>To create a group of elements:</p>\r
-\r
-<p class=TODO>&nbsp;</p>\r
-\r
-<p class="whs3">1. In the <span style="font-weight: bold;"><B>Mesh \r
- </B></span><span>menu select </span><span style="font-weight: bold;"><B>Create \r
- Group</B></span><span>. The following dialog box will appear:</span></p>\r
-\r
-<p class="whs4">&nbsp;</p>\r
-\r
-<p class="whs5">&nbsp;<img src="../image47.jpg" width="200px" height="374px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<p class="whs7">This dialog box contains \r
- the following fields which should be filled:</p>\r
-\r
-<p class="whs5">&nbsp;</p>\r
-\r
-<ul type="disc" class="whs8">\r
-       \r
-       <li class=kadov-p><p class="whs7"><span \r
- style="font-weight: bold;"><B>Mesh: </B></span>the name of the mesh whose elements \r
- will form your group. You can enter the name manually or select your mesh \r
- in the Objet Browser or in the 3D viewer.</p></li>\r
-       \r
-       <li class=kadov-p><p class="whs7"><span \r
- style="font-weight: bold;"><B>Elements Type </B></span>set of radio buttons allows \r
- to select the type of elements which will form your group:</p></li>\r
-       \r
-       <ul type="disc" class="whs8">\r
-               \r
-               <li class=kadov-p><p class="whs9">Nodes</p></li>\r
-               \r
-               <li class=kadov-p><p class="whs9">Edges \r
- </p></li>\r
-               \r
-               <li class=kadov-p><p class="whs9">Faces</p></li>\r
-               \r
-               <li class=kadov-p><p class="whs9">Volumes</p></li>\r
-       </ul>\r
-       \r
-       <li class=kadov-p><p class="whs7"><span \r
- style="font-weight: bold;"><B>Name </B></span><span>field allows to enter the \r
- name of your new group.</span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs7"><span \r
- style="font-weight: bold;"><B>Group type </B></span>set of radio buttons allows \r
- to select the type of your group: </p></li>\r
-       \r
-       <ul type="disc" class="whs8">\r
-               \r
-               <li class=kadov-p><p class="whs7"><span \r
- style="font-weight: bold;"><B>Standalone group </B></span>&nbsp;consisting \r
- of mesh elements.</p></li>\r
-               \r
-               <li class=kadov-p><p class="whs7"><span \r
- style="font-weight: bold;"><B>Group on geometry </B></span><span>consisting of \r
- geometrical elements.</span> If you choose this type of group your dialog \r
- box will change and it will look like as follows:</p></li>\r
-       </ul>\r
-</ul>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs10"><img src="../image48.jpg" width="200px" height="374px" border="0" class="img_whs6"></p>\r
-\r
-<p class="whs10">&nbsp;</p>\r
-\r
-<p class="whs10">In this dialog box you should enter the name \r
- of the geometrical object (you can enter the name manually or select your \r
- geometrical object in the Objet Browser or in the 3D viewer) from which \r
- the elements will be taken. And after confirmation of the operation SMESH \r
- will create a new group consisting of geometrical elements of the previously \r
- defined type.</p>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<ul type="disc" class="whs8">\r
-       \r
-       <li class=kadov-p><p class="whs7"><span \r
- style="font-weight: bold;"><B>Content </B></span>field<span style="font-weight: bold;"> \r
- <B></B></span>allows to manually define the mesh elements which will form your \r
- group. You can click on an element in the 3D viewer and it will be highlighted. \r
- After that click the <span style="font-weight: bold;"><B>Add </B></span>button \r
- and the ID of this element will be added to the list. To remove a selected \r
- element or elements from the list click the <span style="font-weight: bold;"><B>Remove \r
- </B></span>button. The <span style="font-weight: bold;"><B>Sort </B></span>button \r
- allows to sort the list of elements IDs. The <span style="font-weight: bold;"><B>Set \r
- filter </B></span><span>button allows to apply a definite filter to selection \r
- of the elements of your group.</span></p></li>\r
-       \r
-       <li class=kadov-p><p class="whs7"><span \r
- style="font-weight: bold;"><B>Select from </B></span>set of fields allows to \r
- choose a submesh or an existing group whose elements of the previously \r
- defined type will be added to the list of elements which will form your \r
- group.</p></li>\r
-</ul>\r
-\r
-<p class="whs7">&nbsp;</p>\r
-\r
-<p class="whs7">2. Click the <span style="font-weight: bold;"><B>OK \r
- </B></span><span>button to confirm creation of your group or </span><span \r
- style="font-weight: bold;"><B>Cancel </B></span><span>to quit this dialog box.</span></p>\r
-\r
-<script type="text/javascript" language="javascript1.2">\r
-<!--\r
-if (window.writeIntopicBar)\r
-       writeIntopicBar(0);\r
-//-->\r
-</script>\r
-</body>\r
-\r
-</html>\r
+<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
+
+<html>
+
+<head>
+<title>Creating groups</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 { font-weight:bold; }
+img_whs2 { border:none; width:30px; height:30px; float:none; border-style:none; }
+p.whs3 { margin-left:40px; font-weight:normal; }
+ul.whs4 { list-style:disc; }
+p.whs5 { font-weight:bold; margin-left:40px; }
+p.whs6 { margin-left:40px; font-weight:bold; }
+p.whs7 { margin-left:40px; }
+p.whs8 { margin-left:36px; }
+table.whs9 { x-cell-content-align:top; width:100%; border-spacing:0px; }
+col.whs10 { width:33.382%; }
+col.whs11 { width:66.618%; }
+tr.whs12 { x-cell-content-align:top; height:587px; }
+td.whs13 { width:33.382%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-right-style:none; border-left-style:none; border-top-style:none; }
+img_whs14 { border:none; width:312px; height:621px; float:none; border-style:none; }
+td.whs15 { width:66.618%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
+p.whs16 { margin-left:0px; }
+img_whs17 { border:none; width:145px; height:150px; border-style:none; float:left; }
+img_whs18 { border:none; width:149px; height:158px; border-style:none; }
+col.whs19 { width:33.48%; }
+col.whs20 { width:66.52%; }
+tr.whs21 { x-cell-content-align:top; }
+td.whs22 { width:33.48%; 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:312px; float:none; border-style:none; }
+td.whs24 { width:66.52%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
+img_whs25 { border:none; width:135px; height:150px; border-style:none; }
+p.whs26 { margin-left:80px; }
+-->
+</style><script type="text/javascript" language="JavaScript">
+<!--
+if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
+{
+  var strNSS = "<style type='text/css'>";
+  strNSS += "p.whs16 {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\nGrouping elements\nCreating groups");
+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>Creating groups</h1>
+
+<p class="whs1"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs2"> &nbsp;&nbsp;<span 
+ style="font-weight: normal;">In MESH you 
+ can create groups of elements of different types. To create a group of 
+ elements</span><span style="font-weight: normal; margin-left: 40px;"> 
+ in the </span><span style="margin-left: 40px;">Mesh</span><span style="font-weight: normal; margin-left: 40px;"> 
+ menu select </span><span style="margin-left: 40px;">Create Group</span><span 
+ style="font-weight: normal; margin-left: 40px;">.</span><span style="margin-left: 40px;"> 
+ </span></p>
+
+<p class="whs3">To create any group 
+ you should define the following: &nbsp;&nbsp;</p>
+
+<ul type="disc" class="whs4">
+       
+       <li class=kadov-p><p class="whs5">Mesh: 
+ <span style="font-weight: normal;">the name of the mesh whose elements 
+ will form your group. You can select your mesh in the Objet Browser or 
+ in the 3D viewer.</span></p></li>
+       
+       <li class=kadov-p><p class="whs3"><span 
+ style="font-weight: bold;"><B>Elements</B></span> <span style="font-weight: bold;"><B>Type</B></span> 
+ set of radio buttons allows to select the type of elements which will 
+ form your group:</p></li>
+       
+       <ul type="disc" class="whs4">
+               
+               <li class=kadov-p><p class="whs6">Nodes</p></li>
+               
+               <li class=kadov-p><p class="whs6">Edges 
+ </p></li>
+               
+               <li class=kadov-p><p class="whs6">Faces</p></li>
+               
+               <li class=kadov-p><p class="whs6">Volumes</p></li>
+       </ul>
+       
+       <li class=kadov-p><p class="whs3"><span 
+ style="font-weight: bold;"><B>Name </B></span>field allows to enter the name 
+ of your new group.</p></li>
+</ul>
+
+<p class="whs3">SALOME Platform distinguishes 
+ between the two Group types: <span style="font-weight: bold;"><B>Standalone 
+ Group</B></span> and <span style="font-weight: bold;"><B>Group on Geometry</B></span>. 
+ &nbsp;</p>
+
+<h3>Standalone Group </h3>
+
+<p class="whs7"><span style="font-weight: bold;"><B>Standalone 
+ Group</B></span> consists of mesh elements, which you can define in two possible 
+ ways.</p>
+
+<ul type="disc" class="whs4">
+       
+       <li class=kadov-p><p class="whs8">Choosing them manually 
+ with the mouse in the 3D Viewer. You can click on an element in the 3D 
+ viewer and it will be highlighted. After that click the <span style="font-weight: bold;"><B>Add 
+ </B></span>button and the ID of this element will be added to the list. </p></li>
+       
+       <li class=kadov-p><p class="whs7">Applying Filters. The 
+ <span style="font-weight: bold;"><B>Set filter </B></span>button allows to apply 
+ a definite filter to selection of the elements of your group. See more 
+ about filters on the <a href="../selection_filter_library.htm">Selection 
+ filter library</a> page. &nbsp;&nbsp;</p></li>
+</ul>
+
+<p class="whs7">To remove a selected element or elements 
+ from the list click the <span style="font-weight: bold;"><B>Remove </B></span>button. 
+ The <span style="font-weight: bold;"><B>Sort List </B></span>button allows to 
+ sort the list of IDs of mesh elements. </p>
+
+<p class="whs7"><span style="font-weight: bold;"><B>Select from 
+ </B></span>set of fields allows to choose a submesh or an existing group whose 
+ elements of the previously defined type will be added to the list of elements 
+ which will form your group. </p>
+
+<p class="whs7"><span style="font-weight: bold;"><B>Color Number</B></span> 
+ (integer only, ranging from 0 to 9999) - allows to assign to the group 
+ a certain index, for example, defining boundary conditions. This feature 
+ introduces a useful element of preprocessing in Mesh module. Note that 
+ <span style="font-weight: bold;"><B>Color number</B></span> attribute has nothing 
+ to do with the colors used for the display of the elements of the group.</p>
+
+<p class="whs7">&nbsp;</p>
+
+<table x-use-null-cells cellspacing="0" width="100%" class="whs9">
+<col class="whs10">
+<col class="whs11">
+
+<tr valign="top" class="whs12">
+<td width="33.382%" class="whs13">
+<p class="whs1"><img src="../pics/creategroup.png" x-maintain-ratio="TRUE" width="312px" height="621px" border="0" class="img_whs14"></td>
+<td width="66.618%" class="whs15">
+<p class="whs16"><img src="../image130.gif" width="145px" height="150px" align="left" border="0" class="img_whs17"> &nbsp;&nbsp;</p>
+<p class="whs16">&nbsp;</p>
+<p class="whs16">&nbsp;</p>
+<p class="whs16">&nbsp;</p>
+<p class="whs16">&nbsp;</p>
+<p class="whs16">&nbsp;</p>
+<p class="whs16">In this picture the brown cells belong to 
+ a group defined manually.</p>
+<p class="whs16">&nbsp;</p>
+<p class="whs16">&nbsp;<img src="../image131.gif" width="149px" height="158px" border="0" class="img_whs18"> In this picture the brown cells belong to the group defined 
+ by the criterion <br>
+Taper &gt; 0. </p>
+<p class="whs16">&nbsp;</p>
+<p class="whs16">&nbsp;</td></tr>
+</table>
+
+<p class="whs7">&nbsp;</p>
+
+<p class="whs5">&nbsp;&nbsp;&nbsp;See 
+ Also a sample TUI Script of a <a href="../grouping_elements.htm#bookmark">Create 
+ a Standalone Group</a> operation. &nbsp;</p>
+
+<h3>Group on Geometry </h3>
+
+<p class="whs3">To create a group on 
+ geometry check <span style="font-weight: bold;"><B>Group on geometry</B></span> 
+ in the <span style="font-weight: bold;"><B>Group type</B></span> field. <span 
+ style="font-weight: bold;"><B>Group on geometry </B></span>contains the elements 
+ of a certain type belonging to the selected<span style="font-weight: bold;"> 
+ <B></B></span>geometrical object. To define a group select in the Objet Browser 
+ or in the 3D viewer a geometrical object from which the elements will 
+ be taken. After confirmation of the operation a new group of mesh elements 
+ will be created.</p>
+
+<p class="whs3">&nbsp;</p>
+
+<table x-use-null-cells cellspacing="0" width="100%" class="whs9">
+<col class="whs19">
+<col class="whs20">
+
+<tr valign="top" class="whs21">
+<td width="33.48%" class="whs22">
+<p><img src="../pics/a-creategroup.png" x-maintain-ratio="TRUE" width="312px" height="312px" border="0" class="img_whs23"></td>
+<td width="66.52%" class="whs24">
+<p><img src="../image132.gif" width="135px" height="150px" border="0" class="img_whs25"> In this picture the cells which belong to a certain face 
+ are selected in green. </td></tr>
+</table>
+
+<p class="whs3">&nbsp;</p>
+
+<p class="whs6">&nbsp;&nbsp;&nbsp;See 
+ Also a sample TUI Script of a <a href="../grouping_elements.htm#bookmark5">Create 
+ a Group on Geometry</a><a href="../grouping_elements.htm#bookmark"> </a>operation. 
+ &nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<p class="whs16">&nbsp;</p>
+
+<p class="whs26">&nbsp;</p>
+
+<p>&nbsp;</p>
+
+<script type="text/javascript" language="javascript1.2">
+<!--
+if (window.writeIntopicBar)
+       writeIntopicBar(0);
+//-->
+</script>
+</body>
+</html>