From aef67db205daac3795a2c172fdc4f0c5122ce645 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Thu, 16 Nov 2017 14:54:33 +0100 Subject: [PATCH] remove height offseting --- src/sliceActions/slicesToGCode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sliceActions/slicesToGCode.js b/src/sliceActions/slicesToGCode.js index a3dda02..4c3b9bb 100644 --- a/src/sliceActions/slicesToGCode.js +++ b/src/sliceActions/slicesToGCode.js @@ -29,7 +29,7 @@ export default function slicesToGCode(slices, settings) { let isFirstLayer = true; for (let layer = 0; layer < slices.length; layer ++) { const slice = slices[layer]; - const z = layer * layerHeight + 0.2; + const z = layer * layerHeight; if (layer === 1) { gcode.turnFanOn();