/*! \page glue_edges_operation_page Glue Edges \n To Glue Edges in the Main Menu select Repair - > Glue Edges. \n This operation glues edges 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 glue4.png \n TUI Command:

geompy.MakeGlueEdges( theShapes, theTolerance ), \n where \em theShapes is a list or compound of shapes to be glued, and \em theTolerance is a maximum distance between two edges, which can be considered as coincident. \n It is also possible to manually select the edges that will be glued - select the shape, specify the tolerance and press \b Detect button. \image html glue5.png \n \b Geometry module detects the edges where gluing can be performed and displays a notification. \image html glue7.png \n The edges that can be glued are colored in red. It is possible to select the edges for gluing in the 3D viewer. The selected edges will be marked in white. \n TUI Command:

geompy.GetGlueEdges( theShapes, theTolerance ), \n where \em theShape is either a list or compound of shapes to be glued, \em theTolerance is a maximum distance between two edges, which can be considered as coincident. The \b Result will be a list of \b GEOM_Objects (edges), containing one sub-shape per each detected set of coincident sub-shapes. For example, if there are two coincident edges in the selected shapes, the result list contains one of the two coincident edges. geompy.MakeGlueEdgesByList( theShapes, theTolerance, theEdges ), \n where \em theShape is a list or compound of shapes to be glued, \em theTolerance is a maximum distance between two edges, which can be considered as coincident, \em theEdges is a list of edges to be glued. \n Example: \image html glue8.png

Two boxes with an edge that can be glued
Our TUI Scripts provide you with useful examples of the use of Repairing Operations \ref tui_glue_edges "Glue Edges". */