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.
36 The result of their **Union** will be Group12:
38 .. image:: ../images/image133.gif
44 .. image:: ../images/image134.gif
50 .. image:: ../images/image135.gif
56 #. Click the **Apply** or **Apply and Close** button to confirm creation of the group.
59 **See Also** a sample TUI Script of a
60 :ref:`tui_union_of_groups` operation.
63 .. _intersection_anchor:
65 Intersection of groups
66 ######################
68 This operation allows to create a new group in such a way that all
69 mesh elements that are present in all initial groups together are added to the
72 **To intersect groups:**
74 #. In the **Mesh** menu select the **Intersect Groups** item. The following dialog box will appear:
76 .. image:: ../images/intersectgroups.png
79 In this dialog box you should specify the name of the resulting group and set of groups which will be intersected.
81 For example, we have two groups Group1 and Group2.
83 The result of their **Intersection** will be Group12a:
85 .. image:: ../images/image133.gif
91 .. image:: ../images/image134.gif
97 .. image:: ../images/image136.gif
103 #. Click the **Apply** or **Apply and Close** button to confirm creation of the group.
106 **See Also** a sample TUI Script of an
107 :ref:`tui_intersection_of_groups` operation.
115 This operation allows to create a new group in such a way that all
116 mesh elements that are present in the main groups but are absent in the
117 tool groups are added to the new one.
121 #. In the **Mesh** menu select the **Cut Groups** item. The following dialog box will appear:
123 .. image:: ../images/cutgroups.png
126 In this dialog box you should specify the name of the resulting group and groups which will be cut.
128 For example, we have two groups Group1 and Group2.
129 The result of their **Cut** will be Group12b:
131 .. image:: ../images/image133.gif
137 .. image:: ../images/image134.gif
143 .. image:: ../images/image137.gif
149 #. Click the **Apply** or **Apply and Close** button to confirm creation of the group.
152 **See Also** a sample TUI Script of a
153 :ref:`tui_cut_of_groups` operation.