add finish shell speed override

This commit is contained in:
Stewart Allen 2017-12-06 21:15:37 -05:00
commit 76eeb43b5c
3 changed files with 9 additions and 6 deletions

View file

@ -432,6 +432,9 @@ var gs_kiri_fdm = exports;
emitMM = emitPerMM * out.emit * dist;
if (layer === 0) {
emitMM = emitPerMMLayer1 * out.emit * dist;
} else if (out.speed && out.speed < process.outputFeedrate) {
// usually outer shell (finish speed) override
outMMM = out.speed * 60;
}
if (dist < shortDist) {
outMMM = shortMMM + ((outMMM - shortMMM) * (dist / shortDist));