Back to index

salome-smesh  6.5.0
Variables
SMESH_test4 Namespace Reference

Variables

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 mesh = smesh.Mesh(box, "Meshbox")
tuple algo1 = mesh.Segment()
tuple algo2 = mesh.Triangle(smesh.MEFISTO)
tuple algo3 = mesh.Segment(face)
tuple algo4 = mesh.Triangle(smesh.MEFISTO, face)
tuple submesh = algo4.GetSubMesh()
tuple faces = submesh.GetElementsByType(smesh.FACE)
tuple group1 = mesh.CreateEmptyGroup(smesh.FACE,"Group of faces")
tuple group2 = mesh.CreateEmptyGroup(smesh.FACE,"Another group of faces")

Variable Documentation

tuple SMESH_test4.algo1 = mesh.Segment()

Definition at line 48 of file SMESH_test4.py.

tuple SMESH_test4.algo2 = mesh.Triangle(smesh.MEFISTO)

Definition at line 52 of file SMESH_test4.py.

tuple SMESH_test4.algo3 = mesh.Segment(face)

Definition at line 56 of file SMESH_test4.py.

tuple SMESH_test4.algo4 = mesh.Triangle(smesh.MEFISTO, face)

Definition at line 58 of file SMESH_test4.py.

tuple SMESH_test4.box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)

Definition at line 31 of file SMESH_test4.py.

Definition at line 35 of file SMESH_test4.py.

tuple SMESH_test4.faces = submesh.GetElementsByType(smesh.FACE)

Definition at line 66 of file SMESH_test4.py.

tuple SMESH_test4.group1 = mesh.CreateEmptyGroup(smesh.FACE,"Group of faces")

Definition at line 69 of file SMESH_test4.py.

tuple SMESH_test4.group2 = mesh.CreateEmptyGroup(smesh.FACE,"Another group of faces")

Definition at line 70 of file SMESH_test4.py.

tuple SMESH_test4.idbox = geompy.addToStudy(box, "box")

Definition at line 32 of file SMESH_test4.py.

tuple SMESH_test4.idface = geompy.addToStudyInFather(box, face, name)

Definition at line 37 of file SMESH_test4.py.

tuple SMESH_test4.mesh = smesh.Mesh(box, "Meshbox")

Definition at line 45 of file SMESH_test4.py.

tuple SMESH_test4.name = geompy.SubShapeName(face, box)

Definition at line 36 of file SMESH_test4.py.

tuple SMESH_test4.submesh = algo4.GetSubMesh()

Definition at line 60 of file SMESH_test4.py.

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

Definition at line 34 of file SMESH_test4.py.