zwave-2002-lock/scad/button_top.scad
2018-02-15 16:24:51 +01:00

18 lines
378 B
OpenSCAD

button_b = 14;
button_t = 12;
button_hole = 4.7+0.2;
module trigger_button_small (){
difference(){
union(){
translate([0,0,0])cylinder(r=button_b/2, h=1, center=true, $fn=100);
translate([0,0,8/2-1/2])cylinder(r=button_t/2, h=8, center=true, $fn=100);
}
translate([0,0,6/2-1/2])cylinder(r=button_hole/2, h=6, center=true, $fn=100);
}
}
trigger_button_small();