diff --git a/customizer.scad b/customizer.scad index b5449e2..15d692f 100644 --- a/customizer.scad +++ b/customizer.scad @@ -874,8 +874,8 @@ function add_rounding(p, radius)=[for(i=[0:len(p)-1])[p[i].x,p[i].y, radius]]; function unit_length(length) = $unit * (length - 1) + 18.16; module spacebar() { - $inverted_dish = true; - $dish_type = "sideways cylindrical"; + $inverted_dish = $dish_type != "disable"; + $dish_type = $dish_type != "disable" ? "sideways cylindrical" : "disable"; 6_25u() stabilized(mm=50) children(); } diff --git a/src/key_types.scad b/src/key_types.scad index 8438399..1163827 100644 --- a/src/key_types.scad +++ b/src/key_types.scad @@ -1,8 +1,8 @@ include module spacebar() { - $inverted_dish = true; - $dish_type = "sideways cylindrical"; + $inverted_dish = $dish_type != "disable"; + $dish_type = $dish_type != "disable" ? "sideways cylindrical" : "disable"; 6_25u() stabilized(mm=50) children(); }