Package SMESH_hexaedre


Variables

tuple geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
tuple myBuilder = salome.myStudy.NewBuilder()
tuple gg = salome.ImportComponentGUI("GEOM")
int ShapeTypeCompSolid = 1
int ShapeTypeSolid = 2
int ShapeTypeShell = 3
int ShapeTypeFace = 4
int ShapeTypeWire = 5
int ShapeTypeEdge = 6
int ShapeTypeVertex = 7
int Boolop_common = 1
int Boolop_cut = 2
int Boolop_fuse = 3
int Boolop_section = 4
tuple p0 = geompy.MakeVertex(0., 0., 0.)
tuple px = geompy.MakeVertex(100., 0., 0.)
tuple py = geompy.MakeVertex(0., 100., 0.)
tuple pz = geompy.MakeVertex(0., 0., 100.)
tuple vx = geompy.MakeVector(p0, px)
tuple vy = geompy.MakeVector(p0, py)
tuple vz = geompy.MakeVector(p0, pz)
tuple sphereExt = geompy.MakeSphere( 0., 0., 0., 400.)
tuple sphereInt = geompy.MakeSphere( 0.,-50., 0., 350.)
tuple sphereA = geompy.MakeSphere( -400., 50., 50., 400.)
tuple sphereB = geompy.MakeSphere( 350.,-50.,-50., 350.)
tuple ptcyle = geompy.MakeVertex(0., -300., -450.)
tuple cylindre = geompy.MakeCylinder(ptcyle,vz,500.,900.)
tuple vol1 = geompy.MakeCut(sphereExt,sphereA)
tuple vol2 = geompy.MakeCut(vol1,sphereB)
tuple vol3 = geompy.MakeCut(vol2,cylindre)
tuple blob = geompy.MakeCut(vol3,sphereInt)
tuple idblob = geompy.addToStudy(blob,"blob")
list aretes = []
tuple aretes = geompy.SubShapeAllSorted(blob, ShapeTypeEdge)
int eid = 0
 shape_mesh = blob
 for edge in aretes: edname="areted"eid idedge=geompy.addToStudy(edge,edname) eid=eid+1
tuple mesh = smesh.Mesh(shape_mesh, "MeshBlob")
tuple algo1 = mesh.Segment()
tuple algo2 = mesh.Quadrangle()
tuple algo3 = mesh.Hexahedron()
int numberOfSegmentsA = 4
tuple algo = mesh.Segment(aretes[0])
tuple algo = mesh.Segment(aretes[2])
tuple algo = mesh.Segment(aretes[8])
tuple algo = mesh.Segment(aretes[10])
int numberOfSegmentsC = 15
tuple algo = mesh.Segment(aretes[1])
tuple algo = mesh.Segment(aretes[3])
tuple algo = mesh.Segment(aretes[9])
tuple algo = mesh.Segment(aretes[11])
int numberOfSegmentsB = 10
tuple algo = mesh.Segment(aretes[4])
tuple algo = mesh.Segment(aretes[5])
tuple algo = mesh.Segment(aretes[6])
tuple algo = mesh.Segment(aretes[7])
tuple ret = mesh.Compute()
tuple geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM")
tuple myBuilder = salome.myStudy.NewBuilder()
tuple gg = salome.ImportComponentGUI("GEOM")
int ShapeTypeCompSolid = 1
int ShapeTypeSolid = 2
int ShapeTypeShell = 3
int ShapeTypeFace = 4
int ShapeTypeWire = 5
int ShapeTypeEdge = 6
int ShapeTypeVertex = 7
int Boolop_common = 1
int Boolop_cut = 2
int Boolop_fuse = 3
int Boolop_section = 4
tuple p0 = geompy.MakeVertex(0., 0., 0.)
tuple px = geompy.MakeVertex(100., 0., 0.)
tuple py = geompy.MakeVertex(0., 100., 0.)
tuple pz = geompy.MakeVertex(0., 0., 100.)
tuple vx = geompy.MakeVector(p0, px)
tuple vy = geompy.MakeVector(p0, py)
tuple vz = geompy.MakeVector(p0, pz)
tuple sphereExt = geompy.MakeSphere( 0., 0., 0., 400.)
tuple sphereInt = geompy.MakeSphere( 0.,-50., 0., 350.)
tuple sphereA = geompy.MakeSphere( -400., 50., 50., 400.)
tuple sphereB = geompy.MakeSphere( 350.,-50.,-50., 350.)
tuple ptcyle = geompy.MakeVertex(0., -300., -450.)
tuple cylindre = geompy.MakeCylinder(ptcyle,vz,500.,900.)
tuple vol1 = geompy.MakeCut(sphereExt,sphereA)
tuple vol2 = geompy.MakeCut(vol1,sphereB)
tuple vol3 = geompy.MakeCut(vol2,cylindre)
tuple blob = geompy.MakeCut(vol3,sphereInt)
tuple idblob = geompy.addToStudy(blob,"blob")
list aretes = []
tuple aretes = geompy.SubShapeAllSorted(blob, ShapeTypeEdge)
int eid = 0
 shape_mesh = blob
 for edge in aretes: edname="areted"eid idedge=geompy.addToStudy(edge,edname) eid=eid+1
