From 044d7d803466c44011fb473500d55ce1202cd1ea Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Sun, 2 May 2021 11:31:25 -0400 Subject: [PATCH] fix bi-directional anchor printing w/out bump. fix bump angle. bump rev 2.9.D7 --- package.json | 2 +- src/kiri.js | 2 +- src/license.js | 2 +- src/mode/fdm/slice.js | 6 ++++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d36bea7c..b7778274 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "grid-apps", - "version": "2.9.6D", + "version": "2.9.7D", "description": "grid.space 3d slice & modeling tools", "author": "Stewart Allen ", "license": "MIT", diff --git a/src/kiri.js b/src/kiri.js index 744aa7ed..23ee30c0 100644 --- a/src/kiri.js +++ b/src/kiri.js @@ -6,7 +6,7 @@ if (!self.kiri) { self.kiri = { - beta: 2906, + beta: 2907, driver: {}, // driver modules loader: [] // module loading: array of functions }; diff --git a/src/license.js b/src/license.js index 884fd88c..ab6e89b2 100644 --- a/src/license.js +++ b/src/license.js @@ -3,7 +3,7 @@ let terms = { COPYRIGHT: "Copyright (C) Stewart Allen - 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') { diff --git a/src/mode/fdm/slice.js b/src/mode/fdm/slice.js index 229a3083..4cdaa422 100644 --- a/src/mode/fdm/slice.js +++ b/src/mode/fdm/slice.js @@ -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;