]> SALOME platform Git repositories - modules/shaper.git/blob - src/FeaturesPlugin/doc/glueFeatureFaces.rst
Salome HOME
added new GlueFaces feature
[modules/shaper.git] / src / FeaturesPlugin / doc / glueFeatureFaces.rst
1 .. |glue_faces.icon|    image:: images/glue_faces.png
2
3 Glue Faces
4 ==========
5
6 **Glue Faces** feature glues faces that are coincident with respect to the given tolerance value.
7
8 To perform **Glue Faces** in the active part:
9
10 #. select in the Main Menu *Features - > Glue Faces* item  or
11 #. click |glue_faces.icon| **Glue Faces** button in the toolbar
12
13 The following property panel appears:
14
15 .. figure:: images/GlueFaces.png 
16    :align: center
17
18    **Glue Faces**  property panel
19
20 Input fields:  
21
22 - **Objects** - contains a list of objects selected in the Object Browser or in the Viewer, on which faces will be glued.
23 - **Tolerance** - sets the tolerance value to be used for the gluing operation.
24 - **Keep non-solid shapes** - defines whether to keep non-solid shapes during the gluing operation.
25
26 **TUI Command**:
27
28 .. py:function:: model.addGlueFaces(Part_doc, objects, tolerance, keepNonSolid)
29
30     :param part: The current part object.
31     :param objects: A list of shapes for which faces should be glued.
32     :param number: The tolerance value.
33     :param boolean: *True* to keep non-solid shapes.
34     :return: Created object.
35
36 Result
37 """"""
38
39 The result of the operation will be a compound shape with eliminated faces.
40 If no faces were glued, the result will be a compound with the original selected shapes.
41
42 **See Also** a sample TUI Script of :ref:`tui_create_glue_faces` operation.