Back to index

salome-geom  6.5.0
Variables
GEOM_tube_geom Namespace Reference

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 base = MakeBoolean(tmp,base_front,3)
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 flange = MakeBoolean(tmp,flange_front,3)
tuple length = e_trav/math.sin(math.pi/4.)
tuple p1 = MakeVertex(0,0,0)
tuple p2 = MakeVertex(0,1,0)
tuple yaxis = MakeVector(p1, p2)
tuple cut_left = MakeBox(0.,-marge,0.,-length,L_trav+marge,length)
tuple symPlaneYZ
tuple cut_right = MakeMirrorByPlane(cut_left,symPlaneYZ)
tuple xaxis = MakeVector(p1,MakeVertex(1.,0.,0.))
tuple cut_front = MakeBox(-marge,0.,0.,L_trav+marge,length,length)
tuple symPlaneXZ
tuple cut_rear = MakeMirrorByPlane(cut_front,symPlaneXZ)
tuple trav = MakeBoolean(flange,cut_left,2)
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 left_cleaner = MakeBox(0.,-10*marge,0.,-10.*marge,10.*marge,10.*marge)
tuple right_cleaner = MakeMirrorByPlane(left_cleaner,symPlaneYZ)
tuple front_cleaner = MakeBox(-10*marge,0.,0.,10.*marge,10.*marge,10.*marge)
tuple rear_cleaner = MakeMirrorByPlane(front_cleaner,symPlaneXZ)
tuple weld = MakeBoolean(coarse_weld,left_cleaner,2)
tuple weldId = addToStudy(weld,"weld")
tuple assemblage = Partition([base ,weld ,trav])
tuple assemblageId = addToStudy(assemblage, "assemblage")

Variable Documentation

tuple GEOM_tube_geom.assemblage = Partition([base ,weld ,trav])

Definition at line 157 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.assemblageId = addToStudy(assemblage, "assemblage")

Definition at line 158 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.base = MakeBoolean(tmp,base_front,3)

Definition at line 51 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.base_bot = MakeBox(0.,0.,0.,L_base,l_base,e_base)

Definition at line 44 of file GEOM_tube_geom.py.

Definition at line 46 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.base_rear = MakeTranslation(base_front,0.,l_base,0.)

Definition at line 47 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.base_top = MakeTranslation(base_bot,0.,0.,h_base-e_base)

Definition at line 45 of file GEOM_tube_geom.py.

Definition at line 125 of file GEOM_tube_geom.py.

Definition at line 92 of file GEOM_tube_geom.py.

Definition at line 78 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.cut_rear = MakeMirrorByPlane(cut_front,symPlaneXZ)

Definition at line 101 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.cut_right = MakeMirrorByPlane(cut_left,symPlaneYZ)

Definition at line 87 of file GEOM_tube_geom.py.

Definition at line 42 of file GEOM_tube_geom.py.

Definition at line 59 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.flange = MakeBoolean(tmp,flange_front,3)

Definition at line 69 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.flange_front = MakeBox(0.,0.,0,L_trav,e_trav,h_trav)

Definition at line 64 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.flange_left = MakeBox(0.,0.,0,e_trav,L_trav,h_trav)

Definition at line 62 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.flange_rear = MakeTranslation(flange_front,0.,L_trav-e_trav,0.)

Definition at line 65 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.flange_right = MakeTranslation(flange_left,L_trav-e_trav,0.,0.)

Definition at line 63 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.front_cleaner = MakeBox(-10*marge,0.,0.,10.*marge,10.*marge,10.*marge)

Definition at line 137 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.ground = MakeBox(-1000.,-1000.,0.,1000.,1000.,-1000.)

Definition at line 117 of file GEOM_tube_geom.py.

Definition at line 41 of file GEOM_tube_geom.py.

Definition at line 58 of file GEOM_tube_geom.py.

Definition at line 39 of file GEOM_tube_geom.py.

Definition at line 40 of file GEOM_tube_geom.py.

Definition at line 57 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.left_cleaner = MakeBox(0.,-10*marge,0.,-10.*marge,10.*marge,10.*marge)

Definition at line 131 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.length = e_trav/math.sin(math.pi/4.)

Definition at line 74 of file GEOM_tube_geom.py.

Definition at line 60 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.p1 = MakeVertex(0,0,0)

Definition at line 75 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.p2 = MakeVertex(0,1,0)

Definition at line 76 of file GEOM_tube_geom.py.

Definition at line 141 of file GEOM_tube_geom.py.

Definition at line 135 of file GEOM_tube_geom.py.

Initial value:
00001 MakePlane(
00002      MakeVertex(0.,L_trav/2.,0.),
00003      MakeVector(p1,MakeVertex(0.,1.,0.)), 10000. )

Definition at line 98 of file GEOM_tube_geom.py.

Initial value:
00001 MakePlane(
00002      MakeVertex(L_trav/2.,0.,0.),
00003      MakeVector(p1,MakeVertex(1.,0.,0.)), 10000. )

Definition at line 84 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.tmp = MakeBoolean(base_top,base_rear,3)

Definition at line 49 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.trav = MakeBoolean(flange,cut_left,2)

Definition at line 105 of file GEOM_tube_geom.py.

Definition at line 145 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.weld_front = MakeBoolean(cut_front,ground,2)

Definition at line 120 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.weld_left = MakeBoolean(cut_left,ground,2)

Definition at line 118 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.weld_rear = MakeBoolean(cut_rear,ground,2)

Definition at line 121 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.weld_right = MakeBoolean(cut_right,ground,2)

Definition at line 119 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.weldId = addToStudy(weld,"weld")

Definition at line 153 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.xaxis = MakeVector(p1,MakeVertex(1.,0.,0.))

Definition at line 91 of file GEOM_tube_geom.py.

tuple GEOM_tube_geom.yaxis = MakeVector(p1, p2)

Definition at line 77 of file GEOM_tube_geom.py.