Package ex14_cyl1holed


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_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)
 t_hauteur = g_cyl_demiHauteur
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(c_cylindre, t_trou)
list h_outils = []
tuple h_piece = MakePartition([t_piece], h_outils, [], [], ShapeType["SOLID"])
list l_outils = []
int l_i = 1
int l_n = 12
 l_hauteur = c_hauteur/l_n
int l_i = 1
tuple piece = MakePartition([h_piece], l_outils, [], [], ShapeType["SOLID"])
tuple piece_id = addToStudy(piece, "ex14_cyl1holed")
tuple hexa = smesh.Mesh(piece, "ex14_cyl1holed:hexa")
tuple algo = hexa.Segment()
int m_i = 0
int m_n = 12
 m_h = c_hauteur/m_n
list m_d = [4, 6, 8, 10, 10, 9, 8, 7, 6, 5, 4, 3]
 m_x = g_ox+g_cyl_rayon
 m_y = g_oy
int m_z = 2
tuple m_p = MakeVertex(m_x, m_y, m_z + m_i*m_h)
tuple m_e = GetEdgeNearPoint(piece, m_p)
tuple m_a = hexa.Segment(m_e)
int m_i = 1
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_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)
 t_hauteur = g_cyl_demiHauteur
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(c_cylindre, t_trou)
list h_outils = []
tuple h_piece = MakePartition([t_piece], h_outils, [], [], ShapeType["SOLID"])
list l_outils = []
int l_i = 1
int l_n = 12
 l_hauteur = c_hauteur/l_n
int l_i = 1
tuple piece = MakePartition([h_piece], l_outils, [], [], ShapeType["SOLID"])
tuple piece_id = addToStudy(piece, "ex14_cyl1holed")
tuple hexa = smesh.Mesh(piece, "ex14_cyl1holed:hexa")
tuple algo = hexa.Segment()
int m_i = 0
int m_n = 12
 m_h = c_hauteur/m_n
list m_d = [4, 6, 8, 10, 10, 9, 8, 7, 6, 5, 4, 3]
 m_x = g_ox+g_cyl_rayon
 m_y = g_oy
int m_z = 2
tuple m_p = MakeVertex(m_x, m_y, m_z + m_i*m_h)
tuple m_e = GetEdgeNearPoint(piece, m_p)
tuple m_a = hexa.Segment(m_e)
int m_i = 1


Variable Documentation

int ex14_cyl1holed.g_ox = 0 [static]
 

int ex14_cyl1holed.g_oy = 0 [static]
 

int ex14_cyl1holed.g_oz = 0 [static]
 

int ex14_cyl1holed.g_cyl_rayon = 1000 [static]
 

int ex14_cyl1holed.g_cyl_demiHauteur = 3000 [static]
 

int ex14_cyl1holed.g_trou_rayon = 5 [static]
 

int ex14_cyl1holed.g_trou_centre = 300 [static]
 

int ex14_cyl1holed.g_trim = 15000 [static]
 

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

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

int ex14_cyl1holed.c_hauteur = 2 [static]
 

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

ex14_cyl1holed.t_hauteur = g_cyl_demiHauteur [static]
 

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

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

tuple ex14_cyl1holed.t_piece = MakeCut(c_cylindre, t_trou) [static]
 

list ex14_cyl1holed.h_outils = [] [static]
 

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

list ex14_cyl1holed.l_outils = [] [static]
 

int ex14_cyl1holed.l_i = 1 [static]
 

int ex14_cyl1holed.l_n = 12 [static]
 

ex14_cyl1holed.l_hauteur = c_hauteur/l_n [static]
 

int ex14_cyl1holed.l_i = 1 [static]
 

tuple ex14_cyl1holed.piece = MakePartition([h_piece], l_outils, [], [], ShapeType["SOLID"]) [static]
 

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

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

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

int ex14_cyl1holed.m_i = 0 [static]
 

int ex14_cyl1holed.m_n = 12 [static]
 

ex14_cyl1holed.m_h = c_hauteur/m_n [static]
 

list ex14_cyl1holed.m_d = [4, 6, 8, 10, 10, 9, 8, 7, 6, 5, 4, 3] [static]
 

ex14_cyl1holed.m_x = g_ox+g_cyl_rayon [static]
 

ex14_cyl1holed.m_y = g_oy [static]
 

int ex14_cyl1holed.m_z = 2 [static]
 

tuple ex14_cyl1holed.m_p = MakeVertex(m_x, m_y, m_z + m_i*m_h) [static]
 

tuple ex14_cyl1holed.m_e = GetEdgeNearPoint(piece, m_p) [static]
 

tuple ex14_cyl1holed.m_a = hexa.Segment(m_e) [static]
 

int ex14_cyl1holed.m_i = 1 [static]
 

int ex14_cyl1holed.g_ox = 0 [static]
 

int ex14_cyl1holed.g_oy = 0 [static]
 

int ex14_cyl1holed.g_oz = 0 [static]
 

int ex14_cyl1holed.g_cyl_rayon = 1000 [static]
 

int ex14_cyl1holed.g_cyl_demiHauteur = 3000 [static]
 

int ex14_cyl1holed.g_trou_rayon = 5 [static]
 

int ex14_cyl1holed.g_trou_centre = 300 [static]
 

int ex14_cyl1holed.g_trim = 15000 [static]
 

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

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

int ex14_cyl1holed.c_hauteur = 2 [static]
 

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

ex14_cyl1holed.t_hauteur = g_cyl_demiHauteur [static]
 

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

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

tuple ex14_cyl1holed.t_piece = MakeCut(c_cylindre, t_trou) [static]
 

list ex14_cyl1holed.h_outils = [] [static]
 

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

list ex14_cyl1holed.l_outils = [] [static]
 

int ex14_cyl1holed.l_i = 1 [static]
 

int ex14_cyl1holed.l_n = 12 [static]
 

ex14_cyl1holed.l_hauteur = c_hauteur/l_n [static]
 

int ex14_cyl1holed.l_i = 1 [static]
 

tuple ex14_cyl1holed.piece = MakePartition([h_piece], l_outils, [], [], ShapeType["SOLID"]) [static]
 

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

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

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

int ex14_cyl1holed.m_i = 0 [static]
 

int ex14_cyl1holed.m_n = 12 [static]
 

ex14_cyl1holed.m_h = c_hauteur/m_n [static]
 

list ex14_cyl1holed.m_d = [4, 6, 8, 10, 10, 9, 8, 7, 6, 5, 4, 3] [static]
 

ex14_cyl1holed.m_x = g_ox+g_cyl_rayon [static]
 

ex14_cyl1holed.m_y = g_oy [static]
 

int ex14_cyl1holed.m_z = 2 [static]
 

tuple ex14_cyl1holed.m_p = MakeVertex(m_x, m_y, m_z + m_i*m_h) [static]
 

tuple ex14_cyl1holed.m_e = GetEdgeNearPoint(piece, m_p) [static]
 

tuple ex14_cyl1holed.m_a = hexa.Segment(m_e) [static]
 

int ex14_cyl1holed.m_i = 1 [static]