forLoopEx2a.scad 104 B

123456
  1. for ( i = [0 : 5] )
  2. {
  3. rotate( i * 360 / 6, [1, 0, 0])
  4. translate([0, 10, 0])
  5. sphere(r = 1);
  6. }