chiark / gitweb /
lemon-stand.scad.pl: octagonal channels
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 28 Jan 2016 00:23:59 +0000 (00:23 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 28 Jan 2016 00:23:59 +0000 (00:23 +0000)
lemon-stand.scad.pl

index ebba9ee874285cab84143eabc5bc23415d60fe9f..e4b32ae1928cfb8874e52ded2ed8a06903d1ac7d 100755 (executable)
@@ -131,7 +131,8 @@ sub channels(){
        print "  rotate([0,0,$angle*360/",tau,"])\n";
        print "  rotate([0,90,0])\n";
        print "  translate([0,0, -2*$circle])\n";
-       print "  cylinder(r=$channel, h=4*$circle, \$fn=$M);\n";
+       print "  rotate([0,0,360/8/2])\n";
+       print "  cylinder(r=$channel, h=4*$circle, \$fn=8);\n";
     }
     print "}\n";
 }