Salome HOME
[bos #32739][CEA] 3D warp
[modules/smesh.git] / doc / gui / input / make_2dmesh_from_3d_elements.rst
1 .. _make_2dmesh_from_3d_elements_page:
2
3 **************************
4 Generate 2D mesh from 3D elements
5 **************************
6
7 This functionality allows to generate 2D mesh elements from the 3D elements in the mesh.
8
9 .. image:: ../images/2d_mesh_from_3d_elements.jpg
10         :align: center
11
12 .. centered::
13         2D mesh created from the 3D elements
14
15
16 *To generate 2D elements:*
17
18 .. |img| image:: ../images/2d_mesh_from_3d_elements_icon.png
19
20 #. Select a mesh or group in the Object Browser or in the 3D Viewer
21 #. From the **Modification** menu choose **Create 2D mesh from 3D** item, or click "Create 2D mesh from 3D" button |img| in the toolbar
22
23    The following dialog box will appear:
24
25         .. image:: ../images/2d_mesh_from_3d_elements_dlg.png   
26                 :align: center
27
28         .. centered::
29                  Create 2D mesh from 3D elements dialog box
30
31 #. Click the **Apply** or **Apply and Close** button to perform the operation.
32
33 In this dialog:
34
35 * specify the **Target** mesh, where the boundary elements will be created.
36   
37         * **This mesh** adds elements in the selected mesh.
38         * **New mesh** adds elements to a new mesh. The new mesh appears in the Object Browser with the name that you can change in the adjacent box. 
39   
40 * activate **Copy source mesh** checkbox to copy all elements of the selected mesh to the new mesh, else the new mesh will contain only 2D elements (old and created by this operation).
41 * activate **Create group** checkbox to create a group to which all the 2D elements (old and new) are added. The new group appears in the Object Browser with the name that you can change in the adjacent box. 
42
43 **See Also** a sample TUI Script of a :ref:`tui_make_2dmesh_from_3d_elements` operation.  
44
45