Package ex18_dome2


Variables

int g_ox = 0
int g_oy = 0
int g_oz = 0
int g_cyl_rayon = 1000
int g_cyl_demiHauteur = 3000
int g_trou_rayon = 5
int g_trou_centre = 300
int g_sphere_rayon = 3500
int g_trim = 15000
tuple c_point = MakeVertex(g_ox, g_oy, g_oz-g_cyl_demiHauteur)
tuple c_dir = MakeVectorDXDYDZ(0, 0, 1)
int c_hauteur = 2
tuple c_cylindre = MakeCylinder(c_point, c_dir, g_cyl_rayon, c_hauteur)
tuple s_hauteur = math.sqrt(g_sphere_rayon*g_sphere_rayon - g_cyl_rayon*g_cyl_rayon)
tuple s_sphere = MakeSphere(g_ox, g_oy, g_oz-s_hauteur, g_sphere_rayon)
list c_outils = []
tuple c_cpd = MakePartition([s_sphere], c_outils, [], [], ShapeType["SOLID"])
tuple c_plan = MakePlane(MakeVertex(g_ox, g_oy, g_oz), MakeVectorDXDYDZ(0, 0, 1), g_trim)
tuple c_calotte_bas = MakeMirrorByPlane(c_calotte_haut, c_plan)
tuple f_piece1 = MakeFuse(c_cylindre, c_calotte_haut)
tuple f_piece = MakeFuse(f_piece1, c_calotte_bas)
 t_hauteur = g_sphere_rayon
tuple t_point = MakeVertex(g_ox-g_trou_centre, g_oy, g_oz-t_hauteur)
tuple t_trou = MakeCylinder(t_point, c_dir, g_trou_rayon, 2*t_hauteur)
tuple t_piece = MakeCut(f_piece, t_trou)
list h_outils = []
tuple h_piece = MakePartition([t_piece], h_outils, [], [], ShapeType["SOLID"])
tuple piece = RemoveExtraEdges(h_piece)
tuple piece_id = addToStudy(piece, "ex18_dome2")
tuple hexa = smesh.Mesh(piece, "ex18_dome2:hexa")
tuple algo = hexa.Segment()
int g_ox = 0
int g_oy = 0
int g_oz = 0
int g_cyl_rayon = 1000
int g_cyl_demiHauteur = 3000
int g_trou_rayon = 5
int g_trou_centre = 300
int g_sphere_rayon = 3500
int g_trim = 15000
tuple c_point = MakeVertex(g_ox, g_oy, g_oz-g_cyl_demiHauteur)
tuple c_dir = MakeVectorDXDYDZ(0, 0, 1)
int c_hauteur = 2
tuple c_cylindre = MakeCylinder(c_point, c_dir, g_cyl_rayon, c_hauteur)
tuple s_hauteur = math.sqrt(g_sphere_rayon*g_sphere_rayon - g_cyl_rayon*g_cyl_rayon)
tuple s_sphere = MakeSphere(g_ox, g_oy, g_oz-s_hauteur, g_sphere_rayon)
list c_outils = []
tuple c_cpd = MakePartition([s_sphere], c_outils, [], [], ShapeType["SOLID"])
tuple c_plan = MakePlane(MakeVertex(g_ox, g_oy, g_oz), MakeVectorDXDYDZ(0, 0, 1), g_trim)
tuple c_calotte_bas = MakeMirrorByPlane(c_calotte_haut, c_plan)
tuple f_piece1 = MakeFuse(c_cylindre, c_calotte_haut)
tuple f_piece = MakeFuse(f_piece1, c_calotte_bas)
 t_hauteur = g_sphere_rayon
tuple t_point = MakeVertex(g_ox-g_trou_centre, g_oy, g_oz-t_hauteur)
tuple t_trou = MakeCylinder(t_point, c_dir, g_trou_rayon, 2*t_hauteur)
tuple t_piece = MakeCut(f_piece, t_trou)
list h_outils = []
tuple h_piece = MakePartition([t_piece], h_outils, [], [], ShapeType["SOLID"])
tuple piece = RemoveExtraEdges(h_piece)
tuple piece_id = addToStudy(piece, "ex18_dome2")
tuple hexa = smesh.Mesh(piece, "ex18_dome2:hexa")
tuple algo = hexa.Segment()


Variable Documentation

int ex18_dome2.g_ox = 0 [static]
 

int ex18_dome2.g_oy = 0 [static]
 

int ex18_dome2.g_oz = 0 [static]
 

int ex18_dome2.g_cyl_rayon = 1000 [static]
 

int ex18_dome2.g_cyl_demiHauteur = 3000 [static]
 

int ex18_dome2.g_trou_rayon = 5 [static]
 

int ex18_dome2.g_trou_centre = 300 [static]
 

int ex18_dome2.g_sphere_rayon = 3500 [static]
 

int ex18_dome2.g_trim = 15000 [static]
 

tuple ex18_dome2.c_point = MakeVertex(g_ox, g_oy, g_oz-g_cyl_demiHauteur) [static]
 

