1 .. _merging_nodes_page:
7 This functionality allows user to detect groups of coincident nodes with specified tolerance; each group of the coincident nodes can be then converted to the single node.
9 .. image:: ../images/mergenodes_ico.png
13 *"Merge nodes"* menu button
15 .. |ad| image:: ../images/add.png
16 .. |rm| image:: ../images/remove.png
17 .. |mv| image:: ../images/sort.png
19 *To merge nodes of your mesh:*
21 #. Choose **Modification** -> **Transformation** -> **Merge nodes** menu item. The following dialog box shall appear:
23 .. image:: ../images/mergenodes_auto.png
26 * **Names** contains names of the selected mesh objects whose nodes will be merged.
27 * **Automatic** or **Manual** mode allows choosing how the nodes are processed. In **Manual** mode you can adjust groups of coincident nodes detected by the program and/or select any nodes to be merged.
28 * **Tolerance** is a maximum distance between nodes sufficient for merging.
29 * Activation of **No merge of corner and medium nodes of quadratic cells** check-box prevents merging medium nodes of quadratic elements with corner nodes. This check-box is enabled provided that the selected mesh includes quadratic elements.
30 * Activation of **Avoid making holes** check-box prevents merging nodes that make elements invalid (but not degenerated) and hence removed. Thus, no holes in place of removed elements appear.
31 * **Exclude groups from detection** group allows to ignore the nodes which belong to the specified mesh groups. This control is active provided that the mesh includes groups.
32 * **Nodes to keep during the merge** group allows to specify nodes to keep in the mesh. (By default a node being the first in a group of coincident nodes is kept.) It is possible to either select nodes in the Viewer or select groups of any element type whose nodes will be kept.
34 * *Selection* button activates selection of nodes to keep.
35 * **Nodes** button activates selection of nodes in the Viewer.
36 * **Groups and sub-meshes** button activates selection of groups and sub-meshes.
37 * **Add** button adds selected nodes or groups to the list.
38 * Nodes or groups selected in the list can be removed using **Remove** button.
40 #. **Automatic mode:**
42 * In the **Automatic** Mode all nodes within the indicated tolerance will be merged. The nodes which belong to the groups specified in **Exclude groups from detection** will NOT be taken into account.
44 #. The **Manual** mode gives you full control of what the operation will do. In this mode additional controls are available:
46 * **Detect** button generates the list of coincident nodes for the given **Tolerance**.
47 * **Coincident nodes** is a list of groups of nodes for merging. Upon **Apply** all nodes of each group will be united into one node. The first node of a group is kept and the others are removed. By default the first node has a lowest ID within the group.
49 * **Remove** button deletes the selected group from the list.
50 * **Add** button adds to the list a group of nodes selected in the viewer.
51 * **Select all** check-box selects all groups.
52 * **Show double nodes IDs** check-box shows/hides identifiers of nodes of selected groups in the 3D viewer.
54 .. image:: ../images/mergenodes.png
58 * **Edit selected group of coincident nodes** list allows editing the selected group:
60 * |ad| adds to the group the nodes selected in the viewer.
61 * |rm| removes from the group the selected nodes.
62 * |mv| moves the selected node to the first position in the group in order to keep it in the mesh.
64 #. To confirm your choice click **Apply** or **Apply and Close** button.
66 .. figure:: ../images/merging_nodes1.png
69 The initial object. Nodes 25, 26 and 5 are added to **Nodes to keep during the merge** group.
71 .. figure:: ../images/merging_nodes2.png
74 The object has been merged
77 **See Also** a sample TUI Script of a :ref:`tui_merging_nodes` operation.