Salome HOME
PR: merged from V5_1_4rc1
[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 \note All dialogs intended for adding nodes or elements to mesh (except dialog for adding
30 0D elements) provide a possibility to add these nodes/elements to the specified group
31 (or to create the group if it doesn't exist). <b>Add to group</b> box allows to choose
32 an existing group for created node or element or to specify a name for new group.
33 </ol>
34
35 <b>See Also</b> sample TUI Scripts of  
36 \ref tui_adding_nodes_and_elements "Adding Nodes and Elements"
37 operations.  
38
39 <br>
40 \anchor adding_nodes_anchor
41 <h2>Adding nodes</h2>
42
43 \image html addnode.png
44
45 In this dialog box set coordinates for your node in the \b Coordinates
46 set of fields and click the \b Apply or <b>Apply and Close</b> button. Your node will be
47 created:
48
49 \image html add_node.png
50
51 <br>
52 \anchor adding_0delems_anchor
53 <h2>Adding 0D elements</h2>
54
55 \image html add0delement.png
56
57 In this dialog box specify the node which will form your 0d element by
58 selecting it in the 3D viewer and click the \b Apply or
59 <b>Apply and Close</b> button. Your 0D element will be created:
60
61 \image html add_0delement.png
62
63 <br>
64 \anchor adding_edges_anchor
65 <h2>Adding edges</h2>
66
67 \image html addedge.png
68
69 In this dialog box specify the nodes which will form your edge by
70 selecting them in the 3D viewer with pressed Shift button and click
71 the \b Apply or <b>Apply and Close</b> button. Your edge will be created:
72
73 \image html add_edge.png
74
75 <br>
76 \anchor adding_triangles_anchor
77 <h2>Adding triangles</h2>
78
79 \image html addtriangle.png
80
81 In this dialog box specify the nodes which will form your triangle by
82 selecting them in the 3D viewer with pressed Shift button and click
83 the \b Apply or <b>Apply and Close</b> button. Your triangle will be created:
84
85 \image html add_triangle.png
86
87 <br>
88 \anchor adding_quadrangles_anchor
89 <h2>Adding quadrangles</h2>
90
91 \image html addquadrangle.png
92
93 In this dialog box specify the nodes which will form your quadrangle
94 by selecting them in the 3D viewer with pressed Shift button and click
95 the \b Apply or <b>Apply and Close</b> button. Your quadrangle will be created:
96
97 \image html add_quadrangle.png
98
99 <br>
100 \anchor adding_polygons_anchor
101 <h2>Adding polygons</h2>
102
103 \image html addpolygon.png
104
105 In this dialog box specify the nodes which will form your polygon by
106 selecting them in the 3D viewer with pressed Shift button and click
107 the \b Apply or <b>Apply and Close</b> button.
108
109 \image html add_polygone.png
110
111 <br>
112 \anchor adding_tetrahedrons_anchor
113 <h2>Adding tetrahedrons</h2>
114
115 \image html addtetrahedron.png
116
117 In this dialog box specify the nodes which will form your tetrahedron
118 by selecting them in the 3D viewer with pressed Shift button and click
119 the \b Apply or <b>Apply and Close</b> button. Your tetrahedron will be created:
120
121 \image html image70.jpg
122
123 <br>
124 \anchor adding_hexahedrons_anchor
125 <h2>Adding hexahedrons</h2>
126
127 \image html addhexahedron.png
128
129 In this dialog box specify the nodes which will form your hexahedron
130 by selecting them in the 3D viewer with pressed Shift button and click
131 the \b Apply or <b>Apply and Close</b> button. Your hexahedron will be created:
132
133 \image html image71.jpg
134
135 <br>
136 \anchor adding_polyhedrons_anchor
137 <h2>Adding polyhedrons</h2>
138
139 \image html a-createpolyhedralvolume.png
140
141 There are two different ways to add polyhedral volumes. 
142 \n If you select \b Node as <b>Elements Type</b> you will specify the
143 nodes which will form the faces of your polyhedron by selecting the
144 nodes in the 3D viewer with pressed Shift button and clicking the \b
145 Add button to add the face in the list of Faces by Nodes, which will
146 form your polyhedron. Note, that it could be very useful to toggle
147 Polyhedron Preview checkbox to see the results of your selection.
148 \n The second way is somewhat simpler, however, there are cases when
149 it does not provide you with the necessary level of precision. If you
150 select \b Face as <b>Elements Type</b>, you will be able to select the faces
151 which will form your polyhedron in the 3D viewer with pressed Shift
152 button. If you've managed to obtain the necessary result, click the
153 \b Apply or <b>Apply and Close</b> button. Your polyhedron will be created:
154
155 \image html add_polyhedron.png
156
157 */