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 | |||
| ) |
Create a linear edge with specified ends.
| thePnt1 | Point for the first end of edge. |
| thePnt2 | Point for the second end of edge. |
| def geompy.MakeEdgeOnCurveByLength | ( | self, | |
| theRefCurve, | |||
| theLength, | |||
theStartPoint = None |
|||
| ) |
Create a new edge, corresponding to the given length on the given curve.
| 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. |
| def geompy.MakeEdgeWire | ( | self, | |
| theWire, | |||
theLinearTolerance = 1e-07, |
|||
theAngularTolerance = 1e-12 |
|||
| ) |
Create an edge from specified wire.
| theWire | source Wire. |
| theLinearTolerance | linear tolerance value. |
| theAngularTolerance | angular tolerance value. |
| def geompy.MakeWire | ( | self, | |
| theEdgesAndWires, | |||
theTolerance = 1e-07 |
|||
| ) |
Create a wire from the set of edges and wires.
| 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()). |
| def geompy.MakeFace | ( | self, | |
| theWire, | |||
| isPlanarWanted | |||
| ) |
Create a face on the given wire.
| 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. |
| def geompy.MakeFaceWires | ( | self, | |
| theWires, | |||
| isPlanarWanted | |||
| ) |
Create a face on the given wires set.
| 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. |
| def geompy.MakeFaces | ( | self, | |
| theWires, | |||
| isPlanarWanted | |||
| ) |
Shortcut to MakeFaceWires()
| def geompy.MakeShell | ( | self, | |
| theFacesAndShells | |||
| ) |
Create a shell from the set of faces and shells.
| theFacesAndShells | List of faces and/or shells. |
| def geompy.MakeSolid | ( | self, | |
| theShells | |||
| ) |
Create a solid, bounded by the given shells.
| theShells | Sequence of bounding shells. |
| def geompy.MakeCompound | ( | self, | |
| theShapes | |||
| ) |
Create a compound of the given shapes.
| theShapes | List of shapes to put in compound. |