Modules | |
| Decompose objects | |
| Decompose objects deprecated methods | |
| Access to sub-shapes by their unique IDs inside the main shape | |
| Access to subshapes by a criteria | |
| Advanced objects creation functions | |
Functions | |
| def | geompy.MakeEdge |
| Create a linear edge with specified ends. | |
| def | geompy.MakeEdgeOnCurveByLength |
| Create a new edge, corresponding to the given length on the given curve. | |
| def | geompy.MakeEdgeWire |
| Create an edge from specified wire. | |
| def | geompy.MakeWire |
| Create a wire from the set of edges and wires. | |
| def | geompy.MakeFace |
| Create a face on the given wire. | |
| def | geompy.MakeFaceWires |
| Create a face on the given wires set. | |
| def | geompy.MakeFaces |
| Shortcut to MakeFaceWires() | |
| def | geompy.MakeShell |
| Create a shell from the set of faces and shells. | |
| def | geompy.MakeSolid |
| Create a solid, bounded by the given shells. | |
| def | geompy.MakeCompound |
| Create a compound of the given shapes. | |
| def geompy.MakeEdge | ( | self, | |
| thePnt1, | |||
| thePnt2 | |||
| ) |
| thePnt1 | Point for the first end of edge. |
| thePnt2 | Point for the second end of edge. |
Example
| def geompy.MakeEdgeOnCurveByLength | ( | self, | |
| theRefCurve, | |||
| theLength, | |||
theStartPoint = None |
|||
| ) |
| theRefCurve | The referenced curve (edge). |
| theLength | Length on the referenced curve. It can be negative. |
| theStartPoint | Any point can be selected for it, the new edge will begin at the end of theRefCurve, close to the selected point. If None, start from the first point of theRefCurve. |
Example
| def geompy.MakeEdgeWire | ( | self, | |
| theWire, | |||
theLinearTolerance = 1e-07, |
|||
theAngularTolerance = 1e-12 |
|||
| ) |
| theWire | source Wire. |
| theLinearTolerance | linear tolerance value. |
| theAngularTolerance | angular tolerance value. |
Example
| def geompy.MakeWire | ( | self, | |
| theEdgesAndWires, | |||
theTolerance = 1e-07 |
|||
| ) |
| theEdgesAndWires | List of edges and/or wires. |
| theTolerance | Maximum distance between vertices, that will be merged. Values less than 1e-07 are equivalent to 1e-07 (Precision.Confusion()). |
Example
| def geompy.MakeFace | ( | self, | |
| theWire, | |||
| isPlanarWanted | |||
| ) |
| theWire | closed Wire or Edge to build the face on. |
| isPlanarWanted | If TRUE, only planar face will be built. If impossible, NULL object will be returned. |
Example
| def geompy.MakeFaceWires | ( | self, | |
| theWires, | |||
| isPlanarWanted | |||
| ) |
| theWires | List of closed wires or edges to build the face on. |
| isPlanarWanted | If TRUE, only planar face will be built. If impossible, NULL object will be returned. |
Example
| def geompy.MakeFaces | ( | self, | |
| theWires, | |||
| isPlanarWanted | |||
| ) |
Example 1
Example 2
| def geompy.MakeShell | ( | self, | |
| theFacesAndShells | |||
| ) |
| theFacesAndShells | List of faces and/or shells. |
Example
| def geompy.MakeSolid | ( | self, | |
| theShells | |||
| ) |
| theShells | Sequence of bounding shells. |
Example
| def geompy.MakeCompound | ( | self, | |
| theShapes | |||
| ) |
| theShapes | List of shapes to put in compound. |
Example