# By Axelerator AB All rights reserved
# Author Marcus Isaksson
from varmain .primitiv import *#line:5
from varmain .custom import *#line:6
from varmain .var_basic import *#line:7
from varmain .dummy_var import *#line:8
from aqa .math import *#line:9
import math #line:10
import sys ,os #line:11
from varmain .capsub .cpc_pl import *#line:13
from varmain .squareconduitssub .elbow .csqkkz import *#line:15
if not os .path .dirname (os .path .abspath (__file__ ))in sys .path :#line:21
			   sys .path .append (os .path .dirname (os .path .abspath (__file__ )))#line:22
from AX_BOXF import *#line:25
from AX_NUTS import *#line:26
@activate (Group ="Olet",TooltipShort ="QA Bracket w Female Thread BSP",TooltipLong ="QA Bracket w Female Thread BSP",LengthUnit ="mm",Ports ="2")#line:28
@group ("MainDimensions")#line:29
@param (D1 =LENGTH ,TooltipShort ="Nominal Diameter",TooltipLong ="Nominal Diameter Inlet")#line:30
@param (D2 =LENGTH ,TooltipShort ="Diameter",TooltipLong ="Diameter")#line:31
@param (C =LENGTH ,TooltipShort ="Thread Diameter",TooltipLong ="Thread Diameter Outlet")#line:32
def AX_P1_BRACKET_FTH (OO0000O0OOO0OOOO0 ,D1 =25 ,D2 =16.5 ,C =0.5 ,**O00000OOOO0OOOOO0 ):#line:35
	if C ==0.5 :#line:41
		O000OO000000O000O =20.95 #line:42
		OO0O00O0OOOOOO0O0 =30.0 #line:43
	elif C ==0.75 :#line:44
		O000OO000000O000O =26.44 #line:45
		OO0O00O0OOOOOO0O0 =34.0 #line:46
	if D1 ==25 and C ==0.5 :#line:48
		O0OO0OOOO000OOO0O =97.0 #line:49
	elif D1 ==40 and C ==0.5 :#line:50
		O0OO0OOOO000OOO0O =104.0 #line:51
	elif D1 ==40 and C ==0.75 :#line:52
		O0OO0OOOO000OOO0O =113.0 #line:53
	elif D1 ==50 and C ==0.5 :#line:55
		O0OO0OOOO000OOO0O =75.0 #line:56
	elif D1 ==50 and C ==0.75 :#line:57
		O0OO0OOOO000OOO0O =84.0 #line:58
	elif D1 ==63 and C ==0.5 :#line:59
		O0OO0OOOO000OOO0O =82.0 #line:60
	elif D1 ==63 and C ==0.75 :#line:61
		O0OO0OOOO000OOO0O =91.0 #line:62
	if D1 ==25 and D2 ==16.5 :#line:67
		OO00O0OO00000O00O =25 #line:68
		OO0O0OO00000OOOO0 =16.5 #line:69
		O0OOO000OO00OOO00 =140.0 #line:70
		O00O0OOOO00O00O00 =35.0 #line:71
		OO00O00O00OOO000O =36.0 #line:72
		O0O00000O0OO0OOOO =63.5 #line:73
		OO0000OOO0O0O00OO =82.0 #line:74
		OO0OO0000O0000OOO =33.0 #line:75
		OOOOOOO00000O00OO =10 #line:76
		O00OOOOO00O0OOOOO =24.5 #line:77
		OO0OOOO0O0OO0O00O =43 #line:78
	elif D1 ==25 and D2 ==25 :#line:79
		OO00O0OO00000O00O =25.0 #line:80
		OO0O0OO00000OOOO0 =25.0 #line:81
		O0OOO000OO00OOO00 =134.0 #line:82
		O00O0OOOO00O00O00 =45.0 #line:83
		OO00O00O00OOO000O =36.0 #line:84
		O0O00000O0OO0OOOO =63.5 #line:85
		OO0000OOO0O0O00OO =74.0 #line:86
		OO0OO0000O0000OOO =36.0 #line:87
		OOOOOOO00000O00OO =10 #line:88
		O00OOOOO00O0OOOOO =24.5 #line:89
		OO0OOOO0O0OO0O00O =43 #line:90
	elif D1 ==40 and D2 ==16.5 :#line:92
		OO00O0OO00000O00O =40.0 #line:93
		OO0O0OO00000OOOO0 =16.5 #line:94
		O0OOO000OO00OOO00 =154.0 #line:95
		O00O0OOOO00O00O00 =35.0 #line:96
		OO00O00O00OOO000O =37.5 #line:97
		O0O00000O0OO0OOOO =76.5 #line:98
		OO0000OOO0O0O00OO =89.0 #line:99
		OO0OO0000O0000OOO =32.0 #line:100
		OOOOOOO00000O00OO =16 #line:101
		O00OOOOO00O0OOOOO =29.0 #line:102
		OO0OOOO0O0OO0O00O =52 #line:103
	elif D1 ==40 and D2 ==25 :#line:104
		OO00O0OO00000O00O =40.0 #line:105
		OO0O0OO00000OOOO0 =25.0 #line:106
		O0OOO000OO00OOO00 =150.0 #line:107
		O00O0OOOO00O00O00 =45.0 #line:108
		OO00O00O00OOO000O =37.5 #line:109
		O0O00000O0OO0OOOO =76.5 #line:110
		OO0000OOO0O0O00OO =82.0 #line:111
		OO0OO0000O0000OOO =38.0 #line:112
		OOOOOOO00000O00OO =16 #line:113
		O00OOOOO00O0OOOOO =29.0 #line:114
		OO0OOOO0O0OO0O00O =52 #line:115
	elif D1 ==50 :#line:117
		OO00O0OO00000O00O =50.0 #line:118
		OO0O0OO00000OOOO0 =25.0 #line:119
		O0OOO000OO00OOO00 =132.0 #line:120
		O00O0OOOO00O00O00 =45.0 #line:121
		OO00O00O00OOO000O =37.5 #line:122
		O0O00000O0OO0OOOO =98.0 #line:123
		OO0000OOO0O0O00OO =58.0 #line:124
		OO0OO0000O0000OOO =27.5 #line:125
	elif D1 ==63 :#line:126
		OO00O0OO00000O00O =63.0 #line:127
		OO0O0OO00000OOOO0 =25.0 #line:128
		O0OOO000OO00OOO00 =147.0 #line:129
		O00O0OOOO00O00O00 =45.0 #line:130
		OO00O00O00OOO000O =37.0 #line:131
		O0O00000O0OO0OOOO =105.0 #line:132
		OO0000OOO0O0O00OO =65.0 #line:133
		OO0OO0000O0000OOO =40.0 #line:134
	if 25 <=D1 <=40 :#line:137
		O0O0OOO0OO0O0O0OO =O0OOO000OO00OOO00 *0.30 #line:139
		OO0O0O00OOO000000 =(OO0O0OO00000OOOO0 /2.0 )+2.0 #line:140
		OOO0OO0OOOO000000 =CONE (OO0000O0OOO0OOOO0 ,R1 =OO0O0O00OOO000000 ,R2 =O00O0OOOO00O00O00 /2.0 ,H =O0O0OOO0OO0O0O0OO *0.20 ).rotateY (-90 ).translate (((OO0000OOO0O0O00OO +OO0OO0000O0000OOO ),0 ,0 ))#line:142
		O0O00O0OOO0000O0O =CYLINDER (OO0000O0OOO0OOOO0 ,R =O00O0OOOO00O00O00 /2.0 ,H =O0O0OOO0OO0O0O0OO *0.75 ).rotateY (-90 ).translate (((OO0000OOO0O0O00OO +OO0OO0000O0000OOO )-O0O0OOO0OO0O0O0OO *0.20 ,0 ,0 ))#line:143
		O000OO00O0O00OOO0 =CONE (OO0000O0OOO0OOOO0 ,R1 =O00O0OOOO00O00O00 /2.0 ,R2 =(O00O0OOOO00O00O00 *0.80 )/2.0 ,H =O0O0OOO0OO0O0O0OO *0.05 ).rotateY (-90 ).translate (((OO0000OOO0O0O00OO +OO0OO0000O0000OOO )-O0O0OOO0OO0O0O0OO *0.95 ,0 ,0 ))#line:144
		for O00O000OOOO0OOOOO in [O0O00O0OOO0000O0O ,O000OO00O0O00OOO0 ]:#line:145
			OOO0OO0OOOO000000 .uniteWith (O00O000OOOO0OOOOO )#line:146
			O00O000OOOO0OOOOO .erase ()#line:147
		OOO0OO0OOOO000000 .rotateY (90 )#line:148
		OOOOOO000OOO000OO =CYLINDER (OO0000O0OOO0OOOO0 ,R =(O00O0OOOO00O00O00 *0.80 )/2.0 ,H =O0O0OOO0OO0O0O0OO *0.40 ).translate ((0 ,0 ,-(OO0000OOO0O0O00OO +OO0OO0000O0000OOO )+O0O0OOO0OO0O0O0OO ))#line:150
		OOO00O0O000OOOOOO =CPC (OO0000O0OOO0OOOO0 ,D =O00O0OOOO00O00O00 *1.10 ,L =O0O0OOO0OO0O0O0OO *0.40 ,L1 =10 ,DISP =0 ,OF =-1.0 ).rotateY (-90 ).translate ((0 ,0 ,-(OO0000OOO0O0O00OO +OO0OO0000O0000OOO )+O0O0OOO0OO0O0O0OO +O0O0OOO0OO0O0O0OO *0.40 ))#line:151
		if D1 ==25 :#line:153
			OO0O00O00O0O000O0 =O0O0OOO0OO0O0O0OO *0.30 #line:154
		elif D1 ==40 :#line:155
			OO0O00O00O0O000O0 =O0O0OOO0OO0O0O0OO *0.40 #line:156
		O0000OO0OO0O0O000 =CPC (OO0000O0OOO0OOOO0 ,D =O00O0OOOO00O00O00 *1.10 ,L =OO0O00O00O0O000O0 ,L1 =10 ,DISP =0 ,OF =-1.0 ).rotateY (-90 ).rotateX (180 ).translate ((0 ,0 ,-(OO0000OOO0O0O00OO +OO0OO0000O0000OOO )+O0O0OOO0OO0O0O0OO +O0O0OOO0OO0O0O0OO *0.40 ))#line:158
		O0OOOOOO0OO00OO0O =OO0OOOO0O0OO0O00O #line:160
		O0O000000OOO0OO0O =83.0 +(OO00O0OO00000O00O /2.0 )#line:161
		OO0OO0OO00O00O00O =O0OOOOOO0OO00OO0O /2.0 #line:162
		O00OOO0OO0OO0O00O =math .radians (OO0OO0OO00O00O00O )#line:163
		O0OO000OO0000OO0O =math .radians (90 )-O00OOO0OO0OO0O00O #line:164
		OOO0OOO0OO000OOO0 =O0O000000OOO0OO0O *math .tan (O00OOO0OO0OO0O00O )#line:165
		OO00OOO0O0OO0OOO0 =ARC3D (OO0000O0OOO0OOOO0 ,D =OO0O0OO00000OOOO0 /2.0 ,R =O0O000000OOO0OO0O ,A =O0OOOOOO0OO00OO0O ).translate ((-OOO0OOO0OO000OOO0 ,0 ,0 )).rotateY (90 ).rotateZ (90 ).rotateX (180 )#line:167
		OO00OOO0O0OO0OOO0 .rotateY (-OOOOOOO00000O00OO ).translate ((O00OOOOO00O0OOOOO ,0 ,(O0OOO000OO00OOO00 -OO0000OOO0O0O00OO -OO0OO0000O0000OOO )*0.85 ))#line:168
		OO0OOOO000O00OO00 =AX_BOXF (OO0000O0OOO0OOOO0 ,W =O00O0OOOO00O00O00 *0.85 ,L =OO00O00O00OOO000O /9.0 ,H =(O0OOO000OO00OOO00 -OO0OO0000O0000OOO -OO0000OOO0O0O00OO )*1.2 ,R =0.0 ,T =0 ).translate ((0 ,0 ,-(OO0000OOO0O0O00OO +OO0OO0000O0000OOO )+O0O0OOO0OO0O0O0OO +O0O0OOO0OO0O0O0OO *0.70 ))#line:171
		OOOO00O0O00O0O00O =CYLINDER (OO0000O0OOO0OOOO0 ,R1 =(O0O00000O0OO0OOOO *0.70 )/2.0 ,R2 =(O0OOO000OO00OOO00 -OO0OO0000O0000OOO -OO0000OOO0O0O00OO ),H =OO00O00O00OOO000O ).rotateX (90 ).translate ((0 ,OO00O00O00OOO000O /2.0 ,0 )).rotateY (-20 )#line:173
		for O00O000OOOO0OOOOO in [OOOOOO000OOO000OO ,OOO00O0O000OOOOOO ,O0000OO0OO0O0O000 ,OO00OOO0O0OO0OOO0 ,OO0OOOO000O00OO00 ,OOOO00O0O00O0O00O ]:#line:175
			OOO0OO0OOOO000000 .uniteWith (O00O000OOOO0OOOOO )#line:176
			O00O000OOOO0OOOOO .erase ()#line:177
		OOOOO0O000OOOO000 =CYLINDER (OO0000O0OOO0OOOO0 ,R =OO00O0OO00000O00O /2.0 ,H =OO00O00O00OOO000O ).rotateX (-90 ).translate ((0 ,-OO00O00O00OOO000O /2.0 ,0 ))#line:179
		O00OOO00000O000OO =CYLINDER (OO0000O0OOO0OOOO0 ,R =23.0 /2.0 ,H =OO00O00O00OOO000O ).rotateY (-110 )#line:180
		O0OOO0O00000OOO0O =CYLINDER (OO0000O0OOO0OOOO0 ,R =OO0O0OO00000OOOO0 /2.0 ,H =OO0OO0000O0000OOO ).rotateX (-180 ).translate ((0 ,0 ,-OO0000OOO0O0O00OO ))#line:181
		for O00O000OOOO0OOOOO in [OOOOO0O000OOOO000 ,O00OOO00000O000OO ,O0OOO0O00000OOO0O ]:#line:183
			OOO0OO0OOOO000000 .subtractFrom (O00O000OOOO0OOOOO )#line:184
			O00O000OOOO0OOOOO .erase ()#line:185
		OOOO000OO0O0000O0 =CYLINDER (OO0000O0OOO0OOOO0 ,R =O0O00000O0OO0OOOO ,H =O0O0OOO0OO0O0O0OO ).translate ((0 ,0 ,-OO0000OOO0O0O00OO -OO0OO0000O0000OOO ))#line:187
		OOO0OO0OOOO000000 .subtractFrom (OOOO000OO0O0000O0 )#line:188
		OOOO000OO0O0000O0 .erase ()#line:189
		O0OO0O0O00OO000O0 =AX_NUTS (OO0000O0OOO0OOOO0 ,D =OO0O00O0OOOOOO0O0 ,O =O000OO000000O000O ,T =O0OO0OOOO000OOO0O *0.30 ,F =6.0 ,FI =.0 ).rotateY (90 ).translate ((0 ,0 ,-O0OO0OOOO000OOO0O ))#line:191
		OO0O0O0O0000000O0 =CYLINDER (OO0000O0OOO0OOOO0 ,R =(OO0O00O0OOOOOO0O0 +4 )/2.0 ,H =OO0O00O00O0O000O0 *2.0 ).rotateY (180 ).translate ((0 ,0 ,-(OO0000OOO0O0O00OO +OO0OO0000O0000OOO )+O0O0OOO0OO0O0O0OO +O0O0OOO0OO0O0O0OO *0.40 ))#line:192
		for O00O000OOOO0OOOOO in [O0OO0O0O00OO000O0 ,OO0O0O0O0000000O0 ]:#line:193
			OOO0OO0OOOO000000 .uniteWith (O00O000OOOO0OOOOO )#line:194
			O00O000OOOO0OOOOO .erase ()#line:195
		OO0000O0OOO0OOOO0 .setPoint ((0 ,0 ,0 ),(0 ,0 ,0 ))#line:209
		OO0000O0OOO0OOOO0 .setPoint ((0 ,0 ,-OO0000OOO0O0O00OO ),(0 ,0 ,-1 ))#line:210
	if 50 <=D1 <=63 :#line:213
		O0O0OOO0OO0O0O0OO =O0OOO000OO00OOO00 *0.30 #line:215
		OO0O0O00OOO000000 =(OO0O0OO00000OOOO0 /2.0 )+2.0 #line:216
		OOOOOOO0OOO0000OO =60.0 #line:217
		OOO0OO0OOOO000000 =CONE (OO0000O0OOO0OOOO0 ,R1 =OO0O0O00OOO000000 ,R2 =O00O0OOOO00O00O00 /2.0 ,H =O0O0OOO0OO0O0O0OO *0.20 ).rotateY (-90 ).translate (((OO0000OOO0O0O00OO +OO0OO0000O0000OOO ),0 ,0 ))#line:219
		O0O00O0OOO0000O0O =CYLINDER (OO0000O0OOO0OOOO0 ,R =O00O0OOOO00O00O00 /2.0 ,H =O0O0OOO0OO0O0O0OO *0.75 ).rotateY (-90 ).translate (((OO0000OOO0O0O00OO +OO0OO0000O0000OOO )-O0O0OOO0OO0O0O0OO *0.20 ,0 ,0 ))#line:220
		O000OO00O0O00OOO0 =CONE (OO0000O0OOO0OOOO0 ,R1 =O00O0OOOO00O00O00 /2.0 ,R2 =(O00O0OOOO00O00O00 *0.80 )/2.0 ,H =O0O0OOO0OO0O0O0OO *0.05 ).rotateY (-90 ).translate (((OO0000OOO0O0O00OO +OO0OO0000O0000OOO )-O0O0OOO0OO0O0O0OO *0.95 ,0 ,0 ))#line:221
		for O00O000OOOO0OOOOO in [O0O00O0OOO0000O0O ,O000OO00O0O00OOO0 ]:#line:222
			OOO0OO0OOOO000000 .uniteWith (O00O000OOOO0OOOOO )#line:223
			O00O000OOOO0OOOOO .erase ()#line:224
		OOO0OO0OOOO000000 .rotateY (90 )#line:225
		OOO0OOOO0O0O0O00O =30 #line:227
		O0OO00OOOO00O0OO0 =30 #line:228
		O0O00O0OO0000O000 =OO00O00O00OOO000O *0.60 #line:230
		OOOO00OOOOOO0OOO0 =O0O00O0OO0000O000 *0.70 #line:231
		OO0O0000000OO0OO0 =O0OOO000OO00OOO00 -O0O0OOO0OO0O0O0OO -O0O00O0OO0000O000 -OOO0OOOO0O0O0O00O #line:233
		O0OO0O00OO0OO0O0O =(O0OOO000OO00OOO00 -O0O0OOO0OO0O0O0OO -OOOO00OOOOOO0OOO0 -O0OO00OOOO00O0OO0 )-(O0O00O0OO0000O000 -OOOO00OOOOOO0OOO0 )/2.0 #line:234
		OO00OO00OO0OOOOOO =CSQKKZ (OO0000O0OOO0OOOO0 ,W =O0O00O0OO0000O000 ,H =OO00O00O00OOO000O ,R =OOO0OOOO0O0O0O00O ,L1 =1.0 ,L2 =OO0O0000000OO0OO0 ,A =90.0 ).rotateZ (180 ).rotateX (90 ).translate ((0 ,0 ,(O0O00O0OO0000O000 /2.0 )+OOO0OOOO0O0O0O00O +OO0O0000000OO0OO0 ))#line:236
		OO00OO00OO0OOOOOO .translate ((0 ,0 ,-(OO0000OOO0O0O00OO +OO0OO0000O0000OOO )+O0O0OOO0OO0O0O0OO ))#line:237
		OOO0OO0OOOO000000 .uniteWith (OO00OO00OO0OOOOOO )#line:240
		OO00OO00OO0OOOOOO .erase ()#line:241
		OOO0OO0OOOO000000 .translate ((-(O00O0OOOO00O00O00 /2.0 )+OOOOOOO0OOO0000OO ,0 ,0 ))#line:242
		OOO00O0O000OOOOOO =CPC (OO0000O0OOO0OOOO0 ,D =O00O0OOOO00O00O00 *0.80 ,L =O0O0OOO0OO0O0O0OO *0.20 ,L1 =10 ,DISP =0 ,OF =-1.0 ).rotateY (-90 ).translate ((OOOOOOO0OOO0000OO -(O00O0OOOO00O00O00 /2.0 ),0 ,-OO0000OOO0O0O00OO -OO0OO0000O0000OOO +O0O0OOO0OO0O0O0OO ))#line:244
		OOOO00O0O00O0O00O =CYLINDER (OO0000O0OOO0OOOO0 ,R1 =O0O00000O0OO0OOOO -OOOOOOO0OOO0000OO ,R2 =O0OOO000OO00OOO00 -OO0000OOO0O0O00OO -OO0OO0000O0000OOO ,H =OO00O00O00OOO000O ).rotateX (-90 ).translate ((0 ,-OO00O00O00OOO000O /2.0 ,0 ))#line:246
		for O00O000OOOO0OOOOO in [OOO00O0O000OOOOOO ,OOOO00O0O00O0O00O ]:#line:248
			OOO0OO0OOOO000000 .uniteWith (O00O000OOOO0OOOOO )#line:249
			O00O000OOOO0OOOOO .erase ()#line:250
		O00O0O00OOO0OO0O0 =CYLINDER (OO0000O0OOO0OOOO0 ,R1 =O0O00000O0OO0OOOO -OOOOOOO0OOO0000OO -(O0O00O0OO0000O000 -OOOO00OOOOOO0OOO0 )/2.0 ,R2 =O0OOO000OO00OOO00 -OO0000OOO0O0O00OO -OO0OO0000O0000OOO -(O0O00O0OO0000O000 -OOOO00OOOOOO0OOO0 )/2.0 ,H =OO00O00O00OOO000O ).rotateX (-90 ).translate ((0 ,-OO00O00O00OOO000O /2.0 ,0 )).translate ((0 ,-OO00O00O00OOO000O *0.90 ,0 ))#line:253
		OOOO00OO0O000000O =CYLINDER (OO0000O0OOO0OOOO0 ,R1 =O0O00000O0OO0OOOO -OOOOOOO0OOO0000OO -(O0O00O0OO0000O000 -OOOO00OOOOOO0OOO0 )/2.0 ,R2 =O0OOO000OO00OOO00 -OO0000OOO0O0O00OO -OO0OO0000O0000OOO -(O0O00O0OO0000O000 -OOOO00OOOOOO0OOO0 )/2.0 ,H =OO00O00O00OOO000O ).rotateX (-90 ).translate ((0 ,-OO00O00O00OOO000O /2.0 ,0 )).translate ((0 ,OO00O00O00OOO000O *0.90 ,0 ))#line:254
		OO0OOOO00OOOO0O00 =CSQKKZ (OO0000O0OOO0OOOO0 ,W =OOOO00OOOOOO0OOO0 ,H =OO00O00O00OOO000O ,R =O0OO00OOOO00O0OO0 ,L1 =1.0 ,L2 =O0OO0O00OO0OO0O0O ,A =90.0 ).rotateZ (180 ).rotateX (90 ).translate ((0 ,0 ,(OOOO00OOOOOO0OOO0 /2.0 )+O0OO00OOOO00O0OO0 +O0OO0O00OO0OO0O0O ))#line:256
		OO0OOOO00OOOO0O00 .translate ((-(O00O0OOOO00O00O00 /2.0 )+OOOOOOO0OOO0000OO ,-OO00O00O00OOO000O *0.90 ,-(OO0000OOO0O0O00OO +OO0OO0000O0000OOO )+O0O0OOO0OO0O0O0OO ))#line:257
		O0OO0000OOOOO0OO0 =CSQKKZ (OO0000O0OOO0OOOO0 ,W =OOOO00OOOOOO0OOO0 ,H =OO00O00O00OOO000O ,R =O0OO00OOOO00O0OO0 ,L1 =1.0 ,L2 =O0OO0O00OO0OO0O0O ,A =90.0 ).rotateZ (180 ).rotateX (90 ).translate ((0 ,0 ,(OOOO00OOOOOO0OOO0 /2.0 )+O0OO00OOOO00O0OO0 +O0OO0O00OO0OO0O0O ))#line:259
		O0OO0000OOOOO0OO0 .translate ((-(O00O0OOOO00O00O00 /2.0 )+OOOOOOO0OOO0000OO ,OO00O00O00OOO000O *0.90 ,-(OO0000OOO0O0O00OO +OO0OO0000O0000OOO )+O0O0OOO0OO0O0O0OO ))#line:260
		for O00O000OOOO0OOOOO in [O00O0O00OOO0OO0O0 ,OOOO00OO0O000000O ,OO0OOOO00OOOO0O00 ,O0OO0000OOOOO0OO0 ]:#line:262
			OOO0OO0OOOO000000 .subtractFrom (O00O000OOOO0OOOOO )#line:263
			O00O000OOOO0OOOOO .erase ()#line:264
		O0OO0O00OOOOOOOO0 =CYLINDER (OO0000O0OOO0OOOO0 ,R =OO00O0OO00000O00O /2.0 ,H =OO00O00O00OOO000O ).rotateX (-90 ).translate ((0 ,-OO00O00O00OOO000O /2.0 ,0 ))#line:267
		OOO0OO0OOOO000000 .subtractFrom (O0OO0O00OOOOOOOO0 )#line:268
		O0OO0O00OOOOOOOO0 .erase ()#line:269
		O0OOO00O0000000O0 =CYLINDER (OO0000O0OOO0OOOO0 ,R =OO0O0OO00000OOOO0 /2.0 ,H =OO0OO0000O0000OOO ).rotateX (180 ).translate ((OOOOOOO0OOO0000OO -O00O0OOOO00O00O00 /2.0 ,0 ,-OO0000OOO0O0O00OO ))#line:270
		OOO0OO0OOOO000000 .subtractFrom (O0OOO00O0000000O0 )#line:271
		O0OOO00O0000000O0 .erase ()#line:272
		OOOOO0O00000O0OOO =-(O00O0OOOO00O00O00 /2.0 )+OOOOOOO0OOO0000OO #line:276
		OOOO000OO0O0000O0 =CYLINDER (OO0000O0OOO0OOOO0 ,R =O0O00000O0OO0OOOO ,H =O0O0OOO0OO0O0O0OO ).translate ((OOOOO0O00000O0OOO ,0 ,-OO0000OOO0O0O00OO -OO0OO0000O0000OOO ))#line:277
		OOO0OO0OOOO000000 .subtractFrom (OOOO000OO0O0000O0 )#line:278
		OOOO000OO0O0000O0 .erase ()#line:279
		O0OO0O0O00OO000O0 =AX_NUTS (OO0000O0OOO0OOOO0 ,D =OO0O00O0OOOOOO0O0 ,O =O000OO000000O000O ,T =O0OO0OOOO000OOO0O *0.35 ,F =6.0 ,FI =.0 ).rotateY (90 ).translate ((OOOOO0O00000O0OOO ,0 ,-O0OO0OOOO000OOO0O ))#line:281
		OO0O0O0O0000000O0 =CYLINDER (OO0000O0OOO0OOOO0 ,R =(O00O0OOOO00O00O00 *0.80 )/2.0 ,H =(O0O0OOO0OO0O0O0OO *0.20 )*1.2 ).rotateY (-180 ).translate ((OOOOOOO0OOO0000OO -(O00O0OOOO00O00O00 /2.0 ),0 ,-OO0000OOO0O0O00OO -OO0OO0000O0000OOO +O0O0OOO0OO0O0O0OO ))#line:282
		for O00O000OOOO0OOOOO in [O0OO0O0O00OO000O0 ,OO0O0O0O0000000O0 ]:#line:283
			OOO0OO0OOOO000000 .uniteWith (O00O000OOOO0OOOOO )#line:284
			O00O000OOOO0OOOOO .erase ()#line:285
		OO0000O0OOO0OOOO0 .setPoint ((0 ,0 ,0 ),(0 ,-1 ,0 ))#line:292
		OO0000O0OOO0OOOO0 .setPoint ((OOOOOOO0OOO0000OO -O00O0OOOO00O00O00 /2.0 ,0 ,-OO0000OOO0O0O00OO ),(0 ,0 ,-1 ))#line:293
