From c11e8a653dbeb34ce93db1df14b07e5ea42c38a6 Mon Sep 17 00:00:00 2001 From: Bob Date: Sat, 11 Jan 2020 22:59:30 -0500 Subject: [PATCH] flat dish not super useful tbh, but I was testing linear extruded keycaps and I needed them to be cut off correctly --- src/dishes.scad | 3 +++ src/dishes/flat.scad | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 src/dishes/flat.scad diff --git a/src/dishes.scad b/src/dishes.scad index 121dc8b..2302882 100644 --- a/src/dishes.scad +++ b/src/dishes.scad @@ -4,6 +4,7 @@ include include include include +include //geodesic looks much better, but runs very slow for anything above a 2u geodesic=false; @@ -21,6 +22,8 @@ module dish(width, height, depth, inverted) { } else if ($dish_type == "old spherical") { old_spherical_dish(width, height, depth, inverted); + } else if ($dish_type == "flat") { + flat_dish(width, height, depth, inverted); } else if ($dish_type == "disable") { // else no dish } else { diff --git a/src/dishes/flat.scad b/src/dishes/flat.scad new file mode 100644 index 0000000..b5bba6a --- /dev/null +++ b/src/dishes/flat.scad @@ -0,0 +1,3 @@ +module flat_dish(width, height, depth, inverted){ + cube([width + 100,height + 100, depth], center=true); +}