1 .. _using_operations_on_groups_page:
3 ****************************
4 Boolean operations on groups
5 ****************************
7 In MESH you can perform some Boolean operations on groups, which belong to one and the same mesh.
10 * :ref:`intersection_anchor`
21 This operation allows to create a new group in such a way that all
22 mesh elements that are present in the initial groups will be added to
27 #. In the **Mesh** menu select the **Union Groups** item. The following dialog box will appear:
29 .. image:: ../images/uniongroups.png
32 In this dialog box you should specify the name of the resulting group and set of groups which will be united.
34 For example, we have two groups Group1 and Group2.
35 The result of their **Union** will be Group12:
37 .. image:: ../images/image133.gif
43 .. image:: ../images/image134.gif
49 .. image:: ../images/image135.gif
55 #. Click the **Apply** or **Apply and Close** button to confirm creation of the group.
58 **See Also** a sample TUI Script of a :ref:`tui_union_of_groups` operation.
61 .. _intersection_anchor:
63 Intersection of groups
64 ######################
66 This operation allows to create a new group in such a way that all
67 mesh elements that are present in all initial groups together are added to the
70 *To intersect groups:*
72 #. In the **Mesh** menu select the **Intersect Groups** item. The following dialog box will appear:
74 .. image:: ../images/intersectgroups.png
77 In this dialog box you should specify the name of the resulting group and set of groups which will be intersected.
79 For example, we have two groups Group1 and Group2.
80 The result of their **Intersection** will be Group12a:
82 .. image:: ../images/image133.gif
88 .. image:: ../images/image134.gif
94 .. image:: ../images/image136.gif
100 #. Click the **Apply** or **Apply and Close** button to confirm creation of the group.
103 **See Also** a sample TUI Script of an :ref:`tui_intersection_of_groups` operation.
111 This operation allows to create a new group in such a way that all
112 mesh elements that are present in the main groups but are absent in the
113 tool groups are added to the new one.
117 #. In the **Mesh** menu select the **Cut Groups** item. The following dialog box will appear:
119 .. image:: ../images/cutgroups.png
122 In this dialog box you should specify the name of the resulting group and groups which will be cut.
124 For example, we have two groups Group1 and Group2.
125 The result of their **Cut** will be Group12b:
127 .. image:: ../images/image133.gif
133 .. image:: ../images/image134.gif
139 .. image:: ../images/image137.gif
145 #. Click the **Apply** or **Apply and Close** button to confirm creation of the group.
148 **See Also** a sample TUI Script of a :ref:`tui_cut_of_groups` operation.