diff --git a/src/mode/fdm/export.js b/src/mode/fdm/export.js index 4d956208..4ef4ea8d 100644 --- a/src/mode/fdm/export.js +++ b/src/mode/fdm/export.js @@ -294,7 +294,11 @@ for (let loop of loops) { if (layer === loop.start) { append(`M808 L${loop.iter}`); - append(`G92 Z${lout.z.round(decimals)} E${outputLength.round(decimals)}`); + if (extrudeAbs) { + append(`G92 Z${lout.z.round(decimals)} E${outputLength.round(decimals)}`); + } else { + append(`G92 Z${lout.z.round(decimals)}`); + } inLoop = loop; break; }