Browse Source

Initial commit of knock box model

T. Meissner 3 years ago
parent
commit
6aa2bb90fa
2 changed files with 31 additions and 0 deletions
  1. 30
    0
      knock_box_inlay.scad
  2. 1
    0
      knock_box_stem.scad

+ 30
- 0
knock_box_inlay.scad View File

@@ -0,0 +1,30 @@
1
+// configuration values
2
+fs  = 5;
3
+
4
+
5
+content = "TM";
6
+font = "Droid Sans Mono Bold";
7
+
8
+difference () {
9
+  union () {
10
+    difference () {
11
+      union () {
12
+        cube([92,112,109]);
13
+        hull () {
14
+          translate([0, 0, 100]) cube([92,112,1]);
15
+          translate([-0.5,-0.5,107]) cube([93,113,2]);
16
+        }
17
+      }
18
+      translate([3, 3, 3]) cube([86,106,109]);
19
+    }
20
+  }
21
+  translate([-0.6, 56, 90]) rotate([90,0,90]) cylinder(r1=12.7, r2=12.7, h=3.7, $fn=70);
22
+  translate([89, 56, 90]) rotate([90,0,90]) cylinder(r1=12.7, r2=12.7, h=3.7, $fn=70);
23
+  translate([46, -0.6, 112]) rotate([0,90,90]) cylinder(r1=25, r2=25, h=3.7, $fn=70);
24
+}
25
+
26
+  translate ([41, 0, 80]) rotate([90,0,0]) {
27
+    linear_extrude(height=1.0) {
28
+      text(content, font=font, size=fs);
29
+    }
30
+  }

+ 1
- 0
knock_box_stem.scad View File

@@ -0,0 +1 @@
1
+cylinder(r1=12.5, r2=12.5, h=92.5, $fn=70);