add process.outputPurgeTower to allow disabling them. update three quat inverse to invert.

This commit is contained in:
Stewart Allen 2021-03-31 17:56:24 -04:00
commit 2184f412a1
5 changed files with 16 additions and 5 deletions

View file

@ -38,6 +38,7 @@
firstLayerSeek = process.outputSeekrate,
firstLayerRate = process.firstLayerRate,
firstLayerMult = process.firstLayerPrintMult,
purgeTower = process.outputPurgeTower || false,
layerRetract = process.outputLayerRetract,
layerno = 0,
zoff = 0,
@ -274,7 +275,7 @@
// generate purge block for given nozzle
function purge(nozzle, track, layer, start, z, using) {
if (extcount < 2 || isBelt) {
if (!purgeTower || extcount < 2 || isBelt) {
return start;
}
let rec = track[nozzle];