tuple mesh = smesh.Mesh(shape_mesh, "MeshBlob")
tuple algo1 = mesh.Segment()
tuple algo2 = mesh.Quadrangle()
tuple algo3 = mesh.Hexahedron()
int numberOfSegmentsA = 4
tuple algo = mesh.Segment(aretes[0])
tuple algo = mesh.Segment(aretes[2])
tuple algo = mesh.Segment(aretes[8])
tuple algo = mesh.Segment(aretes[10])
int numberOfSegmentsC = 15
tuple algo = mesh.Segment(aretes[1])
tuple algo = mesh.Segment(aretes[3])
tuple algo = mesh.Segment(aretes[9])
tuple algo = mesh.Segment(aretes[11])
int numberOfSegmentsB = 10
tuple algo = mesh.Segment(aretes[4])
tuple algo = mesh.Segment(aretes[5])
tuple algo = mesh.Segment(aretes[6])
tuple algo = mesh.Segment(aretes[7])
tuple ret = mesh.Compute()


Variable Documentation

tuple SMESH_hexaedre.geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM") [static]
 

tuple SMESH_hexaedre.myBuilder = salome.myStudy.NewBuilder() [static]
 

tuple SMESH_hexaedre.gg = salome.ImportComponentGUI("GEOM") [static]
 

int SMESH_hexaedre.ShapeTypeCompSolid = 1 [static]
 

int SMESH_hexaedre.ShapeTypeSolid = 2 [static]
 

int SMESH_hexaedre.ShapeTypeShell = 3 [static]
 

int SMESH_hexaedre.ShapeTypeFace = 4 [static]
 

int SMESH_hexaedre.ShapeTypeWire = 5 [static]
 

int SMESH_hexaedre.ShapeTypeEdge = 6 [static]
 

int SMESH_hexaedre.ShapeTypeVertex = 7 [static]
 

int SMESH_hexaedre.Boolop_common = 1 [static]
 

int SMESH_hexaedre.Boolop_cut = 2 [static]
 

int SMESH_hexaedre.Boolop_fuse = 3 [static]
 

int SMESH_hexaedre.Boolop_section = 4 [static]
 

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

tuple SMESH_hexaedre.px = geompy.MakeVertex(100., 0., 0.) [static]
 

tuple SMESH_hexaedre.py = geompy.MakeVertex(0., 100., 0.) [static]
 

tuple SMESH_hexaedre.pz = geompy.MakeVertex(0., 0., 100.) [static]
 

tuple SMESH_hexaedre.vx = geompy.MakeVector(p0, px) [static]
 

tuple SMESH_hexaedre.vy = geompy.MakeVector(p0, py) [static]
 

tuple SMESH_hexaedre.vz = geompy.MakeVector(p0, pz) [static]
 

tuple SMESH_hexaedre.sphereExt = geompy.MakeSphere( 0., 0., 0., 400.) [static]
 

tuple SMESH_hexaedre.sphereInt = geompy.MakeSphere( 0.,-50., 0., 350.) [static]
 

tuple SMESH_hexaedre.sphereA = geompy.MakeSphere( -400., 50., 50., 400.) [static]
 

tuple SMESH_hexaedre.sphereB = geompy.MakeSphere( 350.,-50.,-50., 350.) [static]
 

tuple SMESH_hexaedre.ptcyle = geompy.MakeVertex(0., -300., -450.) [static]
 

tuple SMESH_hexaedre.cylindre = geompy.MakeCylinder(ptcyle,vz,500.,900.) [static]
 

tuple SMESH_hexaedre.vol1 = geompy.MakeCut(sphereExt,sphereA) [static]
 

tuple SMESH_hexaedre.vol2 = geompy.MakeCut(vol1,sphereB) [static]
 

tuple SMESH_hexaedre.vol3 = geompy.MakeCut(vol2,cylindre) [static]
 

tuple SMESH_hexaedre.blob = geompy.MakeCut(vol3,sphereInt) [static]
 

tuple SMESH_hexaedre.idblob = geompy.addToStudy(blob,"blob") [static]
 

list SMESH_hexaedre.aretes = [] [static]
 

tuple SMESH_hexaedre.aretes = geompy.SubShapeAllSorted(blob, ShapeTypeEdge) [static]
 

int SMESH_hexaedre.eid = 0 [static]
 

SMESH_hexaedre.shape_mesh = blob [static]
 

tuple SMESH_hexaedre.mesh = smesh.Mesh(shape_mesh, "MeshBlob") [static]
 

