diff --git a/Mechanical/OpenSCAD/Enclosure.scad b/Mechanical/OpenSCAD/Enclosure.scad index 5aadb54..4e19dcb 100644 --- a/Mechanical/OpenSCAD/Enclosure.scad +++ b/Mechanical/OpenSCAD/Enclosure.scad @@ -169,8 +169,6 @@ module expansion_card_lid() { ext_side_extension = 5; difference() { union() { - // makes lower lid - translate([side_wall+gap, 0, base[2]-lower_lid_z]) cube([base[0]-side_wall*2-gap*2, base[1]-side_wall-gap, lower_lid_z]); // makes upper lid difference() { translate([-side_wall*2-gap, -base_ext[1]+side_wall+gap, base_ext[2]-side_wall]) cube([base_ext[0]-side_wall*2-gap*2, base_ext[1]-side_wall*2-gap*2, side_wall]); @@ -180,10 +178,6 @@ module expansion_card_lid() { // joins them together translate([side_wall+gap, -side_wall, base[2]-lower_lid_z]) cube([base[0]-side_wall*2-gap*2, side_wall, base_ext[2]-base[2]+gap*2+0.1]); translate([side_wall+gap,-gap-side_wall,base_ext[2]-side_wall]) cube([base[0]-side_wall*2-gap*2, side_wall, side_wall]); - difference() { - translate([base[0]/2-usb_c_w/2+gap, base[1]-side_wall-gap, usb_c_r+usb_c_h]) cube([usb_c_w-gap*2, side_wall+gap, base[2]-(usb_c_r+usb_c_h)]); - translate([base[0]/2, base[1], usb_c_r+usb_c_h]) usb_c_cutout(false); - } // join on sma cover translate([-side_wall*2-gap,-base_ext[1],base_ext[2]-side_wall]) cube([base_ext[0]-side_wall*2-gap*2, side_wall+gap, side_wall]);