Back to index

salome-geom  6.5.0
Classes | Functions | Variables
GEOM_PY.structelem.parts Namespace Reference

Classes

class  InvalidParameterError
class  SubShapeID
class  StructuralElementPart
class  Beam
class  CircularBeam
class  RectangularBeam
class  GeneralBeam
class  StructuralElementPart2D
class  ThickShell
class  Grid

Functions

def getParameterInDict
def VisuPoutreGenerale
def VisuPoutreCercle
def VisuPoutreRectangle
def VisuBarreGenerale
def VisuBarreRectangle
def VisuBarreCercle
def VisuCable
def VisuCoque
def VisuGrille

Variables

tuple logger = Logger("salome.geom.structelem.parts", color = termcolor.RED)
string FULL = "FULL"
string HOLLOW = "HOLLOW"
int MIN_DIM_FOR_EXTRUDED_SHAPE = 2
int MIN_LENGTH_FOR_EXTRUSION = 1
int MIN_THICKNESS = 1
tuple GREEN = SALOMEDS.Color(0.0, 1.0, 0.0)
tuple LIGHT_GREEN = SALOMEDS.Color(0.0, 1.0, 170.0/255.0)
tuple BLUE = SALOMEDS.Color(0.0, 0.0, 1.0)
tuple LIGHT_BLUE = SALOMEDS.Color(0.0, 0.5, 1.0)
tuple RED = SALOMEDS.Color(1.0, 0.0, 0.0)
tuple LIGHT_RED = SALOMEDS.Color(1.0, 0.5, 0.5)
tuple PURPLE = SALOMEDS.Color(170.0/255.0, 85.0/255.0, 1.0)
tuple ORANGE = SALOMEDS.Color(1.0, 170.0/255.0, 0.0)

Function Documentation

def GEOM_PY.structelem.parts.getParameterInDict (   nameList,
  parametersDict,
  default = None 
)
This method finds the value of a parameter in the parameters
dictionary. The argument is a list because some parameters can have
several different names.

Definition at line 584 of file parts.py.

00584 
00585 def getParameterInDict(nameList, parametersDict, default = None):
00586     """
00587     This method finds the value of a parameter in the parameters
00588     dictionary. The argument is a list because some parameters can have
00589     several different names.
00590     """
00591     for name in nameList:
00592         if parametersDict.has_key(name):
00593             return parametersDict[name]
00594     return default
00595 

def GEOM_PY.structelem.parts.VisuBarreCercle (   studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = "BARRE" 
)
Alias for class :class:`CircularBeam`.

Definition at line 989 of file parts.py.

00989 
00990                     name = "BARRE"):
00991     """
00992     Alias for class :class:`CircularBeam`.
00993     """
00994     return CircularBeam(studyId, groupName, groupGeomObj, parameters, name,
00995                         color = ORANGE)

Here is the caller graph for this function:

def GEOM_PY.structelem.parts.VisuBarreGenerale (   studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = "BARRE" 
)
Alias for class :class:`GeneralBeam`.

Definition at line 973 of file parts.py.

00973 
00974                       name = "BARRE"):
00975     """
00976     Alias for class :class:`GeneralBeam`.
00977     """
00978     return GeneralBeam(studyId, groupName, groupGeomObj, parameters, name,
00979                        color = ORANGE)
      

Here is the call graph for this function:

Here is the caller graph for this function:

def GEOM_PY.structelem.parts.VisuBarreRectangle (   studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = "BARRE" 
)
Alias for class :class:`RectangularBeam`.

Definition at line 981 of file parts.py.

00981 
00982                        name = "BARRE"):
00983     """
00984     Alias for class :class:`RectangularBeam`.
00985     """
00986     return RectangularBeam(studyId, groupName, groupGeomObj, parameters, name,
00987                            color = ORANGE)

Here is the call graph for this function:

Here is the caller graph for this function:

def GEOM_PY.structelem.parts.VisuCable (   studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = "CABLE" 
)
Alias for class :class:`CircularBeam`.

Definition at line 996 of file parts.py.

00996 
00997 def VisuCable(studyId, groupName, groupGeomObj, parameters, name = "CABLE"):
00998     """
00999     Alias for class :class:`CircularBeam`.
01000     """
01001     return CircularBeam(studyId, groupName, groupGeomObj, parameters, name,
01002                         color = PURPLE)

