Back to index

salome-smesh  6.5.0
Variables
SMESH_test1_AndDisplay Namespace Reference

Variables

tuple box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
tuple idbox = geompy.addToStudy(box, "box")
tuple subShapeList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"])
list face = subShapeList[0]
tuple name = geompy.SubShapeName(face, box)
tuple idface = geompy.addToStudyInFather(box, face, name)
tuple subShellList = geompy.SubShapeAll(box, geompy.ShapeType["SHELL"])
list shell = subShellList[0]
tuple idshell = geompy.addToStudyInFather(box, shell, name)
tuple edgeList = geompy.SubShapeAll(face, geompy.ShapeType["EDGE"])
list edge = edgeList[0]
tuple idedge = geompy.addToStudyInFather(face, edge, name)
tuple mesh = smesh.Mesh(box, "Meshbox")
tuple algoReg1 = mesh.Segment()
tuple hypNbSeg1 = algoReg1.NumberOfSegments(7)
tuple algoMef1 = mesh.Triangle()
tuple hypArea1 = algoMef1.MaxElementArea(2500)
tuple algoReg2 = mesh.Segment(edge)
tuple hypLen1 = algoReg2.LocalLength(100)
tuple algoMef2 = mesh.Triangle(face)
tuple hypArea2 = algoMef2.MaxElementArea(500)
tuple sg = salome.ImportComponentGUI('SMESH')

Variable Documentation

tuple SMESH_test1_AndDisplay.algoMef1 = mesh.Triangle()

Definition at line 78 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.algoMef2 = mesh.Triangle(face)

Definition at line 101 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.algoReg1 = mesh.Segment()

Definition at line 71 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.algoReg2 = mesh.Segment(edge)

Definition at line 89 of file SMESH_test1_AndDisplay.py.

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

Definition at line 34 of file SMESH_test1_AndDisplay.py.

Definition at line 56 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.edgeList = geompy.SubShapeAll(face, geompy.ShapeType["EDGE"])

Definition at line 55 of file SMESH_test1_AndDisplay.py.

Definition at line 40 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.hypArea1 = algoMef1.MaxElementArea(2500)

Definition at line 79 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.hypArea2 = algoMef2.MaxElementArea(500)

Definition at line 102 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.hypLen1 = algoReg2.LocalLength(100)

Definition at line 90 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.hypNbSeg1 = algoReg1.NumberOfSegments(7)

Definition at line 72 of file SMESH_test1_AndDisplay.py.

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

Definition at line 35 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.idedge = geompy.addToStudyInFather(face, edge, name)

Definition at line 59 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.idface = geompy.addToStudyInFather(box, face, name)

Definition at line 43 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.idshell = geompy.addToStudyInFather(box, shell, name)

Definition at line 51 of file SMESH_test1_AndDisplay.py.

Definition at line 68 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.name = geompy.SubShapeName(face, box)

Definition at line 41 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.sg = salome.ImportComponentGUI('SMESH')

Definition at line 113 of file SMESH_test1_AndDisplay.py.

Definition at line 48 of file SMESH_test1_AndDisplay.py.

tuple SMESH_test1_AndDisplay.subShapeList = geompy.SubShapeAll(box, geompy.ShapeType["FACE"])

Definition at line 39 of file SMESH_test1_AndDisplay.py.

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

Definition at line 47 of file SMESH_test1_AndDisplay.py.