Package SMESH_Partition1_tetra


Variables

tuple smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
tuple smeshgui = salome.ImportComponentGUI("SMESH")
float barier_height = 7.0
float barier_radius = 5.6
float colis_radius = 1.0
float colis_step = 2.0
float cc_width = 0.11
 cc_radius = colis_radius+cc_width
tuple colis_center = sqrt(2.0)
int boolean_common = 1
int boolean_cut = 2
int boolean_fuse = 3
int boolean_section = 4
tuple p0 = geompy.MakeVertex(0.,0.,0.)
tuple vz = geompy.MakeVectorDXDYDZ(0.,0.,1.)
tuple barier = geompy.MakeCylinder(p0, vz, barier_radius, barier_height)
tuple colis = geompy.MakeCylinder(p0, vz, colis_radius, barier_height)
tuple cc = geompy.MakeCylinder(p0, vz, cc_radius, barier_height)
tuple colis_cc = geompy.MakeCompound([colis, cc])
tuple colis_cc = geompy.MakeTranslation(colis_cc, colis_center, 0.0, 0.0)
int colis_cc_multi = 1
tuple alveole = geompy.MakePartition([colis_cc_multi, barier])
tuple subShellList = geompy.SubShapeAll(alveole, geompy.ShapeType["SHELL"])
tuple subFaceList = geompy.SubShapeAll(alveole, geompy.ShapeType["FACE"])
tuple subEdgeList = geompy.SubShapeAll(alveole, geompy.ShapeType["EDGE"])
tuple subshapes = geompy.SubShapeAll(alveole, geompy.ShapeType["SHAPE"])
tuple comp1 = geompy.MakeCompound( [ subshapes[0], subshapes[1] ] )
 there are 9 subshapes
tuple comp2 = geompy.MakeCompound( [ subshapes[2], subshapes[3] ] )
tuple comp3 = geompy.MakeCompound( [ subshapes[4], subshapes[5] ] )
tuple comp4 = geompy.MakeCompound( [ subshapes[6], subshapes[7] ] )
list compGOs = []
tuple comp = geompy.MakeCompound( compGOs )
tuple alveole = geompy.MakeCompound( [ comp, subshapes[8] ])
tuple idalveole = geompy.addToStudy(alveole, "alveole")
tuple subShellList = geompy.SubShapeAll(alveole, geompy.ShapeType["SHELL"])
tuple subFaceList = geompy.SubShapeAll(alveole, geompy.ShapeType["FACE"])
tuple subEdgeList = geompy.SubShapeAll(alveole, geompy.ShapeType["EDGE"])
tuple status = geompy.CheckShape(alveole)
int numberOfSegments = 10
tuple hypNbSeg = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
float maxElementArea = 0.1
tuple hypArea = smesh.CreateHypothesis("MaxElementArea", "libStdMeshersEngine.so")
float maxElementVolume = 0.5
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 shape_mesh = salome.IDToObject( idalveole )
tuple mesh = smesh.CreateMesh(shape_mesh)
tuple ret = smesh.Compute(mesh,shape_mesh)
tuple log = mesh.GetLog(0)


Variable Documentation

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

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

float SMESH_Partition1_tetra.barier_height = 7.0 [static]
 

float SMESH_Partition1_tetra.barier_radius = 5.6 [static]
 

float SMESH_Partition1_tetra.colis_radius = 1.0 [static]
 

float SMESH_Partition1_tetra.colis_step = 2.0 [static]
 

float SMESH_Partition1_tetra.cc_width = 0.11 [static]
 

SMESH_Partition1_tetra.cc_radius = colis_radius+cc_width [static]
 

tuple SMESH_Partition1_tetra.colis_center = sqrt(2.0) [static]
 

int SMESH_Partition1_tetra.boolean_common = 1 [static]
 

int SMESH_Partition1_tetra.boolean_cut = 2 [static]
 

int SMESH_Partition1_tetra.boolean_fuse = 3 [static]
 

int SMESH_Partition1_tetra.boolean_section = 4 [static]
 

