diff options
author | XANTRONIX Development | 2023-11-12 21:19:19 -0500 |
---|---|---|
committer | XANTRONIX Development | 2023-11-12 21:19:19 -0500 |
commit | 02a787efd1160b02dcece4618a772b30136ce583 (patch) | |
tree | 6a2f9b29f2732eda2aab010df8fb094cb0bb30e5 | |
parent | a014766104ac3939a9abc876578ca8aceb0a7f58 (diff) | |
download | xantronix-z32-02a787efd1160b02dcece4618a772b30136ce583.tar.gz xantronix-z32-02a787efd1160b02dcece4618a772b30136ce583.tar.bz2 xantronix-z32-02a787efd1160b02dcece4618a772b30136ce583.zip |
Fix up ridges
-rw-r--r-- | case/case.scad | 14 |
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); |