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 | |
| 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) |
| tuple ex14_cyl1holed.algo = hexa.Segment() |
Definition at line 110 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.c_cylindre = MakeCylinder(c_point, c_dir, g_cyl_rayon, c_hauteur) |
Definition at line 58 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.c_dir = MakeVectorDXDYDZ(0, 0, 1) |
Definition at line 56 of file ex14_cyl1holed.py.
Definition at line 57 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.c_point = MakeVertex(g_ox, g_oy, g_oz-g_cyl_demiHauteur) |
Definition at line 55 of file ex14_cyl1holed.py.
Definition at line 45 of file ex14_cyl1holed.py.
| int ex14_cyl1holed.g_cyl_rayon = 1000 |
Definition at line 44 of file ex14_cyl1holed.py.
Definition at line 40 of file ex14_cyl1holed.py.
Definition at line 41 of file ex14_cyl1holed.py.
Definition at line 42 of file ex14_cyl1holed.py.
| int ex14_cyl1holed.g_trim = 15000 |
Definition at line 50 of file ex14_cyl1holed.py.
Definition at line 48 of file ex14_cyl1holed.py.
Definition at line 47 of file ex14_cyl1holed.py.
| list ex14_cyl1holed.h_outils = [] |
Definition at line 75 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.h_piece = MakePartition([t_piece], h_outils, [], [], ShapeType["SOLID"]) |
Definition at line 79 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.hexa = smesh.Mesh(piece, "ex14_cyl1holed:hexa") |
Definition at line 108 of file ex14_cyl1holed.py.
Definition at line 87 of file ex14_cyl1holed.py.
Definition at line 85 of file ex14_cyl1holed.py.
| int ex14_cyl1holed.l_n = 12 |
Definition at line 86 of file ex14_cyl1holed.py.
| list ex14_cyl1holed.l_outils = [] |
Definition at line 84 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.m_a = hexa.Segment(m_e) |
Definition at line 132 of file ex14_cyl1holed.py.
| list ex14_cyl1holed.m_d = [4, 6, 8, 10, 10, 9, 8, 7, 6, 5, 4, 3] |
Definition at line 123 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.m_e = GetEdgeNearPoint(piece, m_p) |
Definition at line 131 of file ex14_cyl1holed.py.
Definition at line 122 of file ex14_cyl1holed.py.
Definition at line 120 of file ex14_cyl1holed.py.
| int ex14_cyl1holed.m_n = 12 |
Definition at line 121 of file ex14_cyl1holed.py.
Definition at line 130 of file ex14_cyl1holed.py.
Definition at line 125 of file ex14_cyl1holed.py.
Definition at line 126 of file ex14_cyl1holed.py.
Definition at line 127 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.piece = MakePartition([h_piece], l_outils, [], [], ShapeType["SOLID"]) |
Definition at line 93 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.piece_id = addToStudy(piece, "ex14_cyl1holed") |
Definition at line 98 of file ex14_cyl1holed.py.
Definition at line 63 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.t_piece = MakeCut(c_cylindre, t_trou) |
Definition at line 67 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.t_point = MakeVertex(g_ox-g_trou_centre, g_oy, g_oz-t_hauteur) |
Definition at line 64 of file ex14_cyl1holed.py.
| tuple ex14_cyl1holed.t_trou = MakeCylinder(t_point, c_dir, g_trou_rayon, 2*t_hauteur) |
Definition at line 65 of file ex14_cyl1holed.py.