From 3b0e20ee8dfe987b01ab3c7b53d5979cd84c97fa Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Mon, 13 Nov 2023 15:39:20 -0500 Subject: Move things around --- case/case.scad | 8 ++++---- 1 file 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]); -- cgit v1.2.3