Back to index

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

Go to the source code of this file.

Namespaces

namespace  SMESH_test4

Variables

tuple SMESH_test4.box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
tuple SMESH_test4.idbox = geompy.addToStudy(box, "box")
tuple SMESH_test4.subShapeList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"])
list SMESH_test4.face = subShapeList[0]
tuple SMESH_test4.name = geompy.SubShapeName(face, box)
tuple SMESH_test4.idface = geompy.addToStudyInFather(box, face, name)
tuple SMESH_test4.mesh = smesh.Mesh(box, "Meshbox")
tuple SMESH_test4.algo1 = mesh.Segment()
tuple SMESH_test4.algo2 = mesh.Triangle(smesh.MEFISTO)
tuple SMESH_test4.algo3 = mesh.Segment(face)
tuple SMESH_test4.algo4 = mesh.Triangle(smesh.MEFISTO, face)
tuple SMESH_test4.submesh = algo4.GetSubMesh()
tuple SMESH_test4.faces = submesh.GetElementsByType(smesh.FACE)
tuple SMESH_test4.group1 = mesh.CreateEmptyGroup(smesh.FACE,"Group of faces")
tuple SMESH_test4.group2 = mesh.CreateEmptyGroup(smesh.FACE,"Another group of faces")