Add rigidity to chassis
This commit is contained in:
parent
5eb971a0e2
commit
dd1c6ae3fc
1 changed files with 25 additions and 0 deletions
|
@ -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 */
|
/* Upper right corner */
|
||||||
round_corner([thickness + pcb_clearance_edge + pcb_width,
|
round_corner([thickness + pcb_clearance_edge + pcb_width,
|
||||||
thickness + pcb_clearance_edge + pcb_height,
|
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 * 2,
|
||||||
pcb_screw_hole_diameter);
|
pcb_screw_hole_diameter);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ridges();
|
||||||
}
|
}
|
||||||
|
|
||||||
keyboard_base_plate(pcb_width, pcb_height);
|
keyboard_base_plate(pcb_width, pcb_height);
|
||||||
|
|
Loading…
Add table
Reference in a new issue