fix bi-directional anchor printing w/out bump. fix bump angle. bump rev 2.9.D7

This commit is contained in:
Stewart Allen 2021-05-02 11:31:25 -04:00
commit 044d7d8034
4 changed files with 7 additions and 5 deletions

View file

@ -6,7 +6,7 @@
if (!self.kiri) {
self.kiri = {
beta: 2906,
beta: 2907,
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.D6"
VERSION: "2.9.D7"
};
if (typeof(module) === 'object') {

View file

@ -374,7 +374,9 @@
}
addto.index = -1;
addto.belt.anchor = true;
addto.belt.touch = true;
// this allows the anchor to print bi-directionally
// by removing the forced start-point in print.js
addto.belt.touch = false;
let z = addto.z;
let y = z - smin - (nozzleSize / 2);
// let splat = BASE.newPolygon().add(wb.min.x, y, z).add(wb.max.x, y, z).setOpen();
@ -391,7 +393,7 @@
let count = 1;
for (let add of adds) {
let poly = add[0];
let y = count++ * -nozzleSize;
let y = count++ * -start.height * 2;
if (-y > bump) {
count--;
// break;