Version: 6.3.1
Packages | Variables

src/SMESH_SWIG/ex17_dome1.py File Reference

Go to the source code of this file.

Packages

package  ex17_dome1

Variables

int ex17_dome1.cylindre_rayon = 100
int ex17_dome1.cylindre_hauteur = 400
int ex17_dome1.trou_rayon = 20
int ex17_dome1.trou_z = 2
int ex17_dome1.plan_trim = 2000
tuple ex17_dome1.cylindre_base = MakeVertex(0, 0, 0)
tuple ex17_dome1.cylindre_dir = MakeVectorDXDYDZ(1, 0, 0)
tuple ex17_dome1.cylindre = MakeCylinder(cylindre_base, cylindre_dir, cylindre_rayon, cylindre_hauteur)
tuple ex17_dome1.dome_sphere = MakeSpherePntR(cylindre_base, cylindre_rayon)
tuple ex17_dome1.dome = MakeFuse(dome_sphere, cylindre)
tuple ex17_dome1.cheminee_base = MakeVertex(-cylindre_hauteur/2, 0, trou_z)
tuple ex17_dome1.cheminee_trou = MakeCylinder(cheminee_base, cylindre_dir, trou_rayon, 2*cylindre_hauteur)
tuple ex17_dome1.cheminee = MakeCut(dome, cheminee_trou)
tuple ex17_dome1.blocs_plan1 = MakePlane(cheminee_base, MakeVectorDXDYDZ(0, 1, 0), plan_trim)
tuple ex17_dome1.blocs_plan2 = MakePlane(cheminee_base, MakeVectorDXDYDZ(0, 0, 1), plan_trim)
tuple ex17_dome1.blocs_part = MakePartition([cheminee], [blocs_plan1, blocs_plan2], [], [], ShapeType["SOLID"])
tuple ex17_dome1.piece = RemoveExtraEdges(blocs_part)
tuple ex17_dome1.piece_id = addToStudy(piece, "ex17_dome1")
tuple ex17_dome1.hexa = smesh.Mesh(piece, "ex17_dome1:hexa")
tuple ex17_dome1.algo = hexa.Segment()
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS