chiark / gitweb /
filamentspool: move definition of xstraight (nfc)
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Jun 2013 23:47:23 +0000 (00:47 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 5 Jun 2013 23:47:44 +0000 (00:47 +0100)
filamentspool.scad

index 34e2f823458e60c7341dc1753cd247a55ad2442b..f34c4207eefde06200438c1892a27981733fa13f 100644 (file)
@@ -84,6 +84,7 @@ channeldepth = prongwidth + ratchettoothheight;
 totalwidth = armendwallthick*2 + channelwidth;
 totalheight = channeldepth + armendbasethick;
 stalkwidth = prongwidth + prongstalkxwidth;
+xstraight = cupbigrad * xstraightmul;
 
 module ArmEnd(length=120){ ////toplevel
   translate([ratchettoothsmoothr, channelwidth/2, -armendbasethick]) {
@@ -135,7 +136,6 @@ module FilamentCupHandle(){
 }
 
 module FilamentCupCup(){
-  xstraight = cupbigrad * xstraightmul;
   linear_extrude(height=prongthick) {
     FlatArc(0,0, cupbigrad,cupbigrad+prongwidth, 89,271, $fn=80);
   }