bump rev 2.9.D8 -- default y belt offset to 1/2 layer height

This commit is contained in:
Stewart Allen 2021-05-02 22:36:16 -04:00
commit 4a57a1a227
5 changed files with 6 additions and 4 deletions

View file

@ -55,7 +55,7 @@
blast = 0,
blastz = 0,
process = settings.process,
belt_add_y = process.firstLayerYOffset || 0,
belt_add_y = (process.firstLayerYOffset || 0) - (print.belty || 0),
loops = process.outputLoops || 0,
zhop = process.zHopDistance || 0, // range
seekMMM = process.outputSeekrate * 60,

View file

@ -468,6 +468,8 @@
thresh = Math.min(thresh, point.z - point.y);
}
}
// store this offset to be removed from Y values in export
print.belty = thresh;
thresh = thresh + firstLayerHeight * 0.25;
// iterate over layers, find extrusion on belt and
// apply corrections and add brim when specified