2018-02-04 15:43:17 -05:00
|
|
|
include <supports/flared.scad>
|
|
|
|
include <supports/flat.scad>
|
|
|
|
include <supports/bars.scad>
|
2018-02-04 14:33:12 -05:00
|
|
|
|
|
|
|
module supports(type, stem_type, loft, height) {
|
|
|
|
if (type == "flared") {
|
2018-02-04 15:43:17 -05:00
|
|
|
flared_support(stem_type, loft, height);
|
2018-02-04 14:33:12 -05:00
|
|
|
} else if (type == "flat") {
|
2018-02-04 15:43:17 -05:00
|
|
|
flat_support(stem_type, loft, height);
|
2018-02-04 14:33:12 -05:00
|
|
|
} else if (type == "bars") {
|
2018-02-04 15:43:17 -05:00
|
|
|
bars_support(stem_type, loft, height);
|
2018-02-04 14:33:12 -05:00
|
|
|
} else {
|
|
|
|
echo("Warning: unsupported $support_type");
|
|
|
|
}
|
|
|
|
}
|