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
tuple smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
int numberOfSegments = 4
tuple hypNbSegA = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
int numberOfSegments = 10
tuple hypNbSegB = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
int numberOfSegments = 15
tuple hypNbSegC = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
tuple regular1D = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so")
tuple quad2D = smesh.CreateHypothesis("Quadrangle_2D", "libStdMeshersEngine.so")
tuple hexa3D = smesh.CreateHypothesis("Hexa_3D", "libStdMeshersEngine.so")
 shape_mesh = blob
tuple myMesh = smesh.CreateMesh(shape_mesh)
tuple ret = smesh.Compute(myMesh, shape_mesh)
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
tuple smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
int numberOfSegments = 4
tuple hypNbSegA = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
int numberOfSegments = 10
tuple hypNbSegB = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
int numberOfSegments = 15
tuple hypNbSegC = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
tuple regular1D = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so")
tuple quad2D = smesh.CreateHypothesis("Quadrangle_2D", "libStdMeshersEngine.so")
tuple hexa3D = smesh.CreateHypothesis("Hexa_3D", "libStdMeshersEngine.so")
 shape_mesh = blob
tuple myMesh = smesh.CreateMesh(shape_mesh)
tuple ret = smesh.Compute(myMesh, shape_mesh)


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]
 

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

int SMESH_hexaedre.numberOfSegments = 4 [static]
 

tuple SMESH_hexaedre.hypNbSegA = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so") [static]
 

int SMESH_hexaedre.numberOfSegments = 10 [static]
 

tuple SMESH_hexaedre.hypNbSegB = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so") [static]
 

int SMESH_hexaedre.numberOfSegments = 15 [static]
 

tuple SMESH_hexaedre.hypNbSegC = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so") [static]
 

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

tuple SMESH_hexaedre.quad2D = smesh.CreateHypothesis("Quadrangle_2D", "libStdMeshersEngine.so") [static]
 

tuple SMESH_hexaedre.hexa3D = smesh.CreateHypothesis("Hexa_3D", "libStdMeshersEngine.so") [static]
 

SMESH_hexaedre.shape_mesh = blob [static]
 

tuple SMESH_hexaedre.myMesh = smesh.CreateMesh(shape_mesh) [static]
 

tuple SMESH_hexaedre.ret = smesh.Compute(myMesh, shape_mesh) [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]
 

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

int SMESH_hexaedre.numberOfSegments = 4 [static]
 

tuple SMESH_hexaedre.hypNbSegA = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so") [static]
 

int SMESH_hexaedre.numberOfSegments = 10 [static]
 

tuple SMESH_hexaedre.hypNbSegB = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so") [static]
 

int SMESH_hexaedre.numberOfSegments = 15 [static]
 

tuple SMESH_hexaedre.hypNbSegC = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so") [static]
 

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

tuple SMESH_hexaedre.quad2D = smesh.CreateHypothesis("Quadrangle_2D", "libStdMeshersEngine.so") [static]
 

tuple SMESH_hexaedre.hexa3D = smesh.CreateHypothesis("Hexa_3D", "libStdMeshersEngine.so") [static]
 

SMESH_hexaedre.shape_mesh = blob [static]
 

tuple SMESH_hexaedre.myMesh = smesh.CreateMesh(shape_mesh) [static]
 

tuple SMESH_hexaedre.ret = smesh.Compute(myMesh, shape_mesh) [static]