diff options
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]); |