Package SMESH_test1


Variables

tuple smesh = salome.lcc.FindOrLoadComponent("FactoryServer", "SMESH")
tuple box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
tuple idbox = geompy.addToStudy(box, "box")
tuple subShapeList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"])
list face = subShapeList[0]
tuple name = geompy.SubShapeName(face, box)
tuple idface = geompy.addToStudyInFather(box, face, name)
tuple subShellList = geompy.SubShapeAll(box, geompy.ShapeType["SHELL"])
list shell = subShellList[0]
tuple name = geompy.SubShapeName(shell, box)
tuple idshell = geompy.addToStudyInFather(box, shell, name)
tuple edgeList = geompy.SubShapeAll(face, geompy.ShapeType["EDGE"])
list edge = edgeList[0]
tuple name = geompy.SubShapeName(edge, face)
tuple idedge = geompy.addToStudyInFather(face, edge, name)
tuple smeshgui = salome.ImportComponentGUI("SMESH")
tuple hypLen1 = smesh.CreateHypothesis("LocalLength", "libStdMeshersEngine.so")
tuple idlength = salome.ObjectToID(hypLen1)
tuple hypNbSeg1 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
tuple idseg = salome.ObjectToID(hypNbSeg1)
tuple hypArea1 = smesh.CreateHypothesis("MaxElementArea", "libStdMeshersEngine.so")
tuple idarea1 = salome.ObjectToID(hypArea1)
tuple hypArea2 = smesh.CreateHypothesis("MaxElementArea", "libStdMeshersEngine.so")
tuple idarea2 = salome.ObjectToID(hypArea2)
tuple algoReg = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so")
tuple listHyp = algoReg.GetCompatibleHypothesis()
tuple idreg = salome.ObjectToID(algoReg)
tuple algoMef = smesh.CreateHypothesis("MEFISTO_2D", "libStdMeshersEngine.so")
tuple listHyp = algoMef.GetCompatibleHypothesis()
tuple idmef = salome.ObjectToID(algoMef)
tuple box = salome.IDToObject(idbox)
tuple mesh = smesh.CreateMesh(box)
tuple idmesh = salome.ObjectToID(mesh)
tuple edge = salome.IDToObject(idedge)
tuple submesh = mesh.GetSubMesh(edge, "SubMeshEdge")
tuple face = salome.IDToObject(idface)
tuple submesh = mesh.GetSubMesh(face, "SubMeshFace")


Variable Documentation

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

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

tuple SMESH_test1.idbox = geompy.addToStudy(box, "box") [static]
 

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

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

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

tuple SMESH_test1.idface = geompy.addToStudyInFather(box, face, name) [static]
 

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

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

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

tuple SMESH_test1.idshell = geompy.addToStudyInFather(box, shell, name) [static]
 

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

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

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

tuple SMESH_test1.idedge = geompy.addToStudyInFather(face, edge, name) [static]
 

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

tuple SMESH_test1.hypLen1 = smesh.CreateHypothesis("LocalLength", "libStdMeshersEngine.so") [static]
 

tuple SMESH_test1.idlength = salome.ObjectToID(hypLen1) [static]
 

tuple SMESH_test1.hypNbSeg1 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so") [static]
 

tuple SMESH_test1.idseg = salome.ObjectToID(hypNbSeg1) [static]
 

tuple SMESH_test1.hypArea1 = smesh.CreateHypothesis("MaxElementArea", "libStdMeshersEngine.so") [static]
 

tuple SMESH_test1.idarea1 = salome.ObjectToID(hypArea1) [static]
 

tuple SMESH_test1.hypArea2 = smesh.CreateHypothesis("MaxElementArea", "libStdMeshersEngine.so") [static]
 

tuple SMESH_test1.idarea2 = salome.ObjectToID(hypArea2) [static]
 

tuple SMESH_test1.algoReg = smesh.CreateHypothesis("Regular_1D", "libStdMeshersEngine.so") [static]
 

tuple SMESH_test1.listHyp = algoReg.GetCompatibleHypothesis() [static]
 

tuple SMESH_test1.idreg = salome.ObjectToID(algoReg) [static]
 

tuple SMESH_test1.algoMef = smesh.CreateHypothesis("MEFISTO_2D", "libStdMeshersEngine.so") [static]
 

tuple SMESH_test1.listHyp = algoMef.GetCompatibleHypothesis() [static]
 

tuple SMESH_test1.idmef = salome.ObjectToID(algoMef) [static]
 

tuple SMESH_test1.box = salome.IDToObject(idbox) [static]
 

tuple SMESH_test1.mesh = smesh.CreateMesh(box) [static]
 

tuple SMESH_test1.idmesh = salome.ObjectToID(mesh) [static]
 

tuple SMESH_test1.edge = salome.IDToObject(idedge) [static]
 

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

tuple SMESH_test1.face = salome.IDToObject(idface) [static]
 

tuple SMESH_test1.submesh = mesh.GetSubMesh(face, "SubMeshFace") [static]