Added parameter "support_buildplate_only" for SLA supports.

This commit is contained in:
tamasmeszaros 2019-02-05 11:16:03 +01:00
parent a35b1a1850
commit c3e1be7531
7 changed files with 30 additions and 0 deletions

View file

@ -1898,6 +1898,17 @@ bool SLASupportTree::generate(const PointSet &points,
}
};
if(cfg.ground_facing_only) { // Delete the non-gnd steps if necessary
program[ROUTING_NONGROUND] = []() {
BOOST_LOG_TRIVIAL(info) << "Skipping non-ground facing supports as "
"requested.";
};
program[HEADLESS] = [](){
BOOST_LOG_TRIVIAL(info) << "Skipping headless stick generation as "
"requested";
};
}
Steps pc = BEGIN, pc_prev = BEGIN;
// Let's define a simple automaton that will run our program.