Skip to content

Commit

Permalink
feat(case): MCU cover
Browse files Browse the repository at this point in the history
  • Loading branch information
azzamsa committed Dec 3, 2024
1 parent 5b5dcda commit d97711e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
20 changes: 20 additions & 0 deletions case/cheapino-top-left.scad
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,23 @@ rotate([0,180,0])
square([30, 16.6]);
}
}

// MCU cover
translate([0,0,9.1])
rotate([0,180,0])
color("gray") {
difference() {
// x = left/right, y = front/back
translate([29.5 - 2, 10.2 - 2, 4.1])
// +2 is for top cover
linear_extrude(mcu_height + 2)
// width = left/right, height = front/back
// Add thickness of 4. 2 left 2 right.
square([19.5 + 4, 25 + 2]);

// repeat the difference() for initial mcu cutout
translate([29.2, 10.2, 4.1])
linear_extrude(mcu_height)
square([19.5, 25]);
}
}
1 change: 1 addition & 0 deletions case/modules.scad
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pcb_thickness = 1.6;
bottom_plate_thickness = 2.5;
top_of_pcb = bottom_plate_thickness + pcb_thickness;
rj45_height = 13;
mcu_height = 9; // mcu + hotswap

// bottom plate
module bottom()
Expand Down

0 comments on commit d97711e

Please sign in to comment.