Version: 9.16.0
Home
Loading...
Searching...
No Matches

Modules

 Check and Improve
 

Functions

 MakeQuad (self, E1, E2, E3, E4, theName=None)
 Create a quadrangle face from four edges.
 
 MakeQuad2Edges (self, E1, E2, theName=None)
 Create a quadrangle face on two edges.
 
 MakeQuad4Vertices (self, V1, V2, V3, V4, theName=None)
 Create a quadrangle face with specified corners.
 
 MakeHexa (self, F1, F2, F3, F4, F5, F6, theName=None)
 Create a hexahedral solid, bounded by the six given faces.
 
 MakeHexa2Faces (self, F1, F2, theName=None)
 Create a hexahedral solid between two given faces.
 

Detailed Description

Function Documentation

◆ MakeQuad()

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.MakeQuad(), and geomBuilder.RaiseIfFailed().

◆ MakeQuad2Edges()

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.MakeQuad2Edges(), and geomBuilder.RaiseIfFailed().

◆ MakeQuad4Vertices()

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.MakeQuad4Vertices(), and geomBuilder.RaiseIfFailed().

◆ MakeHexa()

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.MakeHexa(), and geomBuilder.RaiseIfFailed().

◆ MakeHexa2Faces()

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.MakeHexa2Faces(), and geomBuilder.RaiseIfFailed().