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

@ -1,6 +1,6 @@
{
"name": "grid-apps",
"version": "2.9.7D",
"version": "2.9.8D",
"description": "grid.space 3d slice & modeling tools",
"author": "Stewart Allen <sa@grid.space>",
"license": "MIT",

View file

@ -6,7 +6,7 @@
if (!self.kiri) {
self.kiri = {
beta: 2907,
beta: 2908,
driver: {}, // driver modules
loader: [] // module loading: array of functions
};

View file

@ -3,7 +3,7 @@
let terms = {
COPYRIGHT: "Copyright (C) Stewart Allen <sa@grid.space> - All Rights Reserved",
LICENSE: "See the license.md file included with the source distribution",
VERSION: "2.9.D7"
VERSION: "2.9.D8"
};
if (typeof(module) === 'object') {

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