diff options
-rw-r--r-- | case/case.scad | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/case/case.scad b/case/case.scad index bce1384..3da1612 100644 --- a/case/case.scad +++ b/case/case.scad @@ -81,6 +81,29 @@ module keyboard_base_plate(pcb_width, pcb_height) { } } + module ridges() { + horizontal = [ + (bottom_height / 3), + (bottom_height / 3) * 2 + ]; + + vertical = [ + (bottom_width / 4), + (bottom_width / 4) * 2, + (bottom_width / 4) * 3 + ]; + + for (y = horizontal) { + side([0 - pcb_clearance_edge, y, 0], + [pcb_width, thickness * 2, pcb_clearance_edge]); + } + + for (x = vertical) { + side([x, 0 - pcb_clearance_edge, 0], + [pcb_height, thickness * 2, pcb_clearance_edge]); + } + } + /* Upper right corner */ round_corner([thickness + pcb_clearance_edge + pcb_width, thickness + pcb_clearance_edge + pcb_height, @@ -202,6 +225,8 @@ module keyboard_base_plate(pcb_width, pcb_height) { pcb_screw_hole_diameter * 2, pcb_screw_hole_diameter); } + + ridges(); } keyboard_base_plate(pcb_width, pcb_height); |