tuple ex18_dome2.c_dir = MakeVectorDXDYDZ(0, 0, 1) [static]
 

int ex18_dome2.c_hauteur = 2 [static]
 

tuple ex18_dome2.c_cylindre = MakeCylinder(c_point, c_dir, g_cyl_rayon, c_hauteur) [static]
 

tuple ex18_dome2.s_hauteur = math.sqrt(g_sphere_rayon*g_sphere_rayon - g_cyl_rayon*g_cyl_rayon) [static]
 

tuple ex18_dome2.s_sphere = MakeSphere(g_ox, g_oy, g_oz-s_hauteur, g_sphere_rayon) [static]
 

list ex18_dome2.c_outils = [] [static]
 

tuple ex18_dome2.c_cpd = MakePartition([s_sphere], c_outils, [], [], ShapeType["SOLID"]) [static]
 

tuple ex18_dome2.c_plan = MakePlane(MakeVertex(g_ox, g_oy, g_oz), MakeVectorDXDYDZ(0, 0, 1), g_trim) [static]
 

tuple ex18_dome2.c_calotte_bas = MakeMirrorByPlane(c_calotte_haut, c_plan) [static]
 

tuple ex18_dome2.f_piece1 = MakeFuse(c_cylindre, c_calotte_haut) [static]
 

tuple ex18_dome2.f_piece = MakeFuse(f_piece1, c_calotte_bas) [static]
 

ex18_dome2.t_hauteur = g_sphere_rayon [static]
 

tuple ex18_dome2.t_point = MakeVertex(g_ox-g_trou_centre, g_oy, g_oz-t_hauteur) [static]
 

tuple ex18_dome2.t_trou = MakeCylinder(t_point, c_dir, g_trou_rayon, 2*t_hauteur) [static]
 

tuple ex18_dome2.t_piece = MakeCut(f_piece, t_trou) [static]
 

list ex18_dome2.h_outils = [] [static]
 

tuple ex18_dome2.h_piece = MakePartition([t_piece], h_outils, [], [], ShapeType["SOLID"]) [static]
 

tuple ex18_dome2.piece = RemoveExtraEdges(h_piece) [static]
 

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

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

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

int ex18_dome2.g_ox = 0 [static]
 

int ex18_dome2.g_oy = 0 [static]
 

int ex18_dome2.g_oz = 0 [static]
 

int ex18_dome2.g_cyl_rayon = 1000 [static]
 

int ex18_dome2.g_cyl_demiHauteur = 3000 [static]
 

int ex18_dome2.g_trou_rayon = 5 [static]
 

int ex18_dome2.g_trou_centre = 300 [static]
 

int ex18_dome2.g_sphere_rayon = 3500 [static]
 

int ex18_dome2.g_trim = 15000 [static]
 

tuple ex18_dome2.c_point = MakeVertex(g_ox, g_oy, g_oz-g_cyl_demiHauteur) [static]
 

tuple ex18_dome2.c_dir = MakeVectorDXDYDZ(0, 0, 1) [static]
 

int ex18_dome2.c_hauteur = 2 [static]
 

tuple ex18_dome2.c_cylindre = MakeCylinder(c_point, c_dir, g_cyl_rayon, c_hauteur) [static]
 

tuple ex18_dome2.s_hauteur = math.sqrt(g_sphere_rayon*g_sphere_rayon - g_cyl_rayon*g_cyl_rayon) [static]
 

tuple ex18_dome2.s_sphere = MakeSphere(g_ox, g_oy, g_oz-s_hauteur, g_sphere_rayon) [static]
 

list ex18_dome2.c_outils = [] [static]
 

tuple ex18_dome2.c_cpd = MakePartition([s_sphere], c_outils, [], [], ShapeType["SOLID"]) [static]
 

tuple ex18_dome2.c_plan = MakePlane(MakeVertex(g_ox, g_oy, g_oz), MakeVectorDXDYDZ(0, 0, 1), g_trim) [static]
 

tuple ex18_dome2.c_calotte_bas = MakeMirrorByPlane(c_calotte_haut, c_plan) [static]
 

tuple ex18_dome2.f_piece1 = MakeFuse(c_cylindre, c_calotte_haut) [static]
 

tuple ex18_dome2.f_piece = MakeFuse(f_piece1, c_calotte_bas) [static]
 

ex18_dome2.t_hauteur = g_sphere_rayon [static]
 

tuple ex18_dome2.t_point = MakeVertex(g_ox-g_trou_centre, g_oy, g_oz-t_hauteur) [static]
 

tuple ex18_dome2.t_trou = MakeCylinder(t_point, c_dir, g_trou_rayon, 2*t_hauteur) [static]
 

tuple ex18_dome2.t_piece = MakeCut(f_piece, t_trou) [static]
 

list ex18_dome2.h_outils = [] [static]
 

tuple ex18_dome2.h_piece = MakePartition([t_piece], h_outils, [], [], ShapeType["SOLID"]) [static]
 

tuple ex18_dome2.piece = RemoveExtraEdges(h_piece) [static]
 

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

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

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