summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--case/case.scad14
1 files changed, 7 insertions, 7 deletions
diff --git a/case/case.scad b/case/case.scad
index 30ae811..769387a 100644
--- a/case/case.scad
+++ b/case/case.scad
@@ -81,26 +81,25 @@ module keyboard_base_plate(pcb_width, pcb_length) {
}
}
- module ridges() {
+ module ridges(width, height) {
horizontal = [
(bottom_length / 3),
(bottom_length / 3) * 2
];
vertical = [
- (bottom_width / 4),
- (bottom_width / 4) * 2,
- (bottom_width / 4) * 3
+ (bottom_width / 3),
+ (bottom_width / 3) * 2
];
for (y = horizontal) {
side([0 - pcb_clearance_edge, y, 0],
- [pcb_width, thickness * 2, pcb_clearance_edge]);
+ [pcb_width, width, height]);
}
for (x = vertical) {
side([x, 0 - pcb_clearance_edge, 0],
- [thickness * 2, pcb_length, pcb_clearance_edge]);
+ [width, pcb_length, height]);
}
}
@@ -226,7 +225,8 @@ module keyboard_base_plate(pcb_width, pcb_length) {
pcb_screw_hole_diameter);
}
- ridges();
+ /* Ridges (for rigidity!) */
+ ridges(thickness * 2, pcb_clearance_bottom / 2);
}
keyboard_base_plate(pcb_width, pcb_length);