Version: 6.3.1
Data Structures | Functions | Variables

Package smeshDC

Data Structures

class  PointStructStr
class  PointStructStr6
class  AxisStructStr
class  DirStructStr
class  smeshDC
class  Mesh
 This class allows defining and managing a mesh. More...
class  Mesh_Algorithm
 The mother class to define algorithm, it is not recommended to use it directly. More...
class  Mesh_Segment
 Class to define a segment 1D algorithm for discretization. More...
class  Mesh_CompositeSegment
 Defines a segment 1D algorithm for discretization. More...
class  Mesh_Segment_Python
 Defines a segment 1D algorithm for discretization with python function. More...
class  Mesh_Triangle
 Defines a triangle 2D algorithm. More...
class  Mesh_Quadrangle
 Defines a quadrangle 2D algorithm. More...
class  Mesh_Tetrahedron
 Defines a tetrahedron 3D algorithm. More...
class  Mesh_Hexahedron
 Defines a hexahedron 3D algorithm. More...
class  Mesh_Netgen
 Defines a NETGEN-based 2D or 3D algorithm that needs no discrete boundary (i.e. More...
class  Mesh_Projection1D
 Defines a projection 1D algorithm. More...
class  Mesh_Projection2D
 Defines a projection 2D algorithm. More...
class  Mesh_Projection3D
 Defines a projection 3D algorithm. More...
class  Mesh_Prism3D
 Defines a 3D extrusion algorithm. More...
class  Mesh_RadialPrism3D
 Defines a Radial Prism 3D algorithm. More...
class  Mesh_RadialQuadrangle1D2D
 Defines a Radial Quadrangle 1D2D algorithm. More...
class  Mesh_UseExistingElements
 Defines a Radial Quadrangle 1D2D algorithm. More...
class  Mesh_UseExisting
class  LocalLength
class  LayerDistribution
class  SegmentLengthAroundVertex
class  Arithmetic1D
class  Deflection1D
class  StartEndLength
class  MaxElementArea
class  MaxElementVolume
class  NumberOfLayers
class  NumberOfSegments
class  NETGENPlugin_Hypothesis
class  NETGENPlugin_Hypothesis_2D
class  NETGEN_SimpleParameters_2D
class  NETGEN_SimpleParameters_3D
class  Pattern

Functions

def DegreesToRadians
 Converts an angle from degrees to radians.
def ParsePointStruct
def ParseDirStruct
def ParseAxisStruct
def ParseAngles
 Return list of variable values from salome notebook.
def IsEqual
def GetName
 Gets object name.
def TreatHypoStatus
 Prints error message if a hypothesis was not assigned.
def CheckPlugin
 Check meshing plugin availability.
def AssureGeomPublished
 Private method.
def ParseParameters
 Return values of the notebook variables.

Variables

int noNETGENPlugin = 0
int noGHS3DPlugin = 0
int noGHS3DPRLPlugin = 0
int noHexoticPlugin = 0
int noBLSURFPlugin = 0
int REGULAR = 1
int PYTHON = 2
int COMPOSITE = 3
int SOLE = 0
int SIMPLE = 1
int MEFISTO = 3
int NETGEN = 4
int GHS3D = 5
int FULL_NETGEN = 6
int NETGEN_2D = 7
 NETGEN_1D2D = NETGEN
 NETGEN_1D2D3D = FULL_NETGEN
 NETGEN_FULL = FULL_NETGEN
int Hexa = 8
int Hexotic = 9
int BLSURF = 10
int GHS3DPRL = 11
int QUADRANGLE = 0
int RADIAL_QUAD = 1
 POINT = SMESH_MeshEditor.POINT
 AXIS = SMESH_MeshEditor.AXIS
 PLANE = SMESH_MeshEditor.PLANE
 LAPLACIAN_SMOOTH = SMESH_MeshEditor.LAPLACIAN_SMOOTH
 CENTROIDAL_SMOOTH = SMESH_MeshEditor.CENTROIDAL_SMOOTH
int VeryCoarse = 0
int Coarse = 1
int Moderate = 2
int Fine = 3
int VeryFine = 4
int Custom = 5
int PrecisionConfusion = 1
string var_separator = ":"
string NO_NAME = "NoName"
 notebook = salome_notebook.notebook

Function Documentation

def smeshDC.ParseParameters (   last,
  nbParams,
  nbParam,
  value 
)

Return values of the notebook variables.

Definition at line 6116 of file smeshDC.py.

06117                                                   :
06118     result = None
06119     strResult = ""
06120     counter = 0
06121     listSize = len(last)
06122     for n in range(0,nbParams):
06123         if n+1 != nbParam:
06124             if counter < listSize:
06125                 strResult = strResult + last[counter]
06126             else:
06127                 strResult = strResult + ""
06128         else:
06129             if isinstance(value, str):
06130                 if notebook.isVariable(value):
06131                     result = notebook.get(value)
06132                     strResult=strResult+value
06133                 else:
06134                     raise RuntimeError, "Variable with name '" + value + "' doesn't exist!!!"
06135             else:
06136                 strResult=strResult+str(value)
06137                 result = value
06138         if nbParams - 1 != counter:
06139             strResult=strResult+var_separator #":"
06140         counter = counter+1
06141     return result, strResult
06142 
#Wrapper class for StdMeshers_LocalLength hypothesis

Variable Documentation

Definition at line 135 of file smeshDC.py.

Definition at line 111 of file smeshDC.py.

Definition at line 119 of file smeshDC.py.

Definition at line 127 of file smeshDC.py.

Definition at line 103 of file smeshDC.py.

smeshDC.notebook = salome_notebook.notebook

Definition at line 6113 of file smeshDC.py.

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