chiark / gitweb /
lemon-stand.scad.pl: octagonal channels
[reprap-play.git] / 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";
 }