Salome HOME
43a27090ebbe51fbf5eaa640fe06dd8b8dfe6d34
[modules/smesh.git] / doc / salome / gui / SMESH / input / merging_elements.rst
1 .. _merging_elements_page:
2
3 ****************
4 Merging Elements
5 ****************
6
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.
8
9 .. image:: ../images/mergeelems_ico.png
10         :align: center
11
12 .. centered::
13         *"Merge elements"* menu button
14
15 To merge elements choose in the main menu **Modification** -> **Transformation** -> **Merge elements** item. The following dialog box shall appear:
16
17 .. image:: ../images/mergeelems_auto.png
18         :align: center
19
20 In this dialog:
21
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
25           If the **Manual** Mode is selected, additional controls are available:
26
27                 .. image:: ../images/mergeelems.png
28                         :align: center
29      
30                                    
31                 * **Detect** button generates the list of coincident elements found in the selected object.
32                 * **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.
33                 * **Remove** button deletes the selected group from the list.
34                 * **Add** button adds to the list a group of elements selected in the viewer with pressed "Shift" key.
35                 * **Select all** check-box selects all groups.
36                 * **Show double elements IDs** check-box shows/hides identifiers of elements of the selected groups in the 3D viewer.
37                 * **Edit selected group of coincident elements** list allows editing the selected group:
38     
39                         .. image:: ../images/add.png
40                            :align: center
41
42                         * adds to the group the elements selected in the viewer.
43     
44                         .. image:: ../images/remove.png
45                            :align: center
46
47                         * removes the selected elements from the group.
48     
49                         .. image:: ../images/sort.png
50                            :align: center
51
52                         * moves the selected element to the first position in the group in order to keep it in the mesh.
53     
54   
55
56         * To confirm your choice click **Apply** or **Apply and Close** button.
57
58
59 In the following 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.
60
61 .. image:: ../images/meshtrianglemergeelem1.png
62         :align: center
63
64 **See Also** a sample TUI Script of a :ref:`tui_merging_elements` operation.
65
66