Version: 6.5.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Modules | Functions
Building by blocks
Creating geometrical objects

Modules

 Check and Improve

Functions

def geompy.MakeQuad
 Create a quadrangle face from four edges.
def geompy.MakeQuad2Edges
 Create a quadrangle face on two edges.
def geompy.MakeQuad4Vertices
 Create a quadrangle face with specified corners.
def geompy.MakeHexa
 Create a hexahedral solid, bounded by the six given faces.
def geompy.MakeHexa2Faces
 Create a hexahedral solid between two given faces.

Detailed Description

Function Documentation

def geompy.MakeQuad (   self,
  E1,
  E2,
  E3,
  E4 
)

Create a quadrangle face from four edges.

Order of Edges is not important. It is not necessary that edges share the same vertex.

Parameters
E1,E2,E3,E4Edges for the face bound.
Returns
New GEOM.GEOM_Object, containing the created face.

Example

References geompy.RaiseIfFailed().

def geompy.MakeQuad2Edges (   self,
  E1,
  E2 
)

Create a quadrangle face on two edges.

The missing edges will be built by creating the shortest ones.

Parameters
E1,E2Two opposite edges for the face.
Returns
New GEOM.GEOM_Object, containing the created face.

Example

References geompy.RaiseIfFailed().

def geompy.MakeQuad4Vertices (   self,
  V1,
  V2,
  V3,
  V4 
)

Create a quadrangle face with specified corners.

The missing edges will be built by creating the shortest ones.

Parameters
V1,V2,V3,V4Corner vertices for the face.
Returns
New GEOM.GEOM_Object, containing the created face.

Example 1
Example 2

References geompy.RaiseIfFailed().

def geompy.MakeHexa (   self,
  F1,
  F2,
  F3,
  F4,
  F5,
  F6 
)

Create a hexahedral solid, bounded by the six given faces.

Order of faces is not important. It is not necessary that Faces share the same edge.

Parameters
F1,F2,F3,F4,F5,F6Faces for the hexahedral solid.
Returns
New GEOM.GEOM_Object, containing the created solid.

Example 1
Example 2

References geompy.RaiseIfFailed().

def geompy.MakeHexa2Faces (   self,
  F1,
  F2 
)

Create a hexahedral solid between two given faces.

The missing faces will be built by creating the smallest ones.

Parameters
F1,F2Two opposite faces for the hexahedral solid.
Returns
New GEOM.GEOM_Object, containing the created solid.

Example 1
Example 2

References geompy.RaiseIfFailed().

Copyright © 2007-2012 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