Version: 6.3.1
Public Member Functions | Data Fields | Static Public Attributes | Private Member Functions

GEOM_PY.structelem.parts.Grid Class Reference

Inheritance diagram for GEOM_PY.structelem.parts.Grid:
Inheritance graph

Public Member Functions

def __init__
def __repr__
def addOrientation
def build

Data Fields

 xr
 yr
 zr
 vx
 vy
 vz
 offset
 groupName
 name
 geom
 baseShapesSet

Static Public Attributes

string DEFAULT_NAME = "Grid"

Private Member Functions

def _buildPart
def _buildGridForNormalFace
def _buildGridForCylinderFace
def _buildMarkers

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
  :class:`~salome.geom.structelem.orientation.Orientation2D`)
* "angleBeta": angle used to build the markers (see class
  :class:`~salome.geom.structelem.orientation.Orientation2D`)
* "Vecteur": vector used instead of the angles to build the markers (see
  class :class:`~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 :class:`StructuralElementPart` for the description of the
other parameters.

Constructor & Destructor Documentation

def GEOM_PY.structelem.parts.Grid.__init__ (   self,
  studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = DEFAULT_NAME 
)

Member Function Documentation

def GEOM_PY.structelem.parts.Grid._buildPart (   self) [private]
Create the geometrical shapes representing the grid.

Reimplemented from GEOM_PY.structelem.parts.StructuralElementPart.

def GEOM_PY.structelem.parts.Grid._buildGridForNormalFace (   self,
  face 
) [private]
Create the geometrical shapes representing the grid for a given
non-cylindrical face.
def GEOM_PY.structelem.parts.Grid._buildGridForCylinderFace (   self,
  face 
) [private]
Create the geometrical shapes representing the grid for a given
cylindrical face.
def GEOM_PY.structelem.parts.Grid._buildMarkers (   self) [private]
Create the markers defining the orientation of the grid.

Reimplemented from GEOM_PY.structelem.parts.StructuralElementPart.

def GEOM_PY.structelem.parts.StructuralElementPart.__repr__ (   self) [inherited]
def GEOM_PY.structelem.parts.StructuralElementPart.addOrientation (   self,
  orientParams 
) [inherited]
Add orientation information to the structural element part. See class
:class:`~salome.geom.structelem.orientation.Orientation1D` for the description
of the parameters.
def GEOM_PY.structelem.parts.StructuralElementPart.build (   self) [inherited]
Build the geometric shapes and the markers corresponding to the
structural element part in the study `studyId`.

Field Documentation

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