/ src / supports.scad
supports.scad
 1  include <supports/flared.scad>
 2  include <supports/flat.scad>
 3  include <supports/bars.scad>
 4  
 5  module supports(type, stem_type, loft, height) {
 6    if (type == "flared") {
 7      flared(stem_type, loft, height);
 8    } else if (type == "flat") {
 9      flat(stem_type, loft, height);
10    } else if (type == "bars") {
11      bars(stem_type, loft, height);
12    } else if (type == "disable") {
13      children();
14    } else {
15      echo("Warning: unsupported $support_type");
16    }
17  }