2 .. |bool_cut.icon| image:: images/bool_cut.png
8 Cut feature implements a Boolean operation to cut tool objects from main objects.
10 To perform a Cut operationin the active part:
12 #. select in the Main Menu *Features - > Cut* item or
13 #. click |bool_cut.icon| **Cut** button in the toolbar
15 The following property panel will be opened:
17 .. image:: images/boolean_cut_property_panel.png
23 - **Main Objects** contains a list of objects selected in the Object Browser or in the Viewer, which will be cut by tool objects.
24 Any kind of shape can be selected, including subshapes of compsolids/compounds.
25 In this case only selected subshapes will be cut, others will stay untouched (as much as possible).
26 - **Tool Objects** contains a list of objects selected in the Object Browser or in the Viewer, which will cut main objects.
27 Any kind of shape can be selected, including subshapes of compsolids/compounds.
28 Non-selected subshapes from compsolids/compounds will be ignored.
29 - **See preview** button shows a result of the operation.
33 .. py:function:: model.addCut(Part_doc, mainObjects, toolObjects)
35 :param part: The current part object
36 :param list: A list of main objects.
37 :param list: A list of tool objects.
38 :return: Created object
43 A result shape which is a cut by tool objects from main object, will be produced for each selected object:
45 .. image:: images/CreatedCut.png
51 If a subsolid (yellow wireframe) of a compsolid was selected:
53 .. image:: images/boolean_cut_subsolids_arguments.png
59 it will be cut in the result and not selected subsolids will be added to it:
61 .. image:: images/boolean_cut_subsolids_result.png
65 **Cut subsolid result**
68 **See Also** a sample TUI Script of :ref:`tui_create_cut` operation.