X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FGEOM%2Finput%2Fglue_faces_operation.doc;h=3775aa47928eeaa1aa42e3f96ad24e4b33894954;hb=4fba47faef4e78e8730b1083c11f84adf2cf6e6a;hp=340f4afa73f3f4e2c5f30907afcd03358c818e17;hpb=239f8109c64fa0c5a2e1d87a420bad5529b57f48;p=modules%2Fgeom.git diff --git a/doc/salome/gui/GEOM/input/glue_faces_operation.doc b/doc/salome/gui/GEOM/input/glue_faces_operation.doc index 340f4afa7..3775aa479 100644 --- a/doc/salome/gui/GEOM/input/glue_faces_operation.doc +++ b/doc/salome/gui/GEOM/input/glue_faces_operation.doc @@ -1,35 +1,63 @@ /*! -\page glue_faces_operation_page Glue Faces +\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 + Compound of 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. -\n TUI Command: geompy.MakeGlueFaces(theShape, -theTolerance), where \em theShape is a compound of solids to be -glued, \em theTolerance is a maximum distance between two faces, which can -be considered as coincident. -\n Arguments: Name + Compound of solids + Tolerance value. - \image html glue1.png + +\n TUI Commands: +\n geompy.MakeGlueFaces(theShape,theTolerance,doKeepNonSolids), +\n where \em theShape is a 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. +\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. +\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. + +\n 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 +checkbox. + +\n TUI Commands: +\n geompy.GetGlueFaces(theShape,theTolerance), +\n where \em theShape is a 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, containing one sub-shape per each detected set of + coincident sub-shapes. + +\n geompy.MakeGlueFacesByList(theShape,theTolerance,theFaces,doKeepNonSolids,doGlueAllEdges), +\n where \em theShape is a 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: @@ -43,6 +71,6 @@ be marked in white.