chiark / gitweb /
filamentspool: 3mm: thicker prongs on cup
[reprap-play.git] / filamentspool.scad
index c0bb1e2deb3d625425f128e8800ee09daaf6cdc0..b84856a032affe6d4a8f3e90a87a9788bda9e1fb 100644 (file)
@@ -1,6 +1,6 @@
 // -*- C -*-
 
-fdia=1.75;
+fdia=2.85;
 
 slop=0.5;
 bigslop=slop*2;
@@ -18,16 +18,18 @@ axletowerfudgebend = 0;
 axleaxlefudgebend = 3;
 axlepadlen = 1.0;
 
-prongthick=5;
-prongwidth=5;
+function selsz(sm,lg) = fdia < 2 ? sm : lg;
+
+prongthick=selsz(5,7);
+prongwidth=selsz(5,7);
 ratchetstep=15;
 ratchettooth=3;
 ratchettoothheight=5;
 ratchettoothsmoothr=1;
 ratchettoothslope=0.75;
 overlap=0.5;
-cupwidth=40;
-cupheight=55;
+cupwidth=selsz(40,60);
+cupheight=selsz(55,75);
 
 propxshift = 0;
 
@@ -160,7 +162,7 @@ module FilamentCup() { ////toplevel
   translate([propshift, -1, 0]) {
     // something is wrong with the y calculation
     cube([prongwidth,
-         overclipdepth - prongwidth/2,
+         gapy+2,
          prongthick]);
   }
   for (y = [overclipcupgap, overclipcupgap+overclipcupnextgap]) {
@@ -168,6 +170,11 @@ module FilamentCup() { ////toplevel
       rotate([0,0, 102 + fdia])
       FilamentTeeth(fdia=fdia, h=teethh);
   }
+  for (x = [-0.3, -1.3]) {
+    translate([cupheight + overclipcupnextgap*x, dy+cupwidth/2 + prongthick, 0])
+      rotate([0,0, 12 + fdia])
+      FilamentTeeth(fdia=fdia, h=teethh);
+  }      
 }
 
 module CupSecuringClipSolid(w,d,h1,h2){