|
@@ -15,7 +15,7 @@ height = 10;
|
15
|
15
|
display_angle = 60; // in degrees
|
16
|
16
|
|
17
|
17
|
// "right", "left", "both" or "none"
|
18
|
|
-hole_position = "right";
|
|
18
|
+hole_position = "both";
|
19
|
19
|
hole_diameter = 2.9;
|
20
|
20
|
|
21
|
21
|
// -----------------------------------------------------------
|
|
@@ -61,12 +61,12 @@ difference() {
|
61
|
61
|
// insert holes
|
62
|
62
|
if ((hole_position == "right") || (hole_position == "both")) {
|
63
|
63
|
rotate([0, 90, 90 + display_angle])
|
64
|
|
- translate([-8, -0.5 + (4 * sin(display_angle - 45)), -4])
|
|
64
|
+ translate([-8, 2.5 + (4 * sin(display_angle - 45)), -4])
|
65
|
65
|
cylinder(d=hole_diameter, h=10);
|
66
|
66
|
}
|
67
|
67
|
if ((hole_position == "left") || (hole_position == "both")) {
|
68
|
68
|
rotate([0, 90, 90 + display_angle])
|
69
|
|
- translate([-2, -0.5 + (4 * sin(display_angle - 45)), -4])
|
|
69
|
+ translate([-2, 2.5 + (4 * sin(display_angle - 45)), -4])
|
70
|
70
|
cylinder(d=hole_diameter, h=10);
|
71
|
71
|
}
|
72
|
72
|
}
|