chiark / gitweb /
splitpin no test; wip filamentspool axle with split pin cavity
[reprap-play.git] / filamentspool.scad
index e7230b1544c882cabfd8b8404984b2326a7b123e..4babfbbef199b953c7e8d7f90aa296fedd873b38 100644 (file)
@@ -51,11 +51,20 @@ wingthick=3;
 armendwallthick=2.5;
 armendbasethick=1.2;
 
+axlehorizoffset = 12.5;
+axlevertheight = 80;
+towercliph = 16;
+towerclipcount = 3;
+towerpillarw = 5;
+
+washerthick = 1.2;
+
 ratchetpawl=ratchetstep-ratchettooth-bigslop*2;
 
 include <doveclip.scad>
 include <cliphook.scad>
 include <filamentteeth.scad>
+include <splitpin.scad>
 
 channelwidth = prongthick + slop;
 channeldepth = prongwidth + ratchettoothheight;
@@ -225,12 +234,44 @@ module Hub(){ ////toplevel
 
 module ArmExtender(){ ////toplevel
   DoveClipExtender(length=exteffrad-hubeffrad,
-                  pillarw=2,
                   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);
+  }
+
+  axleclearlen = hubaxlelen + slop*2 + washerthick;
+  axlerad = hubaxlerad+slop;
+  bump = axlerad * 0.2;
+
+  intersection(){
+    difference() {
+      translate([-1, 0, axlerad-bump])
+       rotate([0,90,0])
+       cylinder(r = axlerad, h = 1 + axleclearlen + 6);
+      translate([axleclearlen, 0, 0])
+       mirror([0,0,1])
+       rotate([0,0,90])
+       SplitPinCavity();
+    }
+    translate([-50,-50,0]) cube([100,100,100]);
+  }
+}
+
 //ArmEnd();
 //FilamentCup();
 //CupSecuringClip();
 //Hub();
+//ArmExtender();
+Axle();