summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2023-11-13 15:39:20 -0500
committerXANTRONIX Development2023-11-13 15:39:20 -0500
commit3b0e20ee8dfe987b01ab3c7b53d5979cd84c97fa (patch)
tree4e79c2430340f01ceca8411c0dc6f320f1e3c408
parent20885a3b4afe1c87a8076b62e5cc2cffec17cbff (diff)
downloadxantronix-z32-3b0e20ee8dfe987b01ab3c7b53d5979cd84c97fa.tar.gz
xantronix-z32-3b0e20ee8dfe987b01ab3c7b53d5979cd84c97fa.tar.bz2
xantronix-z32-3b0e20ee8dfe987b01ab3c7b53d5979cd84c97fa.zip
Move things around
-rw-r--r--case/case.scad8
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]);