From 71a82f4a3a1f0aa44e95eaac16a0937b57fc9168 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Thu, 11 Jan 2018 13:28:23 -0500 Subject: [PATCH] fix top sparse fill --- js/kiri-print.js | 4 +++- js/kiri-slice.js | 6 +++--- js/license.js | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/js/kiri-print.js b/js/kiri-print.js index 93c37c2e..789192a2 100644 --- a/js/kiri-print.js +++ b/js/kiri-print.js @@ -740,7 +740,9 @@ var gs_kiri_print = exports; }); // perform last wipe on top layer at end of run - if (wipeAfter && wipe) outputWipe(wipe); + if (wipeAfter && wipe) { + outputWipe(wipe); + } // offset print points for (i=0; i 0.5) { + // use only polygons inside the top + if (poly.isInside(top.poly)) { top.fill_sparse.push(poly); - // } + } }); }); } diff --git a/js/license.js b/js/license.js index 5ebda2c4..20fd7928 100644 --- a/js/license.js +++ b/js/license.js @@ -1,7 +1,7 @@ var exports = { COPYRIGHT:"Copyright (C) 2014-2017 Stewart Allen - All Rights Reserved", LICENSE:"Unauthorized copying, modification and re-distribution are strictly prohibited without prior written consent.", - VERSION:"1.0.82" + VERSION:"1.0.83" }; if (!module) var module = {}; module.exports = exports;