SALOME documentation central

smesh Class Reference

Public Member Functions

def init_smesh
 Sets the current study and Geometry component.
def Mesh
 Creates an empty Mesh.
def EnumToLong
 Returns a long value from enumeration Should be used for SMESH.FunctorType enumeration.
def GetPointStruct
 Gets PointStruct from vertex.
def GetDirStruct
 Gets DirStruct from vector.
def MakeDirStruct
 Makes DirStruct from a triplet.
def GetAxisStruct
 Get AxisStruct from object.
def SetName
 Sets the given name to the object.
def SetEmbeddedMode
 Sets the current mode.
def IsEmbeddedMode
 Gets the current mode.
def SetCurrentStudy
 Sets the current study.
def GetCurrentStudy
 Gets the current study.
def CreateMeshesFromUNV
 Creates a Mesh object importing data from the given UNV file.
def CreateMeshesFromMED
 Creates a Mesh object(s) importing data from the given MED file.
def CreateMeshesFromSTL
 Creates a Mesh object importing data from the given STL file.
def GetSubShapesId
 From SMESH_Gen interface.
def GetPattern
 From SMESH_Gen interface.
def SetBoundaryBoxSegmentation
 Sets number of segments per diagonal of boundary box of geometry by which default segment length of appropriate 1D hypotheses is defined.
def Concatenate
 Concatenate the given meshes into one mesh.
def GetEmptyCriterion
 Creates an empty criterion.
def GetCriterion
 Creates a criterion by the given parameters.
def GetFilter
 Creates a filter with the given parameters.
def GetFunctor
 Creates a numerical functor by its type.
def CreateHypothesis
 Creates hypothesis.
def GetMeshInfo
 Gets the mesh stattistic.

Data Fields

 geompyD

Member Function Documentation

def Concatenate (   self,
  meshes,
  uniteIdenticalGroups,
  mergeNodesAndElements = False,
  mergeTolerance = 1e-5,
  allGroups = False 
)

Concatenate the given meshes into one mesh.

Returns:
an instance of Mesh class
Parameters:
meshes the meshes to combine into one mesh
uniteIdenticalGroups if true, groups with same names are united, else they are renamed
mergeNodesAndElements if true, equal nodes and elements aremerged
mergeTolerance tolerance for merging nodes
allGroups forces creation of groups of all elements
def CreateHypothesis (   self,
  theHType,
  theLibName = "libStdMeshersEngine.so" 
)

Creates hypothesis.

Parameters:
theHType mesh hypothesis type (string)
theLibName mesh plug-in library name
Returns:
created hypothesis instance

Field Documentation

 All Data Structures Namespaces Files Functions Variables

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