add absolute extrusion for flashforge finder. increase max zoom out
This commit is contained in:
parent
6b5ecceb56
commit
405136df79
4 changed files with 14 additions and 5 deletions
|
|
@ -353,9 +353,12 @@ var gs_kiri_fdm = exports;
|
|||
}
|
||||
if (typeof newpos.e === 'number') {
|
||||
outputLength += newpos.e;
|
||||
o.append(" E").append(UTIL.round(newpos.e,decimals));
|
||||
// for flashforge finder that uses cumulative extruder position
|
||||
// o.append(" E").append(UTIL.round(outputLength, decimals));
|
||||
if (device.extrudeAbs) {
|
||||
// for flashforge finder that uses cumulative extruder position
|
||||
o.append(" E").append(UTIL.round(outputLength, decimals));
|
||||
} else {
|
||||
o.append(" E").append(UTIL.round(newpos.e,decimals));
|
||||
}
|
||||
}
|
||||
if (rate && rate != pos.f) {
|
||||
o.append(" F").append(Math.round(rate));
|
||||
|
|
|
|||
Loading…
Reference in a new issue