chiark / gitweb /
filamentspool Axle fudge angles
[reprap-play.git] / filamentspool.scad
index 89f3cfb3a0ac97e069efddde6a57a01fd7fb87d7..9a325abf60ce0ba1489dfe7f10d12aba6d38b3f3 100644 (file)
@@ -13,6 +13,9 @@ hubstemwidth = 2;
 hublthick = 10;
 hubaxlelen = 25;
 hubaxlerad = 5;
+totalheightfromtower = 240;
+axletowerfudgebend = 0;
+axleaxlefudgebend = 3;
 
 prongthick=5;
 prongwidth=5;
@@ -258,7 +261,9 @@ module Axle(){ ////toplevel
   pillarswidth = DoveClipPairSane_width(towerclipcount);
 
 if(0)
+  rotate([0,0, -( axleaxlefudgebend + atan(slop/hubaxlelen) ) ])
   translate([-axlehorizoffset, -axlevertheight, 0]) {
+    rotate([0,0,-axletowerfudgebend])
     rotate([0,0,-90])
       DoveClipPairSane(h=towercliph, count=towerclipcount, baseextend=3);
     translate([0, DoveClip_depth(), 0])
@@ -308,6 +313,15 @@ module AxleWasher(){ ////toplevel
   }
 }
 
+module TowerExtender(){ ////toplevel
+  l = totalheightfromtower - axlevertheight;
+  echo("TowerExtender",l);
+  DoveClipExtender(length = l,
+                  ha = towercliph, hb = towercliph,
+                  counta = towerclipcount, countb = towerclipcount,
+                  pillarw = towerpillarw);
+}
+
 //ArmEnd();
 //FilamentCup();
 //CupSecuringClip();