Version: 8.3.0
Home
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages

Modules

 Check and Improve
 

Functions

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

Detailed Description

Function Documentation

def MakeQuad (   self,
  E1,
  E2,
  E3,
  E4,
  theName = None 
)

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.
theNameObject name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name.
Returns
New GEOM.GEOM_Object, containing the created face.

Example

References geomBuilder._autoPublish(), geomBuilder.BlocksOp, geomBuilder.ManageTransactions(), and geomBuilder.RaiseIfFailed().

def MakeQuad2Edges (   self,
  E1,
  E2,
  theName = None 
)

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.
theNameObject name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name.
Returns
New GEOM.GEOM_Object, containing the created face.

Example

References geomBuilder._autoPublish(), geomBuilder.BlocksOp, geomBuilder.ManageTransactions(), and geomBuilder.RaiseIfFailed().

def MakeQuad4Vertices (   self,
  V1,
  V2,
  V3,
  V4,
  theName = None 
)

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.
theNameObject name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name.
Returns
New GEOM.GEOM_Object, containing the created face.

Example 1
Example 2

References geomBuilder._autoPublish(), geomBuilder.BlocksOp, geomBuilder.ManageTransactions(), and geomBuilder.RaiseIfFailed().

def MakeHexa (   self,
  F1,
  F2,
  F3,
  F4,
  F5,
  F6,
  theName = None 
)

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.
theNameObject name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name.
Returns
New GEOM.GEOM_Object, containing the created solid.

Example 1
Example 2

References geomBuilder._autoPublish(), geomBuilder.BlocksOp, geomBuilder.ManageTransactions(), and geomBuilder.RaiseIfFailed().

def MakeHexa2Faces (   self,
  F1,
  F2,
  theName = None 
)

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.
theNameObject name; when specified, this parameter is used for result publication in the study. Otherwise, if automatic publication is switched on, default value is used for result name.
Returns
New GEOM.GEOM_Object, containing the created solid.

Example 1
Example 2

References geomBuilder._autoPublish(), geomBuilder.BlocksOp, geomBuilder.ManageTransactions(), and geomBuilder.RaiseIfFailed().