From bcea4cc551990e74ae58082c1e57a1711038da29 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Tue, 27 Apr 2021 22:46:43 -0400 Subject: [PATCH] turn bump into hollow box --- src/mode/fdm/slice.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mode/fdm/slice.js b/src/mode/fdm/slice.js index 3d8d843c..402976ab 100644 --- a/src/mode/fdm/slice.js +++ b/src/mode/fdm/slice.js @@ -388,7 +388,8 @@ let poly = add[0]; let y = count++ * -nozzleSize; if (-y > bump) { - break; + count--; + // break; } poly.push(poly.last().add({x:0, y, z:0})); poly.push(poly.first().add({x:0, y, z:0}));