chiark / gitweb /
filamentspool wip hub
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Sep 2012 02:23:50 +0000 (03:23 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Sep 2012 02:23:50 +0000 (03:23 +0100)
filamentspool.scad

index 769dffd..24ceded 100644 (file)
@@ -7,7 +7,7 @@ bigslop=slop*2;
 
 hubeffrad = 30;
 hubbigrad = 20;
-hublwidth = 3;
+hublwidth = 4;
 hublthick = 10;
 hubaxlelen = 25;
 hubaxlerad = 5;
@@ -189,17 +189,19 @@ module Hub(){
     cylinder(h=hublthick, r=hubbigrad);
     translate([0,0,-1]) cylinder(h=hublthick+2, r=(hubbigrad-hublwidth));
   }
+  axlerad = hubaxlerad + slop;
   difference(){
-    cylinder(h=hubaxlelen, r=hubaxlerad+hublwidth);
-    translate([0,0,-1]) cylinder(h=hubaxlelen+2, r=hubaxlerad);
+    cylinder(h=hubaxlelen, r=axlerad+hublwidth);
+    translate([0,0,-1]) cylinder(h=hubaxlelen+2, r=axlerad);
   }
   for (ang=[0,120,240])
     rotate([0,0,ang]) {
-      translate([hubbigrad,0,0])
-       rotate([0,0,90])
-       DoveClipPairBase(baseextend=hublwidth, h=doveclipheight);
+      translate([hubeffrad,0,0])
+       DoveClipPairSane(h=doveclipheight,
+                        baseextend = (hubeffrad - DoveClip_depth()
+                                      - hubbigrad + hublwidth));
     }
-  xmin = hubaxlerad+hublwidth/2;
+  xmin = axlerad+hublwidth/2;
   xmax = hubbigrad-hublwidth/2;
   for (ang = [0 : 60 : 359])
     rotate([0,0,ang]) rotate([90,0,0]) {