Add rigidity to chassis

This commit is contained in:
XANTRONIX 2023-11-12 20:46:01 -05:00
parent 5eb971a0e2
commit dd1c6ae3fc

View file

@ -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);