1 .. _merging_elements_page:
7 This functionality allows to merge coincident elements of a mesh. Two elements are considered coincident if they are based on the same set of nodes.
9 .. image:: ../images/mergeelems_ico.png
13 "Merge elements menu button"
15 To merge elements choose in the main menu **Modification** -> **Transformation** -> **Merge elements** item. The following dialog box shall appear:
17 .. image:: ../images/mergeelems_auto.png
22 * Name is the name of the mesh object whose elements will be merged.
23 * **Automatic** or **Manual** Mode allows choosing how the elements are processed. In the **Automatic** Mode all elements created on the same nodes will be merged. In **Manual** mode you can adjust groups of coincident elements detected by the program.
24 If the **Manual** Mode is selected, additional controls are available:
26 .. image:: ../images/mergeelems.png
30 * **Detect** button generates the list of coincident elements found in the selected object.
31 * **Coincident elements** is a list of groups of elements for merging. After the operation all elements of each group will be united into one element. The first element of a group is kept and the others are removed.
32 * **Remove** button deletes the selected group from the list.
33 * **Add** button adds to the list a group of elements selected in the viewer with pressed "Shift" key.
34 * **Select all** check-box selects all groups.
35 * **Show double elements IDs** check-box shows/hides identifiers of elements of the selected groups in the 3D viewer.
36 * **Edit selected group of coincident elements** list allows editing the selected group:
38 .. image:: ../images/add.png
42 adds to the group the elements selected in the viewer.
44 .. image:: ../images/remove.png
48 removes the selected elements from the group.
50 .. image:: ../images/sort.png
54 moves the selected element to the first position in the group in order to keep it in the mesh.
58 * To confirm your choice click **Apply** or **Apply and Close** button.
61 In this picture you see a triangle which coincides with one of the elements of the mesh. After we apply **Merge Elements** functionality, the triangle will be completely merged with the mesh.
63 .. image:: ../images/meshtrianglemergeelem1.png
66 **See Also** a sample TUI Script of a :ref:`tui_merging_elements` operation.