X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FGEOM%2Finput%2Fworking_with_groups.doc;h=07838d585bbb74f1f7217f1e0226074d3315fdee;hb=6920101a3417a24692d4a010aed9c9e7594097a6;hp=ed0909498f4cfa75195a532a8f25948ba3c3ccce;hpb=239f8109c64fa0c5a2e1d87a420bad5529b57f48;p=modules%2Fgeom.git
diff --git a/doc/salome/gui/GEOM/input/working_with_groups.doc b/doc/salome/gui/GEOM/input/working_with_groups.doc
index ed0909498..07838d585 100644
--- a/doc/salome/gui/GEOM/input/working_with_groups.doc
+++ b/doc/salome/gui/GEOM/input/working_with_groups.doc
@@ -2,15 +2,15 @@
\page work_with_groups_page Working with groups
-Creation and editing groups of subshapes of a geometrical object makes
-handling subshapes much easier. This functionality is available in OCC
+Creation and editing groups of sub-shapes of a geometrical object makes
+handling sub-shapes much easier. This functionality is available in OCC
viewer only.
Create a group
-\image html image56.gif
+\image html image56.png
-To create a group of subshapes of a geometrical object in the main
+To create a group of sub-shapes of a geometrical object in the main
menu select New entity > Group > Create
\n The following menu will appear:
@@ -19,45 +19,67 @@ menu select New entity > Group > Create
In this Menu:
-- Shape Type radio button define the type of elements for the
+
- Shape Type radio button defines the type of elements for the
group (points, wires, faces, shells or solids).
-- Group Name - here you can enter the name of the group, by
+
- Group Name - allows defining the name of the group, by
default, it is Group_n.
- Then, using the "Select" button, select the Main Shape (a
-geometrical object on which the group will be created). You can select
-the elements of your group in two ways:
+geometrical object on which the group will be created).
+- Main Shape Selection restriction button group allows limiting the range
+of available group elements,
+
- No restriction button enables all sub-shapes of the Main
+Shape.
+- Geometrical parts of the Second Shape restricts the range of accessible
+elements to the sub-shapes of the Main Shape that geometrically
+coincide with the Second Shape.
+- Only Sub-shapes of the Second Shape restricts the range of
+accessible elements to the sub-shapes of the Main Shape that
+are sub-shapes of the Second Shape. This is useful because
+sometimes purely geometrical coincidence is not enough and it
+is necessary to work with shapes, which actually belong both
+to the main and the second shape.
+
+ - You can selectively display the selected elements using the following buttons:
+
+- Show only selected - displays only the sub-shapes selected in the list box.
+- Hide selected - hides the sub-shapes selected in the list box.
+- Show all sub-shapes - displays only the sub-shapes of the Main Shape.
+
+- You can select the elements of your group in two ways:
-- Clicking Select Sub-Shapes button you can select them
-manually in the 3D Viewer, and add to the group by clicking the \b Add
-button (keep down the Shift button on the keyboard to select several
-elements and add all them together). The indexes of the selected
-elements will be displayed in the list. To delete elements from the
-list, select them and click \b Remove button.
+- You can select them manually in the 3D Viewer, and add to the
+group by clicking the \b Add button (keep down the Shift button on the
+keyboard to select several elements and add all them together). The
+indexes of the selected elements will be displayed in the list. To
+delete elements from the list, select them and click \b Remove
+button.
- Clicking Select All button you can add all object's
elements of a certain type in the list of the elements of the
-group. To delete elements from the list, select them and click \b
-Remove button.
-
- - Finally, confirm your selection by clicking \b OK (also closes the
-Menu) or \b Apply (leaves the Menu open for creation of other groups),
-or skip it by clicking \b Close button.
-
+group. If the Second Shape is used, the elements are added
+according to Main Shape Selection restriction settings. To delete elements
+from the list, select them and click \b Remove button.
+
+
+Finally, confirm your selection by clicking Apply and Close
+ (also closes the Menu) or \b Apply (leaves the Menu open for
+creation of other groups), or skip it by clicking \b Close button.
+
\n The Result of the operation will be a \b GEOM_Object.
\n TUI Command: geompy.CreateGroup(MainShape,
ShapeType), where MainShape is a shape for which the group is
created, ShapeType is a type of shapes in the created group.
-\n Arguments: 1 Shape + Type of subshape.
+\n Arguments: 1 Shape + Type of sub-shape.
Example:
-\image html image193.jpg
+\image html image193.png "Groups on a cylinder"
Edit a group
-\image html image57.gif
+\image html image57.png
To \b Edit an existing group in the main menu select New entity >
Group > Edit. This menu is designed in the same way as the
@@ -68,16 +90,16 @@ Group > Edit. This menu is designed in the same way as the
\n TUI Command:
- geompy.AddObject(Group, SubShapeID), where Group is a
-group to which a sub shape has to be added, SubShapeID is an ID of the
-sub shape to be added to the group.
+group to which a sub-shape has to be added, SubShapeID is an ID of the
+sub-shape to be added to the group.
- geompy.RemoveObject(Group, SubShapeID), where Group is a
-group from which a sub shape has to be removed, SubShapeID is an ID of
-the sub shape to be removed from the group.
+group from which a sub-shape has to be removed, SubShapeID is an ID of
+the sub-shape to be removed from the group.
- geompy.GetObjectIDs(Group), where Group is a group for which its object's are returned.
\n Returns: List of IDs.
-\n Arguments: 1 Shape + its subshapes.
+\n Arguments: 1 Shape + its sub-shapes.
\n Dialog Box: