Skip to content

Commit 2369f64

Browse files
committed
cad: brush up plate-switch-x2
1 parent e4f8818 commit 2369f64

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cad/keyboard_plates/plate-switch-x2_rev2021.1.scad

+9-9
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ num_columns = 6;
1111
num_rows = 5;
1212

1313
module simple_switch_plate(
14-
outer_margin,
15-
num_columns,
16-
num_rows,
17-
switch_distance = 19.05,
18-
cutout_width = 14,
14+
outer_margin = outer_margin,
15+
num_columns = num_columns,
16+
num_rows = num_rows,
17+
switch_distance = switch_distance,
18+
cutout_width = cutout_width,
1919
) {
2020
translate([outer_margin, outer_margin]) {
2121
difference() {
@@ -41,9 +41,9 @@ module simple_switch_plate(
4141
}
4242

4343
module x2_switch_plate(
44-
outer_margin,
45-
num_columns,
46-
num_rows,
44+
outer_margin = outer_margin,
45+
num_columns = num_columns,
46+
num_rows = num_rows,
4747
switch_distance = 19.05,
4848
cutout_width = 14,
4949
) {
@@ -79,7 +79,7 @@ module x2_switch_plate(
7979
}
8080

8181
// X-2 switches
82-
*x2_switch_plate(
82+
x2_switch_plate(
8383
outer_margin = outer_margin,
8484
switch_distance = switch_distance,
8585
cutout_width = cutout_width,

0 commit comments

Comments
 (0)