Adjusted enclosure hole sizes

This commit is contained in:
Jacob Eva 2023-08-04 18:29:44 +01:00
parent d39dc6f0a5
commit 04f8e82a14
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -21,7 +21,6 @@ side_wall = 1.5;
// The dimensions of the sim holder bay
bay = [side_wall, 9.62, 0.79];
// Size and location of the typical PCB
pcb_gap = 0.5;
pcb = [26.0, 30.0, 0.8];
@ -42,12 +41,12 @@ boss_inc_y = 18.5+boss_r;
boss_ext_y = 8.57;
boss_ext_x = 4;
boss_ext_r = 2.5;
boss_ext_inner = 2.1;
boss_ext_inner = 0.8;
boss_ext_top_y = 6;
lid_boss_r = 1.05;
lid_wall_thickness = 3+side_wall;
lid_boss_inner = 3;
lid_wall_thickness = 4+side_wall;
gap = 0.25;
@ -190,13 +189,13 @@ module expansion_card_lid() {
// add screw holder to lid
difference() {
translate([-3.25,-base_ext[2]-side_wall-gap*3,sma_height]) cube([lid_wall_thickness, base_ext[2]+gap*2, base_ext[2]-sma_height-side_wall]);
rotate([0,90,0]) translate([-base_ext[2]+3,-6,-3.25]) cylinder(r = lid_boss_r, h = 3, $fn = 64);
rotate([0,90,0]) translate([-base_ext[2]+3,-6,-3.25]) cylinder(r = lid_boss_inner/2, h = 4, $fn = 64);
translate([-0.5,-16.4,8]) led_cylinder(); // hollow for D2 LED cylinder
}
difference() {
translate([base_ext[0]-3.25*2-side_wall*3-gap,-base_ext[2]-side_wall-gap*3,sma_height]) cube([lid_wall_thickness, base_ext[2]+gap*2, base_ext[2]-sma_height-side_wall]);
rotate([0,90,0]) translate([-base_ext[2]+3,-6,base_ext[0]-2.5*2-side_wall*3-gap]) cylinder(r = lid_boss_r, h = 3, $fn = 64);
translate([base_ext[0]-3.75*2-side_wall*3-gap,-base_ext[2]-side_wall-gap*3,sma_height]) cube([lid_wall_thickness, base_ext[2]+gap*2, base_ext[2]-sma_height-side_wall]);
rotate([0,90,0]) translate([-base_ext[2]+3,-6,base_ext[0]-3*2-side_wall*3-gap]) cylinder(r = lid_boss_inner/2, h = 4, $fn = 64);
translate([30.55,-16.4,8]) led_cylinder(); // hollow for D3 LED cylinder
}
}