KeyV2/src/supports.scad

18 lines
449 B
OpenSCAD
Raw Normal View History

2018-02-04 20:43:17 +00:00
include <supports/flared.scad>
include <supports/flat.scad>
include <supports/bars.scad>
2018-02-04 19:33:12 +00:00
module supports(type, stem_type, loft, height) {
if (type == "flared") {
flared(stem_type, loft, height);
2018-02-04 19:33:12 +00:00
} else if (type == "flat") {
flat(stem_type, loft, height);
2018-02-04 19:33:12 +00:00
} else if (type == "bars") {
bars(stem_type, loft, height);
} else if (type == "disable") {
children();
2018-02-04 19:33:12 +00:00
} else {
echo("Warning: unsupported $support_type");
}
}