chiark / gitweb /
filamentspool wip axle
[reprap-play.git] / filamentspool.scad
index 6b35646bffd39cd676aba4c5199dec68e0f73b7e..937310b39511daf31b1f22fc722d27463eb3e055 100644 (file)
@@ -5,7 +5,8 @@ fdia=1.75;
 slop=0.5;
 bigslop=slop*2;
 
-hubeffrad = 30; // + 55;
+exteffrad = 85;
+hubeffrad = 30;
 hubbigrad = 20;
 hublwidth = 3;
 hubstemwidth = 2;
@@ -50,6 +51,12 @@ wingthick=3;
 armendwallthick=2.5;
 armendbasethick=1.2;
 
+axlehorizoffset = 12.5;
+axlevertheight = 80;
+towercliph = 16;
+towerclipcount = 3;
+towerpillarw = 5;
+
 ratchetpawl=ratchetstep-ratchettooth-bigslop*2;
 
 include <doveclip.scad>
@@ -222,7 +229,29 @@ module Hub(){ ////toplevel
     }
 }
 
+module ArmExtender(){ ////toplevel
+  DoveClipExtender(length=exteffrad-hubeffrad,
+                  ha=doveclipheight,
+                  hb=doveclipheight);
+}
+
+module Axle(){ ////toplevel
+  pillarswidth = DoveClipPairSane_width(towerclipcount);
+
+  translate([-axlehorizoffset, -axlevertheight, 0]) {
+    rotate([0,0,-90])
+      DoveClipPairSane(h=towercliph, count=towerclipcount, baseextend=3);
+    translate([0, DoveClip_depth(), 0])
+    rotate([0,0,90])
+      ExtenderPillars(axlevertheight - DoveClip_depth(),
+                     pillarswidth, towercliph,
+                     pillarw=towerpillarw);
+  }
+}
+
 //ArmEnd();
 //FilamentCup();
 //CupSecuringClip();
 //Hub();
+//ArmExtender();
+Axle();