Skip to content

Commit edfc02e

Browse files
authored
Merge pull request #132 from rsheldiii/v1/g20-spacebar-fix
V1: Fix g20 spacebar having closed bottom
2 parents bf4ee04 + 65bb577 commit edfc02e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

customizer.scad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,8 +788,8 @@ function add_rounding(p, radius)=[for(i=[0:len(p)-1])[p[i].x,p[i].y, radius]];
788788
function unit_length(length) = unit * (length - 1) + 18.16;
789789

790790
module spacebar() {
791-
$inverted_dish = true;
792-
$dish_type = "sideways cylindrical";
791+
$inverted_dish = $dish_type != "disable";
792+
$dish_type = $dish_type != "disable" ? "sideways cylindrical" : "disable";
793793
6_25u() stabilized(mm=50) children();
794794
}
795795

src/key_types.scad

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
include <functions.scad>
22

33
module spacebar() {
4-
$inverted_dish = true;
5-
$dish_type = "sideways cylindrical";
4+
$inverted_dish = $dish_type != "disable";
5+
$dish_type = $dish_type != "disable" ? "sideways cylindrical" : "disable";
66
6_25u() stabilized(mm=50) children();
77
}
88

0 commit comments

Comments
 (0)