Move things around

This commit is contained in:
XANTRONIX 2023-11-13 15:39:20 -05:00
parent 20885a3b4a
commit 3b0e20ee8d

View file

@ -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]);