Back to index

salome-geom  6.5.0
Namespaces | Variables
GEOM_tube_geom.py File Reference

Go to the source code of this file.

Namespaces

namespace  GEOM_tube_geom

Variables

int GEOM_tube_geom.L_base = 300
int GEOM_tube_geom.l_base = 150
int GEOM_tube_geom.h_base = 75
int GEOM_tube_geom.e_base = 6
tuple GEOM_tube_geom.base_bot = MakeBox(0.,0.,0.,L_base,l_base,e_base)
tuple GEOM_tube_geom.base_top = MakeTranslation(base_bot,0.,0.,h_base-e_base)
tuple GEOM_tube_geom.base_front = MakeBox(0,0,0,L_base,e_base,h_base)
tuple GEOM_tube_geom.base_rear = MakeTranslation(base_front,0.,l_base,0.)
tuple GEOM_tube_geom.tmp = MakeBoolean(base_top,base_rear,3)
tuple GEOM_tube_geom.base = MakeBoolean(tmp,base_front,3)
int GEOM_tube_geom.L_trav = 60
int GEOM_tube_geom.h_trav = 300
int GEOM_tube_geom.e_trav = 7
int GEOM_tube_geom.marge = 15
tuple GEOM_tube_geom.flange_left = MakeBox(0.,0.,0,e_trav,L_trav,h_trav)
tuple GEOM_tube_geom.flange_right = MakeTranslation(flange_left,L_trav-e_trav,0.,0.)
tuple GEOM_tube_geom.flange_front = MakeBox(0.,0.,0,L_trav,e_trav,h_trav)
tuple GEOM_tube_geom.flange_rear = MakeTranslation(flange_front,0.,L_trav-e_trav,0.)
tuple GEOM_tube_geom.flange = MakeBoolean(tmp,flange_front,3)
tuple GEOM_tube_geom.length = e_trav/math.sin(math.pi/4.)
tuple GEOM_tube_geom.p1 = MakeVertex(0,0,0)
tuple GEOM_tube_geom.p2 = MakeVertex(0,1,0)
tuple GEOM_tube_geom.yaxis = MakeVector(p1, p2)
tuple GEOM_tube_geom.cut_left = MakeBox(0.,-marge,0.,-length,L_trav+marge,length)
tuple GEOM_tube_geom.symPlaneYZ
tuple GEOM_tube_geom.cut_right = MakeMirrorByPlane(cut_left,symPlaneYZ)
tuple GEOM_tube_geom.xaxis = MakeVector(p1,MakeVertex(1.,0.,0.))
tuple GEOM_tube_geom.cut_front = MakeBox(-marge,0.,0.,L_trav+marge,length,length)
tuple GEOM_tube_geom.symPlaneXZ
tuple GEOM_tube_geom.cut_rear = MakeMirrorByPlane(cut_front,symPlaneXZ)
tuple GEOM_tube_geom.trav = MakeBoolean(flange,cut_left,2)
tuple GEOM_tube_geom.ground = MakeBox(-1000.,-1000.,0.,1000.,1000.,-1000.)
tuple GEOM_tube_geom.weld_left = MakeBoolean(cut_left,ground,2)
tuple GEOM_tube_geom.weld_right = MakeBoolean(cut_right,ground,2)
tuple GEOM_tube_geom.weld_front = MakeBoolean(cut_front,ground,2)
tuple GEOM_tube_geom.weld_rear = MakeBoolean(cut_rear,ground,2)
tuple GEOM_tube_geom.coarse_weld = MakeBoolean(weld_left,weld_rear,3)
tuple GEOM_tube_geom.left_cleaner = MakeBox(0.,-10*marge,0.,-10.*marge,10.*marge,10.*marge)
tuple GEOM_tube_geom.right_cleaner = MakeMirrorByPlane(left_cleaner,symPlaneYZ)
tuple GEOM_tube_geom.front_cleaner = MakeBox(-10*marge,0.,0.,10.*marge,10.*marge,10.*marge)
tuple GEOM_tube_geom.rear_cleaner = MakeMirrorByPlane(front_cleaner,symPlaneXZ)
tuple GEOM_tube_geom.weld = MakeBoolean(coarse_weld,left_cleaner,2)
tuple GEOM_tube_geom.weldId = addToStudy(weld,"weld")
tuple GEOM_tube_geom.assemblage = Partition([base ,weld ,trav])
tuple GEOM_tube_geom.assemblageId = addToStudy(assemblage, "assemblage")