Back to index

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

Go to the source code of this file.

Namespaces

namespace  SMESH_box3_tetra

Variables

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