tuple SMESH_hexaedre.algo1 = mesh.Segment() [static]
 

tuple SMESH_hexaedre.algo2 = mesh.Quadrangle() [static]
 

tuple SMESH_hexaedre.algo3 = mesh.Hexahedron() [static]
 

int SMESH_hexaedre.numberOfSegmentsA = 4 [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[0]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[2]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[8]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[10]) [static]
 

int SMESH_hexaedre.numberOfSegmentsC = 15 [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[1]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[3]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[9]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[11]) [static]
 

int SMESH_hexaedre.numberOfSegmentsB = 10 [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[4]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[5]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[6]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[7]) [static]
 

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

tuple SMESH_hexaedre.geom = salome.lcc.FindOrLoadComponent("FactoryServer", "GEOM") [static]
 

tuple SMESH_hexaedre.myBuilder = salome.myStudy.NewBuilder() [static]
 

tuple SMESH_hexaedre.gg = salome.ImportComponentGUI("GEOM") [static]
 

int SMESH_hexaedre.ShapeTypeCompSolid = 1 [static]
 

int SMESH_hexaedre.ShapeTypeSolid = 2 [static]
 

int SMESH_hexaedre.ShapeTypeShell = 3 [static]
 

int SMESH_hexaedre.ShapeTypeFace = 4 [static]
 

int SMESH_hexaedre.ShapeTypeWire = 5 [static]
 

int SMESH_hexaedre.ShapeTypeEdge = 6 [static]
 

int SMESH_hexaedre.ShapeTypeVertex = 7 [static]
 

int SMESH_hexaedre.Boolop_common = 1 [static]
 

int SMESH_hexaedre.Boolop_cut = 2 [static]
 

int SMESH_hexaedre.Boolop_fuse = 3 [static]
 

int SMESH_hexaedre.Boolop_section = 4 [static]
 

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

tuple SMESH_hexaedre.px = geompy.MakeVertex(100., 0., 0.) [static]
 

tuple SMESH_hexaedre.py = geompy.MakeVertex(0., 100., 0.) [static]
 

tuple SMESH_hexaedre.pz = geompy.MakeVertex(0., 0., 100.) [static]
 

tuple SMESH_hexaedre.vx = geompy.MakeVector(p0, px) [static]
 

tuple SMESH_hexaedre.vy = geompy.MakeVector(p0, py) [static]
 

tuple SMESH_hexaedre.vz = geompy.MakeVector(p0, pz) [static]
 

tuple SMESH_hexaedre.sphereExt = geompy.MakeSphere( 0., 0., 0., 400.) [static]
 

tuple SMESH_hexaedre.sphereInt = geompy.MakeSphere( 0.,-50., 0., 350.) [static]
 

tuple SMESH_hexaedre.sphereA = geompy.MakeSphere( -400., 50., 50., 400.) [static]
 

tuple SMESH_hexaedre.sphereB = geompy.MakeSphere( 350.,-50.,-50., 350.) [static]
 

tuple SMESH_hexaedre.ptcyle = geompy.MakeVertex(0., -300., -450.) [static]
 

tuple SMESH_hexaedre.cylindre = geompy.MakeCylinder(ptcyle,vz,500.,900.) [static]
 

tuple SMESH_hexaedre.vol1 = geompy.MakeCut(sphereExt,sphereA) [static]
 

tuple SMESH_hexaedre.vol2 = geompy.MakeCut(vol1,sphereB) [static]
 

tuple SMESH_hexaedre.vol3 = geompy.MakeCut(vol2,cylindre) [static]
 

tuple SMESH_hexaedre.blob = geompy.MakeCut(vol3,sphereInt) [static]
 

tuple SMESH_hexaedre.idblob = geompy.addToStudy(blob,"blob") [static]
 

list SMESH_hexaedre.aretes = [] [static]
 

tuple SMESH_hexaedre.aretes = geompy.SubShapeAllSorted(blob, ShapeTypeEdge) [static]
 

int SMESH_hexaedre.eid = 0 [static]
 

SMESH_hexaedre.shape_mesh = blob [static]
 

tuple SMESH_hexaedre.mesh = smesh.Mesh(shape_mesh, "MeshBlob") [static]
 

tuple SMESH_hexaedre.algo1 = mesh.Segment() [static]
 

tuple SMESH_hexaedre.algo2 = mesh.Quadrangle() [static]
 

tuple SMESH_hexaedre.algo3 = mesh.Hexahedron() [static]
 

int SMESH_hexaedre.numberOfSegmentsA = 4 [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[0]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[2]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[8]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[10]) [static]
 

int SMESH_hexaedre.numberOfSegmentsC = 15 [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[1]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[3]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[9]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[11]) [static]
 

int SMESH_hexaedre.numberOfSegmentsB = 10 [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[4]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[5]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[6]) [static]
 

tuple SMESH_hexaedre.algo = mesh.Segment(aretes[7]) [static]
 

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