X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FSMESH%2Finput%2Fcopy_mesh.rst;h=501352a005d23fef222af46aa4553c570679b882;hp=7d49ed37bed274bd14f6ac998c84193c457e4994;hb=6df8817c1a9827149025cc942249d7083f504d3d;hpb=b7a7d49664daa32e1befb558280e13ed0bde37c9 diff --git a/doc/salome/gui/SMESH/input/copy_mesh.rst b/doc/salome/gui/SMESH/input/copy_mesh.rst index 7d49ed37b..501352a00 100644 --- a/doc/salome/gui/SMESH/input/copy_mesh.rst +++ b/doc/salome/gui/SMESH/input/copy_mesh.rst @@ -4,7 +4,10 @@ Copy Mesh ********* -A mesh can be created by copying a part of or the whole other mesh. +A mesh can be created by copying a part of or the whole other mesh. There are two modes of the operation: + +* copy mesh elements only; +* copy mesh definition to another geometry. This mode can be used only if the source mesh is based on geometry. It is supposed that the new geometry is a modified geometry of the source mesh. *To make a copy of a mesh:* @@ -20,6 +23,7 @@ The following dialog box will appear: In the dialog: +* select the mode of the operation. * specify the part of mesh to copy: * **Select whole mesh, sub-mesh or group** by mouse activating this checkbox; or @@ -28,12 +32,16 @@ In the dialog: * apply Filters. **Set filter** button allows to apply a filter to the selection of elements. See more about filters in the :ref:`selection_filter_library_page` page. * specify the **New Mesh Name**; +* select the **New Geometry**; * specify the conditions of copying: - * activate **Generate groups** checkbox to copy the groups of the source mesh to the newly created mesh. + * activate **Generate groups** check-box to copy the groups of the source mesh to the newly created mesh. In the mode of copying to new geometry, standalone groups are copied only if **Copy Mesh Elements** is activated. + * activate **Reuse hypotheses** check-box to use hypotheses applied to the source mesh in the new mesh. Hypotheses having parameters defined as sub-shapes will be copied independently of this check-box state. + * activate **Copy Mesh Element** to copy mesh elements of sub-shapes that are not modified. * Click **Apply** or **Apply and Close** button to confirm the operation. +When copying the mesh to the new geometry, it can happen that a sub-shape used to define a sub-mesh, group or hypotheses is not found in the new geometry. In this case a new object depending on the not found sub-shape is marked with red color in the Object Browser in order to allow identifying such objects and to fix them, either by modifying their definition or by removing. If a depending object is a group on geometry, a standalone group is created instead. You can't transform it to a group on geometry, it can only be removed and re-created anew. **See Also** a sample script of :ref:`tui_copy_mesh`.