chiark / gitweb /
filamentspool hub long arms
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Sep 2012 11:04:11 +0000 (12:04 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Sep 2012 11:04:11 +0000 (12:04 +0100)
filamentspool.scad

index 24ceded..19aa12c 100644 (file)
@@ -5,7 +5,7 @@ fdia=1.75;
 slop=0.5;
 bigslop=slop*2;
 
-hubeffrad = 30;
+hubeffrad = 30 + 55;
 hubbigrad = 20;
 hublwidth = 4;
 hublthick = 10;
@@ -189,17 +189,25 @@ module Hub(){
     cylinder(h=hublthick, r=hubbigrad);
     translate([0,0,-1]) cylinder(h=hublthick+2, r=(hubbigrad-hublwidth));
   }
-  axlerad = hubaxlerad + slop;
+  axlerad = hubaxlerad + bigslop;
   difference(){
     cylinder(h=hubaxlelen, r=axlerad+hublwidth);
     translate([0,0,-1]) cylinder(h=hubaxlelen+2, r=axlerad);
   }
+  hole = hubeffrad - hubbigrad - DoveClip_depth() - hublwidth*2;
+  holewidth = DoveClip_width() - hubstemwidth*2;
   for (ang=[0,120,240])
     rotate([0,0,ang]) {
-      translate([hubeffrad,0,0])
-       DoveClipPairSane(h=doveclipheight,
-                        baseextend = (hubeffrad - DoveClip_depth()
-                                      - hubbigrad + hublwidth));
+      difference() {
+       translate([hubeffrad,0,0])
+         DoveClipPairSane(h=doveclipheight,
+                          baseextend = (hubeffrad - DoveClip_depth()
+                                        - hubbigrad + hublwidth));
+       if (hole>hublwidth && holewidth > 2) {
+         translate([hubbigrad + hublwidth, -holewidth/2, -1])
+           cube([hole, holewidth, hublthick+2]);
+       }
+      }
     }
   xmin = axlerad+hublwidth/2;
   xmax = hubbigrad-hublwidth/2;