summaryrefslogtreecommitdiffstats
path: root/case
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-12 20:46:01 -0500
committerXANTRONIX Development2023-11-12 20:46:01 -0500
commitdd1c6ae3fcc5081093ac4320c5422b42292d0968 (patch)
tree47cd69191ec8851892964fad61d6a4d02de16921 /case
parent5eb971a0e24e68cead70c21c7205f9a00d4bc219 (diff)
downloadxantronix-z32-dd1c6ae3fcc5081093ac4320c5422b42292d0968.tar.gz
xantronix-z32-dd1c6ae3fcc5081093ac4320c5422b42292d0968.tar.bz2
xantronix-z32-dd1c6ae3fcc5081093ac4320c5422b42292d0968.zip
Add rigidity to chassis
Diffstat (limited to 'case')
-rw-r--r--case/case.scad25
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);