Back to index

salome-smesh  6.5.0
Variables
ex21_lamp Namespace Reference

Variables

string name = "ex21_lamp"
int cote = 60
int section = 20
int size = 200
int radius_1 = 80
int radius_2 = 40
int height = 100
tuple box = MakeBox(-cote, -cote, -cote, +cote, +cote, +cote)
tuple pt1 = MakeVertex(0, 0, cote/3)
tuple di1 = MakeVectorDXDYDZ(0, 0, 1)
tuple cyl = MakeCylinder(pt1, di1, section, size)
tuple pt2 = MakeVertex(0, 0, size)
tuple cone = MakeCone(pt2, di1, radius_1, radius_2, height)
tuple box_cyl = MakeFuse(box, cyl)
tuple piece = MakeFuse(box_cyl, cone)
tuple group = CreateGroup(piece, ShapeType["FACE"])
string group_name = "_grp"
tuple faces = SubShapeAllIDs(piece, ShapeType["FACE"])
tuple tetra = smesh.Mesh(piece, name)
tuple algo1d = tetra.Segment()
tuple algo2d = tetra.Triangle()
tuple algo3d = tetra.Tetrahedron(smesh.NETGEN)

Variable Documentation

tuple ex21_lamp.algo1d = tetra.Segment()

Definition at line 107 of file ex21_lamp.py.

tuple ex21_lamp.algo2d = tetra.Triangle()

Definition at line 113 of file ex21_lamp.py.

tuple ex21_lamp.algo3d = tetra.Tetrahedron(smesh.NETGEN)

Definition at line 119 of file ex21_lamp.py.

tuple ex21_lamp.box = MakeBox(-cote, -cote, -cote, +cote, +cote, +cote)

Definition at line 52 of file ex21_lamp.py.

tuple ex21_lamp.box_cyl = MakeFuse(box, cyl)

Definition at line 70 of file ex21_lamp.py.

tuple ex21_lamp.cone = MakeCone(pt2, di1, radius_1, radius_2, height)

Definition at line 65 of file ex21_lamp.py.

int ex21_lamp.cote = 60

Definition at line 40 of file ex21_lamp.py.

tuple ex21_lamp.cyl = MakeCylinder(pt1, di1, section, size)

Definition at line 59 of file ex21_lamp.py.

tuple ex21_lamp.di1 = MakeVectorDXDYDZ(0, 0, 1)

Definition at line 58 of file ex21_lamp.py.

tuple ex21_lamp.faces = SubShapeAllIDs(piece, ShapeType["FACE"])

Definition at line 90 of file ex21_lamp.py.

tuple ex21_lamp.group = CreateGroup(piece, ShapeType["FACE"])

Definition at line 81 of file ex21_lamp.py.

string ex21_lamp.group_name = "_grp"

Definition at line 83 of file ex21_lamp.py.

int ex21_lamp.height = 100

Definition at line 47 of file ex21_lamp.py.

string ex21_lamp.name = "ex21_lamp"

Definition at line 38 of file ex21_lamp.py.

tuple ex21_lamp.piece = MakeFuse(box_cyl, cone)

Definition at line 71 of file ex21_lamp.py.

tuple ex21_lamp.pt1 = MakeVertex(0, 0, cote/3)

Definition at line 57 of file ex21_lamp.py.

tuple ex21_lamp.pt2 = MakeVertex(0, 0, size)

Definition at line 64 of file ex21_lamp.py.

Definition at line 45 of file ex21_lamp.py.

Definition at line 46 of file ex21_lamp.py.

Definition at line 42 of file ex21_lamp.py.

int ex21_lamp.size = 200

Definition at line 43 of file ex21_lamp.py.

Definition at line 102 of file ex21_lamp.py.