Back to index

salome-smesh  6.5.0
Variables
SMESH_box2_tetra Namespace Reference

Variables

tuple box1 = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
tuple idbox1 = geompy.addToStudy(box1, "box1")
tuple subShellList = geompy.SubShapeAll(box1, geompy.ShapeType["SHELL"])
tuple subFaceList = geompy.SubShapeAll(box1, geompy.ShapeType["FACE"])
tuple subEdgeList = geompy.SubShapeAll(box1, geompy.ShapeType["EDGE"])
tuple box2 = geompy.MakeBox(100., 0., 0., 200., 200., 300.)
tuple idbox2 = geompy.addToStudy(box2, "box2")
tuple shell = geompy.MakePartition([box1, box2])
tuple idshell = geompy.addToStudy(shell, "shell")
tuple mesh = smesh.Mesh(shell, "MeshBox2")
 ---------------------------- 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_box2_tetra.box1 = geompy.MakeBox(0., 0., 0., 100., 200., 300.)

Definition at line 34 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.box2 = geompy.MakeBox(100., 0., 0., 200., 200., 300.)

Definition at line 47 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.hypArea = mefisto2D.MaxElementArea(maxElementArea)

Definition at line 102 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.hypNbSeg = regular1D.NumberOfSegments(numberOfSegments)

Definition at line 91 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.hypVolume = netgen3D.MaxElementVolume(maxElementVolume)

Definition at line 113 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.idbox1 = geompy.addToStudy(box1, "box1")

Definition at line 36 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.idbox2 = geompy.addToStudy(box2, "box2")

Definition at line 49 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.idshell = geompy.addToStudy(shell, "shell")

Definition at line 64 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.log = mesh.GetLog(0)

Definition at line 126 of file SMESH_box2_tetra.py.

Definition at line 99 of file SMESH_box2_tetra.py.

Definition at line 110 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.mefisto2D = mesh.Triangle()

Definition at line 101 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.mesh = smesh.Mesh(shell, "MeshBox2")

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

Definition at line 81 of file SMESH_box2_tetra.py.

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

Definition at line 112 of file SMESH_box2_tetra.py.

Definition at line 88 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.regular1D = mesh.Segment()

Definition at line 90 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.ret = mesh.Compute()

Definition at line 123 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.shell = geompy.MakePartition([box1, box2])

Definition at line 63 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.subEdgeList = geompy.SubShapeAll(box1, geompy.ShapeType["EDGE"])

Definition at line 41 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.subFaceList = geompy.SubShapeAll(box1, geompy.ShapeType["FACE"])

Definition at line 40 of file SMESH_box2_tetra.py.

tuple SMESH_box2_tetra.subShellList = geompy.SubShapeAll(box1, geompy.ShapeType["SHELL"])

Definition at line 39 of file SMESH_box2_tetra.py.