Package ex17_dome1


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()
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

int ex17_dome1.cylindre_rayon = 100 [static]
 

int ex17_dome1.cylindre_hauteur = 400 [static]
 

int ex17_dome1.trou_rayon = 20 [static]
 

int ex17_dome1.trou_z = 2 [static]
 

int ex17_dome1.plan_trim = 2000 [static]
 

tuple ex17_dome1.cylindre_base = MakeVertex(0, 0, 0) [static]
 

tuple ex17_dome1.cylindre_dir = MakeVectorDXDYDZ(1, 0, 0) [static]
 

tuple ex17_dome1.cylindre = MakeCylinder(cylindre_base, cylindre_dir, cylindre_rayon, cylindre_hauteur) [static]
 

tuple ex17_dome1.dome_sphere = MakeSpherePntR(cylindre_base, cylindre_rayon) [static]
 

tuple ex17_dome1.dome = MakeFuse(dome_sphere, cylindre) [static]
 

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

tuple ex17_dome1.cheminee_trou = MakeCylinder(cheminee_base, cylindre_dir, trou_rayon, 2*cylindre_hauteur) [static]
 

tuple ex17_dome1.cheminee = MakeCut(dome, cheminee_trou) [static]
 

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

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

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

tuple ex17_dome1.piece = RemoveExtraEdges(blocs_part) [static]
 

tuple ex17_dome1.piece_id = addToStudy(piece, "ex17_dome1") [static]
 

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

tuple ex17_dome1.algo = hexa.Segment() [static]
 

int ex17_dome1.cylindre_rayon = 100 [static]
 

int ex17_dome1.cylindre_hauteur = 400 [static]
 

int ex17_dome1.trou_rayon = 20 [static]
 

int ex17_dome1.trou_z = 2 [static]
 

int ex17_dome1.plan_trim = 2000 [static]
 

tuple ex17_dome1.cylindre_base = MakeVertex(0, 0, 0) [static]
 

tuple ex17_dome1.cylindre_dir = MakeVectorDXDYDZ(1, 0, 0) [static]
 

tuple ex17_dome1.cylindre = MakeCylinder(cylindre_base, cylindre_dir, cylindre_rayon, cylindre_hauteur) [static]
 

tuple ex17_dome1.dome_sphere = MakeSpherePntR(cylindre_base, cylindre_rayon) [static]
 

tuple ex17_dome1.dome = MakeFuse(dome_sphere, cylindre) [static]
 

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

tuple ex17_dome1.cheminee_trou = MakeCylinder(cheminee_base, cylindre_dir, trou_rayon, 2*cylindre_hauteur) [static]
 

tuple ex17_dome1.cheminee = MakeCut(dome, cheminee_trou) [static]
 

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

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

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

tuple ex17_dome1.piece = RemoveExtraEdges(blocs_part) [static]
 

tuple ex17_dome1.piece_id = addToStudy(piece, "ex17_dome1") [static]
 

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

tuple ex17_dome1.algo = hexa.Segment() [static]