Back to index

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

Go to the source code of this file.

Namespaces

namespace  SMESH_box_tetra

Variables

tuple SMESH_box_tetra.box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
tuple SMESH_box_tetra.idbox = geompy.addToStudy(box, "box")
tuple SMESH_box_tetra.subShellList = geompy.SubShapeAll(box, geompy.ShapeType["SHELL"])
tuple SMESH_box_tetra.subFaceList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"])
tuple SMESH_box_tetra.subEdgeList = geompy.SubShapeAll(box, geompy.ShapeType["EDGE"])
tuple SMESH_box_tetra.mesh = smesh.Mesh(box, "MeshBox")
 ---------------------------- SMESH --------------------------------------
int SMESH_box_tetra.numberOfSegments = 10
tuple SMESH_box_tetra.regular1D = mesh.Segment()
tuple SMESH_box_tetra.hypNbSeg = regular1D.NumberOfSegments(numberOfSegments)
int SMESH_box_tetra.maxElementArea = 500
tuple SMESH_box_tetra.mefisto2D = mesh.Triangle()
tuple SMESH_box_tetra.hypArea = mefisto2D.MaxElementArea(maxElementArea)
int SMESH_box_tetra.maxElementVolume = 500
tuple SMESH_box_tetra.netgen3D = mesh.Tetrahedron(smesh.NETGEN)
tuple SMESH_box_tetra.hypVolume = netgen3D.MaxElementVolume(maxElementVolume)
tuple SMESH_box_tetra.ret = mesh.Compute()
tuple SMESH_box_tetra.log = mesh.GetLog(0)