chiark / gitweb /
filamentspool overclip move sizes (no functional change)
[reprap-play.git] / filamentspool.scad
index 46fee725d8b9b4bc77de9d33c8fd3c316cd8ccbb..7f7c25540b9ed014ba79dfa8012723afaae8a99a 100644 (file)
@@ -32,13 +32,13 @@ overclipdepth=15;
 overcliproundr=2.0;
 overclipthick=0.5;
 
+overclipsmaller=-1.0;
+overclipbigger=2.0;
+
 wingspoke=3;
 wingsize=6;
 wingthick=3;
 
-overclipsmaller=-1.0;
-overclipbigger=2.0;
-
 armendwallthick=2.5;
 armendbasethick=1.2;
 
@@ -64,9 +64,11 @@ module ArmEnd(length=120){
     translate([0, -armendwallthick, -armendbasethick])
       cube([length, totalwidth, totalheight]);
     translate([-1, 0, 0])
+      cube([length+1 - ratchettooth, channelwidth, channeldepth+1]);
+    translate([-1, 0, ratchettoothheight])
       cube([length+2, channelwidth, channeldepth+1]);
   }
-  for (dx = [0 : ratchetstep : length - stalklength]) translate([dx,0,0]) {
+  for (dx = [0 : ratchetstep : length - ratchetstep]) translate([dx,0,0]) {
     translate([ratchettoothsmoothr+0.5, armendwallthick/2, 0]) minkowski(){
       rotate([90,0,0])
        cylinder($fn=20, r=ratchettoothsmoothr, h=armendwallthick);
@@ -75,7 +77,7 @@ module ArmEnd(length=120){
                        [       0,      0,      1,      0       ],
                        [       0,      0,      0,      1       ]])
        cube([ratchettooth - ratchettoothsmoothr*2,
-             channelwidth, ratchettoothheight]);
+             channelwidth, ratchettoothheight - ratchettoothsmoothr]);
     }
   }
 }
@@ -136,8 +138,8 @@ module FilamentCup() {
          dy - sqrt(midrad*midrad - proptaken*proptaken) - prongwidth/2,
          prongthick]);
   }
-  translate([stalklength + overclipdepth, gapy, 0])
-    rotate([0,0,-(10 + fdia)])
+  translate([0, overclipcupgap, 0])
+    rotate([0,0, 102 + fdia])
     FilamentTeeth(fdia=fdia, h=teethh);
 }