make M808 loop areas aware of extruder absolute / relative setting
This commit is contained in:
parent
4b678d6339
commit
9c1192c3ef
1 changed files with 5 additions and 1 deletions
|
|
@ -294,7 +294,11 @@
|
||||||
for (let loop of loops) {
|
for (let loop of loops) {
|
||||||
if (layer === loop.start) {
|
if (layer === loop.start) {
|
||||||
append(`M808 L${loop.iter}`);
|
append(`M808 L${loop.iter}`);
|
||||||
|
if (extrudeAbs) {
|
||||||
append(`G92 Z${lout.z.round(decimals)} E${outputLength.round(decimals)}`);
|
append(`G92 Z${lout.z.round(decimals)} E${outputLength.round(decimals)}`);
|
||||||
|
} else {
|
||||||
|
append(`G92 Z${lout.z.round(decimals)}`);
|
||||||
|
}
|
||||||
inLoop = loop;
|
inLoop = loop;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue