Salome HOME
22833: [CEA 1346] to extrude a group of faces following the normal of each face
[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 orphan (free) nodes.
55
56 <em>To remove 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 <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 nodes removal by pressing "Yes" button.
72 </ol>
73
74 <br>
75 \anchor removing_elements_anchor
76 <h2>Removing elements</h2>
77
78 <em>To remove an element:</em>
79 <ol>
80 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
81
82 <li>From the <em>Modification</em> menu choose <em>Remove</em> and from the
83 associated submenu select the <em>Elements</em>, or just click
84 <em>"Remove elements"</em> button in the toolbar.
85
86 \image html remove_elements_icon.png
87 <center><em>"Remove elements" button</em></center>
88
89 The following dialog box will appear:
90
91 \image html removeelements.png
92
93 In this dialog box you can specify one or several elements
94 <ul>
95 <li>choose mesh elements with the mouse in the 3D Viewer. It is
96 possible to select a whole area with a mouse frame; or</li> 
97 <li>input the element IDs directly in <b>ID Elements</b> field. The selected elements will be highlighted in the
98 viewer; or</li>
99 <li>apply Filters. <b>Set filter</b> button allows to apply a filter to the selection of elements. See more
100 about filters in the \ref selection_filter_library_page "Selection filter library" page.</li>
101 </ul>
102
103 </li>
104 <li>Click \b Apply or <b>Apply and Close</b> to confirm deletion of the specified elements.</li>
105 </ol>
106
107 \image html remove_nodes1.png "The initial mesh"
108
109 \image html remove_nodes2.png "The mesh with some elements removed" 
110
111 <br>
112 \anchor clear_mesh_anchor
113 <h2>Clearing Mesh Data</h2>
114
115 <em>To remove all nodes and all types of cells in your mesh at once:</em>
116 <ol>
117 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
118
119 <li>From the Modification menu choose Remove and from the associated
120 submenu select the Clear Mesh Data, or just click <em>"Clear Mesh Data"</em>
121 button in the toolbar. You can also right-click on the mesh in the
122 Object Browser and select Clear Mesh Data in the pop-up menu.</li>
123 </ol>
124
125 <center>
126 \image html mesh_clear.png
127 <em>"Clear Mesh Data" button</em></center>
128
129 \note This command works in a different way in different situations: <ul>
130   <li> if the mesh is computed on a geometry, then "Clear Mesh Data" removes
131     all elements and nodes.</li>
132   <li> if the mesh is not based on a geometry (imported, compound, created from
133     scratch etc.), then "Clear Mesh Data" removes only the elements and
134     nodes computed by algorithms. If no such elements or nodes have been created, can remove nothing.</li></ul>
135
136 <br><b>See Also</b> a sample TUI Script of a 
137 \ref tui_removing_nodes_and_elements "Removing Nodes and Elements" operation.  
138
139 */
140