diff --git a/src/key.scad b/src/key.scad index cc44886..a5ac7e8 100644 --- a/src/key.scad +++ b/src/key.scad @@ -290,7 +290,8 @@ module key(inset = false) { if ($stem_type != "disable" || ($stabilizers != [] && $stabilizer_type != "disable")) { dished($keytop_thickness, $inverted_dish) { translate([0, 0, $stem_inset]) { - /* if ($stabilizer_type != "disable") stems_for($stabilizers, $stabilizer_type); */ + if ($stabilizer_type != "disable") stems_for($stabilizers, $stabilizer_type); + if ($stem_type != "disable") stems_for($stem_positions, $stem_type); } } diff --git a/src/key_transformations.scad b/src/key_transformations.scad index 15f63f7..fb8b126 100644 --- a/src/key_transformations.scad +++ b/src/key_transformations.scad @@ -41,7 +41,7 @@ module rotated() { module stabilized(mm=12, vertical = false, type=undef) { if (vertical) { - $stabilizer_type = type ? type : $stabilizer_type ? $stabilizer_type : "costar_stabilizer"; + $stabilizer_type = (type ? type : ($stabilizer_type ? $stabilizer_type : "costar_stabilizer")); $stabilizers = [ [0, mm], [0, -mm] @@ -49,7 +49,8 @@ module stabilized(mm=12, vertical = false, type=undef) { children(); } else { - $stabilizer_type = type ? type : $stabilizer_type ? $stabilizer_type : "costar_stabilizer"; + $stabilizer_type = (type ? type : ($stabilizer_type ? $stabilizer_type : "costar_stabilizer")); + $stabilizers = [ [mm, 0],