2018-02-05 07:43:17 +11:00
|
|
|
include <stems/cherry.scad>
|
|
|
|
include <stems/rounded_cherry.scad>
|
|
|
|
include <stems/alps.scad>
|
|
|
|
include <stems/filled.scad>
|
|
|
|
|
|
|
|
|
2018-02-05 06:33:12 +11:00
|
|
|
//whole stem, alps or cherry, trimmed to fit
|
|
|
|
module stem(stem_type, depth, has_brim){
|
2018-06-05 11:13:09 +10:00
|
|
|
if (stem_type == "alps") {
|
|
|
|
alps_stem(depth, has_brim);
|
|
|
|
} else if (stem_type == "cherry_rounded") {
|
|
|
|
rounded_cherry_stem(depth, has_brim);
|
|
|
|
} else if (stem_type == "cherry") {
|
|
|
|
cherry_stem(depth, has_brim);
|
|
|
|
} else if (stem_type == "filled") {
|
2017-12-20 16:47:03 +11:00
|
|
|
filled_stem();
|
2018-02-05 06:33:12 +11:00
|
|
|
} else {
|
|
|
|
echo("Warning: unsupported $stem_type");
|
2017-12-20 16:47:03 +11:00
|
|
|
}
|
|
|
|
}
|