width = 10; height = 11; depth = 22; button_b = 8; button_h = 6.5; button_t = 4.8+0.3; mounting_hole = 2; mounting_depth = 5; led_hole = 4; difference(){ cube([width,depth,height], center = true); translate([0,-depth/2+button_b/2+1,-height/2+button_h/2])cube([button_b, button_b, button_h], center = true); translate([0,-depth/2+button_b/2+1,0])cylinder(r = button_t/2, h = height, center = true, $fn = 100); translate([0,-depth/2+button_b/2+1+2.54*3,-height/2+mounting_depth/2])cylinder(r = mounting_hole/2, h = mounting_depth, center = true, $fn = 30); translate([0,-depth/2+button_b/2+1+2.54*5.5,0])cylinder(r = led_hole/2, h = height, center = true, $fn = 30); }