turm.scad 243 B

12345678910111213
  1. x=50;
  2. c = [30,4,4];
  3. difference() {
  4. union() {
  5. for ( i = [ 0 : 1 : x]) {
  6. rotate([0, 0, i*360/x]) translate([0, 0, i*c.z]) cube(c);
  7. }
  8. }
  9. translate([0,0,-c.z]) cylinder(d=c.x, h=(x+3)*c.z);
  10. }