-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbottom.scad
More file actions
137 lines (120 loc) · 3.91 KB
/
bottom.scad
File metadata and controls
137 lines (120 loc) · 3.91 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
$fn=64;
// Bottom
difference() {
minkowski() {
hull() {
translate([0, 0, 30])
cube([160, 110, 60], center=true);
translate([0, 0, 40])
cube([169.5, 119.5, 15], center=true);
}
cylinder(d=2, h=0.1, center=true);
}
// Slice off the top, but leave the cable retention nub
difference() {
translate([0, 0, 62.25])
cube([200, 150, 60], center=true);
hull() {
translate([-25, -50, 35])
rotate([90,0,0])
cylinder(d=4.9, h=50, center=true);
translate([-25, -50, 30])
rotate([90,0,0])
cylinder(d=5, h=50, center=true);
}
}
// Cable
translate([-25, -50, 35])
rotate([90,0,0])
cylinder(d=5, h=50, center=true);
// Optional through-pegs for the Joystick screws.
/*
translate([66/2+25, 77/2, 0])
cylinder(d=11, h=6, center=true);
translate([-66/2+25, 77/2, 0])
cylinder(d=11, h=6, center=true);
translate([66/2+25, -77/2, 0])
cylinder(d=11, h=6, center=true);
translate([-66/2+25, -77/2, 0])
cylinder(d=11, h=6, center=true);
translate([66/2+25, 77/2, 30])
cylinder(d=5.25, h=65, center=true);
translate([-66/2+25, 77/2, 30])
cylinder(d=5.25, h=65, center=true);
translate([66/2+25, -77/2, 30])
cylinder(d=5.25, h=65, center=true);
translate([-66/2+25, -77/2, 30])
cylinder(d=5.25, h=65, center=true);
*/
// Case mounting holes
translate([-75, -87.5/2, 30])
cylinder(d=5.25, h=15, center=true);
translate([-75, 87.5/2, 30])
cylinder(d=5.25, h=15, center=true);
translate([75, -87.5/2, 30])
cylinder(d=5.25, h=15, center=true);
translate([75, 87.5/2, 30])
cylinder(d=5.25, h=15, center=true);
// Tapered channels for case screws
hull() {
translate([70, 82.5/2, 0])
cylinder(d=11, h=5, center=true);
translate([75, 87.5/2, 25])
cylinder(d=11, h=5, center=true);
}
hull() {
translate([-70, 82.5/2, 0])
cylinder(d=11, h=5, center=true);
translate([-75, 87.5/2, 25])
cylinder(d=11, h=5, center=true);
}
hull() {
translate([70, -82.5/2, 0])
cylinder(d=11, h=5, center=true);
translate([75, -87.5/2, 25])
cylinder(d=11, h=5, center=true);
}
hull() {
translate([-70, -82.5/2, 0])
cylinder(d=11, h=5, center=true);
translate([-75, -87.5/2, 25])
cylinder(d=11, h=5, center=true);
}
// Hollowed out void of the Joystick's heart
difference() {
translate([0, 0, 32.5])
cube([155, 95, 60], center=true);
translate([66/2+25, 77/2, 0])
cylinder(d=15, h=10, center=true);
translate([-66/2+25, 77/2, 0])
cylinder(d=15, h=10, center=true);
translate([66/2+25, -77/2, 0])
cylinder(d=15, h=10, center=true);
translate([-66/2+25, -77/2, 0])
cylinder(d=15, h=10, center=true);
hull() {
translate([70, 82.5/2, 0])
cylinder(d=18, h=5, center=true);
translate([75, 87.5/2, 30])
cylinder(d=18, h=5, center=true);
}
hull() {
translate([-70, 82.5/2, 0])
cylinder(d=18, h=5, center=true);
translate([-75, 87.5/2, 30])
cylinder(d=18, h=5, center=true);
}
hull() {
translate([70, -82.5/2, 0])
cylinder(d=18, h=5, center=true);
translate([75, -87.5/2, 30])
cylinder(d=18, h=5, center=true);
}
hull() {
translate([-70, -82.5/2, 0])
cylinder(d=18, h=5, center=true);
translate([-75, -87.5/2, 30])
cylinder(d=18, h=5, center=true);
}
}
}