-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathd-pad-sidewalls_wider_post.scad
62 lines (59 loc) · 1.54 KB
/
d-pad-sidewalls_wider_post.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
union() {
translate([0,0,0]) {
cube(size=[6,6,1.2], center=true);
}
translate([6,0,0]) {
cube(size=[6,6,1.2], center=true);
translate([-0.3, 0, 0.98]) {
cylinder($fn=32, h=0.8,r=0.9, center=true);
}
}
translate([-6,0,0]) {
cube(size=[6,6,1.2], center=true);
translate([0.3, 0, 0.98]) {
cylinder($fn=32, h=0.8,r=0.9, center=true);
}
}
translate([0,6,0]) {
cube(size=[6,6,1.2], center=true);
translate([0, -0.3, 0.98]) {
cylinder($fn=32, h=0.8,r=0.9, center=true);
}
translate([0, 2, 0.0]) {
cylinder($fn=32, h=1,r=1.6, center=true);
}
}
translate([0,-6,0]) {
cube(size=[6,6,1.2], center=true);
translate([0, 0.3, 0.98]) {
cylinder($fn=32, h=0.8,r=0.9, center=true);
}
}
/* pin */
translate([0,0,2.5]) {
cylinder($fn=32, h=4,r=1.55, center=true);
}
/* shoulder */
translate([0,0,1.2]) {
cylinder($fn=32, h=1.3,r=2.5, center=true);
}
/* sidewalls */
translate([2.5,3,0]) {
cube(size=[0.5, 6, 1.5]);
}
translate([-3,2.5,0]) {
rotate([0,0,90]) {
cube(size=[0.5, 6, 1.5]);
}
}
translate([-2.5,-3,0]) {
rotate([0,0,180]) {
cube(size=[0.5, 6, 1.5]);
}
}
translate([3,-2.5,0]) {
rotate([0,0,270]) {
cube(size=[0.5, 6, 1.5]);
}
}
}