Salome HOME
Corrections for the user's manual from the English language point of view
[modules/shaper.git] / src / FeaturesPlugin / doc / removeSubShapesFeature.rst
1
2 Remove Sub-Shapes
3 =================
4
5 Remove Sub-Shapes allows removing sub shapes from wires, shells, compsolids and compounds.
6
7 To Remove Sub-Shapes in the active part:
8
9 #. select in the Main Menu *Features - > Remove Sub-Shapes* item  or
10 #. click **Remove Sub-Shapes** button in the toolbar
11
12 .. image:: images/remove_subshapes_btn.png
13    :align: center
14
15 .. centered::
16    **Remove Sub-Shapes** button
17
18 The following property panel will be opened:
19
20 .. image:: images/RemoveSubShapes.png
21   :align: center
22
23 .. centered::
24   Remove Sub-Shapes
25
26 - **Shape** shape from which sub-shapes should be removed. Only wires, shells, compsolids or compounds are allowed for selection.
27
28 There are 2 options for removing sub-shapes:
29
30 .. image:: images/remove_subshapes_32x32.png
31    :align: left
32 **By removing** allows selecting sub-shapes to be removed.
33
34 - **Sub-Shapes to remove** the list of sub-shapes which should be removed.
35
36 **TUI Command**:
37  | *Remove_SubShapes_1 = model.addRemoveSubShapes(Part_1_doc, object)*
38  | *Remove_SubShapes_1.setSubShapesToRemove(subShapes)*
39
40 **Arguments**: Part + object; List of sub-shapes to remove.
41
42
43 .. image:: images/keep_subshapes_32x32.png
44    :align: left
45 **By keeping** allows select sub-shapes to be kept.
46
47 - **Sub-Shapes to keep** the list of sub-shapes which should be kept.
48
49 **TUI Command**:
50  | *Remove_SubShapes_1 = model.addRemoveSubShapes(Part_1_doc, object)*
51  | *Remove_SubShapes_1.setSubShapesToKeep(subShapes)*
52
53 **Arguments**: Part + object; List of sub-shapes to keep.
54
55
56 Result
57 """"""
58
59 The Result of the operation will be a shape without removed sub-shapes:
60
61 .. image:: images/remove_subshapes_result.png
62            :align: center
63
64 .. centered::
65    **Remove Sub-Shapes**
66
67 **See Also** a sample TUI Script of :ref:`tui_create_remove_subshapes` operation.