chiark / gitweb /
filamentspool: Prep for print
[reprap-play.git] / filamentspool.scad
index 28645b474b2d9783433d393045fb7d49278edb57..907032788ca29955e0909536fc02b8531be1226f 100644 (file)
@@ -22,6 +22,8 @@ axletowerfudgebend = 0;
 axleaxlefudgebend = 3;
 axlepadlen = 1.0;
 
+armend_length = 120;
+
 prongthick=selsz(5,5);
 prongwidth=selsz(5,5);
 prongribwidth=3;
@@ -32,8 +34,8 @@ ratchettoothheight=5;
 ratchettoothsmoothr=1;
 ratchettoothslope=0.75;
 overlap=0.5;
-cupwidth=selsz(40,60);
-cupheight=selsz(55,75);
+cupwidth=selsz(40,50);
+cupheight=selsz(55,55);
 
 cupstrong_dx=selsz(0,-10);
 
@@ -53,7 +55,8 @@ overcliproundr=2.0;
 overclipthick=1.0;
 overclipcupnextgap=20;
 
-hubaxlelen = selsz(25, cupwidth);
+hubaxlelen = selsz(25, cupwidth*.75 + 20);
+echo(hubaxlelen);
 
 overclipsmaller=-2.5;
 overclipbigger=0.0;
@@ -83,7 +86,6 @@ frictionwasherextrapush = 1.0;
 
 ratchetpawl=ratchetstep-ratchettooth-bigslop*2;
 
-nondove_armbase = 100;
 nondove_armhole_x = 32;
 nondove_armhole_hole = 4;
 nondove_armhole_support = 7;
@@ -91,6 +93,8 @@ nondove_armhole_wall = 4;
 nondove_armhole_slop = 0.5;
 nondove_armhole_slop_x = 0.5;
 
+nondove_armbase = nondove_armhole_x + nondove_armhole_hole/2 +
+  nondove_armhole_support;
 echo(nondove_armbase);
 
 include <doveclip.scad>
@@ -104,7 +108,7 @@ totalwidth = armendwallthick*2 + channelwidth;
 totalheight = channeldepth + armendbasethick;
 stalkwidth = prongwidth + prongstalkxwidth;
 
-module ArmEnd(length=120){ ////toplevel
+module ArmEnd(length=armend_length){ ////toplevel
   if (usedove()) {
     translate([ratchettoothsmoothr, channelwidth/2, -armendbasethick]) {
       rotate([0,0,-90])
@@ -445,7 +449,7 @@ module FilamentCupPair(){ ////toplevel
 }
 
 //ArmEnd();
-FilamentCup();
+//FilamentCup();
 //FilamentCupPair();
 //CupSecuringClip();
 //Hub();