# Adding nodes and elements

In SMESH you can add to your mesh different elements such as:

- Nodes

- Edges

- Triangles

- Quadrangles

- Tetrahedrons

- Hexahedrons

To add a node or an element to your mesh:

1. Select your mesh in the Object Browser or in the 3D viewer.

2. From the Modification menu choose the Add item, the following associated submenu will appear:

From this submenu select the type of element which you would like to add to your mesh.

See Also sample TUI Scripts of Adding Nodes and Elements operations.

#### Adding nodes

In this dialog box set coordinates for your node in the Coordinates set of fields and click the Apply or OK button. Your node will be created:

#### Adding edges

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 Apply or OK button. Your edge will be created:

#### Adding triangles

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 Apply or OK button. Your triangle will be created:

#### Adding quadrangles

####

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 Apply or OK button. Your quadrangle will be created:

#### Adding polygons

####

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 Apply or OK button.

#### Adding tetrahedrons

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 Apply or OK button. Your tetrahedron will be created:

#### Adding hexahedrons

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 Apply or OK button. Your hexahedron will be created:

#### Adding polyhedrons

There are two different ways to add polyhedral volumes.

If you select 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 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.

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 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 Apply or OK button. Your hexahedron will be created.