Salome HOME
IPAL0054702: TC-9.6.0: 1D Algo "Use Existing 1D elements" is ignored
authoreap <eap@opencascade.com>
Thu, 22 Oct 2020 14:21:19 +0000 (17:21 +0300)
committereap <eap@opencascade.com>
Thu, 22 Oct 2020 14:21:19 +0000 (17:21 +0300)
  Update docs

doc/salome/gui/SMESH/input/define_mesh_by_script.rst
src/SMESH_SWIG/smeshBuilder.py

index 92387778c8580b7397244ee6b596519b744c3d6b..43d7f89afbc0f0a92215b1dd3f0146c7c26b7bb4 100644 (file)
@@ -15,7 +15,9 @@ meshes and to create 2D mesh by your python code. For this, you
 #. run your python code, which creates a 2D mesh,
 #. invoke **Compute** command, which computes a 3D mesh.
 
-.. warning:: **Use Edges to be Created Manually** and **Use Faces to be Created Manually** algorithms should be assigned *before* mesh generation by the Python code.
+  .. warning::
+     * **Use Edges to be Created Manually** and **Use Faces to be Created Manually** algorithms should be assigned *before* mesh generation by the Python code.
+     * Nodes and elements created in your script must be assigned to geometry entities by calling *SetMeshElementOnShape*, *SetNodeOnVertex*, *SetNodeOnEdge* etc. in order to be used by an algorithm of upper dimension.
 
 Consider trying a sample script demonstrating the usage of :ref:`Use Faces to be Created Manually <tui_use_existing_faces>` algorithm for construction of a 2D mesh using Python commands.
 
index b40bc6d1eea57f812cdb8ec5e10a3d48313cd31e..c99e958214e6c0d16b649cb24eeb24c9e4cf9d11 100644 (file)
@@ -4450,7 +4450,7 @@ class Mesh(metaclass = MeshMeta):
 
         Returns:
              A list of edge groups and a list of corresponding node groups,
-             where the group is a list of IDs of edges or elements, like follows
+             where the group is a list of IDs of edges or nodes, like follows
              [[[branch_edges_1],[branch_edges_2]], [[branch_nodes_1],[branch_nodes_2]]].
              If a group is closed, the first and last nodes of the group are same.
         """