5 Smash feature implements a boolean operation for smashing a set of main objects by a set of tool objects.
7 To create a Smash in the active part:
9 #. select in the Main Menu *Features - > Smash* item or
10 #. click **Smash** button in the toolbar
12 .. image:: images/bool_smash.png
18 The following property panel will be opened:
20 .. image:: images/Smash.png
26 - **Main Objects** contains a list of objects selected in the Object Browser or in the Viewer, which will be smashed by tool objects.
27 If a subshape that belongs to a compsolid/compound was selected, other shapes of this compsolid/compound will be cut from
28 other objects (to avoid self intersection) and added to the result.
29 - **Tool Objects** contains a list of objects selected in the Object Browser or in the Viewer, which will be smashed into main objects.
30 If a subshape that belongs to a compsolid/compound was selected, other shapes of this compsolid/compound will be ignored.
31 - **See preview** button shows a result of the operation.
33 **TUI Command**: *model.addSmash(Part_doc, mainObjects, toolObjects)*
35 **Arguments**: Part + list of main objects + list of tool objects.
40 The Result of the operation will be a shape which is a smash of tool objects from main objects:
42 .. image:: images/CreatedSmash.png
48 **See Also** a sample TUI Script of :ref:`tui_create_smash` operation.