Added button holder

This commit is contained in:
2018-02-07 08:17:18 +01:00
parent 4e94ed1198
commit 97c1bfd7ff
3 changed files with 4754 additions and 1 deletions

19
scad/button_holder.scad Normal file
View File

@@ -0,0 +1,19 @@
width = 10;
height = 11;
depth = 22;
button_b = 8;
button_h = 6.5;
button_t = 5+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);
}