chiark / gitweb /
filamentspool: Prep for work on hub
[reprap-play.git] / filamentspool.scad
index eb6e65cb61eddb31e65dc8033d2886933ce8fd4a..459a8b14b4cbaee35541d3de6d5b2095f810954a 100644 (file)
@@ -19,6 +19,7 @@ axleaxlefudgebend = 3;
 axlepadlen = 1.0;
 
 function selsz(sm,lg) = fdia < 2 ? sm : lg;
+function usedove() = selsz(true,false);
 
 prongthick=selsz(5,7);
 prongwidth=selsz(5,7);
@@ -44,7 +45,7 @@ stalklength=selsz(35,55);
 overclipcupgap=5;
 overclipdepth=15;
 overcliproundr=2.0;
-overclipthick=0.5;
+overclipthick=1.0;
 overclipcupnextgap=20;
 
 overclipsmaller=-2.5;
@@ -75,6 +76,10 @@ frictionwasherextrapush = 1.0;
 
 ratchetpawl=ratchetstep-ratchettooth-bigslop*2;
 
+nondove_armbase = 100;
+nondove_armhole_x = 60;
+nondove_armhole_hole = 4;
+
 include <doveclip.scad>
 include <cliphook.scad>
 include <filamentteeth.scad>
@@ -87,9 +92,21 @@ totalheight = channeldepth + armendbasethick;
 stalkwidth = prongwidth + prongstalkxwidth;
 
 module ArmEnd(length=120){ ////toplevel
-  translate([ratchettoothsmoothr, channelwidth/2, -armendbasethick]) {
-    rotate([0,0,-90])
-      DoveClipPairBase(h=doveclipheight);
+  if (usedove()) {
+    translate([ratchettoothsmoothr, channelwidth/2, -armendbasethick]) {
+      rotate([0,0,-90])
+       DoveClipPairBase(h=doveclipheight);
+    }
+  } else {
+    difference(){
+      translate([1, -armendwallthick, -armendbasethick])
+       mirror([1,0,0])
+       cube([nondove_armbase+1, totalwidth, totalheight]);
+      translate([-nondove_armbase + nondove_armhole_x,
+                -armendwallthick + totalwidth/2,
+                -armendbasethick -1])
+       cylinder(r= nondove_armhole_hole/2, h=totalheight+2, $fn=10);
+    }
   }
 
   difference(){
@@ -373,8 +390,8 @@ module FilamentCupPair(){ ////toplevel
 //ArmEnd();
 //FilamentCup();
 //FilamentCupPair();
-CupSecuringClip();
-//Hub();
+//CupSecuringClip();
+Hub();
 //ArmExtender();
 //Axle();
 //AxleWasher();