chiark / gitweb /
filamentspool: for revert/fix: add commitid to hub (wrong in many versions)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 9 Feb 2016 22:07:34 +0000 (22:07 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 9 Feb 2016 22:07:37 +0000 (22:07 +0000)
filamentspool.scad

index 3bdd78a..195284d 100644 (file)
@@ -252,6 +252,7 @@ include <doveclip.scad>
 include <cliphook.scad>
 include <filamentteeth.scad>
 include <axlepin.scad>
+include <commitid.scad>
 
 hub_clip_baseextend = (hubeffrad - DoveClip_depth()
                       - hubbigrad + hublwidth);
@@ -517,6 +518,15 @@ module Hub(){ ////toplevel
        }
     }
     translate([0,0,-1]) cylinder($fn=60, h=hubaxlelen+2, r=axlerad);
+
+    translate([hubbigrad - hublwidth,
+              -DoveClipPairSane_width()/2,
+              0])
+      Commitid_BestCount_M([(usedove()
+                             ? hubeffrad - DoveClip_depth()
+                             : hubeffrad)-
+                            (hubbigrad - hublwidth),
+                            DoveClipPairSane_width()]);
   }
 }