diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters.png b/doc/salome/gui/SMESH/images/blsurf_parameters.png
index 7988a9c85..4da8a9e3a 100644
Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters.png and b/doc/salome/gui/SMESH/images/blsurf_parameters.png differ
diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_advanced.png b/doc/salome/gui/SMESH/images/blsurf_parameters_advanced.png
index 92bce292b..4fadb6b48 100644
Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters_advanced.png and b/doc/salome/gui/SMESH/images/blsurf_parameters_advanced.png differ
diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_enforced_vertices.png b/doc/salome/gui/SMESH/images/blsurf_parameters_enforced_vertices.png
index e55dec36b..4a76b1a73 100644
Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters_enforced_vertices.png and b/doc/salome/gui/SMESH/images/blsurf_parameters_enforced_vertices.png differ
diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png
index 28e0ebc0f..4ae88c895 100644
Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png and b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap1.png differ
diff --git a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png
index 57d5cceb2..e5e000d32 100644
Binary files a/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png and b/doc/salome/gui/SMESH/images/blsurf_parameters_sizemap2.png differ
diff --git a/doc/salome/gui/SMESH/images/ghs3d_enforced_vertices.png b/doc/salome/gui/SMESH/images/ghs3d_enforced_vertices.png
index c47174396..d3a4bbcfa 100644
Binary files a/doc/salome/gui/SMESH/images/ghs3d_enforced_vertices.png and b/doc/salome/gui/SMESH/images/ghs3d_enforced_vertices.png differ
diff --git a/doc/salome/gui/SMESH/images/ghs3d_parameters_advanced.png b/doc/salome/gui/SMESH/images/ghs3d_parameters_advanced.png
index 1d6b7c7a2..c254112a2 100644
Binary files a/doc/salome/gui/SMESH/images/ghs3d_parameters_advanced.png and b/doc/salome/gui/SMESH/images/ghs3d_parameters_advanced.png differ
diff --git a/doc/salome/gui/SMESH/images/ghs3d_parameters_basic.png b/doc/salome/gui/SMESH/images/ghs3d_parameters_basic.png
index cd92b45fc..9519c1461 100644
Binary files a/doc/salome/gui/SMESH/images/ghs3d_parameters_basic.png and b/doc/salome/gui/SMESH/images/ghs3d_parameters_basic.png differ
diff --git a/doc/salome/gui/SMESH/input/blsurf_hypo.doc b/doc/salome/gui/SMESH/input/blsurf_hypo.doc
index 391c9a7b2..e6de9a165 100644
--- a/doc/salome/gui/SMESH/input/blsurf_hypo.doc
+++ b/doc/salome/gui/SMESH/input/blsurf_hypo.doc
@@ -2,10 +2,25 @@
\page blsurf_hypo_page BLSURF Parameters hypothesis
+\anchor blsurf_top
\n BLSURF Parameters hypothesis works only with BLSURF 2d
algorithm. This algorithm is a commercial software.
\n To get a licence, visit http://www.distene.com/corp/eval-distene.html
+
+- \ref blsurf_general_parameters "General parameters"
+- \ref blsurf_advanced_parameters "Advanced parameters"
+- \ref blsurf_local_size "Local size"
+
+- \ref blsurf_sizemap_computation "Computation of the physical size"
+- \ref blsurf_attractor "Advanced maps"
+- \ref blsurf_attractor_computation "Computation of attractors"
+
+- \ref blsurf_enforced_elements "Enforced vertices"
+- \ref blsurf_limitations "Limitations"
+
+
+\anchor blsurf_general_parameters
General parameters
\image html blsurf_parameters.png
@@ -55,7 +70,11 @@ two adjacent edges.
Patch independent - if checked, geometrical
edges are not respected and all geometrical faces are meshed as one
hyper-face.
+
+\ref blsurf_top "Back to top"
+
+\anchor blsurf_advanced_parameters
Advanced parameters
The notion of diag used in the descriptions means the diagonal of the bounding box of the
@@ -258,11 +277,14 @@ String variables:
import_option
-Custom size map
+\ref blsurf_top "Back to top"
+
+\anchor blsurf_local_size
+Local size
\image html blsurf_parameters_sizemap1.png
-User sizes can be defined on faces, edges or vertices.
+Local sizes can be defined on faces, edges or vertices.
- The faces, edges and vertices can belong to the meshed geometrical
object or to its sub-shapes (created using Explode command).
@@ -279,6 +301,8 @@ object or to its sub-shapes (created using Explode command).
+\ref blsurf_top "Back to top"
+
\anchor blsurf_sizemap_computation
Computation of the physical size
\n
@@ -294,6 +318,8 @@ specification of the sizes. The computation depends on whether point P is intern
In order to compute the mean of several values, the arithmetic mean is used by default, but this can be modified by the parameter \ref blsurf_hmean_flag "hmean flag". In the same way, in order to interpolate two values, a linear interpolation is used by default, but this can be modified by \ref blsurf_hinterpol_flag "hinterpol flag".
+\ref blsurf_top "Back to top"
+
\anchor blsurf_attractor
Advanced maps
\n
@@ -342,6 +368,8 @@ where such a hypothesis has been defined.
See Also a sample TUI Script of the \ref tui_blsurf "creation of a BLSurf hypothesis", including size map.
+\ref blsurf_top "Back to top"
+
\anchor blsurf_attractor_computation
Computation of attractors
\n
@@ -356,21 +384,32 @@ shape. The distance is the geodesic distance (i.e. calculated by following the s
R is called the distance of influence and allows controlling the growth rate of the mesh
-Custom enforced vertices
+\ref blsurf_top "Back to top"
+
+\anchor blsurf_enforced_elements
+Enforced vertices
\image html blsurf_parameters_enforced_vertices.png
-It is possible to define some enforced vertices to BLSurf algorithm
-without creating any vertices by CAD algorithms.
+It is possible to define some enforced vertices to BLSurf algorithm.
+An enforced vertex is defined on a Face or a Compound by
+
+- selecting an existing Vertex or Compound,
+- or creating a new vertex given its coordinates.
+
+The enforced vertex is the projection of a point defined by its
+(x,y,z) coordinates on the selected face.
-- The enforced vertex is the projection of a point defined by its
-(x,y,z) coordinates on the selected face.
- It is possible to define several enforced vertices on a face or a group of faces.
- If the projected point is on the boundary or outside of the face, it will be ignored.
+- If a group name is specified, the enforced nodes will be added in the group. If the group does not exist it will be created.
See Also a sample TUI Script of the \ref tui_blsurf "creation of a BLSurf hypothesis", including enforced vertices.
+\ref blsurf_top "Back to top"
+
+\anchor blsurf_limitations
Limitations
Currently BLSURF plugin has the following limitations.
@@ -389,4 +428,6 @@ Currently BLSURF plugin has the following limitations.
+\ref blsurf_top "Back to top"
+
*/
diff --git a/doc/salome/gui/SMESH/input/ghs3d_hypo.doc b/doc/salome/gui/SMESH/input/ghs3d_hypo.doc
index b3bdb0a68..c2216427b 100644
--- a/doc/salome/gui/SMESH/input/ghs3d_hypo.doc
+++ b/doc/salome/gui/SMESH/input/ghs3d_hypo.doc
@@ -2,10 +2,19 @@
\page ghs3d_hypo_page GHS3D Parameters hypothesis
+\anchor ghs3d_top
\n GHS3D Parameters hypothesis works only with Tetrahedron (GHS3D)
algorithm. This algorithm is a commercial software.
\n To get a licence, visit http://www.distene.com/corp/eval-distene.html
+
+- \ref ghs3d_general_parameters "General parameters"
+- \ref ghs3d_advanced_parameters "Advanced parameters"
+- \ref ghs3d_enforced_vertices "Enforced vertices"
+- \ref ghs3d_enforced_meshes "Enforced meshes"
+
+
+\anchor ghs3d_general_parameters
General parameters
\image html ghs3d_parameters_basic.png
@@ -20,10 +29,22 @@ shape will be meshed. Volumic elements created within holes are bound
to the solid.
Optimization level - allows choosing the required
-optimization level: none, light, medium or strong. Higher level of
+optimization level:
+
+- none,
+- light,
+- medium (standard),
+- standard+,
+- strong.
+
+Higher level of
optimisation provides better mesh, but can be time-consuming.
+
+\ref ghs3d_top "Back to top"
+
+\anchor ghs3d_advanced_parameters
Advanced parameters
\image html ghs3d_parameters_advanced.png
@@ -96,22 +117,63 @@ for ghs3d, for example, advanced options.
+\ref ghs3d_top "Back to top"
+\anchor ghs3d_enforced_vertices
Enforced vertices
+\note This feature is currently only available on meshes with no geometry attached. Such meshes can be obtained by
+
+- Copying an existing mesh
+- Importing a mesh from file
+- Applying a transformation to a mesh a get result in a new mesh
+
+
\image html ghs3d_enforced_vertices.png
GHS3D algorithm can locally make the mesh finer. It is possible to define enforced vertices in the volume where the mesh will be detailed.
-
-A node will be created at the enforced vertex coordinates. There is no need to create a vertex in CAD.
+A node will be created at the enforced vertex coordinates.
An enforced vertex is defined by:
-- The (x,y,z) cartesian coordinates
+- A vertex
+
+- from GEOM (Vertex, Compound)
+- or from (x,y,z) cartesian coordinates
+
- A constant physical size
+- If a group name is given, the created node will be added to the group. If the group does not exist, it is created.
+
+\ref ghs3d_top "Back to top"
+
+\anchor ghs3d_enforced_meshes
+Enforced Meshes
+
+\note This feature is currently only available on meshes with no geometry attached. Such meshes can be obtained by
+
+- Copying an existing mesh
+- Importing a mesh from file
+- Applying a transformation to a mesh a get result in a new mesh
+
+
+\image html ghs3d_enforced_meshes.png
+
+GHS3D algorithm can be forced by other meshes, sub-meshes or groups. The constraint elements should be contained
+entirely into the solid meshed.
+
+- The constraint element types are:
+
+- If a size is given, the meshe will be refined around the enforced elements given the size
+- If a group name is given, the enforced elements will be added to the group. If the group does not exist, it is created.
See Also a sample TUI Script of the \ref tui_ghs3d "creation of a Ghs3D hypothesis", including enforced vertices.
+\ref ghs3d_top "Back to top"
+
*/
diff --git a/doc/salome/gui/SMESH/input/tui_defining_ghs3d_hypotheses.doc b/doc/salome/gui/SMESH/input/tui_defining_ghs3d_hypotheses.doc
index f91e076e9..5d9dff78c 100644
--- a/doc/salome/gui/SMESH/input/tui_defining_ghs3d_hypotheses.doc
+++ b/doc/salome/gui/SMESH/input/tui_defining_ghs3d_hypotheses.doc
@@ -3,6 +3,14 @@
\page tui_defining_ghs3d_hypotheses_page Defining Hypotheses for Ghs3D Algorithm
\anchor tui_ghs3d
+
+
+- \ref tui_ghs3d_basic "Construction of Mesh using Ghs3D algorithm"
+- \ref tui_ghs3d_enforced_vertices "Adding enforced vertices"
+- \ref tui_ghs3d_enforced_meshes "Adding enforced mesh"
+
+
+\anchor tui_ghs3d_basic
Construction of Mesh using Ghs3D algorithm
\code
@@ -30,6 +38,9 @@ ghs3dMesh.Compute()
\image html ghs3d_screenshot.png Ghs3d mesh withtout hypothesis
+\ref tui_ghs3d "Back to top"
+
+\anchor tui_ghs3d_enforced_vertices
Adding enforced vertices
\code
@@ -100,6 +111,9 @@ GHS3D_Parameters.ClearEnforcedVertices()
\image html ghs3d_screenshot_enf1.png Ghs3d mesh with enforced vertex
\image html ghs3d_screenshot_enf2.png Ghs3d mesh with enforced vertex from GEOM vertex
+\ref tui_ghs3d "Back to top"
+
+\anchor tui_ghs3d_enforced_meshes
Adding enforced mesh
\code
@@ -156,7 +170,7 @@ GHS3D_Parameters_mesh.SetToMeshHoles( 1 ) # to mesh inside the cylinder
# Create the mesh on the cylinder
Mesh_cylindre = smesh.Mesh(cylindre)
-SetName(Mesh_cylindre,"Mesh_cylindre")
+smesh.SetName(Mesh_cylindre,"Mesh_cylindre")
Mesh_cylindre.AddHypothesis( BLSURF )
Mesh_cylindre.AddHypothesis( BLSURF_Parameters2 )
# Create some groups
@@ -213,4 +227,6 @@ mesh_mesh.Compute()
\image html ghs3d_screenshot_enf5.png
\image html ghs3d_screenshot_enf6.png
+\ref tui_ghs3d "Back to top"
+
*/