fix move extrusion with scarfz

This commit is contained in:
Stewart Allen 2025-09-28 12:41:08 -04:00
commit 5aa5456f37
2 changed files with 1 additions and 3 deletions

View file

@ -188,9 +188,7 @@ class Print {
p.z = epz;
p.moved = (((--zi) / esp.length) * fcs) - 1 - fco;
}
// esp.pop(); // stop short to prevent overlap bulge
pp.push(...esp);
// console.log({ poly, spz, epz, zd, sp, esp });
scarf = true;
}

View file

@ -797,7 +797,7 @@ export function fdm_export(print, online, ondone, ondebug) {
} else {
drainQ();
if (scarfZ) {
moveTo({x, y, z:z + path.height/2, e:emitMM}, speedMMM);
moveTo({x, y, z:z + path.height/2}, speedMMM);
} else {
moveTo({x, y}, seekMMM);
}