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 221e8672bd19f6c99c2c5e4433edd6bfda4a2561..da30101fd1e381bc1a252dcbf72c01230660cc8c 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([