#include #include #include #include #include #include #include #include #include #include #include #include #include #include const std::string USAGE_STR = { "Usage: slasupporttree stlfilename.stl" }; int main(const int argc, const char *argv[]) { using namespace Slic3r; using std::cout; using std::endl; if(argc < 2) { cout << USAGE_STR << endl; return EXIT_SUCCESS; } DynamicPrintConfig config; Model model = Model::read_from_file(argv[1], &config); SLAPrint print; print.apply(model, config); print.process(); return EXIT_SUCCESS; }