SALOME documentation central
Function Documentation
def geompy.MakeEdge |
( |
|
self, |
|
|
|
thePnt1, |
|
|
|
thePnt2 | |
|
) |
| | |
Create a linear edge with specified ends.
- Parameters:
-
| thePnt1 | Point for the first end of edge. |
| thePnt2 | Point for the second end of edge. |
- Returns:
- New GEOM_Object, containing the created edge.
Example
def geompy.MakeWire |
( |
|
self, |
|
|
|
theEdgesAndWires, |
|
|
|
theTolerance = 1e-07 | |
|
) |
| | |
Create a wire from the set of edges and wires.
- Parameters:
-
| 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()). |
- Returns:
- New GEOM_Object, containing the created wire.
Example
def geompy.MakeFace |
( |
|
self, |
|
|
|
theWire, |
|
|
|
isPlanarWanted | |
|
) |
| | |
Create a face on the given wire.
- Parameters:
-
| 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. |
- Returns:
- New GEOM_Object, containing the created face.
Example
def geompy.MakeFaceWires |
( |
|
self, |
|
|
|
theWires, |
|
|
|
isPlanarWanted | |
|
) |
| | |
Create a face on the given wires set.
- Parameters:
-
| 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. |
- Returns:
- New GEOM_Object, containing the created face.
Example
def geompy.MakeFaces |
( |
|
self, |
|
|
|
theWires, |
|
|
|
isPlanarWanted | |
|
) |
| | |
def geompy.MakeShell |
( |
|
self, |
|
|
|
theFacesAndShells | |
|
) |
| | |
Create a shell from the set of faces and shells.
- Parameters:
-
| theFacesAndShells | List of faces and/or shells. |
- Returns:
- New GEOM_Object, containing the created shell.
Example
def geompy.MakeSolid |
( |
|
self, |
|
|
|
theShells | |
|
) |
| | |
Create a solid, bounded by the given shells.
- Parameters:
-
| theShells | Sequence of bounding shells. |
- Returns:
- New GEOM_Object, containing the created solid.
Example
def geompy.MakeCompound |
( |
|
self, |
|
|
|
theShapes | |
|
) |
| | |
Create a compound of the given shapes.
- Parameters:
-
| theShapes | List of shapes to put in compound. |
- Returns:
- New GEOM_Object, containing the created compound.
Example
Copyright © 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS