chiark / gitweb /
doveclip fix pin dimensions
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Sep 2012 22:42:31 +0000 (23:42 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Sep 2012 22:42:31 +0000 (23:42 +0100)
doveclip.scad
filamentspool.scad

index 2522f53a51bbcbf1ac25d7220f36d43c17a38d0e..52f123073caa84e7bcc324acbf9e969239174048 100644 (file)
@@ -15,18 +15,19 @@ basepinclear = 1.0;
 toothgap = webthick + webgap*2;
 basethick = toothheight;
 
-module DoveClipPin(height=height) {
-  translate([0,0, height/2]) intersection(){
+module DoveClipPin(h=pindepth) {
+  pinheight = nomrad*2 + jawthick*2;
+  translate([0,0, pinheight/2]) intersection(){
     union(){
       for (m=[0,1]) {
-       mirror([0,0,m]) translate([0,0,height/2]) rotate([90,0,0])
-         cylinder($fn=20, r1=minrad, r2=maxrad, h=pindepth);
+       mirror([0,0,m]) translate([0,0,pinheight/2]) rotate([90,0,0])
+         cylinder($fn=20, r1=minrad, r2=maxrad, h=h);
       }
-      translate([-webthick/2, -pindepth, -height/2-1])
-       cube([webthick, pindepth, height+2]);
+      translate([-webthick/2, -h, -pinheight/2-1])
+       cube([webthick, h, pinheight+2]);
     }
-    translate([-maxrad-1, -pindepth-1, -height/2])
-      cube([maxrad*2+2, pindepth+2, height]);
+    translate([-maxrad-1, -h-1, -pinheight/2])
+      cube([maxrad*2+2, h+2, pinheight]);
   }
 }
 
index 43870e61a6463260a6099302f55010b1b451d012..c2353fdbb7b79a8e8cfb89f12cb7a0e6b92b7dc4 100644 (file)
@@ -166,6 +166,10 @@ module CupSecuringClip(){
   }
 }
 
+module ArmDoveClipPin(){
+  DoveClipPin(h=doveclipheight);
+}
+
 //ArmEnd();
 //FilamentCup();
 //CupSecuringClip();