/*!
\page adding_nodes_and_elements_page Adding nodes and elements
\n In MESH you can add to your mesh different elements such as:
- \ref adding_nodes_anchor "Nodes"
- \ref adding_edges_anchor "Edges"
- \ref adding_triangles_anchor "Triangles"
- \ref adding_quadrangles_anchor "Quadrangles"
- \ref adding_polygons_anchor "Polygons"
- \ref adding_tetrahedrons_anchor "Tetrahedrons"
- \ref adding_hexahedrons_anchor "Hexahedrons"
- \ref adding_polyhedrons_anchor "Polyhedrons"
To add a node or an element to your mesh:
- Select your mesh in the Object Browser or in the 3D viewer.
- From the \b Modification menu choose the \b Add item, the
following associated submenu will appear:
\image html image146.png
From this submenu select the type of element which you would like to add to your mesh.
See Also sample TUI Scripts of
\ref tui_adding_nodes_and_elements "Adding Nodes and Elements"
operations.
\anchor adding_nodes_anchor
Adding nodes
\image html addnode.png
In this dialog box set coordinates for your node in the \b Coordinates
set of fields and click the \b Apply or Apply and Close button. Your node will be
created:
\image html add_node.png
\note You can also use variables defined in the SALOME \b NoteBook
to specify coordinates of the node:
\image html addnode_notebook.png
\anchor adding_edges_anchor
Adding edges
\image html addedge.png
In this dialog box specify the nodes which will form your edge by
selecting them in the 3D viewer with pressed Shift button and click
the \b Apply or Apply and Close button. Your edge will be created:
\image html add_edge.png
\anchor adding_triangles_anchor
Adding triangles
\image html addtriangle.png
In this dialog box specify the nodes which will form your triangle by
selecting them in the 3D viewer with pressed Shift button and click
the \b Apply or Apply and Close button. Your triangle will be created:
\image html add_triangle.png
\anchor adding_quadrangles_anchor
Adding quadrangles
\image html addquadrangle.png
In this dialog box specify the nodes which will form your quadrangle
by selecting them in the 3D viewer with pressed Shift button and click
the \b Apply or Apply and Close button. Your quadrangle will be created:
\image html add_quadrangle.png
\anchor adding_polygons_anchor
Adding polygons
\image html addpolygon.png
In this dialog box specify the nodes which will form your polygon by
selecting them in the 3D viewer with pressed Shift button and click
the \b Apply or Apply and Close button.
\image html add_polygone.png
\anchor adding_tetrahedrons_anchor
Adding tetrahedrons
\image html addtetrahedron.png
In this dialog box specify the nodes which will form your tetrahedron
by selecting them in the 3D viewer with pressed Shift button and click
the \b Apply or Apply and Close button. Your tetrahedron will be created:
\image html image70.jpg
\anchor adding_hexahedrons_anchor
Adding hexahedrons
\image html addhexahedron.png
In this dialog box specify the nodes which will form your hexahedron
by selecting them in the 3D viewer with pressed Shift button and click
the \b Apply or Apply and Close button. Your hexahedron will be created:
\image html image71.jpg
\anchor adding_polyhedrons_anchor
Adding polyhedrons
\image html a-createpolyhedralvolume.png
There are two different ways to add polyhedral volumes.
\n If you select \b Node as Elements Type you will specify the
nodes which will form the faces of your polyhedron by selecting the
nodes in the 3D viewer with pressed Shift button and clicking the \b
Add button to add the face in the list of Faces by Nodes, which will
form your polyhedron. Note, that it could be very useful to toggle
Polyhedron Preview checkbox to see the results of your selection.
\n The second way is somewhat simpler, however, there are cases when
it does not provide you with the necessary level of precision. If you
select \b Face as Elements Type, you will be able to select the faces
which will form your polyhedron in the 3D viewer with pressed Shift
button. If you've managed to obtain the necessary result, click the
\b Apply or Apply and Close button. Your polyhedron will be created:
\image html add_polyhedron.png
*/