Back to index

salome-smesh  6.5.0
Variables
SMESH_box_tetra Namespace Reference

Variables

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

Variable Documentation

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

Definition at line 34 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.hypArea = mefisto2D.MaxElementArea(maxElementArea)

Definition at line 72 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.hypNbSeg = regular1D.NumberOfSegments(numberOfSegments)

Definition at line 61 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.hypVolume = netgen3D.MaxElementVolume(maxElementVolume)

Definition at line 83 of file SMESH_box_tetra.py.

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

Definition at line 36 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.log = mesh.GetLog(0)

Definition at line 95 of file SMESH_box_tetra.py.

Definition at line 69 of file SMESH_box_tetra.py.

Definition at line 80 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.mefisto2D = mesh.Triangle()

Definition at line 71 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.mesh = smesh.Mesh(box, "MeshBox")

---------------------------- SMESH --------------------------------------

Definition at line 53 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.netgen3D = mesh.Tetrahedron(smesh.NETGEN)

Definition at line 82 of file SMESH_box_tetra.py.

Definition at line 58 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.regular1D = mesh.Segment()

Definition at line 60 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.ret = mesh.Compute()

Definition at line 92 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.subEdgeList = geompy.SubShapeAll(box, geompy.ShapeType["EDGE"])

Definition at line 41 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.subFaceList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"])

Definition at line 40 of file SMESH_box_tetra.py.

tuple SMESH_box_tetra.subShellList = geompy.SubShapeAll(box, geompy.ShapeType["SHELL"])

Definition at line 39 of file SMESH_box_tetra.py.