Package SMESH_fixation_tetra


Variables

 compshell = SMESH_fixation.compshell
 idcomp = SMESH_fixation.idcomp
 geompy = SMESH_fixation.geompy
 salome = SMESH_fixation.salome
tuple subShellList = geompy.SubShapeAll(compshell, geompy.ShapeType["SHELL"])
tuple subFaceList = geompy.SubShapeAll(compshell, geompy.ShapeType["FACE"])
tuple subEdgeList = geompy.SubShapeAll(compshell, geompy.ShapeType["EDGE"])
tuple status = geompy.CheckShape(compshell)
tuple smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
tuple smeshgui = salome.ImportComponentGUI("SMESH")
int numberOfSegments = 5
tuple hypNbSeg = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
tuple hypLengthFromEdges = smesh.CreateHypothesis("LengthFromEdges", "libStdMeshersEngine.so")
 maxElementArea = 80 hypArea=smesh.CreateHypothesis("MaxElementArea") hypArea.SetMaxElementArea(maxElementArea) print hypArea.GetName() print hypArea.GetId() print hypArea.GetMaxElementArea() smeshgui.SetName(salome.ObjectToID(hypArea), "MaxElementArea_160")
int maxElementVolume = 1000
tuple hypVolume = smesh.CreateHypothesis("MaxElementVolume", "libStdMeshersEngine.so")
tuple regular1D = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so")
tuple mefisto2D = smesh.CreateHypothesis("MEFISTO_2D", "libStdMeshersEngine.so")
tuple netgen3D = smesh.CreateHypothesis("NETGEN_3D", "libNETGENEngine.so")
tuple mesh = smesh.CreateMesh(compshell)
tuple ret = smesh.Compute(mesh,compshell)
tuple log = mesh.GetLog(0)


Variable Documentation

SMESH_fixation_tetra.compshell = SMESH_fixation.compshell [static]
 

SMESH_fixation_tetra.idcomp = SMESH_fixation.idcomp [static]
 

SMESH_fixation_tetra.geompy = SMESH_fixation.geompy [static]
 

SMESH_fixation_tetra.salome = SMESH_fixation.salome [static]
 

tuple SMESH_fixation_tetra.subShellList = geompy.SubShapeAll(compshell, geompy.ShapeType["SHELL"]) [static]
 

tuple SMESH_fixation_tetra.subFaceList = geompy.SubShapeAll(compshell, geompy.ShapeType["FACE"]) [static]
 

tuple SMESH_fixation_tetra.subEdgeList = geompy.SubShapeAll(compshell, geompy.ShapeType["EDGE"]) [static]
 

tuple SMESH_fixation_tetra.status = geompy.CheckShape(compshell) [static]
 

tuple SMESH_fixation_tetra.smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH") [static]
 

tuple SMESH_fixation_tetra.smeshgui = salome.ImportComponentGUI("SMESH") [static]
 

int SMESH_fixation_tetra.numberOfSegments = 5 [static]
 

tuple SMESH_fixation_tetra.hypNbSeg = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so") [static]
 

tuple SMESH_fixation_tetra.hypLengthFromEdges = smesh.CreateHypothesis("LengthFromEdges", "libStdMeshersEngine.so") [static]
 

int SMESH_fixation_tetra.maxElementVolume = 1000 [static]
 

tuple SMESH_fixation_tetra.hypVolume = smesh.CreateHypothesis("MaxElementVolume", "libStdMeshersEngine.so") [static]
 

tuple SMESH_fixation_tetra.regular1D = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so") [static]
 

tuple SMESH_fixation_tetra.mefisto2D = smesh.CreateHypothesis("MEFISTO_2D", "libStdMeshersEngine.so") [static]
 

tuple SMESH_fixation_tetra.netgen3D = smesh.CreateHypothesis("NETGEN_3D", "libNETGENEngine.so") [static]
 

tuple SMESH_fixation_tetra.mesh = smesh.CreateMesh(compshell) [static]
 

tuple SMESH_fixation_tetra.ret = smesh.Compute(mesh,compshell) [static]
 

tuple SMESH_fixation_tetra.log = mesh.GetLog(0) [static]