1 .. |recover.icon| image:: images/recover.png
6 **Recover** feature restores some objects used in previous operations.
8 To recover in the active part:
10 #. select in the Main Menu *Features - > Recover* item or
11 #. click |recover.icon| **Recover** button in the toolbar
13 The feature has the following options:
15 .. image:: images/recover_default_32x32.png
19 restore only the objects used in the operation
21 .. image:: images/recover_compound_32x32.png
25 restore full compound/compsolid if the operation used one or more of its sub-shapes
27 --------------------------------------------------------------------------------
32 .. image:: images/recover_mode_default.png
36 Recover objects used in operation
38 - **Feature** field contains one of the previous operations;
39 - **List of recovered** objects contains all the shapes used in the operation. Need to enable checkbox to restore a shape.
43 .. py:function:: model.addRecover(Part_doc, feature, [recovering_results])
45 :param part: The current part object.
46 :param string: The name of the feature.
47 :param list: A list of results used in the feature.
48 :return: Created object.
53 Result of restoring the shape used in Split operation in compsolid is a single solid.
55 .. image:: images/recover_res_default.png
61 **See also** a sample TUI script of ref:`tui_recover_default` operation.
64 Recover top-level objects
65 -------------------------
67 .. image:: images/recover_mode_compound.png
71 Recover top-level compounds/compsolids of objects used in operation
73 - **Feature** field contains one of the previous operations;
74 - **List of recovered** objects contains all top-level shapes (compounds/compsolids) of the shapes used in the operation. Need to enable checkbox to restore a shape.
78 .. py:function:: model.addRecover(Part_doc, feature, [recovering_results], True)
80 :param part: The current part object.
81 :param string: The name of the feature.
82 :param list: A list of results used in the feature.
83 :param boolean: *True* to specify restoring compounds.
84 :return: Created object.
89 Result of restoring the shape used in Split operation in compsolid is a full compsolid.
91 .. image:: images/recover_res_compound.png
97 **See also** a sample TUI script of ref:`tui_recover_compound` operation.