Salome HOME
040b48214eed7357768a4b021e2fc8a8d6c95551
[modules/smesh.git] / doc / salome / gui / SMESH / files / using_operations_on_groups.htm
1 <!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">\r
2 \r
3 <html>\r
4 \r
5 <head>\r
6 <title>Using operations on groups</title>\r
7 <meta http-equiv="content-type" content="text/html; charset=windows-1252">\r
8 <meta name="generator" content="RoboHelp by eHelp Corporation www.ehelp.com">\r
9 <link rel="stylesheet" href="../default_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">\r
10 <!--\r
11 if (navigator.appName !="Netscape")\r
12 {   document.write("<link rel='stylesheet' href='../default.css'>");}\r
13 //-->\r
14 </script>\r
15 <style type="text/css">\r
16 <!--\r
17 img_whs1 { border:none; width:30px; height:30px; float:none; border-style:none; }\r
18 ul.whs2 { list-style:disc; }\r
19 p.whs3 { font-weight:bold; }\r
20 p.whs4 { margin-left:40px; }\r
21 img_whs5 { border:none; width:306px; height:253px; float:none; border-style:none; }\r
22 p.whs6 { margin-left:0px; }\r
23 -->\r
24 </style><script type="text/javascript" language="JavaScript">\r
25 <!--\r
26 if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))\r
27 {\r
28   var strNSS = "<style type='text/css'>";\r
29   strNSS += "p.whs6 {margin-left:1pt; }";\r
30   strNSS +="</style>";\r
31   document.write(strNSS);\r
32 }\r
33 //-->\r
34 </script>\r
35 <script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">\r
36 <!--\r
37 function reDo() {\r
38   if (innerWidth != origWidth || innerHeight != origHeight)\r
39      location.reload();\r
40 }\r
41 if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {\r
42         origWidth = innerWidth;\r
43         origHeight = innerHeight;\r
44         onresize = reDo;\r
45 }\r
46 onerror = null; \r
47 //-->\r
48 </script>\r
49 <style type="text/css">\r
50 <!--\r
51 div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }\r
52 -->\r
53 </style><script type="text/javascript" language="javascript1.2" src="../whmsg.js"></script>\r
54 <script type="text/javascript" language="javascript" src="../whver.js"></script>\r
55 <script type="text/javascript" language="javascript1.2" src="../whproxy.js"></script>\r
56 <script type="text/javascript" language="javascript1.2" src="../whutils.js"></script>\r
57 <script type="text/javascript" language="javascript1.2" src="../whtopic.js"></script>\r
58 </head>\r
59 <body><script type="text/javascript" language="javascript1.2">\r
60 <!--\r
61 if (window.gbWhTopic)\r
62 {\r
63         if (window.addTocInfo)\r
64         {\r
65         addTocInfo("MESH module\nGrouping elements\nUsing operations on groups");\r
66 addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");\r
67 \r
68         }\r
69         if (window.writeBtnStyle)\r
70                 writeBtnStyle();\r
71 \r
72         if (window.writeIntopicBar)\r
73                 writeIntopicBar(1);\r
74 \r
75         if (window.setRelStartPage)\r
76         {\r
77         setRelStartPage("../smesh.htm");\r
78 \r
79                 autoSync(1);\r
80                 sendSyncInfo();\r
81                 sendAveInfoOut();\r
82         }\r
83 }\r
84 else\r
85         if (window.gbIE4)\r
86                 document.location.reload();\r
87 //-->\r
88 </script>\r
89 <h1>Using operations on groups</h1>\r
90 \r
91 <p><span style="font-weight: bold;"><B><img src="../i_blue.jpg" x-maintain-ratio="TRUE" width="30px" height="30px" border="0" class="img_whs1"> </B></span>In MESH you can \r
92  perform &nbsp;Boolean \r
93  operations on groups such as:</p>\r
94 \r
95 <p>&nbsp;</p>\r
96 \r
97 <ul type="disc" class="whs2">\r
98         \r
99         <li class=kadov-p><p class="whs3"><a href="#Union">Union</a> \r
100  </p></li>\r
101         \r
102         <li class=kadov-p><p class="whs3"><a href="#Intersection">Intersection</a></p></li>\r
103         \r
104         <li class=kadov-p><p class="whs3"><a href="#Cut">Cut</a></p></li>\r
105 </ul>\r
106 \r
107 <p>&nbsp;</p>\r
108 \r
109 <h3><a name=Union></a>Union of two groups</h3>\r
110 \r
111 <p>This operation allows to create a new group in such a way that all mesh \r
112  elements that are present in the initial groups will be added to the new \r
113  one.</p>\r
114 \r
115 <p>&nbsp;</p>\r
116 \r
117 <p class=TODO>To union two groups:</p>\r
118 \r
119 <p class=TODO>&nbsp;</p>\r
120 \r
121 <p class="whs4">1. In the <span style="font-weight: bold;"><B>Mesh \r
122  </B></span>menu select the <span style="font-weight: bold;"><B>Union Groups </B></span>item. \r
123  The following dialog box will appear:</p>\r
124 \r
125 <p class="whs4">&nbsp;</p>\r
126 \r
127 <p class="whs4"><img src="../pics/uniongroups.png" x-maintain-ratio="TRUE" width="306px" height="253px" border="0" class="img_whs5"></p>\r
128 \r
129 <p>&nbsp;</p>\r
130 \r
131 <p class="whs4">In this dialog box you should specify the \r
132  name<span style="font-weight: bold;"> <B></B></span>of the resulting group and \r
133  two groups which will be united.</p>\r
134 \r
135 <p class="whs4">&nbsp;</p>\r
136 \r
137 <p class="whs4">2. Click the <span style="font-weight: bold;"><B>Ok \r
138  </B></span>or <span style="font-weight: bold;"><B>&nbsp;Apply \r
139  </B></span>button to confirm creation of the group. </p>\r
140 \r
141 <p>&nbsp;</p>\r
142 \r
143 <p class="whs6"><span style="font-weight: bold;"><B>See Also</B></span> \r
144  a sample TUI Script of a <a href="../grouping_elements.htm#bookmark2">Union \r
145  of two Groups</a> operation. &nbsp;</p>\r
146 \r
147 <p class="whs6">&nbsp;</p>\r
148 \r
149 <p class="whs6">&nbsp;</p>\r
150 \r
151 <p>&nbsp;</p>\r
152 \r
153 <h3><a name=Intersection></a>Intersection of two groups</h3>\r
154 \r
155 <p>This operation allows to create a new group in such a way that all mesh \r
156  elements that are present in both initial groups are added to the new \r
157  one.</p>\r
158 \r
159 <p>&nbsp;</p>\r
160 \r
161 <p class=TODO>To intersect two groups:</p>\r
162 \r
163 <p class=TODO>&nbsp;</p>\r
164 \r
165 <p class="whs4">1. In the <span style="font-weight: bold;"><B>Mesh \r
166  </B></span>menu select the <span style="font-weight: bold;"><B>Intersect Groups \r
167  </B></span>item. The following dialog box will appear:</p>\r
168 \r
169 <p class="whs4">&nbsp;</p>\r
170 \r
171 <p class="whs4"><img src="../pics/intersectgroups.png" x-maintain-ratio="TRUE" width="306px" height="253px" border="0" class="img_whs5"></p>\r
172 \r
173 <p>&nbsp;</p>\r
174 \r
175 <p class="whs4">In this dialog box you should specify the \r
176  name<span style="font-weight: bold;"> <B></B></span>of the resulting group and \r
177  two groups which will be intersected.</p>\r
178 \r
179 <p class="whs4">&nbsp;</p>\r
180 \r
181 <p class="whs4">2. Click the <span style="font-weight: bold;"><B>Ok \r
182  </B></span>or <span style="font-weight: bold;"><B>&nbsp;Apply \r
183  </B></span>button to confirm creation of the group. </p>\r
184 \r
185 <p>&nbsp;</p>\r
186 \r
187 <p>&nbsp;<span style="font-weight: bold;"><B>See \r
188  Also</B></span> a sample TUI Script of an <a href="../grouping_elements.htm#bookmark3">&nbsp;Intersection \r
189  of two Groups</a> operation. &nbsp;</p>\r
190 \r
191 <p>&nbsp;</p>\r
192 \r
193 <h3><a name=Cut></a>Cut of two groups</h3>\r
194 \r
195 <p>This operation allows to create a new group in such a way that all mesh \r
196  elements that are present in the main group but are absent in the tool \r
197  group are added to the new one.</p>\r
198 \r
199 <p>&nbsp;</p>\r
200 \r
201 <p class=TODO>To cut two groups:</p>\r
202 \r
203 <p class=TODO>&nbsp;</p>\r
204 \r
205 <p class="whs4">1. In the <span style="font-weight: bold;"><B>Mesh \r
206  </B></span>menu select the <span style="font-weight: bold;"><B>Cut Groups </B></span>item. \r
207  The following dialog box will appear:</p>\r
208 \r
209 <p class="whs4">&nbsp;</p>\r
210 \r
211 <p class="whs4"><img src="../pics/cutgroups.png" x-maintain-ratio="TRUE" width="306px" height="253px" border="0" class="img_whs5"></p>\r
212 \r
213 <p>&nbsp;</p>\r
214 \r
215 <p class="whs4">In this dialog box you should specify the \r
216  name<span style="font-weight: bold;"> <B></B></span>of the resulting group and \r
217  two groups which will be cut.</p>\r
218 \r
219 <p class="whs4">&nbsp;</p>\r
220 \r
221 <p class="whs4">2. Click the <span style="font-weight: bold;"><B>Ok \r
222  </B></span>or <span style="font-weight: bold;"><B>&nbsp;Apply \r
223  </B></span>button to confirm creation of the group. &nbsp;</p>\r
224 \r
225 <p>&nbsp;</p>\r
226 \r
227 <p>&nbsp;&nbsp;<span style="font-weight: bold;"><B>See \r
228  Also</B></span> a sample TUI Script of a <a href="../grouping_elements.htm#bookmark3">&nbsp;Cut \r
229  of two Groups</a> operation. &nbsp;</p>\r
230 \r
231 <p>&nbsp;</p>\r
232 \r
233 <p>&nbsp;</p>\r
234 \r
235 <script type="text/javascript" language="javascript1.2">\r
236 <!--\r
237 if (window.writeIntopicBar)\r
238         writeIntopicBar(0);\r
239 //-->\r
240 </script>\r
241 </body>\r
242 </html>\r