transformedSubmoduleEx3.scad 162 B

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