tuple SMESH_Partition1_tetra.p0 = geompy.MakeVertex(0.,0.,0.) [static]
 

tuple SMESH_Partition1_tetra.vz = geompy.MakeVectorDXDYDZ(0.,0.,1.) [static]
 

tuple SMESH_Partition1_tetra.barier = geompy.MakeCylinder(p0, vz, barier_radius, barier_height) [static]
 

tuple SMESH_Partition1_tetra.colis = geompy.MakeCylinder(p0, vz, colis_radius, barier_height) [static]
 

tuple SMESH_Partition1_tetra.cc = geompy.MakeCylinder(p0, vz, cc_radius, barier_height) [static]
 

tuple SMESH_Partition1_tetra.colis_cc = geompy.MakeCompound([colis, cc]) [static]
 

tuple SMESH_Partition1_tetra.colis_cc = geompy.MakeTranslation(colis_cc, colis_center, 0.0, 0.0) [static]
 

int SMESH_Partition1_tetra.colis_cc_multi = 1 [static]
 

tuple SMESH_Partition1_tetra.alveole = geompy.MakePartition([colis_cc_multi, barier]) [static]
 

tuple SMESH_Partition1_tetra.subShellList = geompy.SubShapeAll(alveole, geompy.ShapeType["SHELL"]) [static]
 

tuple SMESH_Partition1_tetra.subFaceList = geompy.SubShapeAll(alveole, geompy.ShapeType["FACE"]) [static]
 

tuple SMESH_Partition1_tetra.subEdgeList = geompy.SubShapeAll(alveole, geompy.ShapeType["EDGE"]) [static]
 

tuple SMESH_Partition1_tetra.subshapes = geompy.SubShapeAll(alveole, geompy.ShapeType["SHAPE"]) [static]
 

tuple SMESH_Partition1_tetra.comp1 = geompy.MakeCompound( [ subshapes[0], subshapes[1] ] ) [static]
 

tuple SMESH_Partition1_tetra.comp2 = geompy.MakeCompound( [ subshapes[2], subshapes[3] ] ) [static]
 

tuple SMESH_Partition1_tetra.comp3 = geompy.MakeCompound( [ subshapes[4], subshapes[5] ] ) [static]
 

tuple SMESH_Partition1_tetra.comp4 = geompy.MakeCompound( [ subshapes[6], subshapes[7] ] ) [static]
 

list SMESH_Partition1_tetra.compGOs = [] [static]
 

tuple SMESH_Partition1_tetra.comp = geompy.MakeCompound( compGOs ) [static]
 

tuple SMESH_Partition1_tetra.alveole = geompy.MakeCompound( [ comp, subshapes[8] ]) [static]
 

tuple SMESH_Partition1_tetra.idalveole = geompy.addToStudy(alveole, "alveole") [static]
 

tuple SMESH_Partition1_tetra.subShellList = geompy.SubShapeAll(alveole, geompy.ShapeType["SHELL"]) [static]
 

tuple SMESH_Partition1_tetra.subFaceList = geompy.SubShapeAll(alveole, geompy.ShapeType["FACE"]) [static]
 

tuple SMESH_Partition1_tetra.subEdgeList = geompy.SubShapeAll(alveole, geompy.ShapeType["EDGE"]) [static]
 

tuple SMESH_Partition1_tetra.status = geompy.CheckShape(alveole) [static]
 

int SMESH_Partition1_tetra.numberOfSegments = 10 [static]
 

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

float SMESH_Partition1_tetra.maxElementArea = 0.1 [static]
 

tuple SMESH_Partition1_tetra.hypArea = smesh.CreateHypothesis("MaxElementArea", "libStdMeshersEngine.so") [static]
 

float SMESH_Partition1_tetra.maxElementVolume = 0.5 [static]
 

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

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

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

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

tuple SMESH_Partition1_tetra.shape_mesh = salome.IDToObject( idalveole ) [static]
 

tuple SMESH_Partition1_tetra.mesh = smesh.CreateMesh(shape_mesh) [static]
 

tuple SMESH_Partition1_tetra.ret = smesh.Compute(mesh,shape_mesh) [static]
 

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