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") {
|
2018-06-26 03:14:35 +00:00
|
|
|
flared(stem_type, loft, height);
|
2018-02-04 19:33:12 +00:00
|
|
|
} else if (type == "flat") {
|
2018-06-26 03:14:35 +00:00
|
|
|
flat(stem_type, loft, height);
|
2018-02-04 19:33:12 +00:00
|
|
|
} else if (type == "bars") {
|
2018-06-26 03:14:35 +00:00
|
|
|
bars(stem_type, loft, height);
|
2018-06-28 05:27:22 +00:00
|
|
|
} else if (type == "disable") {
|
|
|
|
children();
|
2018-02-04 19:33:12 +00:00
|
|
|
} else {
|
|
|
|
echo("Warning: unsupported $support_type");
|
|
|
|
}
|
|
|
|
}
|