Back to index

salome-smesh  6.5.0
Variables
SMESH_box3_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 box3 = geompy.MakeBox(0., 0., 300., 200., 200., 500.)
tuple idbox3 = geompy.addToStudy(box3, "box3")
tuple shell = geompy.MakePartition([box1, box2, box3])
tuple idshell = geompy.addToStudy(shell,"shell")
tuple mesh = smesh.Mesh(shell, "MeshBox3")
 ---------------------------- 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_box3_tetra.box1 = geompy.MakeBox(0., 0., 0., 100., 200., 300.)

Definition at line 35 of file SMESH_box3_tetra.py.

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

Definition at line 48 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.box3 = geompy.MakeBox(0., 0., 300., 200., 200., 500.)

Definition at line 61 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.hypArea = mefisto2D.MaxElementArea(maxElementArea)

Definition at line 113 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.hypNbSeg = regular1D.NumberOfSegments(numberOfSegments)

Definition at line 102 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.hypVolume = netgen3D.MaxElementVolume(maxElementVolume)

Definition at line 124 of file SMESH_box3_tetra.py.

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

Definition at line 37 of file SMESH_box3_tetra.py.

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

Definition at line 50 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.idbox3 = geompy.addToStudy(box3, "box3")

Definition at line 63 of file SMESH_box3_tetra.py.

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

Definition at line 75 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.log = mesh.GetLog(0)

Definition at line 137 of file SMESH_box3_tetra.py.

Definition at line 110 of file SMESH_box3_tetra.py.

Definition at line 121 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.mefisto2D = mesh.Triangle()

Definition at line 112 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.mesh = smesh.Mesh(shell, "MeshBox3")

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

Definition at line 92 of file SMESH_box3_tetra.py.

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

Definition at line 123 of file SMESH_box3_tetra.py.

Definition at line 99 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.regular1D = mesh.Segment()

Definition at line 101 of file SMESH_box3_tetra.py.

tuple SMESH_box3_tetra.ret = mesh.Compute()

Definition at line 134 of file SMESH_box3_tetra.py.

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

Definition at line 74 of file SMESH_box3_tetra.py.

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

Definition at line 42 of file SMESH_box3_tetra.py.

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

Definition at line 41 of file SMESH_box3_tetra.py.

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

Definition at line 40 of file SMESH_box3_tetra.py.