Package GEOM_tube_geom_gg2


Variables

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


Variable Documentation

int GEOM_tube_geom_gg2.L_base = 300 [static]
 

int GEOM_tube_geom_gg2.l_base = 150 [static]
 

int GEOM_tube_geom_gg2.h_base = 75 [static]
 

int GEOM_tube_geom_gg2.e_base = 6 [static]
 

tuple GEOM_tube_geom_gg2.base_bot = MakeBox(0.,0.,0.,L_base,l_base,e_base) [static]
 

tuple GEOM_tube_geom_gg2.base_top = MakeTranslation(base_bot,0.,0.,h_base-e_base) [static]
 

tuple GEOM_tube_geom_gg2.base_front = MakeBox(0,0,0,L_base,e_base,h_base) [static]
 

tuple GEOM_tube_geom_gg2.base_rear = MakeTranslation(base_front,0.,l_base,0.) [static]
 

tuple GEOM_tube_geom_gg2.tmp = MakeBoolean(base_top,base_rear,3) [static]
 

tuple GEOM_tube_geom_gg2.tmp = MakeBoolean(tmp,base_bot,3) [static]
 

tuple GEOM_tube_geom_gg2.base = MakeBoolean(tmp,base_front,3) [static]
 

tuple GEOM_tube_geom_gg2.baseId = addToStudy(base,"base") [static]
 

int GEOM_tube_geom_gg2.L_trav = 60 [static]
 

int GEOM_tube_geom_gg2.h_trav = 300 [static]
 

int GEOM_tube_geom_gg2.e_trav = 7 [static]
 

int GEOM_tube_geom_gg2.marge = 15 [static]
 

tuple GEOM_tube_geom_gg2.flange_left = MakeBox(0.,0.,0,e_trav,L_trav,h_trav) [static]
 

tuple GEOM_tube_geom_gg2.flange_right = MakeTranslation(flange_left,L_trav-e_trav,0.,0.) [static]
 

tuple GEOM_tube_geom_gg2.flange_front = MakeBox(0.,0.,0,L_trav,e_trav,h_trav) [static]
 

tuple GEOM_tube_geom_gg2.flange_rear = MakeTranslation(flange_front,0.,L_trav-e_trav,0.) [static]
 

tuple GEOM_tube_geom_gg2.tmp = MakeBoolean(flange_left,flange_rear,3) [static]
 

tuple GEOM_tube_geom_gg2.tmp = MakeBoolean(tmp,flange_right,3) [static]
 

tuple GEOM_tube_geom_gg2.flange = MakeBoolean(tmp,flange_front,3) [static]
 

tuple GEOM_tube_geom_gg2.length = e_trav/math.sin(math.pi/4.) [static]
 

tuple GEOM_tube_geom_gg2.yaxis = MakeVectorDXDYDZ(0.,1.,0.) [static]
 

tuple GEOM_tube_geom_gg2.cut_left = MakeBox(0.,-marge,0.,-length,L_trav+marge,length) [static]
 

tuple GEOM_tube_geom_gg2.cut_left = MakeRotation(cut_left,yaxis,-math.pi/4.) [static]
 

tuple GEOM_tube_geom_gg2.cut_left = MakeTranslation(cut_left,e_trav,0.,0.) [static]
 

tuple GEOM_tube_geom_gg2.symPlaneYZ [static]
 

Initial value:

MakePlane(
     MakeVertex(L_trav/2.,0.,0.),
     MakeVectorDXDYDZ(1.,0.,0.), 10000. )

tuple GEOM_tube_geom_gg2.cut_right = MakeMirrorByPlane(cut_left,symPlaneYZ) [static]
 

tuple GEOM_tube_geom_gg2.xaxis = MakeVectorDXDYDZ(1.,0.,0.) [static]
 

tuple GEOM_tube_geom_gg2.cut_front = MakeBox(-marge,0.,0.,L_trav+marge,length,length) [static]
 

tuple GEOM_tube_geom_gg2.cut_front = MakeRotation(cut_front,xaxis,3.*math.pi/4.) [static]
 

tuple GEOM_tube_geom_gg2.cut_front = MakeTranslation(cut_front,0.,e_trav,0.) [static]
 

tuple GEOM_tube_geom_gg2.symPlaneXZ [static]
 

Initial value:

MakePlane(
     MakeVertex(0.,L_trav/2.,0.),
     MakeVectorDXDYDZ(0.,1.,0.), 10000. )

tuple GEOM_tube_geom_gg2.cut_rear = MakeMirrorByPlane(cut_front,symPlaneXZ) [static]
 

tuple GEOM_tube_geom_gg2.trav = MakeBoolean(flange,cut_left,2) [static]
 

tuple GEOM_tube_geom_gg2.trav = MakeBoolean(trav,cut_right,2) [static]
 

