/*! \page glue_faces_operation_page Glue Faces \n To Glue Faces in the Main Menu select Repair - > Glue Faces. \n This operation glues faces that are coincident with respect to the given tolerance value. \n Arguments: Name + Shapes + Tolerance value. \n Advanced option: \ref restore_presentation_parameters_page "Set presentation parameters and sub-shapes from arguments". \n The \b Result will be a \b GEOM_Object. \image html glue1.png \n TUI Commands: geompy.MakeGlueFaces( theShapes, theTolerance, doKeepNonSolids ), \n where \em theShapes is either a list or compound of shapes to be glued, \em theTolerance is a maximum distance between two faces, which can be considered as coincident. The \em doKeepNonSolids flag allows to throw away non-solids from the result, if false. The \b Result will be a new \b GEOM_Object. \n It is also possible to manually select the faces that will be glued - select the shape, specify the tolerance and press \b Detect button. \image html glue2.png \n \b Geometry module detects the faces where gluing can be performed and displays a notification. \image html glue3.png \n The faces that can be glued are colored in red. It is possible to select the faces for gluing in the 3D viewer. The selected faces will be marked in white. When the faces are glued their edges are glued as well. By default, other edges are not glued. To force gluing of all edges, check Glue all coincident edges check-box. \n TUI Commands: geompy.GetGlueFaces( theShapes, theTolerance ), \n where \em theShapes is a list or compound of shapes to be glued, \em theTolerance is a maximum distance between two faces, which can be considered as coincident. The \b Result will be a list of \b GEOM_Objects (faces), containing one sub-shape per each detected set of coincident sub-shapes. For example if there are two coincident faces in selected shapes, the result list contains one of the two coincident faces. geompy.MakeGlueFacesByList( theShapes, theTolerance, theFaces, doKeepNonSolids, doGlueAllEdges ), \n where \em theShapes is either a list or compound of shapes to be glued, \em theTolerance is a maximum distance between two faces, which can be considered as coincident, \em theFaces is a list of sub-shapes to be glued. The \em doKeepNonSolids flag allows to throw away non-solids from the result, if false. The \em doGlueAllEdges allows to glue all edges, not only owned by glued faces. The \b Result will be a new \b GEOM_Object. \n Example: \image html glue_faces1.png
Object that needs gluing
\image html glue_faces2.png
Glued object
\image html glue_faces3.png
Manual selection of faces for gluing
Our TUI Scripts provide you with useful examples of the use of Repairing Operations \ref tui_glue_faces "Glue Faces". */