Salome HOME
Documentation: use 'figure' instead of 'image'; improve caption layout; fix warnings.
[modules/shaper.git] / src / FeaturesPlugin / doc / defeaturingFeature.rst
1 .. |defeaturing.icon|    image:: images/defeaturing.png
2
3 Defeaturing
4 ===========
5
6 **Defeaturing** operation is intended for removal of the unwanted parts or features from the model. These parts can be holes, protrusions, gaps, chamfers, fillets, etc. 
7
8 To create a Defeaturing in the active part:
9
10 #. select in the Main Menu *Feature -> Defeaturing* item  or
11 #. click |defeaturing.icon| **Defeaturing** button in the toolbar.
12
13 After that select one or more faces of solids to suppress them. The Defeaturing works with faces from comsolids and compounds of solids as well.
14
15 .. figure:: images/defeaturing_property_panel.png
16    :align: center
17
18    Defeaturing property panel
19
20 Input field:
21
22 - **Faces to remove** panel contains the list of faces which should be suppressed.
23
24 **TUI Command**:
25
26 .. py:function:: model.addDefeaturing(Part_doc, [faces])
27
28     :param part: The current part object.
29     :param list: A list of faces in format *model.selection("FACE", shape)*.
30     :return: Created object.
31
32 Result
33 """"""
34
35 Result of **Defeaturing** is shown below.
36
37 .. figure:: images/defeaturing_result.png
38    :align: center
39
40    Defeaturing operation
41
42 **See Also** a sample TUI Script of :ref:`tui_defeaturing` operation.
43
44 References
45 """"""""""
46
47 For more information, please, visit `OpenCASCADE Documentation <https://dev.opencascade.org/doc/overview/html/occt_user_guides__modeling_algos.html#occt_modalg_defeaturing>`_.