Modules | |
Decompose objects | |
Decompose objects deprecated methods | |
Access to sub-shapes by their unique IDs inside the main shape | |
Access to sub-shapes 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 |
See MakeFaceWires() method for details. | |
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. |
References geompy.RaiseIfFailed().
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. |
References geompy.ParseParameters(), and geompy.RaiseIfFailed().
def geompy.MakeEdgeWire | ( | self, | |
theWire, | |||
theLinearTolerance = 1e-07 , |
|||
theAngularTolerance = 1e-12 |
|||
) |
Create an edge from specified wire.
theWire | source Wire |
theLinearTolerance | linear tolerance value (default = 1e-07) |
theAngularTolerance | angular tolerance value (default = 1e-12) |
References geompy.RaiseIfFailed().
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()) |
References geompy.RaiseIfFailed().
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, the algorithm tries to build a planar face. If the tolerance of the obtained planar face is less than 1e-06, this face will be returned, otherwise the algorithm tries to build any suitable face on the given wire and prints a warning message. |
References geompy.RaiseIfFailed().
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, the algorithm tries to build a planar face. If the tolerance of the obtained planar face is less than 1e-06, this face will be returned, otherwise the algorithm tries to build any suitable face on the given wire and prints a warning message. |
References geompy.RaiseIfFailed().
def geompy.MakeFaces | ( | self, | |
theWires, | |||
isPlanarWanted | |||
) |
See MakeFaceWires() method for details.
def geompy.MakeShell | ( | self, | |
theFacesAndShells | |||
) |
Create a shell from the set of faces and shells.
theFacesAndShells | List of faces and/or shells. |
References geompy.RaiseIfFailed().
def geompy.MakeSolid | ( | self, | |
theShells | |||
) |
Create a solid, bounded by the given shells.
theShells | Sequence of bounding shells. |
References geompy.RaiseIfFailed().
def geompy.MakeCompound | ( | self, | |
theShapes | |||
) |
Create a compound of the given shapes.
theShapes | List of shapes to put in compound. |
References geompy.RaiseIfFailed().