X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FSMESH%2Finput%2Fcreating_groups.doc;h=34643a7b2c3eaa34f2c2ce20267672de696607cc;hp=bba92d58a66ffe260e64e5049cc8f618c8574bff;hb=707703a9f4b4c39646188de02d51357e1d8dd577;hpb=79b1ac2b6df9117f16f11d444b1f165d477a1813
diff --git a/doc/salome/gui/SMESH/input/creating_groups.doc b/doc/salome/gui/SMESH/input/creating_groups.doc
index bba92d58a..34643a7b2 100644
--- a/doc/salome/gui/SMESH/input/creating_groups.doc
+++ b/doc/salome/gui/SMESH/input/creating_groups.doc
@@ -2,83 +2,136 @@
\page creating_groups_page Creating groups
-\n In MESH you can create groups of elements of different types. To
-create a group of elements in the \b Mesh menu select Create
-Group.
-\n To create any group you should define the following:
+\n In MESH you can create a group of elements of a certain type. The
+contents of the group can be defined in different ways. To create a group, in the \b
+Mesh menu select Create Group item (also available in the
+context menu of the mesh).
+To create a group of any type you should define the following:
-- Mesh - the name of the mesh whose elements will form your
+
- Mesh - the mesh whose elements will form your
group. You can select your mesh in the Objet Browser or in the 3D
viewer.
- Elements Type - set of radio buttons allows to select the type of
elements which will form your group:
- Nodes
+- 0D Element
+- Ball
- Edges
- Faces
- Volumes
- Name field allows to enter the name of your new group.
+- Color - allows to assign to the group a certain color, for
+example, defining boundary conditions. The chosen color is used to
+display the elements of the group. The color attribute of the group is
+not persistent, it is lost if you save and then load the study from
+the file.
-SALOME Platform distinguishes between the two Group types:
-Standalone Group and Group on Geometry.
+SALOME Platform distinguishes between the three Group types:
+Standalone Group, Group on Geometry and Group on Filter.
-
Standalone Group
+\anchor standalone_group
"Standalone Group"
-Standalone Group consists of mesh elements, which you can define in
-two possible ways.
+Standalone Group contains a list of mesh elements, which you can define in
+the following ways:
-- Choosing them manually with the mouse in the 3D Viewer. You can
-click on an element in the 3D viewer and it will be highlighted. After
-that click the \b Add button and the ID of this element will be added to
-the list.
-- Applying Filters. The Set filter button allows to apply a
-definite filter to selection of the elements of your group. See more
-about filters on the
-\ref selection_filter_library_page "Selection filter library" page.
+- By adding all entities of the chosen type existing in the
+ mesh. For this, turn on the Select All check box. In this mode
+ all controls, which allow selecting the entities in other ways, are
+ disabled.
+- By choosing entities manually with the mouse in the 3D Viewer. For
+ this, turn on the Enable manual edition check box. You can
+ click on an element in the 3D viewer and it will be highlighted. After
+ that click the \b Add button and the ID of this element will be
+ added to the list.
+ The Set filter button allows to define the filter for
+ selection of the elements for your group. See more about filters on
+ the \ref selection_filter_library_page "Selection filter library"
+ page.
+- By adding entities from either a sub-mesh or an existing
+ group. For this, turn on the Enable manual edition check
+ box. Select from set of fields allows to select a sub-mesh or
+ a group of the appropriate type.
+
+In the manual edition mode you can
+
+- click the \b Remove button to remove the selected items from
+ the list.
+- click the Sort List button to sort the list of IDs of
+ mesh elements.
-To remove a selected element or elements from the list click the
-\b Remove button. The Sort List button allows to sort the list of IDs of
-mesh elements.
-\n Select from set of fields allows to choose a submesh or an existing
-group whose elements of the previously defined type will be added to
-the list of elements which will form your group.
-\n Color Number (integer only, ranging from 0 to 9999) - allows to
-assign to the group a certain index, for example, defining boundary
-conditions. This feature introduces a useful element of preprocessing
-in Mesh module. Note that Color number attribute has nothing to do
-with the colors used for the display of the elements of the group.
\image html creategroup.png
+
+For example, to create a new group containing all faces of an
+existing group and some other faces selected in the viewer:
+
+- Select the \b Face type of entities and input the name of the new group.
+- Check the \b Group checkbox in Select From group.
+- Select the existing group of faces in the object browser or in the viewer
+- Click \b Add in \b Content group. Id Elements list will be filled
+with IDs of faces belonging to the exising group.
+- Select other faces in the viewer.
+- Click \b Add in \b Content group.
+- Click \b Apply button to create the new group.
+
+
+Please note that the new group does not have references to the source
+group. It contains only the list of face IDs. So if the source group
+is changed, the new one is not updated accordingly.
+
+
\image html image130.gif
-In this picture the brown cells belong to a group defined manually.
+In this picture the brown cells belong to a group defined
+ manually.
\image html image131.gif
-In this picture the brown cells belong to the group defined by the criterion
-Taper > 0.
+In this picture the brown cells belong to the group defined by
+ the criterion Taper > 0.
See Also a sample TUI Script of a
\ref tui_create_standalone_group "Create a Standalone Group"
operation.
-
Group on Geometry
-To create a group on geometry check Group on geometry in the \b Group
-\b type field. Group on geometry contains the elements of a certain type
-belonging to the selected geometrical object. To define a group select
-in the Objet Browser or in the 3D viewer a geometrical object from
-which the elements will be taken. After confirmation of the operation
-a new group of mesh elements will be created.
+\anchor group_on_geom
"Group on Geometry"
+
+To create a group on geometry check Group on geometry in the \b
+Group \b type field. The group on geometry contains the elements
+of a certain type generated on the selected geometrical object. Group
+contents are dynamically updated if the mesh is modified.
+To define a group, select in the Objet Browser or in the 3D viewer a
+geometrical object from which the elements will be taken. After
+confirmation of the operation a new group of mesh elements will be
+created.
\image html a-creategroup.png
\image html image132.gif
-In this picture the cells which belong to a certain face are
-selected in green.
+In this picture the cells which belong to a certain
+ geometrical face are selected in green.
See Also a sample TUI Script of a
\ref tui_create_group_on_geometry "Create a Group on Geometry"
operation.
-*/
\ No newline at end of file
+
+\anchor group_on_filter
"Group on Filter"
+
+To create a group on filter check Group on filter in the
+Group type field. The group on filter contains the elements
+of a certain type satisfying the defined filter. Group contents are
+dynamically updated if the mesh is modified.
To define a group,
+click the Set filter button and define criteria of the
+filter in the opened dialog. After confirmation of the operation a
+new group of mesh elements will be created. See more about filters on
+the \ref selection_filter_library_page "Selection filter library" page.
+
+\image html creategroup_on_filter.png
+
+See Also a sample TUI Script of a
+\ref tui_create_group_on_filter "Create a Group on Filter" operation.
+
+*/