fix bi-directional anchor printing w/out bump. fix bump angle. bump rev 2.9.D7
This commit is contained in:
parent
dcca7249d3
commit
044d7d8034
4 changed files with 7 additions and 5 deletions
|
|
@ -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 <sa@grid.space>",
|
||||
"license": "MIT",
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
if (!self.kiri) {
|
||||
self.kiri = {
|
||||
beta: 2906,
|
||||
beta: 2907,
|
||||
driver: {}, // driver modules
|
||||
loader: [] // module loading: array of functions
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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') {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue