SALOME documentation central

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.

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,E4 Edges for the face bound.
Returns:
New GEOM_Object, containing the created face.

Example

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,E2 Two opposite edges for the face.
Returns:
New GEOM_Object, containing the created face.

Example

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,V4 Corner vertices for the face.
Returns:
New GEOM_Object, containing the created face.

Example 1
Example 2

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,F6 Faces for the hexahedral solid.
Returns:
New GEOM_Object, containing the created solid.

Example 1
Example 2

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,F2 Two opposite faces for the hexahedral solid.
Returns:
New GEOM_Object, containing the created solid.

Example 1
Example 2

 All Data Structures Namespaces Files Functions Variables

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