fix spacebar() assuming sideways_cylindrical

This commit is contained in:
Bob 2022-02-19 20:32:56 -05:00
parent 9b52a91db9
commit db30aa2066
2 changed files with 4 additions and 4 deletions

View File

@ -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();
}

View File

@ -1,8 +1,8 @@
include <functions.scad>
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();
}