made case not rest of switches but on plate, widened usb hole

This commit is contained in:
Nico Stuhlmueller 2023-04-10 11:24:03 +02:00
parent f8a6fa02fe
commit 399bbb0189

View File

@ -3,7 +3,7 @@ outer_length = 102;
outer_height = 10;
inner_width = 72;
inner_length = 96;
inner_height = 7;
inner_height = 6.5;
mx = 19;
mx_top=14.6;
@ -20,12 +20,12 @@ difference(){
translate([0,4*mx-1.5]) cube([inner_width, outer_length-(outer_length-inner_length)/2 -4*mx-3, 1.2*outer_height]);
cube([inner_width, inner_length, inner_height]);
// usb hole
translate([inner_width,inner_length-11,5]) minkowski(1){ sphere(1); cube([2,5,3], true);}
translate([inner_width,inner_length-11.5,2]) minkowski(1){ sphere(1); cube([2,18,8], true);}
// drill holes
$fn=20;
for (i = [0:2:2]) {
for (j = [0:2:2]) {
translate([i*mx+17, j*mx+17]) cylinder(2*outer_height, 1, center=true);
translate([i*mx+17, j*mx+17]) cylinder(2*outer_height, 1.1, center=true);
}
}
translate([1*mx+17, 1*mx+17]) cylinder(2*outer_height, 1, center=true);