Back to index

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

Go to the source code of this file.

Namespaces

namespace  SMESH_box2_tetra

Variables

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