diff --git a/package.json b/package.json index 8208076a..71955ab4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "grid-apps", - "version": "3.5.4D", + "version": "3.5.5D", "description": "grid.space 3d slice & modeling tools", "author": "Stewart Allen ", "license": "MIT", diff --git a/src/kiri-mode/fdm/prepare.js b/src/kiri-mode/fdm/prepare.js index f0d07002..cd46a780 100644 --- a/src/kiri-mode/fdm/prepare.js +++ b/src/kiri-mode/fdm/prepare.js @@ -57,6 +57,8 @@ FDM.prepare = function(widgets, settings, update) { output = [], layerout = []; + let lastLayerStart = null; + // compute bounds if missing if (!bounds) { bounds = new THREE.Box3(); @@ -1370,6 +1372,8 @@ function slicePrintPath(print, slice, startPoint, offset, output, opt = {}) { // control of layer start point switch (process.sliceLayerStart) { + case "last": + break; case "center": startPoint = newPoint(0,0,startPoint.z); break; diff --git a/src/main/kiri.js b/src/main/kiri.js index 7d64f1ff..d1818206 100644 --- a/src/main/kiri.js +++ b/src/main/kiri.js @@ -15,7 +15,7 @@ gapp.main("main.kiri", [], (root) => { const modfns = root.kirimod = ( root.kirimod || [] ); const kiri = root.kiri = { - beta: 3504, + beta: 3505, driver: {}, // driver modules load(fn) { modfns.push(fn); diff --git a/src/moto/license.js b/src/moto/license.js index 084ea31c..ed3f382e 100644 --- a/src/moto/license.js +++ b/src/moto/license.js @@ -5,7 +5,7 @@ let terms = { COPYRIGHT: "Copyright (C) Stewart Allen - All Rights Reserved", LICENSE: "See the license.md file included with the source distribution", - VERSION: (is_self ? self : this).debug_version || "3.5.D4" + VERSION: (is_self ? self : this).debug_version || "3.5.D5" }; if (typeof(module) === 'object') {