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

This class defines a grid. More...

Public Member Functions

 __init__ (self, groupName, groupGeomObj, parameters, name=DEFAULT_NAME)
 

Data Fields

 xr
 
 yr
 
 zr
 
 vx
 
 vy
 
 vz
 
 offset
 

Static Public Attributes

str DEFAULT_NAME = "Grid"
 

Protected Member Functions

 _buildPart (self)
 Create the geometrical shapes representing the grid.
 
 _buildGridForNormalFace (self, face)
 Create the geometrical shapes representing the grid for a given non-cylindrical face.
 
 _buildGridForCylinderFace (self, face)
 Create the geometrical shapes representing the grid for a given cylindrical face.
 
 _buildMarkers (self)
 Create the markers defining the orientation of the grid.
 

Detailed Description

This class defines a grid.

A grid is represented by a 2D face patterned with small lines in the main direction of the grid frame. The valid parameters for grids are:

  • "Excentre": offset of the grid from the base face.
  • "angleAlpha": angle used to build the markers (see class salome.geom.structelem.orientation.Orientation2D)
  • "angleBeta": angle used to build the markers (see class salome.geom.structelem.orientation.Orientation2D)
  • "Vecteur": vector used instead of the angles to build the markers (see salome.geom.structelem.orientation.Orientation2D)
  • "origAxeX": X coordinate of the origin of the axis used to determine the orientation of the frame in the case of a cylindrical grid.
  • "origAxeY": Y coordinate of the origin of the axis used to determine the orientation of the frame in the case of a cylindrical grid.
  • "origAxeZ": Z coordinate of the origin of the axis used to determine the orientation of the frame in the case of a cylindrical grid.
  • "axeX": X coordinate of the axis used to determine the orientation of the frame in the case of a cylindrical grid.
  • "axeY": Y coordinate of the axis used to determine the orientation of the frame in the case of a cylindrical grid.
  • "axeZ": Z coordinate of the axis used to determine the orientation of the frame in the case of a cylindrical grid.

    See class StructuralElementPart for the description of the other parameters.

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
  groupName,
  groupGeomObj,
  parameters,
  name = DEFAULT_NAME 
)

Reimplemented from StructuralElementPart2D.

Member Function Documentation

◆ _buildPart()

◆ _buildGridForNormalFace()

_buildGridForNormalFace (   self,
  face 
)
protected

◆ _buildGridForCylinderFace()

_buildGridForCylinderFace (   self,
  face 
)
protected

◆ _buildMarkers()

_buildMarkers (   self)
protected

Create the markers defining the orientation of the grid.

Reimplemented from StructuralElementPart.

Field Documentation

◆ DEFAULT_NAME

str DEFAULT_NAME = "Grid"
static

◆ xr

xr

◆ yr

yr

◆ zr

zr

◆ vx

vx

◆ vy

vy

◆ vz

vz

◆ offset

offset