-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfilter_stress_release.scad
112 lines (100 loc) · 3.71 KB
/
filter_stress_release.scad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
$fn=60;
//stress_support();
//stress_support(side=1);
//inner();
hose_support();
module hose_support(side=2){
difference(){
union(){
translate([0,0,0]) cylinder(d=20, h=10);
translate([0,0,10]) cylinder(d1=20, d2=10, h=20);
for(Y=[-1,1])
translate([0,10*Y,5]) rotate([0,90,0])
cylinder(d=8, h=10, center=true);
}
translate([0,0,7.5]) fhex(wid=13.2,height=15);
translate([0,0,0]) cylinder(d=6.5, h=50);
for(Y=[-1,1]){
translate([0,10*Y,5]) rotate([0,90,0])
cylinder(d=3.4, h=20, center=true);
for(X=[-1,1])
translate([10*X,10*Y,5]) rotate([0,90,0])
cylinder(d=8, h=10, center=true);
translate([3.5,10*Y,5]) rotate([0,90,0])
fhex(wid=m3_hex_nut+0.2,height=m3_nut_height+1);
}
if( side == 1 ){
translate([0,-15,-50]) cube([20,30,100]);
}
else if( side == 2 ){
translate([-20,-15,-50]) cube([20,30,100]);
}
}
}
module inner(){
translate([0,0,5]) cylinder(d=10.85, h=20);
fhex(wid=13,height=10.6);
translate([0,0,-25]) cylinder(d=6.5, h=20);
}
module stress_support(side=2){
difference(){
union(){
translate([0,0,-25]) cylinder(d1=10, d2=25, h=20);
translate([0,0,-5]) cylinder(d=25, h=30);
translate([0,0,25]) cylinder(d1=25, d2=15, h=10);
for(Y=[-1,1]) translate([0,10*Y,0]) rotate([0,90,0])
cylinder(d=7, h=15, center=true);
for(Y=[-1,1], Z=[10,20]) translate([0,9*Y,Z])
rotate([0,90,0])
cylinder(d=7, h=15, center=true);
for(Y=[-1,1]) translate([0,6*Y,-10]){
translate([5,0,0]) rotate([0,90,0])
cylinder(d=8, h=8, center=true);
rotate([0,90,0])
cylinder(d=7, h=15, center=true);
}
}
translate([0,0,-5]) cylinder(d=10.95, h=50);
fhex(wid=13.2,height=10.6);
translate([0,0,-60]) cylinder(d=6.5, h=75);
if( side == 1 ){
translate([0,-15,-50]) cube([20,30,100]);
}
else if( side == 2 ){
translate([-20,-15,-50]) cube([20,30,100]);
}
for(Y=[-1,1]) translate([0,10*Y,0]){
rotate([0,90,0]) cylinder(d=3.4, h=100, center=true);
translate([8,0,0]) rotate([0,90,0])
fhex(wid=m3_hex_nut+0.2,height=m3_nut_height*3);
}
for(Y=[-1,1], Z=[10,20]) translate([0,9*Y,Z]){
rotate([0,90,0]) cylinder(d=3.4, h=100, center=true);
translate([8,0,0]) rotate([0,90,0])
fhex(wid=m3_hex_nut+0.2,height=m3_nut_height*3);
}
for(Y=[-1,1]) translate([0,6*Y,-10]){
rotate([0,90,0]) cylinder(d=3.4, h=100, center=true);
translate([-10,0,0]) rotate([0,90,0])
cylinder(d=7, h=5, center=true);
translate([10,0,0]) rotate([0,90,0])
fhex(wid=m3_hex_nut+0.2,height=m3_nut_height*3);
translate([11.5,0,0]) rotate([0,90,0])
cylinder(d=8, h=5, center=true);
}
for(Y=[-1,1], X=[-1,1]) translate([10*X,10*Y,0]) rotate([0,90,0])
cylinder(d=7, h=5, center=true);
for(Y=[-1,1], X=[-1,1], Z=[10,20]) translate([10*X,9*Y,Z])
rotate([0,90,0])
cylinder(d=7, h=5, center=true);
}
}
m3_hex_nut=5.6;
m3_nut_height=2.25;
module fhex(wid,height){
hull(){
cube([wid/1.7,wid,height],center=true);
rotate([0,0,120]) cube([wid/1.7,wid,height], center=true);
rotate([0,0,240]) cube([wid/1.7,wid,height], center=true);
}
}