3 \page adding_nodes_and_elements_page Adding nodes and elements
5 \n In MESH you can add to your mesh different elements such as:
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>
18 <em>To add a node or an element to your mesh:</em>
20 <li>Select your mesh in the Object Browser or in the 3D viewer.</li>
22 <li>From the \b Modification menu choose the \b Add item, the
23 following associated submenu will appear:</li>
25 \image html image146.png
27 From this submenu select the type of element which you would like to add to your mesh.
30 <b>See Also</b> sample TUI Scripts of
31 \ref tui_adding_nodes_and_elements "Adding Nodes and Elements"
35 \anchor adding_nodes_anchor
38 \image html addnode.png
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
44 \image html add_node.png
46 \note You can also use variables defined in the SALOME \b NoteBook
47 to specify coordinates of the node:
49 \image html addnode_notebook.png
52 \anchor adding_edges_anchor
55 \image html addedge.png
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:
61 \image html add_edge.png
64 \anchor adding_triangles_anchor
65 <h2>Adding triangles</h2>
67 \image html addtriangle.png
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:
73 \image html add_triangle.png
76 \anchor adding_quadrangles_anchor
77 <h2>Adding quadrangles</h2>
79 \image html addquadrangle.png
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:
85 \image html add_quadrangle.png
88 \anchor adding_polygons_anchor
89 <h2>Adding polygons</h2>
91 \image html addpolygon.png
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.
97 \image html add_polygone.png
100 \anchor adding_tetrahedrons_anchor
101 <h2>Adding tetrahedrons</h2>
103 \image html addtetrahedron.png
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:
109 \image html image70.jpg
112 \anchor adding_hexahedrons_anchor
113 <h2>Adding hexahedrons</h2>
115 \image html addhexahedron.png
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:
121 \image html image71.jpg
124 \anchor adding_polyhedrons_anchor
125 <h2>Adding polyhedrons</h2>
127 \image html a-createpolyhedralvolume.png
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:
143 \image html add_polyhedron.png