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