diff options
author | XANTRONIX Development | 2023-11-13 15:39:20 -0500 |
---|---|---|
committer | XANTRONIX Development | 2023-11-13 15:39:20 -0500 |
commit | 3b0e20ee8dfe987b01ab3c7b53d5979cd84c97fa (patch) | |
tree | 4e79c2430340f01ceca8411c0dc6f320f1e3c408 /case | |
parent | 20885a3b4afe1c87a8076b62e5cc2cffec17cbff (diff) | |
download | xantronix-z32-3b0e20ee8dfe987b01ab3c7b53d5979cd84c97fa.tar.gz xantronix-z32-3b0e20ee8dfe987b01ab3c7b53d5979cd84c97fa.tar.bz2 xantronix-z32-3b0e20ee8dfe987b01ab3c7b53d5979cd84c97fa.zip |
Move things around
Diffstat (limited to 'case')
-rw-r--r-- | case/case.scad | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/case/case.scad b/case/case.scad index 9759f82..dbb649b 100644 --- a/case/case.scad +++ b/case/case.scad @@ -20,7 +20,7 @@ pcb_screw_holes = [ switch_leg_length = 3.30; switch_height = 11.10; -module keyboard_base_plate(pcb_dimensions, switch_z_range, screw_holes) { +module keyboard_base_plate(pcb_dimensions, pcb_screw_holes, switch_z_range) { pcb_width = pcb_dimensions[0]; pcb_length = pcb_dimensions[1]; pcb_height = pcb_dimensions[2]; @@ -240,7 +240,7 @@ module keyboard_base_plate(pcb_dimensions, switch_z_range, screw_holes) { [0, 90, 90]); /* Screw holes */ - for (screw_hole = screw_holes) { + for (screw_hole = pcb_screw_holes) { screw_post([screw_hole[0], screw_hole[1], 0], pcb_screw_height, pcb_screw_diameter); @@ -251,5 +251,5 @@ module keyboard_base_plate(pcb_dimensions, switch_z_range, screw_holes) { } keyboard_base_plate([pcb_width, pcb_length, pcb_height], - [-switch_leg_length, switch_height], - pcb_screw_holes); + pcb_screw_holes, + [-switch_leg_length, switch_height]); |