1 .. _removing_nodes_and_elements_page:
3 ***************************
4 Removing nodes and elements
5 ***************************
7 In MESH you can remove nodes and all types of cells of your mesh.
9 * :ref:`removing_nodes_anchor`
10 * :ref:`removing_nodes_reconnect_anchor`
11 * :ref:`removing_orphan_nodes_anchor`
12 * :ref:`removing_elements_anchor`
13 * :ref:`clear_mesh_anchor`
17 .. _removing_nodes_anchor:
24 .. |rmn| image:: ../images/remove_nodes_icon.png
26 #. Select your mesh in the Object Browser or in the 3D viewer.
27 #. From the **Modification** menu choose **Remove** and from the associated submenu select the **Nodes**, or just click *"Remove nodes"* button |rmn| in the toolbar.
28 The following dialog box will appear:
30 .. image:: ../images/removenodes.png
34 In this dialog box you can specify one or several nodes:
36 * choose mesh nodes with the mouse in the 3D Viewer. It is possible to select a whole area with a mouse frame; or
37 * input the node IDs directly in **Node IDs** field. The selected nodes will be highlighted in the viewer; or
38 * apply Filters. **Set filter** button allows to apply a filter to the selection of nodes. See more about filters in the :ref:`selection_filter_library_page` page.
40 #. Click **Apply** or **Apply and Close** to confirm deletion of the specified nodes.
43 Be careful while removing nodes because if you remove a definite node of your mesh all adjacent elements will be also deleted.
46 .. _removing_nodes_reconnect_anchor:
48 Removing node with reconnection
49 ###############################
51 This operation removes a node and changes surrounding faces in order to cover a hole appearing in the mesh. This operation applies to 2D triangle mesh only.
53 .. image:: ../images/remove_node_reconnection.png
58 .. |rmnr| image:: ../images/remove_node_reconnection_icon.png
60 #. Select your mesh in the Object Browser or in the 3D viewer.
61 #. From the **Modification** menu choose **Remove** and from the associated submenu select the **Node with reconnection**, or just click *"Remove node with reconnection"* button |rmnr| in the toolbar.
62 The following dialog box will appear:
64 .. image:: ../images/remove_node_reconnection_dlg.png
68 In this dialog box you can specify one node to remove:
70 * choose a mesh node with the mouse in the 3D Viewer or
71 * input the node ID directly in **ID** field. The selected node will be highlighted in the viewer.
73 Activate **Preview** to see how faces will change.
75 #. Click **Apply** or **Apply and Close** to confirm deletion of the specified node.
78 .. _removing_orphan_nodes_anchor:
83 There is a quick way to remove all orphan (free) nodes.
85 *To remove orphan nodes:*
87 .. |rmon| image:: ../images/remove_orphan_nodes_icon.png
89 #. Select your mesh in the Object Browser or in the 3D viewer.
90 #. From the **Modification** menu choose **Remove** and from the associated submenu select **Orphan Nodes**, or just click *"Remove orphan nodes"* button |rmon| in the toolbar.
91 The following Warning message box will appear:
93 .. image:: ../images/removeorphannodes.png
96 #. Confirm nodes removal by pressing "Yes" button.
99 .. _removing_elements_anchor:
104 *To remove an element:*
106 .. |rme| image:: ../images/remove_elements_icon.png
108 #. Select your mesh in the Object Browser or in the 3D viewer.
109 #. From the **Modification** menu choose **Remove** and from the associated submenu select the **Elements**, or just click *"Remove elements"* button |rme| in the toolbar.
111 The following dialog box will appear:
113 .. image:: ../images/removeelements.png
116 In this dialog box you can specify one or several elements:
118 * choose mesh elements with the mouse in the 3D Viewer. It is possible to select a whole area with a mouse frame; or
119 * input the element IDs directly in **ID Elements** field. The selected elements will be highlighted in the viewer; or
120 * apply Filters. **Set filter** button allows to apply a filter to the selection of elements. See more about filters in the :ref:`selection_filter_library_page` page.
122 #. Click **Apply** or **Apply and Close** to confirm deletion of the specified elements.
124 .. image:: ../images/remove_nodes1.png
130 .. image:: ../images/remove_nodes2.png
134 The mesh with some elements removed
137 .. _clear_mesh_anchor:
142 *To remove all nodes and all types of cells in your mesh at once:*
144 .. |clr| image:: ../images/mesh_clear.png
146 #. Select your mesh in the Object Browser or in the 3D viewer.
147 #. From the **Modification** menu choose **Remove** and from the associated submenu select the **Clear Mesh Data**, or just click *"Clear Mesh Data"* button |clr| in the toolbar. You can also right-click on the mesh in the Object Browser and select **Clear Mesh Data** in the pop-up menu.
150 This command works in a different way in different situations:
151 * if the mesh is computed on a geometry, then *Clear Mesh Data* removes all elements and nodes.
152 * if the mesh is not based on a geometry (imported, compound, created from scratch etc.), then *Clear Mesh Data* removes only the elements and nodes computed by algorithms. If no such elements or nodes have been created, can remove nothing.
154 **See Also** a sample TUI Script of a :ref:`tui_removing_nodes_and_elements` operation.