1 .. _create_dual_mesh_page:
7 We can create the dual of a Tetrahedron Mesh which will be a polyhedron mesh.
8 The Mesh is created using MEDCoupling computeDualMesh function.
10 *To create a dual mesh:*
12 .. |img| image:: ../images/create_dual_mesh_icon.png
14 From the contextual menu in the Object Browser of from the **Mesh** menu select
15 **Create Dual Mesh** or click *"Create Dual Mesh"* button |img| in the toolbar.
17 The following dialog box will appear:
19 .. image:: ../images/create_dual_mesh_dlg.png
24 * specify the mesh for which to create the dual mesh:
25 * **Select whole mesh** from the study tree. If a mesh was selected before calling function it will be preselected.
26 * If the mesh is not made of only Tetrahedrons a error message will be displayed and you won't be allowed to go through.
27 * specify the **New Mesh Name**;
28 * activate **Project boundary elements on shape** for the boundary points of the
29 dual mesh to be projected on their associated shape.
31 * Click **Apply** or **Apply and Close** button to confirm the operation.
33 ----------------------------
34 Limitations of the dual mesh
35 ----------------------------
37 Only 2d groups will be transferred to the dual mesh.
39 If you have convex shape the projection might not improve the mesh.
42 **See Also** a sample script of :ref:`tui_create_dual_mesh`.