enforce belt base speed even on tower bottoms on the belt
This commit is contained in:
parent
5f00e7ac9c
commit
a9c55987d0
1 changed files with 3 additions and 2 deletions
|
|
@ -616,14 +616,15 @@
|
|||
let bmult = params.firstLayerPrintMult || firstLayerMult;
|
||||
let point = rec.point;
|
||||
let belty = rec.belty = -point.y + point.z;
|
||||
let lowrate = belty <= thresh ? brate : overate || brate;
|
||||
miny = Math.min(miny, belty);
|
||||
if (layer.anchor) {
|
||||
// apply base rate to entire anchor (including bump)
|
||||
rec.speed = overate || brate;
|
||||
rec.speed = lowrate;
|
||||
}
|
||||
if (rec.emit && belty <= thresh && lastout && Math.abs(lastout.belty - belty) < 0.005) {
|
||||
// apply base speed to segments touching belt
|
||||
rec.speed = overate || brate;
|
||||
rec.speed = lowrate;
|
||||
rec.emit *= bmult;
|
||||
minx = Math.min(minx, point.x, lastout.point.x);
|
||||
maxx = Math.max(maxx, point.x, lastout.point.x);
|
||||
|
|
|
|||
Loading…
Reference in a new issue