Salome HOME
Merging with WPdev
[modules/smesh.git] / doc / salome / gui / SMESH / files / creating_groups.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
2
3 <html>
4
5 <head>
6 <title>Creating groups</title>
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">
9 <link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
10 <!--
11 if (navigator.appName !="Netscape")
12 {   document.write("<link rel='stylesheet' href='../default.css'>");}
13 //-->
14 </script>
15 <style type="text/css">
16 <!--
17 p.whs1 { font-weight:bold; }
18 img_whs2 { border:none; width:30px; height:30px; float:none; border-style:none; }
19 p.whs3 { margin-left:40px; font-weight:normal; }
20 ul.whs4 { list-style:disc; }
21 p.whs5 { font-weight:bold; margin-left:40px; }
22 p.whs6 { margin-left:40px; font-weight:bold; }
23 p.whs7 { margin-left:40px; }
24 p.whs8 { margin-left:36px; }
25 table.whs9 { x-cell-content-align:top; width:100%; border-spacing:0px; }
26 col.whs10 { width:33.382%; }
27 col.whs11 { width:66.618%; }
28 tr.whs12 { x-cell-content-align:top; height:587px; }
29 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; }
30 img_whs14 { border:none; width:312px; height:621px; float:none; border-style:none; }
31 td.whs15 { width:66.618%; padding-right:10px; padding-left:10px; border-bottom-style:none; border-top-style:none; border-right-style:none; }
32 p.whs16 { margin-left:0px; }
33 img_whs17 { border:none; width:145px; height:150px; border-style:none; float:left; }
34 img_whs18 { border:none; width:149px; height:158px; border-style:none; }
35 col.whs19 { width:33.48%; }
36 col.whs20 { width:66.52%; }
37 tr.whs21 { x-cell-content-align:top; }
38 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; }
39 img_whs23 { border:none; width:312px; height:312px; float:none; border-style:none; }
40 td.whs24 { width:66.52%; padding-right:10px; padding-left:10px; border-top-style:none; border-bottom-style:none; border-right-style:none; }
41 img_whs25 { border:none; width:135px; height:150px; border-style:none; }
42 p.whs26 { margin-left:80px; }
43 -->
44 </style><script type="text/javascript" language="JavaScript">
45 <!--
46 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
47 {
48   var strNSS = "<style type='text/css'>";
49   strNSS += "p.whs16 {margin-left:1pt; }";
50   strNSS +="</style>";
51   document.write(strNSS);
52 }
53 //-->
54 </script>
55 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
56 <!--
57 function reDo() {
58   if (innerWidth != origWidth || innerHeight != origHeight)
59      location.reload();
60 }
61 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
62         origWidth = innerWidth;
63         origHeight = innerHeight;
64         onresize = reDo;
65 }
66 onerror = null; 
67 //-->
68 </script>
69 <style type="text/css">
70 <!--
71 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
72 p.WebHelpNavBar { text-align:right; }
73 -->
74 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>
75 <script type="text/javascript" language="javascript" src="../whver.js"></script>
76 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>
77 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>
78 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>
79 <script type="text/javascript" language="javascript1.2">
80 <!--
81 if (window.gbWhTopic)
82 {
83         if (window.setRelStartPage)
84         {
85         addTocInfo("MESH module\nGrouping elements\nCreating groups");
86 addButton("show",BTN_IMG,"Show","","","","",0,0,"../whd_show0.gif","../whd_show2.gif","../whd_show1.gif");
87 addButton("hide",BTN_IMG,"Hide","","","","",0,0,"../whd_hide0.gif","../whd_hide2.gif","../whd_hide1.gif");
88
89         }
90
91
92         if (window.setRelStartPage)
93         {
94         setRelStartPage("../index.htm");
95
96                 autoSync(1);
97                 sendSyncInfo();
98                 sendAveInfoOut();
99         }
100
101 }
102 else
103         if (window.gbIE4)
104                 document.location.reload();
105 //-->
106 </script>
107 </head>
108 <body><script type="text/javascript" language="javascript1.2">
109 <!--
110 if (window.writeIntopicBar)
111         writeIntopicBar(4);
112 //-->
113 </script>
114 <h1>Creating groups</h1>
115
116 <p class="whs1"><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs2"> &nbsp;&nbsp;<span 
117  style="font-weight: normal;">In MESH you 
118  can create groups of elements of different types. To create a group of 
119  elements</span><span style="font-weight: normal; margin-left: 40px;"> 
120  in the </span><span style="margin-left: 40px;">Mesh</span><span style="font-weight: normal; margin-left: 40px;"> 
121  menu select </span><span style="margin-left: 40px;">Create Group</span><span 
122  style="font-weight: normal; margin-left: 40px;">.</span><span style="margin-left: 40px;"> 
123  </span></p>
124
125 <p class="whs3">To create any group 
126  you should define the following: &nbsp;&nbsp;</p>
127
128 <ul type="disc" class="whs4">
129         
130         <li class=kadov-p><p class="whs5">Mesh: 
131  <span style="font-weight: normal;">the name of the mesh whose elements 
132  will form your group. You can select your mesh in the Objet Browser or 
133  in the 3D viewer.</span></p></li>
134         
135         <li class=kadov-p><p class="whs3"><span 
136  style="font-weight: bold;"><B>Elements</B></span> <span style="font-weight: bold;"><B>Type</B></span> 
137  set of radio buttons allows to select the type of elements which will 
138  form your group:</p></li>
139         
140         <ul type="disc" class="whs4">
141                 
142                 <li class=kadov-p><p class="whs6">Nodes</p></li>
143                 
144                 <li class=kadov-p><p class="whs6">Edges 
145  </p></li>
146                 
147                 <li class=kadov-p><p class="whs6">Faces</p></li>
148                 
149                 <li class=kadov-p><p class="whs6">Volumes</p></li>
150         </ul>
151         
152         <li class=kadov-p><p class="whs3"><span 
153  style="font-weight: bold;"><B>Name </B></span>field allows to enter the name 
154  of your new group.</p></li>
155 </ul>
156
157 <p class="whs3">SALOME Platform distinguishes 
158  between the two Group types: <span style="font-weight: bold;"><B>Standalone 
159  Group</B></span> and <span style="font-weight: bold;"><B>Group on Geometry</B></span>. 
160  &nbsp;</p>
161
162 <h3>Standalone Group </h3>
163
164 <p class="whs7"><span style="font-weight: bold;"><B>Standalone 
165  Group</B></span> consists of mesh elements, which you can define in two possible 
166  ways.</p>
167
168 <ul type="disc" class="whs4">
169         
170         <li class=kadov-p><p class="whs8">Choosing them manually 
171  with the mouse in the 3D Viewer. You can click on an element in the 3D 
172  viewer and it will be highlighted. After that click the <span style="font-weight: bold;"><B>Add 
173  </B></span>button and the ID of this element will be added to the list. </p></li>
174         
175         <li class=kadov-p><p class="whs7">Applying Filters. The 
176  <span style="font-weight: bold;"><B>Set filter </B></span>button allows to apply 
177  a definite filter to selection of the elements of your group. See more 
178  about filters on the <a href="../selection_filter_library.htm">Selection 
179  filter library</a> page. &nbsp;&nbsp;</p></li>
180 </ul>
181
182 <p class="whs7">To remove a selected element or elements 
183  from the list click the <span style="font-weight: bold;"><B>Remove </B></span>button. 
184  The <span style="font-weight: bold;"><B>Sort List </B></span>button allows to 
185  sort the list of IDs of mesh elements. </p>
186
187 <p class="whs7"><span style="font-weight: bold;"><B>Select from 
188  </B></span>set of fields allows to choose a submesh or an existing group whose 
189  elements of the previously defined type will be added to the list of elements 
190  which will form your group. </p>
191
192 <p class="whs7"><span style="font-weight: bold;"><B>Color Number</B></span> 
193  (integer only, ranging from 0 to 9999) - allows to assign to the group 
194  a certain index, for example, defining boundary conditions. This feature 
195  introduces a useful element of preprocessing in Mesh module. Note that 
196  <span style="font-weight: bold;"><B>Color number</B></span> attribute has nothing 
197  to do with the colors used for the display of the elements of the group.</p>
198
199 <p class="whs7">&nbsp;</p>
200
201 <table x-use-null-cells cellspacing="0" width="100%" class="whs9">
202 <col class="whs10">
203 <col class="whs11">
204
205 <tr valign="top" class="whs12">
206 <td width="33.382%" class="whs13">
207 <p class="whs1"><img src="../pics/creategroup.png" x-maintain-ratio="TRUE" width="312px" height="621px" border="0" class="img_whs14"></td>
208 <td width="66.618%" class="whs15">
209 <p class="whs16"><img src="../image130.gif" width="145px" height="150px" align="left" border="0" class="img_whs17"> &nbsp;&nbsp;</p>
210 <p class="whs16">&nbsp;</p>
211 <p class="whs16">&nbsp;</p>
212 <p class="whs16">&nbsp;</p>
213 <p class="whs16">&nbsp;</p>
214 <p class="whs16">&nbsp;</p>
215 <p class="whs16">In this picture the brown cells belong to 
216  a group defined manually.</p>
217 <p class="whs16">&nbsp;</p>
218 <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 
219  by the criterion <br>
220 Taper &gt; 0. </p>
221 <p class="whs16">&nbsp;</p>
222 <p class="whs16">&nbsp;</td></tr>
223 </table>
224
225 <p class="whs7">&nbsp;</p>
226
227 <p class="whs5">&nbsp;&nbsp;&nbsp;See 
228  Also a sample TUI Script of a <a href="../grouping_elements.htm#bookmark">Create 
229  a Standalone Group</a> operation. &nbsp;</p>
230
231 <h3>Group on Geometry </h3>
232
233 <p class="whs3">To create a group on 
234  geometry check <span style="font-weight: bold;"><B>Group on geometry</B></span> 
235  in the <span style="font-weight: bold;"><B>Group type</B></span> field. <span 
236  style="font-weight: bold;"><B>Group on geometry </B></span>contains the elements 
237  of a certain type belonging to the selected<span style="font-weight: bold;"> 
238  <B></B></span>geometrical object. To define a group select in the Objet Browser 
239  or in the 3D viewer a geometrical object from which the elements will 
240  be taken. After confirmation of the operation a new group of mesh elements 
241  will be created.</p>
242
243 <p class="whs3">&nbsp;</p>
244
245 <table x-use-null-cells cellspacing="0" width="100%" class="whs9">
246 <col class="whs19">
247 <col class="whs20">
248
249 <tr valign="top" class="whs21">
250 <td width="33.48%" class="whs22">
251 <p><img src="../pics/a-creategroup.png" x-maintain-ratio="TRUE" width="312px" height="312px" border="0" class="img_whs23"></td>
252 <td width="66.52%" class="whs24">
253 <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 
254  are selected in green. </td></tr>
255 </table>
256
257 <p class="whs3">&nbsp;</p>
258
259 <p class="whs6">&nbsp;&nbsp;&nbsp;See 
260  Also a sample TUI Script of a <a href="../grouping_elements.htm#bookmark5">Create 
261  a Group on Geometry</a><a href="../grouping_elements.htm#bookmark"> </a>operation. 
262  &nbsp;</p>
263
264 <p>&nbsp;</p>
265
266 <p>&nbsp;</p>
267
268 <p class="whs16">&nbsp;</p>
269
270 <p class="whs26">&nbsp;</p>
271
272 <p>&nbsp;</p>
273
274 <script type="text/javascript" language="javascript1.2">
275 <!--
276 if (window.writeIntopicBar)
277         writeIntopicBar(0);
278 //-->
279 </script>
280 </body>
281 </html>