Salome HOME
IMP 22264: EDF 2648 GEOM: Propagate edges automatic orientation
[modules/smesh.git] / doc / salome / gui / SMESH / input / using_operations_on_groups.doc
1 /*!
2
3 \page using_operations_on_groups_page Boolean operations on groups
4
5 \n In MESH you can perform some Boolean operations on groups, which
6 belong to one and the same mesh.
7 <ul>
8 <li>\ref union_anchor "Union"</li>
9 <li>\ref intersection_anchor "Intersection"</li>
10 <li>\ref cut_anchor "Cut"</li>
11 </ul>
12
13
14 <br>
15 \anchor union_anchor
16 <h2>Union of groups</h2>
17
18 This operation allows to create a new group in such a way that all
19 mesh elements that are present in the initial groups will be added to
20 the new one.
21
22 <em>To union groups:</em>
23 <ol>
24 <li>In the \b Mesh menu select the <b>Union Groups</b> item. The following
25 dialog box will appear:
26
27 \image html uniongroups.png
28
29 In this dialog box you should specify the name of the resulting group
30 and set of groups which will be united.
31
32 For example, we have two groups Group1 and Group2. 
33 \n The result of their \b Union will be Group12:
34
35 \image html image133.gif
36 <center>Group1</center>
37
38 \image html image134.gif
39 <center>Group2</center>
40
41 \image html image135.gif
42 <center>Group12</center>
43 </li>
44 <li>Click the \b Apply or <b>Apply and Close</b> button to confirm creation of the group.</li>
45 </ol>
46
47 <b>See Also</b> a sample TUI Script of a 
48 \ref tui_union_of_groups "Union of Groups" operation.
49
50 <br>
51 \anchor intersection_anchor
52 <h2>Intersection of groups</h2>
53
54 This operation allows to create a new group in such a way that all
55 mesh elements that are present in all initial groups together are added to the
56 new one.
57
58 <em>To intersect groups:</em>
59 <ol>
60 <li>In the \b Mesh menu select the <b>Intersect Groups</b> item. The
61 following dialog box will appear:
62
63 \image html intersectgroups.png
64
65 In this dialog box you should specify the name of the resulting group
66 and set of groups which will be intersected.
67
68 For example, we have two groups Group1 and Group2. 
69 \n The result of their \b Intersection will be Group12a:
70
71 \image html image133.gif
72 <center>Group1</center>
73
74 \image html image134.gif
75 <center>Group2</center>
76
77 \image html image136.gif
78 <center>Group12a</center>
79 </li>
80 <li>Click the \b Apply or <b>Apply and Close</b> button to confirm creation of the group.</li>
81 </ol>
82
83 <b>See Also</b> a sample TUI Script of an  
84 \ref tui_intersection_of_groups "Intersection of Groups" operation.  
85
86 <br>
87 \anchor cut_anchor
88 <h2>Cut of groups</h2>
89
90 This operation allows to create a new group in such a way that all
91 mesh elements that are present in the main groups but are absent in the
92 tool groups are added to the new one.
93
94 <em>To cut groups:</em>
95 <ol>
96 <li>In the \b Mesh menu select the <b>Cut Groups</b> item. The
97 following dialog box will appear:
98
99 \image html cutgroups.png
100
101 In this dialog box you should specify the name of the resulting group
102 and groups which will be cut.
103
104 For example, we have two groups Group1 and Group2. 
105 \n The result of their \b Cut will be Group12b:
106
107 \image html image133.gif
108 <center>Group1</center>
109
110 \image html image134.gif
111 <center>Group2</center>
112
113 \image html image137.gif
114 <center>Group12b</center>
115 </li>
116 <li>Click the \b Apply or <b>Apply and Close</b> button to confirm creation of the
117 group.</li>
118 </ol>
119
120 <b>See Also</b> a sample TUI Script of a 
121 \ref tui_cut_of_groups "Cut of Groups" operation.  
122
123 */