Package SMESH_Partition1_tetra


Variables

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 Compound1 = geompy.MakeCompound([colis_cc_multi, barier])
tuple SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"])
tuple alveole = geompy.MakePartition(SubShape_theShape)
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)
tuple shape_mesh = salome.IDToObject( idalveole )
tuple mesh = smesh.Mesh(shape_mesh, "MeshAlveole")
int numberOfSegments = 10
tuple regular1D = mesh.Segment()
int hypNbSeg = 1
float maxElementArea = 0.1
tuple mefisto2D = mesh.Triangle()
int hypArea = 2
float maxElementVolume = 0.5
tuple netgen3D = mesh.Tetrahedron(smesh.NETGEN)
int hypVolume = 3
tuple ret = mesh.Compute()
tuple log = mesh.GetLog(0)
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 Compound1 = geompy.MakeCompound([colis_cc_multi, barier])
tuple SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"])
tuple alveole = geompy.MakePartition(SubShape_theShape)
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)
tuple shape_mesh = salome.IDToObject( idalveole )
tuple mesh = smesh.Mesh(shape_mesh, "MeshAlveole")
int numberOfSegments = 10
tuple regular1D = mesh.Segment()
int hypNbSeg = 1
float maxElementArea = 0.1
tuple mefisto2D = mesh.Triangle()
int hypArea = 2
float maxElementVolume = 0.5
tuple netgen3D = mesh.Tetrahedron(smesh.NETGEN)
int hypVolume = 3
tuple ret = mesh.Compute()
tuple log = mesh.GetLog(0)


Variable Documentation

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.Compound1 = geompy.MakeCompound([colis_cc_multi, barier]) [static]
 

tuple SMESH_Partition1_tetra.SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"]) [static]
 

tuple SMESH_Partition1_tetra.alveole = geompy.MakePartition(SubShape_theShape) [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]
 

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

tuple SMESH_Partition1_tetra.mesh = smesh.Mesh(shape_mesh, "MeshAlveole") [static]
 

int SMESH_Partition1_tetra.numberOfSegments = 10 [static]
 

tuple SMESH_Partition1_tetra.regular1D = mesh.Segment() [static]
 

int SMESH_Partition1_tetra.hypNbSeg = 1 [static]
 

float SMESH_Partition1_tetra.maxElementArea = 0.1 [static]
 

tuple SMESH_Partition1_tetra.mefisto2D = mesh.Triangle() [static]
 

int SMESH_Partition1_tetra.hypArea = 2 [static]
 

float SMESH_Partition1_tetra.maxElementVolume = 0.5 [static]
 

tuple SMESH_Partition1_tetra.netgen3D = mesh.Tetrahedron(smesh.NETGEN) [static]
 

int SMESH_Partition1_tetra.hypVolume = 3 [static]
 

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

tuple SMESH_Partition1_tetra.log = mesh.GetLog(0) [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.Compound1 = geompy.MakeCompound([colis_cc_multi, barier]) [static]
 

tuple SMESH_Partition1_tetra.SubShape_theShape = geompy.SubShapeAll(Compound1,geompy.ShapeType["SOLID"]) [static]
 

tuple SMESH_Partition1_tetra.alveole = geompy.MakePartition(SubShape_theShape) [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]
 

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

tuple SMESH_Partition1_tetra.mesh = smesh.Mesh(shape_mesh, "MeshAlveole") [static]
 

int SMESH_Partition1_tetra.numberOfSegments = 10 [static]
 

tuple SMESH_Partition1_tetra.regular1D = mesh.Segment() [static]
 

int SMESH_Partition1_tetra.hypNbSeg = 1 [static]
 

float SMESH_Partition1_tetra.maxElementArea = 0.1 [static]
 

tuple SMESH_Partition1_tetra.mefisto2D = mesh.Triangle() [static]
 

int SMESH_Partition1_tetra.hypArea = 2 [static]
 

float SMESH_Partition1_tetra.maxElementVolume = 0.5 [static]
 

tuple SMESH_Partition1_tetra.netgen3D = mesh.Tetrahedron(smesh.NETGEN) [static]
 

int SMESH_Partition1_tetra.hypVolume = 3 [static]
 

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

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