]> SALOME platform Git repositories - modules/smesh.git/blob - doc/salome/gui/SMESH/input/removing_nodes_and_elements.doc
Salome HOME
0020742: EDF 1270 SMESH : Delete Group with contents and remove Orphan Nodes
[modules/smesh.git] / doc / salome / gui / SMESH / input / removing_nodes_and_elements.doc
1 /*!
2
3 \page removing_nodes_and_elements_page Removing nodes and elements
4
5 \n In MESH you can remove nodes and all types of cells of your mesh.
6
7 <ul>
8 <li>\ref removing_nodes_anchor "Nodes"</li>
9 <li>\ref removing_orphan_nodes_anchor "Orphan Nodes"</li>
10 <li>\ref removing_elements_anchor "Elements"</li>
11 <li>\ref clear_mesh_anchor "Clear Mesh Data"</li>
12 </ul>
13
14 <br>
15 \anchor removing_nodes_anchor
16 <h2>Removing nodes</h2>
17
18 <em>To remove a node:</em>
19 <ol>
20 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
21
22 <li>From the <em>Modification</em> menu choose <em>Remove</em> and from the associated
23 submenu select the <em>Nodes</em>, or just click <em>"Remove nodes"</em>
24 button in the toolbar.
25
26 \image html remove_nodes_icon.png
27 <center><em>"Remove nodes" button</em></center>
28
29 The following dialog box will appear:
30
31 \image html removenodes.png
32
33 In this dialog box you can specify one or several nodes:
34 <ul>
35 <li>choose mesh nodes with the mouse in the 3D Viewer. It is
36 possible to select a whole area with a mouse frame; or</li> 
37 <li>input the node IDs directly in <b>ID Elements</b> field. The selected nodes will be highlighted in the
38 viewer; or</li>
39 <li>apply Filters. <b>Set filter</b> button allows to apply a filter to the selection of nodes. See more
40 about filters in the \ref selection_filter_library_page "Selection filter library" page.</li>
41 </ul>
42
43
44 </li>
45 </ol>
46
47 \note Be careful while removing nodes because if you remove a definite
48 node of your mesh all adjacent elements will be also deleted.
49
50 <br>
51 \anchor removing_orphan_nodes_anchor
52 <h2>Removing orphan nodes</h2>
53
54 There is a quick way to remove all the orphan (free) nodes.
55
56 <em>To remove the orphan nodes:</em>
57 <ol>
58 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
59
60 <li>From the <em>Modification</em> menu choose <em>Remove</em> and from the associated
61 submenu select the <em>Orphan Nodes</em>, or just click <em>"Remove orphan nodes"</em>
62 button in the toolbar.
63
64 \image html remove_orphan_nodes_icon.png
65 <center><em>"Remove orphan nodes" button</em></center>
66
67 The following Warning message box will appear:
68
69 \image html removeorphannodes.png
70
71 Confirm removing nodes by pressing "Yes" button.
72
73 <br>
74 \anchor removing_elements_anchor
75 <h2>Removing elements</h2>
76
77 <em>To remove an element:</em>
78 <ol>
79 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
80
81 <li>From the <em>Modification</em> menu choose <em>Remove</em> and from the
82 associated submenu select the <em>Elements</em>, or just click
83 <em>"Remove elements"</em> button in the toolbar.
84
85 \image html remove_elements_icon.png
86 <center><em>"Remove elements" button</em></center>
87
88 The following dialog box will appear:
89
90 \image html removeelements.png
91
92 In this dialog box you can specify one or several elements
93 <ul>
94 <li>choose mesh elements with the mouse in the 3D Viewer. It is
95 possible to select a whole area with a mouse frame; or</li> 
96 <li>input the element IDs directly in <b>ID Elements</b> field. The selected elements will be highlighted in the
97 viewer; or</li>
98 <li>apply Filters. <b>Set filter</b> button allows to apply a filter to the selection of elements. See more
99 about filters in the \ref selection_filter_library_page "Selection filter library" page.</li>
100 </ul>
101
102 </li>
103 <li>Click \b Apply or <b>Apply and Close</b> to confirm deletion of the specified elements.</li>
104 </ol>
105
106 \image html remove_nodes1.png "The initial mesh"
107
108 \image html remove_nodes2.png "The mesh with some elements removed" 
109
110 <br>
111 \anchor clear_mesh_anchor
112 <h2>Clearing Mesh Data</h2>
113
114 <em>To remove all nodes and all types of cells in your mesh at once:</em>
115 <ol>
116 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
117
118 <li>From the Modification menu choose Remove and from the associated
119 submenu select the Clear Mesh Data, or just click <em>"Clear Mesh Data"</em>
120 button in the toolbar. You can also right-click on the mesh in the
121 Object Browser and select Clear Mesh Data in the pop-up menu.
122 </ol>
123
124 \image html mesh_clear.png
125 <center><em>"Clear Mesh Data" button</em></center>
126
127
128 <br><b>See Also</b> a sample TUI Script of a 
129 \ref tui_removing_nodes_and_elements "Removing Nodes and Elements" operation.  
130
131 */
132