Back to index

salome-smesh  6.5.0
Variables
ex15_cyl2geometry Namespace Reference

Variables

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

Variable Documentation

tuple ex15_cyl2geometry.algo = hexa.Segment()

Definition at line 189 of file ex15_cyl2geometry.py.

Definition at line 75 of file ex15_cyl2geometry.py.

Definition at line 77 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.b_cyl = MakeCut(g_bas, b_boite)

Definition at line 80 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.b_element = SubShapeAll(b_partie, ShapeType["SOLID"])

Definition at line 87 of file ex15_cyl2geometry.py.

Definition at line 74 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.b_partie = MakePartition([b_cyl], b_tools, [], [], ShapeType["SOLID"])

Definition at line 86 of file ex15_cyl2geometry.py.

Definition at line 82 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.c_cyl = MakeCut(g_centre, p_cyl)

Definition at line 140 of file ex15_cyl2geometry.py.

Definition at line 54 of file ex15_cyl2geometry.py.

Definition at line 39 of file ex15_cyl2geometry.py.

Definition at line 40 of file ex15_cyl2geometry.py.

Definition at line 41 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.e_boite = SubShapeAllSorted(e_boite0, ShapeType["SOLID"])

Definition at line 133 of file ex15_cyl2geometry.py.

Definition at line 132 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.e_cyl = SubShapeAllSorted(e_cyl0, ShapeType["SOLID"])

Definition at line 128 of file ex15_cyl2geometry.py.

Definition at line 127 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.e_tuyau = MakeCut(e_cyl[1], p_boite)

Definition at line 130 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.g_base = MakeVertex(cx, cy, cz)

Definition at line 56 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.g_coupe = MakeVectorDXDYDZ(1, 0, 0)

Definition at line 62 of file ex15_cyl2geometry.py.

Definition at line 60 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.g_dir = MakeVectorDXDYDZ(0, 0, 1)

Definition at line 57 of file ex15_cyl2geometry.py.

Definition at line 44 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.g_partie = MakePartition([g_cyl], g_tools, [], [], ShapeType["SOLID"])

Definition at line 68 of file ex15_cyl2geometry.py.

Definition at line 43 of file ex15_cyl2geometry.py.

Definition at line 64 of file ex15_cyl2geometry.py.

Definition at line 49 of file ex15_cyl2geometry.py.

Definition at line 93 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.h_symetrie = MakeMirrorByPlane(h, h_plan)

Definition at line 98 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.hexa = smesh.Mesh(piece, "ex15_cyl2geometry:hexa")

Definition at line 187 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.i_boite = MakeCommon(p_boite, g_cyl)

Definition at line 122 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.i_cyl = MakeCommon(p_cyl, g_cyl)

Definition at line 120 of file ex15_cyl2geometry.py.

Definition at line 121 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.p_base = MakeVertex(cx, py, pz)

Definition at line 111 of file ex15_cyl2geometry.py.

Definition at line 115 of file ex15_cyl2geometry.py.

Definition at line 113 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.p_dir = MakeVectorDXDYDZ(0, 1, 0)

Definition at line 112 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.p_element = SubShapeAll(p_partie, ShapeType["SOLID"])

Definition at line 150 of file ex15_cyl2geometry.py.

Definition at line 47 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.p_partie = MakePartition([e_tuyau], p_tools, [], [], ShapeType["SOLID"])

Definition at line 149 of file ex15_cyl2geometry.py.

Definition at line 46 of file ex15_cyl2geometry.py.

Definition at line 145 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.piece = RemoveExtraEdges(MakeCompound(cpd), True)

Definition at line 172 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.piece_id = addToStudy(piece, "ex15_cyl2geometry")

Definition at line 177 of file ex15_cyl2geometry.py.

Definition at line 107 of file ex15_cyl2geometry.py.

float ex15_cyl2geometry.py = 1.5

Definition at line 108 of file ex15_cyl2geometry.py.

Definition at line 109 of file ex15_cyl2geometry.py.

list ex15_cyl2geometry.q_element = SubShapeAll(q_partie, ShapeType["SOLID"])

Definition at line 154 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.q_partie = MakePartition([i_tuyau, c_cyl], p_tools, [], [], ShapeType["SOLID"])

Definition at line 153 of file ex15_cyl2geometry.py.

Definition at line 158 of file ex15_cyl2geometry.py.

Definition at line 162 of file ex15_cyl2geometry.py.

tuple ex15_cyl2geometry.r_partie = MakePartition([e], q_tools, [], [], ShapeType["SOLID"])

Definition at line 164 of file ex15_cyl2geometry.py.

Definition at line 58 of file ex15_cyl2geometry.py.

Definition at line 105 of file ex15_cyl2geometry.py.

Definition at line 104 of file ex15_cyl2geometry.py.