chiark / gitweb /
dovecliptest wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Sep 2012 16:43:08 +0000 (17:43 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Sep 2012 16:43:08 +0000 (17:43 +0100)
dovecliptest.scad

index 221e867..da30101 100644 (file)
@@ -25,4 +25,28 @@ module DoveClipPin() {
   }
 }
 
-DoveClipPin();
+module DoveClipEnd(baseextend=1, height=7) {
+  basethick = toothheight;
+  jawthick = toothheight;
+  cubex = nomrad*2 + jawthick*2;
+  cube0y = -basethick-nomrad*2-toothheight;
+  centrey = -basethick-nomrad;
+  difference(){
+    translate([-cubex/2, cube0y, 0])
+      cube([cubex, -cube0y+baseextend, height]);
+    translate([0, centrey, -1])
+      cylinder($fn=20, r=nomrad, h=height+2);
+    translate([-toothgap/2, cube0y-1, -1])
+      cube([toothgap, toothheight+nomrad+1, height+2]);
+  }
+}
+
+for (x=[0,8])
+  translate([x,0,0]) DoveClipEnd();
+translate([-4,0,0])
+  cube([16,5,7]);
+
+//DoveClipPin();
+
+//translate([-10,
+//cube([