-
Notifications
You must be signed in to change notification settings - Fork 1
/
dishwasher-bushing.scad
64 lines (56 loc) · 1.54 KB
/
dishwasher-bushing.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
//
// Dishwasher roller and bushing for dishtray rack
// 70's era General something something Electric
//
washer_bushing_OD = 8.0;
washer_bushing_ID = 5.20;
wheel_radius_outer = 22.2;
wheel_radius_inner = 6;
// translate([0,0,2.4/2])sphere(washer_bushing_OD/2.0,$fn=60);
module half_cylinder(high=1,rad=1,$fn=60,center=true){
difference(){
rotate([90,0,0])cylinder(h=high,r=rad,center=true);
translate([0,0,-rad*5]) cube(rad*10,center=true);
}
}
module half_sphere(radius=1,$fn=60){
difference(){
sphere(radius,center=true);
translate([0,0,-radius*5]) cube(radius*10,center=true);
}
}
module ring(){
difference(){
cylinder(h=19, r= wheel_radius_outer,$fn=68,center=true);
cylinder(h=25, r= wheel_radius_inner,$fn=68,center=true);
}
}
module shaping(){
union(){
translate([0,0,-6])cylinder(h=10,r1=wheel_radius_outer, r2=wheel_radius_inner, $fn=68,
center=true);
translate([0,0,10])cylinder(h=10, r= wheel_radius_outer*0.9, $fn=68, center=true);
}
}
// Bushing Part
difference(){
difference(){
union(){
cylinder(h=18,r=washer_bushing_OD/2.0,$fn=68,center=true);
translate([0,0,-9])cylinder(h=2, r1=washer_bushing_OD/2.0+1,r2=washer_bushing_OD/2.0,$fn=68,center=true);
}
cylinder(h=25,r=washer_bushing_ID/2.0,$fn=68,center=true);
}
translate([5,0,7.5])rotate([0,90,0])cylinder(h=10,r=2.80,$fn=68,center=true);
}
// Wheel Part
//difference(){
//ring();
//shaping();
//}
// attempt at minkowski sum didn't go so well. recompile?
//$fn=10;
//minkowski(){
// sphere(r=10);
// ring();
//}