Back to index

salome-smesh  6.5.0
Namespaces | Variables
ex15_cyl2geometry.py File Reference

Go to the source code of this file.

Namespaces

namespace  ex15_cyl2geometry

Variables

int ex15_cyl2geometry.cx = 0
int ex15_cyl2geometry.cy = 0
int ex15_cyl2geometry.cz = 0
float ex15_cyl2geometry.g_rayon = 100.0
int ex15_cyl2geometry.g_hauteur = 500
float ex15_cyl2geometry.p_rayon = 50.0
int ex15_cyl2geometry.p_hauteur = 500
int ex15_cyl2geometry.g_trim = 1000
list ex15_cyl2geometry.cpd = []
tuple ex15_cyl2geometry.g_base = MakeVertex(cx, cy, cz)
tuple ex15_cyl2geometry.g_dir = MakeVectorDXDYDZ(0, 0, 1)
float ex15_cyl2geometry.t_hauteur = 10.0
tuple ex15_cyl2geometry.g_cyl = MakeCylinder(g_base, g_dir, g_rayon, g_hauteur)
tuple ex15_cyl2geometry.g_coupe = MakeVectorDXDYDZ(1, 0, 0)
list ex15_cyl2geometry.g_tools = []
tuple ex15_cyl2geometry.g_partie = MakePartition([g_cyl], g_tools, [], [], ShapeType["SOLID"])
int ex15_cyl2geometry.b_hauteur = 10
int ex15_cyl2geometry.b_base = 20
tuple ex15_cyl2geometry.b_boite = MakeBox(cx-t_hauteur, cy-b_base, cz, cx-t_hauteur-b_hauteur, cy+b_base, cz+g_hauteur)
tuple ex15_cyl2geometry.b_cyl = MakeCut(g_bas, b_boite)
list ex15_cyl2geometry.b_tools = []
tuple ex15_cyl2geometry.b_partie = MakePartition([b_cyl], b_tools, [], [], ShapeType["SOLID"])
tuple ex15_cyl2geometry.b_element = SubShapeAll(b_partie, ShapeType["SOLID"])
tuple ex15_cyl2geometry.h_plan = MakePlane(g_base, g_coupe, g_trim)
tuple ex15_cyl2geometry.h_symetrie = MakeMirrorByPlane(h, h_plan)
int ex15_cyl2geometry.z_arete = 2
int ex15_cyl2geometry.x_arete = 2
 ex15_cyl2geometry.px = cx-x_arete
float ex15_cyl2geometry.py = 1.5
int ex15_cyl2geometry.pz = 2
tuple ex15_cyl2geometry.p_base = MakeVertex(cx, py, pz)
tuple ex15_cyl2geometry.p_dir = MakeVectorDXDYDZ(0, 1, 0)
tuple ex15_cyl2geometry.p_cyl = MakeCylinder(p_base, p_dir, p_rayon, p_hauteur)
tuple ex15_cyl2geometry.p_boite = MakeBox(px, py, pz-z_arete, cx+x_arete, py+p_hauteur, pz+z_arete)
tuple ex15_cyl2geometry.i_cyl = MakeCommon(p_cyl, g_cyl)
tuple ex15_cyl2geometry.i_tuyau = MakeCut(i_cyl, p_boite)
tuple ex15_cyl2geometry.i_boite = MakeCommon(p_boite, g_cyl)
tuple ex15_cyl2geometry.e_cyl0 = MakeCut(p_cyl, g_cyl)
tuple ex15_cyl2geometry.e_cyl = SubShapeAllSorted(e_cyl0, ShapeType["SOLID"])
tuple ex15_cyl2geometry.e_tuyau = MakeCut(e_cyl[1], p_boite)
tuple ex15_cyl2geometry.e_boite0 = MakeCut(p_boite, g_cyl)
tuple ex15_cyl2geometry.e_boite = SubShapeAllSorted(e_boite0, ShapeType["SOLID"])
tuple ex15_cyl2geometry.c_cyl = MakeCut(g_centre, p_cyl)
list ex15_cyl2geometry.p_tools = []
tuple ex15_cyl2geometry.p_partie = MakePartition([e_tuyau], p_tools, [], [], ShapeType["SOLID"])
tuple ex15_cyl2geometry.p_element = SubShapeAll(p_partie, ShapeType["SOLID"])
tuple ex15_cyl2geometry.q_partie = MakePartition([i_tuyau, c_cyl], p_tools, [], [], ShapeType["SOLID"])
tuple ex15_cyl2geometry.q_element = SubShapeAll(q_partie, ShapeType["SOLID"])
list ex15_cyl2geometry.q_tools = []
list ex15_cyl2geometry.r_element = []
tuple ex15_cyl2geometry.r_partie = MakePartition([e], q_tools, [], [], ShapeType["SOLID"])
tuple ex15_cyl2geometry.piece = RemoveExtraEdges(MakeCompound(cpd), True)
tuple ex15_cyl2geometry.piece_id = addToStudy(piece, "ex15_cyl2geometry")
tuple ex15_cyl2geometry.hexa = smesh.Mesh(piece, "ex15_cyl2geometry:hexa")
tuple ex15_cyl2geometry.algo = hexa.Segment()