fix first point when z top offset and stock set
This commit is contained in:
parent
79d88f2200
commit
5b96d7de97
2 changed files with 1 additions and 2 deletions
|
|
@ -226,7 +226,6 @@
|
||||||
// nl.append(" ; ").append(comment);
|
// nl.append(" ; ").append(comment);
|
||||||
// nl.append(" ; ").append(points);
|
// nl.append(" ; ").append(points);
|
||||||
// }
|
// }
|
||||||
|
|
||||||
append(nl.join(''));
|
append(nl.join(''));
|
||||||
points++;
|
points++;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -223,7 +223,7 @@
|
||||||
// before first point, move cutting head to point above it
|
// before first point, move cutting head to point above it
|
||||||
// then set that new point as the lastPoint
|
// then set that new point as the lastPoint
|
||||||
if (!lastPoint) {
|
if (!lastPoint) {
|
||||||
let above = point.clone().setZ(zmax + zadd);
|
let above = point.clone().setZ(zmax + zadd + ztOff);
|
||||||
lastPoint = layerPush(above, 0, 0, tool.getNumber());
|
lastPoint = layerPush(above, 0, 0, tool.getNumber());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue