Salome HOME
Update SMESH documentation
[modules/smesh.git] / doc / salome / gui / SMESH / input / adding_nodes_and_elements.doc
1 /*!
2
3 \page adding_nodes_and_elements_page Adding nodes and elements
4
5 \n In MESH you can add to your mesh different elements such as:
6
7 <ul>
8 <li>\ref adding_nodes_anchor "Nodes"</li>
9 <li>\ref adding_0delems_anchor "0D Elements"</li>
10 <li>\ref adding_edges_anchor "Edges"</li>
11 <li>\ref adding_triangles_anchor "Triangles"</li>
12 <li>\ref adding_quadrangles_anchor "Quadrangles"</li>
13 <li>\ref adding_polygons_anchor "Polygons"</li>
14 <li>\ref adding_tetrahedrons_anchor "Tetrahedrons"</li>
15 <li>\ref adding_hexahedrons_anchor "Hexahedrons"</li>
16 <li>\ref adding_polyhedrons_anchor "Polyhedrons"</li>
17 </ul>
18
19 <em>To add a node or an element to your mesh:</em>
20 <ol>
21 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
22
23 <li>From the \b Modification menu choose the \b Add item, the
24 following associated submenu will appear:</li>
25
26 \image html image146.png
27
28 From this submenu select the type of element which you would like to add to your mesh.
29
30 \note All dialogs for adding nodes or elements to the mesh (except for
31 the dialog for 0D elements) provide a possibility to add them to the specified group
32 or to create it anew using <b>Add to group</b> box, which allows to choose
33 an existing group for the created node or element or to give name to a new group.
34 </ol>
35
36 <b>See Also</b> sample TUI Scripts of  
37 \ref tui_adding_nodes_and_elements "Adding Nodes and Elements"
38 operations.  
39
40 <br>
41 \anchor adding_nodes_anchor
42 <h2>Adding nodes</h2>
43
44 \image html addnode.png
45
46 In this dialog box set coordinates for your node in the \b Coordinates
47 set of fields and click the \b Apply or <b>Apply and Close</b> button. Your node will be
48 created:
49
50 \image html add_node.png
51
52 <br>
53 \anchor adding_0delems_anchor
54 <h2>Adding 0D elements</h2>
55
56 \image html add0delement.png
57
58 In this dialog box specify the node which will form your 0d element by
59 selecting it in the 3D viewer and click the \b Apply or
60 <b>Apply and Close</b> button. Your 0D element will be created:
61
62 \image html add_0delement.png
63
64 <br>
65 \anchor adding_edges_anchor
66 <h2>Adding edges</h2>
67
68 \image html addedge.png
69
70 In this dialog box specify the nodes which will form your edge by
71 selecting them in the 3D viewer with pressed Shift button and click
72 the \b Apply or <b>Apply and Close</b> button. Your edge will be created:
73
74 \image html add_edge.png
75
76 <br>
77 \anchor adding_triangles_anchor
78 <h2>Adding triangles</h2>
79
80 \image html addtriangle.png
81
82 In this dialog box specify the nodes which will form your triangle by
83 selecting them in the 3D viewer with pressed Shift button and click
84 the \b Apply or <b>Apply and Close</b> button. Your triangle will be created:
85
86 \image html add_triangle.png
87
88 <br>
89 \anchor adding_quadrangles_anchor
90 <h2>Adding quadrangles</h2>
91
92 \image html addquadrangle.png
93
94 In this dialog box specify the nodes which will form your quadrangle
95 by selecting them in the 3D viewer with pressed Shift button and click
96 the \b Apply or <b>Apply and Close</b> button. Your quadrangle will be created:
97
98 \image html add_quadrangle.png
99
100 <br>
101 \anchor adding_polygons_anchor
102 <h2>Adding polygons</h2>
103
104 \image html addpolygon.png
105
106 In this dialog box specify the nodes which will form your polygon by
107 selecting them in the 3D viewer with pressed Shift button and click
108 the \b Apply or <b>Apply and Close</b> button.
109
110 \image html add_polygone.png
111
112 <br>
113 \anchor adding_tetrahedrons_anchor
114 <h2>Adding tetrahedrons</h2>
115
116 \image html addtetrahedron.png
117
118 In this dialog box specify the nodes which will form your tetrahedron
119 by selecting them in the 3D viewer with pressed Shift button and click
120 the \b Apply or <b>Apply and Close</b> button. Your tetrahedron will be created:
121
122 \image html image70.jpg
123
124 <br>
125 \anchor adding_hexahedrons_anchor
126 <h2>Adding hexahedrons</h2>
127
128 \image html addhexahedron.png
129
130 In this dialog box specify the nodes which will form your hexahedron
131 by selecting them in the 3D viewer with pressed Shift button and click
132 the \b Apply or <b>Apply and Close</b> button. Your hexahedron will be created:
133
134 \image html image71.jpg
135
136 <br>
137 \anchor adding_polyhedrons_anchor
138 <h2>Adding polyhedrons</h2>
139
140 \image html a-createpolyhedralvolume.png
141
142 There are two different ways to add polyhedral volumes. 
143 \n If you select \b Node as <b>Elements Type</b> you will specify the
144 nodes which will form the faces of your polyhedron by selecting the
145 nodes in the 3D viewer with pressed Shift button and clicking the \b
146 Add button to add the face in the list of Faces by Nodes, which will
147 form your polyhedron. Note, that it could be very useful to toggle
148 Polyhedron Preview checkbox to see the results of your selection.
149 \n The second way is somewhat simpler, however, there are cases when
150 it does not provide you with the necessary level of precision. If you
151 select \b Face as <b>Elements Type</b>, you will be able to select the faces
152 which will form your polyhedron in the 3D viewer with pressed Shift
153 button. If you've managed to obtain the necessary result, click the
154 \b Apply or <b>Apply and Close</b> button. Your polyhedron will be created:
155
156 \image html add_polyhedron.png
157
158 */