def GEOM_PY.structelem.parts.VisuCoque (   studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = "COQUE" 
)
Alias for class :class:`ThickShell`.

Definition at line 1003 of file parts.py.

01003 
01004 def VisuCoque(studyId, groupName, groupGeomObj, parameters, name = "COQUE"):
01005     """
01006     Alias for class :class:`ThickShell`.
01007     """
01008     return ThickShell(studyId, groupName, groupGeomObj, parameters, name)
  
def GEOM_PY.structelem.parts.VisuGrille (   studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = "GRILLE" 
)
Alias for class :class:`Grid`.

Definition at line 1009 of file parts.py.

01009 
01010 def VisuGrille(studyId, groupName, groupGeomObj, parameters, name = "GRILLE"):
01011     """
01012     Alias for class :class:`Grid`.
01013     """
01014     return Grid(studyId, groupName, groupGeomObj, parameters, name)
def GEOM_PY.structelem.parts.VisuPoutreCercle (   studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = "POUTRE" 
)
Alias for class :class:`CircularBeam`.

Definition at line 959 of file parts.py.

00959 
00960                      name = "POUTRE"):
00961     """
00962     Alias for class :class:`CircularBeam`.
00963     """
00964     return CircularBeam(studyId, groupName, groupGeomObj, parameters, name)
  

Here is the call graph for this function:

Here is the caller graph for this function:

def GEOM_PY.structelem.parts.VisuPoutreGenerale (   studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = "POUTRE" 
)
Alias for class :class:`GeneralBeam`.

Definition at line 952 of file parts.py.

00952 
00953                        name = "POUTRE"):
00954     """
00955     Alias for class :class:`GeneralBeam`.
00956     """
00957     return GeneralBeam(studyId, groupName, groupGeomObj, parameters, name)

Here is the call graph for this function:

Here is the caller graph for this function:

def GEOM_PY.structelem.parts.VisuPoutreRectangle (   studyId,
  groupName,
  groupGeomObj,
  parameters,
  name = "POUTRE" 
)
Alias for class :class:`RectangularBeam`.

Definition at line 966 of file parts.py.

00966 
00967                         name = "POUTRE"):
00968     """
00969     Alias for class :class:`RectangularBeam`.
00970     """
00971     return RectangularBeam(studyId, groupName, groupGeomObj, parameters, name)
  

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

tuple GEOM_PY.structelem.parts.BLUE = SALOMEDS.Color(0.0, 0.0, 1.0)

Definition at line 52 of file parts.py.

Definition at line 41 of file parts.py.

tuple GEOM_PY.structelem.parts.GREEN = SALOMEDS.Color(0.0, 1.0, 0.0)

Definition at line 50 of file parts.py.

Definition at line 42 of file parts.py.

tuple GEOM_PY.structelem.parts.LIGHT_BLUE = SALOMEDS.Color(0.0, 0.5, 1.0)

Definition at line 53 of file parts.py.

tuple GEOM_PY.structelem.parts.LIGHT_GREEN = SALOMEDS.Color(0.0, 1.0, 170.0/255.0)

Definition at line 51 of file parts.py.

tuple GEOM_PY.structelem.parts.LIGHT_RED = SALOMEDS.Color(1.0, 0.5, 0.5)

Definition at line 55 of file parts.py.

tuple GEOM_PY.structelem.parts.logger = Logger("salome.geom.structelem.parts", color = termcolor.RED)

Definition at line 35 of file parts.py.

Definition at line 45 of file parts.py.

Definition at line 46 of file parts.py.

Definition at line 47 of file parts.py.

tuple GEOM_PY.structelem.parts.ORANGE = SALOMEDS.Color(1.0, 170.0/255.0, 0.0)

Definition at line 57 of file parts.py.

tuple GEOM_PY.structelem.parts.PURPLE = SALOMEDS.Color(170.0/255.0, 85.0/255.0, 1.0)

Definition at line 56 of file parts.py.

tuple GEOM_PY.structelem.parts.RED = SALOMEDS.Color(1.0, 0.0, 0.0)

Definition at line 54 of file parts.py.