Salome HOME
Fix Redesign of SMESH documentation
[modules/smesh.git] / doc / salome / gui / SMESH / input / constructing_submeshes.rst
index 3f414135d37ad6bcaef6b90633af956f1ea1dfe0..974b27916228a75278cb367a380b82bf83839c85 100644 (file)
@@ -6,6 +6,9 @@ Constructing sub-meshes
 
 .. contents:: `Table of contents`
 
+What the sub-mesh is for
+########################
+
 By purpose, the sub-mesh is an object used to assign to a sub-shape
 different meshing parameters than those assigned to the main shape.
 
@@ -30,10 +33,10 @@ How to get a sub-shape for sub-mesh construction
 A sub-shape to create a sub-mesh on should be retrieved from the main shape
 in one of the following ways: 
 
-       * In Geometry module, via **New Entity > Explode** menu.
-       * In Geometry module, by creation of a group (**New Entity > Group > Create Group** menu). 
-       * In Mesh module, by :ref:`subshape_by_mesh_elem` generated on a sub-shape of interest. This way is accessible if the mesh is already computed. 
-       * In Mesh module, by clicking **Publish Sub-shape** button in a dialog showing :ref:`meshing_failed_anchor`. 
+* In Geometry module, via **New Entity > Explode** menu.
+* In Geometry module, by creation of a group (**New Entity > Group > Create Group** menu). 
+* In Mesh module, by :ref:`selecting a mesh element <subshape_by_mesh_elem>` generated on a sub-shape of interest. This way is accessible if the mesh is already computed. 
+* In Mesh module, by clicking **Publish Sub-shape** button in a dialog showing :ref:`meshing errors <meshing_failed_anchor>`. 
 
 
 .. :submesh_priority: 
@@ -47,15 +50,15 @@ compound of solids, starts from searching an algorithm, 1D as for the
 edge. The following sub-shapes are sequentially checked for presence
 of a sub-mesh where 1D algorithm is assigned:
 
-       * the **edge** itself
-       * **groups of edges** containing the edge, if any
-       * **wires** sharing the edge
-       * **faces** sharing the edge
-       * **groups of faces** sharing the edge, if any
-       * **shells** sharing the edge
-       * **solids** sharing the edge
-       * **groups of solids** sharing the edge, if any
-       * the **main shape**
+* the **edge** itself
+* **groups of edges** containing the edge, if any
+* **wires** sharing the edge
+* **faces** sharing the edge
+* **groups of faces** sharing the edge, if any
+* **shells** sharing the edge
+* **solids** sharing the edge
+* **groups of solids** sharing the edge, if any
+* the **main shape**
 
 (This sequence of sub-shapes defines the priority of sub-meshes. Thus more
 local, i.e. assigned to sub-shape of lower dimension, algorithms and
@@ -73,7 +76,7 @@ same priority.
 If meshing parameters are defined on sub-meshes of the same priority,
 for example, different 1D hypotheses are assigned to two faces sharing
 an edge, the hypothesis assigned to a sub-shape with a lower ID will
-be used for meshing. You can :ref:`submesh_order_anchor` mutual
+be used for meshing. You can :ref:`change <submesh_order_anchor>` mutual
 priority of such concurrent sub-meshes. 
 
 .. _submesh_definition: 
@@ -81,35 +84,31 @@ priority of such concurrent sub-meshes.
 How to construct a sub-mesh
 ###########################
 
-.. note:: Construction of a sub-mesh consists of:
-               * Selecting a mesh which will encapsulate the sub-mesh
-               * Selecting a sub-shape for meshing
-               * Applying one or several :ref:`about_hypo_page` and :ref:`basic_meshing_algos_page` which will be used for discretization of this sub-shape.
+Construction of a sub-mesh consists of:
 
+* Selecting a mesh which will encapsulate the sub-mesh.
+* Selecting a sub-shape for meshing.
+* Selecting a :ref:`meshing algorithm <basic_meshing_algos_page>` which will be used for discretization of this sub-shape.
+* Creating or selecting one or several :ref:`hypotheses <about_hypo_page>`.
 
-**To construct a sub-mesh:**
-From the **Mesh** menu select **Create Sub-mesh** or click **"Create Sum-mesh"** button in the toolbar.
 
-       .. image:: ../images/image33.gif
-               :align: center
+*To construct a sub-mesh:*
+
+.. |img| image:: ../images/image33.gif
 
-       .. centered::
-               **"Create Sub-mesh" button**
+From the **Mesh** menu select **Create Sub-mesh** or click *"Create Sum-mesh"* button |img| in the toolbar.
 
 The following dialog box will appear:
 
        .. image:: ../images/createmesh-inv2.png
                :align: center
 
-It allows to define the **Name**, the parent **Mesh** and the **Geometry** (e.g. a face if the parent mesh has been built on box) of the sub-mesh. You can define meshing algorithms and hypotheses in the same way as in :ref:`constructing_meshes_page` dialog. 
+It allows to define the **Name**, the parent **Mesh** and the **Geometry** (e.g. a face if the parent mesh has been built on box) of the sub-mesh. You can define meshing algorithms and hypotheses in the same way as in :ref:`Create mesh <constructing_meshes_page>` dialog. 
 
-Later you can change the applied hypotheses or their parameters in :ref:`editing_meshes_page` dialog. Mesh entities generated using changed hypotheses are automatically removed.
+Later you can change the applied hypotheses or their parameters in :ref:`Edit mesh/sub-mesh <editing_meshes_page>` dialog. Mesh entities generated using changed hypotheses are automatically removed.
 
 .. _subshape_by_mesh_elem:
 
-Subshape by mesh element
-========================
-
 If the parent mesh is already computed, then you can define the **Geometry** by picking mesh elements computed on a sub-shape of interest in the 3D Viewer, i.e. you do not have to extract this sub-shape in Geometry module beforehand. To start element selection, press *Selection* button to the right of **Geometry** label. If this button is already down, then click it to release and then click it again. The following pop-up menu allowing to choose a way of geometry definition will appear.
 
 .. image:: ../images/choose_geom_selection_way.png
@@ -135,10 +134,11 @@ In the Object Browser the structure of the new sub-mesh will be displayed as fol
                :align: center
 
 It contains:
-       * a sub-mesh name (*SubMeshFace1*)
-       * a reference to the geometrical object on the basis of which the sub-mesh has been constructed (**Cylindrical Face_1**);
-       * **Applied hypotheses** folder containing references to hypotheses assigned to the sub-mesh;
-       * **Applied algorithms** folder containing references to algorithms assigned to the sub-mesh.
+
+* a sub-mesh name (*SubMeshFace1*)
+* a reference to the geometrical object on the basis of which the sub-mesh has been constructed (*Cylindrical Face_1*);
+* *Applied hypotheses* folder containing references to hypotheses assigned to the sub-mesh;
+* *Applied algorithms* folder containing references to algorithms assigned to the sub-mesh.
 
 
 **See Also** a sample TUI Script of a :ref:`tui_construction_submesh` operation.