apply base rate to entire anchor including bump

This commit is contained in:
Stewart Allen 2021-08-27 21:00:41 -04:00
commit 8e2865a97a

View file

@ -486,6 +486,10 @@
let point = rec.point;
let belty = rec.belty = -point.y + point.z;
miny = Math.min(miny, belty);
if (layer.anchor) {
// apply base rate to entire anchor (including bump)
rec.speed = firstLayerRate;
}
if (rec.emit && belty <= thresh && lastout && Math.abs(lastout.belty - belty) < 0.005) {
// apply base speed to segments touching belt
rec.speed = firstLayerRate;