mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2024-11-26 14:54:21 +00:00
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:
parent
70df63e145
commit
c11e8a653d
@ -4,6 +4,7 @@ include <dishes/cylindrical.scad>
|
||||
include <dishes/old_spherical.scad>
|
||||
include <dishes/sideways_cylindrical.scad>
|
||||
include <dishes/spherical.scad>
|
||||
include <dishes/flat.scad>
|
||||
|
||||
//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 {
|
||||
|
3
src/dishes/flat.scad
Normal file
3
src/dishes/flat.scad
Normal file
@ -0,0 +1,3 @@
|
||||
module flat_dish(width, height, depth, inverted){
|
||||
cube([width + 100,height + 100, depth], center=true);
|
||||
}
|
Loading…
Reference in New Issue
Block a user