mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2025-03-21 22:06:37 +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
2 changed files with 6 additions and 0 deletions
src
|
@ -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
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…
Add table
Reference in a new issue