Package SMESH_test


Variables

tuple box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
tuple idb = geompy.addToStudy(box, "box")
tuple subShapeList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"])
list face = subShapeList[0]
tuple name = geompy.SubShapeName(face, box)
tuple idf = geompy.addToStudyInFather(box, face, name)
tuple subShellList = geompy.SubShapeAll(box, geompy.ShapeType["SHELL"])
list shell = subShellList[0]
tuple name = geompy.SubShapeName(shell, box)
tuple ids = geompy.addToStudyInFather(box, shell, name)
tuple edgeList = geompy.SubShapeAll(face, geompy.ShapeType["EDGE"])
list edge = edgeList[0]
tuple name = geompy.SubShapeName(edge, face)
tuple ide = geompy.addToStudyInFather(face, edge, name)
tuple gen = smeshpy.smeshpy()
tuple mesh = gen.CreateMesh(idb)
tuple hypo1 = gen.CreateHypothesis("LocalLength", "libStdMeshersEngine.so")
tuple hyp3 = gen.CreateHypothesis("bidon", "")
tuple hypo3 = gen.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
tuple hypo4 = gen.CreateHypothesis("MaxElementArea", "libStdMeshersEngine.so")
tuple algo_1 = gen.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so")
int listHyp = 1
tuple algo_2 = gen.CreateHypothesis("MEFISTO_2D", "libStdMeshersEngine.so")
int listHyp = 2
tuple edge = salome.IDToObject(ide)
tuple submesh = mesh.GetSubMesh(edge, "SubMeshEdge")
tuple ret = mesh.AddHypothesis(edge,algo_1)
tuple ret = mesh.AddHypothesis(edge,hypo1)
tuple box = salome.IDToObject(idb)
 print "-------------------------- compute edge" ret=gen.Compute(mesh,ide) print ret log=mesh.GetLog(1); for a in log: print a
tuple submesh = mesh.GetSubMesh(box, "SubMeshBox")
tuple ret = mesh.AddHypothesis(box,algo_1)
tuple ret = mesh.AddHypothesis(box,hypo1)
tuple ret = mesh.AddHypothesis(box,algo_2)
tuple ret = mesh.AddHypothesis(box,hypo4)
tuple ret = gen.Compute(mesh,idf)
tuple log = mesh.GetLog(0)
int ii = 0
int ir = 0
 comType = a.commandType
list ind = a.indexes[ii]
int ii = 1
list r1 = a.coords[ir]
int ir = 1
list r2 = a.coords[ir]
int ir = 1
list r3 = a.coords[ir]
int ir = 1
list ind = a.indexes[ii]
int ii = 1
list i1 = a.indexes[ii]
int ii = 1
list i2 = a.indexes[ii]
int ii = 1
list ind = a.indexes[ii]
int ii = 1
list i1 = a.indexes[ii]
int ii = 1
list i2 = a.indexes[ii]
int ii = 1
list i3 = a.indexes[ii]
int ii = 1


Variable Documentation

tuple SMESH_test.box = geompy.MakeBox(0., 0., 0., 100., 200., 300.) [static]
 

tuple SMESH_test.idb = geompy.addToStudy(box, "box") [static]
 

tuple SMESH_test.subShapeList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"]) [static]
 

list SMESH_test.face = subShapeList[0] [static]
 

tuple SMESH_test.name = geompy.SubShapeName(face, box) [static]
 

tuple SMESH_test.idf = geompy.addToStudyInFather(box, face, name) [static]
 

tuple SMESH_test.subShellList = geompy.SubShapeAll(box, geompy.ShapeType["SHELL"]) [static]
 

list SMESH_test.shell = subShellList[0] [static]
 

tuple SMESH_test.name = geompy.SubShapeName(shell, box) [static]
 

tuple SMESH_test.ids = geompy.addToStudyInFather(box, shell, name) [static]
 

tuple SMESH_test.edgeList = geompy.SubShapeAll(face, geompy.ShapeType["EDGE"]) [static]
 

list SMESH_test.edge = edgeList[0] [static]
 

tuple SMESH_test.name = geompy.SubShapeName(edge, face) [static]
 

tuple SMESH_test.ide = geompy.addToStudyInFather(face, edge, name) [static]
 

tuple SMESH_test.gen = smeshpy.smeshpy() [static]
 

tuple SMESH_test.mesh = gen.CreateMesh(idb) [static]
 

tuple SMESH_test.hypo1 = gen.CreateHypothesis("LocalLength", "libStdMeshersEngine.so") [static]
 

tuple SMESH_test.hyp3 = gen.CreateHypothesis("bidon", "") [static]
 

tuple SMESH_test.hypo3 = gen.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so") [static]
 

tuple SMESH_test.hypo4 = gen.CreateHypothesis("MaxElementArea", "libStdMeshersEngine.so") [static]
 

tuple SMESH_test.algo_1 = gen.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so") [static]
 

int SMESH_test.listHyp = 1 [static]
 

tuple SMESH_test.algo_2 = gen.CreateHypothesis("MEFISTO_2D", "libStdMeshersEngine.so") [static]
 

int SMESH_test.listHyp = 2 [static]
 

tuple SMESH_test.edge = salome.IDToObject(ide) [static]
 

tuple SMESH_test.submesh = mesh.GetSubMesh(edge, "SubMeshEdge") [static]
 

tuple SMESH_test.ret = mesh.AddHypothesis(edge,algo_1) [static]
 

tuple SMESH_test.ret = mesh.AddHypothesis(edge,hypo1) [static]
 

tuple SMESH_test.box = salome.IDToObject(idb) [static]
 

tuple SMESH_test.submesh = mesh.GetSubMesh(box, "SubMeshBox") [static]
 

tuple SMESH_test.ret = mesh.AddHypothesis(box,algo_1) [static]
 

tuple SMESH_test.ret = mesh.AddHypothesis(box,hypo1) [static]
 

tuple SMESH_test.ret = mesh.AddHypothesis(box,algo_2) [static]
 

tuple SMESH_test.ret = mesh.AddHypothesis(box,hypo4) [static]
 

tuple SMESH_test.ret = gen.Compute(mesh,idf) [static]
 

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

int SMESH_test.ii = 0 [static]
 

int SMESH_test.ir = 0 [static]
 

SMESH_test.comType = a.commandType [static]
 

list SMESH_test.ind = a.indexes[ii] [static]
 

int SMESH_test.ii = 1 [static]
 

list SMESH_test.r1 = a.coords[ir] [static]
 

int SMESH_test.ir = 1 [static]
 

list SMESH_test.r2 = a.coords[ir] [static]
 

int SMESH_test.ir = 1 [static]
 

list SMESH_test.r3 = a.coords[ir] [static]
 

int SMESH_test.ir = 1 [static]
 

list SMESH_test.ind = a.indexes[ii] [static]
 

int SMESH_test.ii = 1 [static]
 

list SMESH_test.i1 = a.indexes[ii] [static]
 

int SMESH_test.ii = 1 [static]
 

list SMESH_test.i2 = a.indexes[ii] [static]
 

int SMESH_test.ii = 1 [static]
 

list SMESH_test.ind = a.indexes[ii] [static]
 

int SMESH_test.ii = 1 [static]
 

list SMESH_test.i1 = a.indexes[ii] [static]
 

int SMESH_test.ii = 1 [static]
 

list SMESH_test.i2 = a.indexes[ii] [static]
 

int SMESH_test.ii = 1 [static]
 

list SMESH_test.i3 = a.indexes[ii] [static]
 

int SMESH_test.ii = 1 [static]