From 04f8e82a1485c798bbee3573250aae9d234d818d Mon Sep 17 00:00:00 2001 From: Jacob Eva Date: Fri, 4 Aug 2023 18:29:44 +0100 Subject: [PATCH] Adjusted enclosure hole sizes --- Mechanical/OpenSCAD/Enclosure.scad | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Mechanical/OpenSCAD/Enclosure.scad b/Mechanical/OpenSCAD/Enclosure.scad index 4f5b7da..87f0a3f 100644 --- a/Mechanical/OpenSCAD/Enclosure.scad +++ b/Mechanical/OpenSCAD/Enclosure.scad @@ -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 } }