Salome HOME
Update SMESH documentation
[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_elements_anchor "Elements"</li>
10 <li>\ref clear_mesh_anchor "Clear Mesh Data"</li>
11 </ul>
12
13 <br>
14 \anchor removing_nodes_anchor
15 <h2>Removing nodes</h2>
16
17 <em>To remove a node:</em>
18 <ol>
19 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
20
21 <li>From the Modification menu choose Remove and from the associated
22 submenu select the Remove nodes, or just click <em>"Remove nodes"</em>
23 button in the toolbar.
24
25 \image html image88.gif
26 <center><em>"Remove nodes" button</em></center>
27
28 The following dialog box will appear:
29
30 \image html removenodes.png
31
32 In this dialog box you can specify one or several nodes:
33 <ul>
34 <li>choose mesh nodes with the mouse in the 3D Viewer. It is
35 possible to select a whole area with a mouse frame; or</li> 
36 <li>input the node IDs directly in <b>ID Elements</b> field. The selected nodes will be highlighted in the
37 viewer; or</li>
38 <li>apply Filters. <b>Set filter</b> button allows to apply a filter to the selection of nodes. See more
39 about filters in the \ref selection_filter_library_page "Selection filter library" page.</li>
40 </ul>
41
42
43 </li>
44 </ol>
45
46 \note Be careful while removing nodes because if you remove a definite
47 node of your mesh all adjacent elements will be also deleted.
48
49 <br>
50 \anchor removing_elements_anchor
51 <h2>Removing elements</h2>
52
53 <em>To remove an element:</em>
54 <ol>
55 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
56
57 <li>From the \b Modification menu choose \b Remove and from the
58 associated submenu select the Remove elements, or just click
59 <em>"Remove elements"</em> button in the toolbar.
60
61 \image html remove_elements_icon.png
62 <center><em>"Remove elements" button</em></center>
63
64 The following dialog box will appear:
65
66 \image html removeelements.png
67
68 In this dialog box you can specify one or several elements
69 <ul>
70 <li>choose mesh elements with the mouse in the 3D Viewer. It is
71 possible to select a whole area with a mouse frame; or</li> 
72 <li>input the element IDs directly in <b>ID Elements</b> field. The selected elements will be highlighted in the
73 viewer; or</li>
74 <li>apply Filters. <b>Set filter</b> button allows to apply a filter to the selection of elements. See more
75 about filters in the \ref selection_filter_library_page "Selection filter library" page.</li>
76 </ul>
77
78 </li>
79 <li>Click \b Apply or <b>Apply and Close</b> to confirm deletion of the specified elements.</li>
80 </ol>
81
82 \image html remove_nodes1.png "The initial mesh"
83
84 \image html remove_nodes2.png "The mesh with some elements removed" 
85
86 <br>
87 \anchor clear_mesh_anchor
88 <h2>Clearing Mesh Data</h2>
89
90 <em>To remove all nodes and all types of cells in your mesh at once:</em>
91 <ol>
92 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
93
94 <li>From the Modification menu choose Remove and from the associated
95 submenu select the Clear Mesh Data, or just click <em>"Clear Mesh Data"</em>
96 button in the toolbar. You can also right-click on the mesh in the
97 Object Browser and select Clear Mesh Data in the pop-up menu.
98 </ol>
99
100 \image html mesh_clear.png
101 <center><em>"Clear Mesh Data" button</em></center>
102
103
104 <br><b>See Also</b> a sample TUI Script of a 
105 \ref tui_removing_nodes_and_elements "Removing Nodes and Elements" operation.  
106
107 */
108