Back to index

salome-smesh  6.5.0
Namespaces | Variables
SMESH_test1_AndDisplay.py File Reference

Go to the source code of this file.

Namespaces

namespace  SMESH_test1_AndDisplay

Variables

tuple SMESH_test1_AndDisplay.box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
tuple SMESH_test1_AndDisplay.idbox = geompy.addToStudy(box, "box")
tuple SMESH_test1_AndDisplay.subShapeList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"])
list SMESH_test1_AndDisplay.face = subShapeList[0]
tuple SMESH_test1_AndDisplay.name = geompy.SubShapeName(face, box)
tuple SMESH_test1_AndDisplay.idface = geompy.addToStudyInFather(box, face, name)
tuple SMESH_test1_AndDisplay.subShellList = geompy.SubShapeAll(box, geompy.ShapeType["SHELL"])
list SMESH_test1_AndDisplay.shell = subShellList[0]
tuple SMESH_test1_AndDisplay.idshell = geompy.addToStudyInFather(box, shell, name)
tuple SMESH_test1_AndDisplay.edgeList = geompy.SubShapeAll(face, geompy.ShapeType["EDGE"])
list SMESH_test1_AndDisplay.edge = edgeList[0]
tuple SMESH_test1_AndDisplay.idedge = geompy.addToStudyInFather(face, edge, name)
tuple SMESH_test1_AndDisplay.mesh = smesh.Mesh(box, "Meshbox")
tuple SMESH_test1_AndDisplay.algoReg1 = mesh.Segment()
tuple SMESH_test1_AndDisplay.hypNbSeg1 = algoReg1.NumberOfSegments(7)
tuple SMESH_test1_AndDisplay.algoMef1 = mesh.Triangle()
tuple SMESH_test1_AndDisplay.hypArea1 = algoMef1.MaxElementArea(2500)
tuple SMESH_test1_AndDisplay.algoReg2 = mesh.Segment(edge)
tuple SMESH_test1_AndDisplay.hypLen1 = algoReg2.LocalLength(100)
tuple SMESH_test1_AndDisplay.algoMef2 = mesh.Triangle(face)
tuple SMESH_test1_AndDisplay.hypArea2 = algoMef2.MaxElementArea(500)
tuple SMESH_test1_AndDisplay.sg = salome.ImportComponentGUI('SMESH')