transformedSubmoduleEx2.scad 186 B

12345678910
  1. module hole(size) {
  2. cylinder(r = size, h = 100, center = true);
  3. cube(size=[10, 10, 10], center=true);
  4. }
  5. translate([25, 0, 0]) {
  6. hole(5);
  7. }
  8. cube(size=[10, 10, 10], center=true);