chiark / gitweb /
filamentspool: Introduce real_exteffrad (which works for 2.85 too)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 9 Feb 2016 20:29:47 +0000 (20:29 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 9 Feb 2016 20:29:47 +0000 (20:29 +0000)
filamentspool.scad

index 79871c8..f111fe1 100644 (file)
@@ -236,6 +236,10 @@ nondove_armbase = nondove_armhole_x + nondove_armhole_hole/2 +
   nondove_armhole_support;
 echo(nondove_armbase);
 
+real_exteffrad = selsz(exteffrad,
+                      hubeffrad + nondove_armbase,
+                      hubeffrad + nondove_armbase);
+
 include <doveclip.scad>
 include <cliphook.scad>
 include <filamentteeth.scad>
@@ -898,7 +902,7 @@ module FilamentGuideArmPrint(){ ////toplevel
 }
 
 module Demo(){ ////toplevel
-  translate([-hubeffrad-nondove_armbase,-20,0]) Hub();
+  translate([-real_exteffrad,-20,0]) Hub();
   ArmEnd();
   translate([0,30,0]) FilamentCup();
 }