flat dish

not super useful tbh, but I was testing linear extruded keycaps and I needed them to be cut off correctly
This commit is contained in:
Bob 2020-01-11 22:59:30 -05:00
parent 70df63e145
commit c11e8a653d
2 changed files with 6 additions and 0 deletions

View File

@ -4,6 +4,7 @@ include <dishes/cylindrical.scad>
include <dishes/old_spherical.scad> include <dishes/old_spherical.scad>
include <dishes/sideways_cylindrical.scad> include <dishes/sideways_cylindrical.scad>
include <dishes/spherical.scad> include <dishes/spherical.scad>
include <dishes/flat.scad>
//geodesic looks much better, but runs very slow for anything above a 2u //geodesic looks much better, but runs very slow for anything above a 2u
geodesic=false; geodesic=false;
@ -21,6 +22,8 @@ module dish(width, height, depth, inverted) {
} }
else if ($dish_type == "old spherical") { else if ($dish_type == "old spherical") {
old_spherical_dish(width, height, depth, inverted); old_spherical_dish(width, height, depth, inverted);
} else if ($dish_type == "flat") {
flat_dish(width, height, depth, inverted);
} else if ($dish_type == "disable") { } else if ($dish_type == "disable") {
// else no dish // else no dish
} else { } else {

3
src/dishes/flat.scad Normal file
View File

@ -0,0 +1,3 @@
module flat_dish(width, height, depth, inverted){
cube([width + 100,height + 100, depth], center=true);
}