-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbezel.scad
More file actions
45 lines (43 loc) · 1.07 KB
/
Copy pathbezel.scad
File metadata and controls
45 lines (43 loc) · 1.07 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
module polyhole(h, d) {
n = max(round(2 * d),3);
rotate([0,0,180])
cylinder(h = h, r = (d / 2) / cos (180 / n), $fn = n);
}
/* bezel */
difference() {
union() {
/* outer */
translate([-19.5,-7.4,29.1]) color("burlywood") {
cube([61,27.5,10]);
}
/* flange */
minkowski() {
translate([-20.8,-8.7,35.6]) color("burlywood") {
cube([63.6,30.1,3.5]);
}
$fn=50;
cylinder(r=5, h=0.01);
}
/* descenders */
difference() {
union() {
translate([5,-11.4,15]) {
cube([12,4,21]);
}
translate([5,20.1,15]) {
cube([12,4,21]);
}
}
translate([10.95,32,20.8]) {
/* rod hole */
rotate(a=[90,90,0]) {
polyhole(h = 62, d = 3.1);
}
}
}
}
/* inner */
translate([-16.5,-4.36,27.0]) {
cube([55,21.5,29.6]);
}
}