Back to index

salome-smesh  6.5.0
Variables
ex17_dome1 Namespace Reference

Variables

int cylindre_rayon = 100
int cylindre_hauteur = 400
int trou_rayon = 20
int trou_z = 2
int plan_trim = 2000
tuple cylindre_base = MakeVertex(0, 0, 0)
tuple cylindre_dir = MakeVectorDXDYDZ(1, 0, 0)
tuple cylindre = MakeCylinder(cylindre_base, cylindre_dir, cylindre_rayon, cylindre_hauteur)
tuple dome_sphere = MakeSpherePntR(cylindre_base, cylindre_rayon)
tuple dome = MakeFuse(dome_sphere, cylindre)
tuple cheminee_base = MakeVertex(-cylindre_hauteur/2, 0, trou_z)
tuple cheminee_trou = MakeCylinder(cheminee_base, cylindre_dir, trou_rayon, 2*cylindre_hauteur)
tuple cheminee = MakeCut(dome, cheminee_trou)
tuple blocs_plan1 = MakePlane(cheminee_base, MakeVectorDXDYDZ(0, 1, 0), plan_trim)
tuple blocs_plan2 = MakePlane(cheminee_base, MakeVectorDXDYDZ(0, 0, 1), plan_trim)
tuple blocs_part = MakePartition([cheminee], [blocs_plan1, blocs_plan2], [], [], ShapeType["SOLID"])
tuple piece = RemoveExtraEdges(blocs_part)
tuple piece_id = addToStudy(piece, "ex17_dome1")
tuple hexa = smesh.Mesh(piece, "ex17_dome1:hexa")
tuple algo = hexa.Segment()

Variable Documentation

tuple ex17_dome1.algo = hexa.Segment()

Definition at line 92 of file ex17_dome1.py.

tuple ex17_dome1.blocs_part = MakePartition([cheminee], [blocs_plan1, blocs_plan2], [], [], ShapeType["SOLID"])

Definition at line 73 of file ex17_dome1.py.

tuple ex17_dome1.blocs_plan1 = MakePlane(cheminee_base, MakeVectorDXDYDZ(0, 1, 0), plan_trim)

Definition at line 70 of file ex17_dome1.py.

tuple ex17_dome1.blocs_plan2 = MakePlane(cheminee_base, MakeVectorDXDYDZ(0, 0, 1), plan_trim)

Definition at line 71 of file ex17_dome1.py.

Definition at line 65 of file ex17_dome1.py.

tuple ex17_dome1.cheminee_base = MakeVertex(-cylindre_hauteur/2, 0, trou_z)

Definition at line 63 of file ex17_dome1.py.

Definition at line 64 of file ex17_dome1.py.

Definition at line 52 of file ex17_dome1.py.

tuple ex17_dome1.cylindre_base = MakeVertex(0, 0, 0)

Definition at line 50 of file ex17_dome1.py.

tuple ex17_dome1.cylindre_dir = MakeVectorDXDYDZ(1, 0, 0)

Definition at line 51 of file ex17_dome1.py.

Definition at line 40 of file ex17_dome1.py.

Definition at line 39 of file ex17_dome1.py.

tuple ex17_dome1.dome = MakeFuse(dome_sphere, cylindre)

Definition at line 58 of file ex17_dome1.py.

Definition at line 57 of file ex17_dome1.py.

tuple ex17_dome1.hexa = smesh.Mesh(piece, "ex17_dome1:hexa")

Definition at line 90 of file ex17_dome1.py.

tuple ex17_dome1.piece = RemoveExtraEdges(blocs_part)

Definition at line 75 of file ex17_dome1.py.

tuple ex17_dome1.piece_id = addToStudy(piece, "ex17_dome1")

Definition at line 80 of file ex17_dome1.py.

Definition at line 45 of file ex17_dome1.py.

Definition at line 42 of file ex17_dome1.py.

Definition at line 43 of file ex17_dome1.py.