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.LimitTolerance |
| Try to limit tolerance of the given object by value theTolerance. | |
| 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.MakeGlueEdges |
| Replace coincident edges in theShape by one edge. | |
| def | geompy.GetGlueEdges |
| Find coincident edges in theShape for possible gluing. | |
| def | geompy.MakeGlueEdgesByList |
| Replace coincident edges in theShape by one edge in compliance with given list of edges. | |
| 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 [ ], then theObject itself is a wire. |
| isCommonVertex | If True : closure by creation of a common vertex, If False : 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.LimitTolerance | ( | self, | |
| theObject, | |||
theTolerance = 1e-07 |
|||
| ) |
Try to limit tolerance of the given object by value theTolerance.
| theObject | Shape to be processed. |
| theTolerance | Required tolerance value. |
| 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. |
| def geompy.MakeGlueFacesByList | ( | self, | |
| theShape, | |||
| theTolerance, | |||
| theFaces, | |||
doKeepNonSolids = True, |
|||
doGlueAllEdges = 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. |
| doGlueAllEdges | If TRUE, all coincident edges of theShape will be glued, otherwise only the edges, belonging to theFaces. |
| def geompy.MakeGlueEdges | ( | self, | |
| theShape, | |||
| theTolerance | |||
| ) |
Replace coincident edges in theShape by one edge.
| theShape | Initial shape. |
| theTolerance | Maximum distance between edges, which can be considered as coincident. |
| def geompy.GetGlueEdges | ( | self, | |
| theShape, | |||
| theTolerance | |||
| ) |
Find coincident edges in theShape for possible gluing.
| theShape | Initial shape. |
| theTolerance | Maximum distance between edges, which can be considered as coincident. |
| def geompy.MakeGlueEdgesByList | ( | self, | |
| theShape, | |||
| theTolerance, | |||
| theEdges | |||
| ) |
Replace coincident edges in theShape by one edge in compliance with given list of edges.
| theShape | Initial shape. |
| theTolerance | Maximum distance between edges, which can be considered as coincident. |
| theFaces | List of edges for gluing. |