mirror of
https://github.com/rsheldiii/KeyV2.git
synced 2025-01-22 17:30:57 +00:00
17 lines
449 B
OpenSCAD
17 lines
449 B
OpenSCAD
include <supports/flared.scad>
|
|
include <supports/flat.scad>
|
|
include <supports/bars.scad>
|
|
|
|
module supports(type, stem_type, loft, height) {
|
|
if (type == "flared") {
|
|
flared(stem_type, loft, height);
|
|
} else if (type == "flat") {
|
|
flat(stem_type, loft, height);
|
|
} else if (type == "bars") {
|
|
bars(stem_type, loft, height);
|
|
} else if (type == "disable") {
|
|
children();
|
|
} else {
|
|
echo("Warning: unsupported $support_type");
|
|
}
|
|
}
|