Fix up ridges
This commit is contained in:
parent
a014766104
commit
02a787efd1
1 changed files with 7 additions and 7 deletions
|
@ -81,26 +81,25 @@ module keyboard_base_plate(pcb_width, pcb_length) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module ridges() {
|
module ridges(width, height) {
|
||||||
horizontal = [
|
horizontal = [
|
||||||
(bottom_length / 3),
|
(bottom_length / 3),
|
||||||
(bottom_length / 3) * 2
|
(bottom_length / 3) * 2
|
||||||
];
|
];
|
||||||
|
|
||||||
vertical = [
|
vertical = [
|
||||||
(bottom_width / 4),
|
(bottom_width / 3),
|
||||||
(bottom_width / 4) * 2,
|
(bottom_width / 3) * 2
|
||||||
(bottom_width / 4) * 3
|
|
||||||
];
|
];
|
||||||
|
|
||||||
for (y = horizontal) {
|
for (y = horizontal) {
|
||||||
side([0 - pcb_clearance_edge, y, 0],
|
side([0 - pcb_clearance_edge, y, 0],
|
||||||
[pcb_width, thickness * 2, pcb_clearance_edge]);
|
[pcb_width, width, height]);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (x = vertical) {
|
for (x = vertical) {
|
||||||
side([x, 0 - pcb_clearance_edge, 0],
|
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);
|
pcb_screw_hole_diameter);
|
||||||
}
|
}
|
||||||
|
|
||||||
ridges();
|
/* Ridges (for rigidity!) */
|
||||||
|
ridges(thickness * 2, pcb_clearance_bottom / 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
keyboard_base_plate(pcb_width, pcb_length);
|
keyboard_base_plate(pcb_width, pcb_length);
|
||||||
|
|
Loading…
Add table
Reference in a new issue