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

index 929994f..06115c7 100644 (file)
@@ -187,13 +187,14 @@ module ArmDoveClipPin(){
 
 module Hub(){
   difference(){
-    cylinder(h=hublthick, r=hubbigrad);
-    translate([0,0,-1]) cylinder(h=hublthick+2, r=(hubbigrad-hublwidth));
+    cylinder($fn=60, h=hublthick, r=hubbigrad);
+    translate([0,0,-1])
+      cylinder($fn=30, h=hublthick+2, r=(hubbigrad-hublwidth));
   }
   axlerad = hubaxlerad + bigslop;
   difference(){
     cylinder(h=hubaxlelen, r=axlerad+hublwidth);
-    translate([0,0,-1]) cylinder(h=hubaxlelen+2, r=axlerad);
+    translate([0,0,-1]) cylinder($fn=60, h=hubaxlelen+2, r=axlerad);
   }
   hole = hubeffrad - hubbigrad - DoveClip_depth() - hublwidth*2;
   holewidth = DoveClip_width() - hubstemwidth*2;
@@ -216,7 +217,8 @@ module Hub(){
     rotate([0,0,ang]) rotate([90,0,0]) {
       translate([0,0,-hublwidth/2])
        linear_extrude(height=hublwidth)
-       polygon([[xmin,0], [xmax,0], [xmax,hublthick], [xmin,hubaxlelen]]);
+       polygon([[xmin,0.05], [xmax,0.05],
+                [xmax,hublthick-0.2], [xmin, hubaxlelen-0.2]]);
     }
 }