Merge pull request #133 from rsheldiii/v2/g20-spacebar-fix
V2: fix spacebar() assuming sideways_cylindrical
This commit is contained in:
commit
6f1ae47011
|
@ -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;
|
function unit_length(length) = $unit * (length - 1) + 18.16;
|
||||||
|
|
||||||
module spacebar() {
|
module spacebar() {
|
||||||
$inverted_dish = true;
|
$inverted_dish = $dish_type != "disable";
|
||||||
$dish_type = "sideways cylindrical";
|
$dish_type = $dish_type != "disable" ? "sideways cylindrical" : "disable";
|
||||||
6_25u() stabilized(mm=50) children();
|
6_25u() stabilized(mm=50) children();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
include <functions.scad>
|
include <functions.scad>
|
||||||
|
|
||||||
module spacebar() {
|
module spacebar() {
|
||||||
$inverted_dish = true;
|
$inverted_dish = $dish_type != "disable";
|
||||||
$dish_type = "sideways cylindrical";
|
$dish_type = $dish_type != "disable" ? "sideways cylindrical" : "disable";
|
||||||
6_25u() stabilized(mm=50) children();
|
6_25u() stabilized(mm=50) children();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue