3880 |
vinchi9 |
1 |
r = 35; |
|
|
2 |
h = 20.32; |
|
|
3 |
thickness = 2; |
|
|
4 |
|
|
|
5 |
shield_bottom(); |
|
|
6 |
//color("blue"){rotate([0,0,45]){translate([0,-(sqrt(2*pow(r/1.6,2))+thickness)/4,thickness+30]){cube([10,2,60],center=true);}}} |
|
|
7 |
|
|
|
8 |
|
|
|
9 |
module shield_bottom(){ |
|
|
10 |
difference(){ |
|
|
11 |
difference(){ |
|
|
12 |
translate([0,0,0.01]){scale(0.999){cylinder(h=1.3*h,r=r/1.5,$fn=100);}} |
|
|
13 |
cylinder(h=1.3*h,r=r/1.5-thickness,$fn=100); |
|
|
14 |
} |
|
|
15 |
union(){ |
|
|
16 |
translate([0,0,1.3*h-h/8]){cube([2*r/1.5,thickness,0.3*h],center=true); |
|
|
17 |
cube([thickness,2*r/1.5,0.3*h],center=true);} |
|
|
18 |
translate([(sqrt(2*pow(r/1.6,2))-thickness*3)/2,0,19]){rotate([90,0,-45]){cylinder(h=r*2,r=1,$fn=100,center=true);}} |
|
|
19 |
} |
|
|
20 |
} |
|
|
21 |
|
|
|
22 |
rotate([0,0,45]){ |
|
|
23 |
translate([0,0,h/6]){ |
|
|
24 |
translate([(sqrt(2*pow(r/1.6,2))-thickness*3)/2,-(sqrt(2*pow(r/1.6,2))+thickness)/4,2.9*h/6]){ |
|
|
25 |
cube([thickness,thickness*3.95,h*1.3],center=true);} |
|
|
26 |
translate([-(sqrt(2*pow(r/1.6,2))-thickness*3)/2,-(sqrt(2*pow(r/1.6,2))+thickness)/4,2.9*h/6]){ |
|
|
27 |
cube([thickness,thickness*3.95,h*1.3],center=true);} |
|
|
28 |
|
|
|
29 |
translate([-(sqrt(2*pow(r/1.6,2))-thickness*3)/2-thickness,-(sqrt(2*pow(r/1.6,2))+thickness)/4,h-(1.5*thickness/6)+0.05]){ |
|
|
30 |
rotate([0,0,90]){ |
|
|
31 |
difference(){ |
|
|
32 |
cube([thickness*3.95,thickness,thickness],center=true); |
|
|
33 |
translate([-thickness*2,thickness/2,-thickness/2]){rotate([45,0,0]){cube(thickness*4);}} |
|
|
34 |
} |
|
|
35 |
} |
|
|
36 |
} |
|
|
37 |
translate([(sqrt(2*pow(r/1.6,2))-thickness*3)/2+thickness,-(sqrt(2*pow(r/1.6,2))+thickness)/4,h-(1.5*thickness/6)+0.05]){ |
|
|
38 |
rotate([0,0,-90]){ |
|
|
39 |
difference(){ |
|
|
40 |
cube([thickness*3.95,thickness,thickness],center=true); |
|
|
41 |
translate([-thickness*2,thickness/2,-thickness/2]){rotate([45,0,0]){cube(thickness*4);}} |
|
|
42 |
} |
|
|
43 |
} |
|
|
44 |
} |
|
|
45 |
} |
|
|
46 |
difference(){ |
|
|
47 |
translate([0,-(sqrt(2*pow(r/1.6,2))+thickness)/4,thickness+5]){cube([10+2*thickness,2+2*thickness,10],center=true);} |
|
|
48 |
translate([0,-(sqrt(2*pow(r/1.6,2))+thickness)/4,thickness+30]){cube([10,2,60],center=true);} |
|
|
49 |
} |
|
|
50 |
} |
|
|
51 |
difference(){ |
|
|
52 |
cylinder(h=thickness,r=r/1.5-thickness,$fn=100); |
|
|
53 |
translate([-5,5,0]){cylinder(h=thickness*3,r=6,$fn=100,center=true);} |
|
|
54 |
} |
|
|
55 |
difference(){ |
|
|
56 |
difference(){ |
|
|
57 |
rotate([0,0,-45]){translate([-50-r/1.5,0,7.5]){cube([120,15,15],center=true);}} |
|
|
58 |
cylinder(h=3*h,r=r/1.5-thickness,$fn=100,center=true); |
|
|
59 |
} |
|
|
60 |
rotate([0,0,-45]){translate([-140,0,0]){cylinder(h=3*20,r=10,center=true,$fn=100);}} |
|
|
61 |
} |
|
|
62 |
difference(){ |
|
|
63 |
rotate([0,0,-45]){translate([-140,0,0]){ |
|
|
64 |
difference(){ |
|
|
65 |
union(){ |
|
|
66 |
difference(){ |
|
|
67 |
cylinder(h=20,r=14,$fn=100); |
|
|
68 |
cylinder(h=3*20,r=10,center=true,$fn=100); |
|
|
69 |
} |
|
|
70 |
difference(){ |
|
|
71 |
translate([2+1,0,10]){cube([4,50,20],center=true);} |
|
|
72 |
cylinder(h=3*20,r=10,center=true,$fn=100); |
|
|
73 |
} |
|
|
74 |
} |
|
|
75 |
translate([-15+1,0,10]){cube(30,center=true);} |
|
|
76 |
} |
|
|
77 |
} |
|
|
78 |
} |
|
|
79 |
union(){ |
|
|
80 |
rotate([0,0,-45]){translate([-140,19.5,10]){rotate([0,90,0]){cylinder(h=10,r=3,$fn=100);}}} |
|
|
81 |
rotate([0,0,-45]){translate([-140,-19.5,10]){rotate([0,90,0]){cylinder(h=10,r=3,$fn=100);}}} |
|
|
82 |
} |
|
|
83 |
} |
|
|
84 |
} |