fix thin wall retraction. remove point markers to allow codec between minion n worker

This commit is contained in:
Stewart Allen 2025-09-22 00:09:41 -04:00
commit 9567a99fd9
2 changed files with 13 additions and 3 deletions

View file

@ -1126,6 +1126,10 @@ function slicePrintPath(print, slice, startPoint, offset, output, opt = {}) {
}
// remove emitted trace
thin = thin.filter(t => t !== trace);
// retract if moving > retractDist
if (np && np.distTo2D(new Point(trace[0].x, trace[0].y)) > retractDist) {
retract();
}
for (let pt of trace) {
np = new Point(pt.x, pt.y, z);
if (pt === trace[0]) {