Functions | |
| def | geompy.ChangeOrientation |
| Reverses an orientation the given shape. | |
| def | geompy.OrientationChange |
| Shortcut to ChangeOrientation(). | |
| def | geompy.ProcessShape |
| Apply a sequence of Shape Healing operators to the given object. | |
| def | geompy.SuppressFaces |
| Remove faces from the given object (shape). | |
| def | geompy.MakeSewing |
| Sewing of some shapes into single shape. | |
| def | geompy.Sew |
| Sewing of the given object. | |
| def | geompy.SuppressInternalWires |
| Remove internal wires and edges from the given object (face). | |
| def | geompy.SuppressHoles |
| Remove internal closed contours (holes) from the given object. | |
| def | geompy.CloseContour |
| Close an open wire. | |
| def | geompy.DivideEdge |
| Addition of a point to a given edge object. | |
| def | geompy.ChangeOrientationShell |
| Change orientation of the given object. | |
| def | geompy.ChangeOrientationShellCopy |
| Change orientation of the given object. | |
| def | geompy.GetFreeBoundary |
| Get a list of wires (wrapped in GEOM_Object-s), that constitute a free boundary of the given shape. | |
| def | geompy.MakeGlueFaces |
| Replace coincident faces in theShape by one face. | |
| def | geompy.GetGlueFaces |
| Find coincident faces in theShape for possible gluing. | |
| def | geompy.MakeGlueFacesByList |
| Replace coincident faces in theShape by one face in compliance with given list of faces. | |
| def geompy.ChangeOrientation | ( | self, | ||
| theShape | ||||
| ) |
Reverses an orientation the given shape.
| theShape | Shape to be reversed. |
| def geompy.OrientationChange | ( | self, | ||
| theShape | ||||
| ) |
Shortcut to ChangeOrientation().
| def geompy.ProcessShape | ( | self, | ||
| theShape, | ||||
| theOperators, | ||||
| theParameters, | ||||
| theValues | ||||
| ) |
Apply a sequence of Shape Healing operators to the given object.
| theShape | Shape to be processed. | |
| theOperators | List of names of operators ("FixShape", "SplitClosedFaces", etc.). | |
| theParameters | List of names of parameters ("FixShape.Tolerance3d", "SplitClosedFaces.NbSplitPoints", etc.). | |
| theValues | List of values of parameters, in the same order as parameters are listed in theParameters list. |
| def geompy.SuppressFaces | ( | self, | ||
| theObject, | ||||
| theFaces | ||||
| ) |
Remove faces from the given object (shape).
| theObject | Shape to be processed. | |
| theFaces | Indices of faces to be removed, if EMPTY then the method removes ALL faces of the given object. |
| def geompy.MakeSewing | ( | self, | ||
| ListShape, | ||||
| theTolerance | ||||
| ) |
Sewing of some shapes into single shape.
| def geompy.Sew | ( | self, | ||
| theObject, | ||||
| theTolerance | ||||
| ) |
Sewing of the given object.
| theObject | Shape to be processed. | |
| theTolerance | Required tolerance value. |
| def geompy.SuppressInternalWires | ( | self, | ||
| theObject, | ||||
| theWires | ||||
| ) |
Remove internal wires and edges from the given object (face).
| theObject | Shape to be processed. | |
| theWires | Indices of wires to be removed, if EMPTY then the method removes ALL internal wires of the given object. |
| def geompy.SuppressHoles | ( | self, | ||
| theObject, | ||||
| theWires | ||||
| ) |
Remove internal closed contours (holes) from the given object.
| theObject | Shape to be processed. | |
| theWires | Indices of wires to be removed, if EMPTY then the method removes ALL internal holes of the given object |
| def geompy.CloseContour | ( | self, | ||
| theObject, | ||||
| theWires, | ||||
| isCommonVertex | ||||
| ) |
Close an open wire.
| theObject | Shape to be processed. | |
| theWires | Indexes of edge(s) and wire(s) to be closed within theObject's shape, if -1, then theObject itself is a wire. | |
| isCommonVertex | If TRUE : closure by creation of a common vertex, If FALS : closure by creation of an edge between ends. |
| def geompy.DivideEdge | ( | self, | ||
| theObject, | ||||
| theEdgeIndex, | ||||
| theValue, | ||||
| isByParameter | ||||
| ) |
Addition of a point to a given edge object.
| theObject | Shape to be processed. | |
| theEdgeIndex | Index of edge to be divided within theObject's shape, if -1, then theObject itself is the edge. | |
| theValue | Value of parameter on edge or length parameter, depending on isByParameter. | |
| isByParameter | If TRUE : theValue is treated as a curve parameter [0..1], if FALSE : theValue is treated as a length parameter [0..1] |
| def geompy.ChangeOrientationShell | ( | self, | ||
| theObject | ||||
| ) |
Change orientation of the given object.
Updates given shape.
| theObject | Shape to be processed. |
Example
| def geompy.ChangeOrientationShellCopy | ( | self, | ||
| theObject | ||||
| ) |
Change orientation of the given object.
| theObject | Shape to be processed. |
Example
| def geompy.GetFreeBoundary | ( | self, | ||
| theObject | ||||
| ) |
Get a list of wires (wrapped in GEOM_Object-s), that constitute a free boundary of the given shape.
| theObject | Shape to get free boundary of. |
| def geompy.MakeGlueFaces | ( | self, | ||
| theShape, | ||||
| theTolerance, | ||||
doKeepNonSolids = True | ||||
| ) |
Replace coincident faces in theShape by one face.
| theShape | Initial shape. | |
| theTolerance | Maximum distance between faces, which can be considered as coincident. | |
| doKeepNonSolids | If FALSE, only solids will present in the result, otherwise all initial shapes. |
| def geompy.GetGlueFaces | ( | self, | ||
| theShape, | ||||
| theTolerance | ||||
| ) |
Find coincident faces in theShape for possible gluing.
| theShape | Initial shape. | |
| theTolerance | Maximum distance between faces, which can be considered as coincident. |
Example
| def geompy.MakeGlueFacesByList | ( | self, | ||
| theShape, | ||||
| theTolerance, | ||||
| theFaces, | ||||
doKeepNonSolids = True | ||||
| ) |
Replace coincident faces in theShape by one face in compliance with given list of faces.
| theShape | Initial shape. | |
| theTolerance | Maximum distance between faces, which can be considered as coincident. | |
| theFaces | List of faces for gluing. | |
| doKeepNonSolids | If FALSE, only solids will present in the result, otherwise all initial shapes. |
Example