tuple GEOM_tube_geom_gg2.trav = MakeBoolean(trav,cut_front,2) [static]
 

tuple GEOM_tube_geom_gg2.trav = MakeBoolean(trav,cut_rear,2) [static]
 

tuple GEOM_tube_geom_gg2.trav [static]
 

Initial value:

MakeTranslation(trav,
                       L_base/2.-L_trav/2.,
                       l_base/2.-L_trav/2.,
                       h_base)

tuple GEOM_tube_geom_gg2.travId = addToStudy(trav,"trav") [static]
 

tuple GEOM_tube_geom_gg2.ground = MakeBox(-1000.,-1000.,0.,1000.,1000.,-1000.) [static]
 

tuple GEOM_tube_geom_gg2.weld_left = MakeBoolean(cut_left,ground,2) [static]
 

tuple GEOM_tube_geom_gg2.weld_right = MakeBoolean(cut_right,ground,2) [static]
 

tuple GEOM_tube_geom_gg2.weld_front = MakeBoolean(cut_front,ground,2) [static]
 

tuple GEOM_tube_geom_gg2.weld_rear = MakeBoolean(cut_rear,ground,2) [static]
 

tuple GEOM_tube_geom_gg2.coarse_weld = MakeBoolean(weld_left,weld_rear,3) [static]
 

tuple GEOM_tube_geom_gg2.coarse_weld = MakeBoolean(coarse_weld,weld_right,3) [static]
 

tuple GEOM_tube_geom_gg2.coarse_weld = MakeBoolean(coarse_weld,weld_front,3) [static]
 

tuple GEOM_tube_geom_gg2.left_cleaner = MakeBox(0.,-10*marge,0.,-10.*marge,10.*marge,10.*marge) [static]
 

tuple GEOM_tube_geom_gg2.left_cleaner = MakeRotation(left_cleaner,yaxis,math.pi/4.) [static]
 

tuple GEOM_tube_geom_gg2.left_cleaner = MakeTranslation(left_cleaner,-e_trav-2.*marge,0.,-2.*marge) [static]
 

tuple GEOM_tube_geom_gg2.right_cleaner = MakeMirrorByPlane(left_cleaner,symPlaneYZ) [static]
 

tuple GEOM_tube_geom_gg2.front_cleaner = MakeBox(-10*marge,0.,0.,10.*marge,10.*marge,10.*marge) [static]
 

tuple GEOM_tube_geom_gg2.front_cleaner = MakeRotation(front_cleaner,xaxis,3.*math.pi/4.) [static]
 

tuple GEOM_tube_geom_gg2.front_cleaner = MakeTranslation(front_cleaner,0.,2.*marge-e_trav,2.*marge) [static]
 

tuple GEOM_tube_geom_gg2.rear_cleaner = MakeMirrorByPlane(front_cleaner,symPlaneXZ) [static]
 

tuple GEOM_tube_geom_gg2.weld = MakeBoolean(coarse_weld,left_cleaner,2) [static]
 

tuple GEOM_tube_geom_gg2.weld = MakeBoolean(weld,rear_cleaner,2) [static]
 

tuple GEOM_tube_geom_gg2.weld = MakeBoolean(weld,right_cleaner,2) [static]
 

tuple GEOM_tube_geom_gg2.weld = MakeBoolean(weld,front_cleaner,2) [static]
 

tuple GEOM_tube_geom_gg2.weld [static]
 

Initial value:

MakeTranslation(weld,
                       L_base/2.-L_trav/2.,
                       l_base/2.-L_trav/2.,
                       h_base)

tuple GEOM_tube_geom_gg2.weldId = addToStudy(weld,"weld") [static]
 

tuple GEOM_tube_geom_gg2.assemblage = MakePartition([base,weld]) [static]
 

tuple GEOM_tube_geom_gg2.assemblage = MakePartition([assemblage,trav]) [static]
 

tuple GEOM_tube_geom_gg2.assemblageId = addToStudy(assemblage, "assemblage") [static]
 

tuple GEOM_tube_geom_gg2.gg = ImportComponentGUI("GEOM") [static]
 

int GEOM_tube_geom_gg2.L_base = 300 [static]
 

int GEOM_tube_geom_gg2.l_base = 150 [static]
 

int GEOM_tube_geom_gg2.h_base = 75 [static]
 

int GEOM_tube_geom_gg2.e_base = 6 [static]
 

tuple GEOM_tube_geom_gg2.base_bot = MakeBox(0.,0.,0.,L_base,l_base,e_base) [static]
 

tuple GEOM_tube_geom_gg2.base_top = MakeTranslation(base_bot,0.,0.,h_base-e_base) [static]
 

tuple GEOM_tube_geom_gg2.base_front = MakeBox(0,0,0,L_base,e_base,h_base) [static]