|
@@ -0,0 +1,47 @@
|
|
1
|
+/*
|
|
2
|
+ * Created by:
|
|
3
|
+ * Thomas Buck <xythobuz@xythobuz.de> in May 2016
|
|
4
|
+ *
|
|
5
|
+ * Licensed under the
|
|
6
|
+ * Creative Commons - Attribution - Share Alike license.
|
|
7
|
+ */
|
|
8
|
+
|
|
9
|
+// -----------------------------------------------------------
|
|
10
|
+
|
|
11
|
+width = 36;
|
|
12
|
+height = 36;
|
|
13
|
+depth = 1;
|
|
14
|
+
|
|
15
|
+hole_bottom = 2.8;
|
|
16
|
+hole_top = 3.8;
|
|
17
|
+hole_dist = 3.7;
|
|
18
|
+
|
|
19
|
+cut_height = 4.4;
|
|
20
|
+cut_width = 8;
|
|
21
|
+cut_dist_x = 20.4;
|
|
22
|
+cut_dist_y = 2;
|
|
23
|
+
|
|
24
|
+font = "Liberation Sans:style=Bold";
|
|
25
|
+text_depth = 0.4;
|
|
26
|
+string = "FPV";
|
|
27
|
+
|
|
28
|
+$fn = 20;
|
|
29
|
+
|
|
30
|
+// -----------------------------------------------------------
|
|
31
|
+
|
|
32
|
+difference() {
|
|
33
|
+ cube([width, height, depth]);
|
|
34
|
+
|
|
35
|
+ translate([width - hole_dist, hole_dist, 0])
|
|
36
|
+ cylinder(d1 = hole_bottom, d2 = hole_top, h = depth);
|
|
37
|
+
|
|
38
|
+ translate([hole_dist, height - hole_dist, 0])
|
|
39
|
+ cylinder(d1 = hole_bottom, d2 = hole_top, h = depth);
|
|
40
|
+
|
|
41
|
+ translate([cut_dist_x, cut_dist_y, 0])
|
|
42
|
+ cube([cut_width, cut_height, depth]);
|
|
43
|
+
|
|
44
|
+ translate([width / 2, height / 2, depth - text_depth])
|
|
45
|
+ linear_extrude(height = text_depth)
|
|
46
|
+ text(string, font = font, size = 10, halign = "center", valign = "center");
|
|
47
|
+}
|