remove height offseting

This commit is contained in:
casperlamboo 2017-11-16 14:54:33 +01:00
parent b9b1f59af2
commit aef67db205

View File

@ -29,7 +29,7 @@ export default function slicesToGCode(slices, settings) {
let isFirstLayer = true; let isFirstLayer = true;
for (let layer = 0; layer < slices.length; layer ++) { for (let layer = 0; layer < slices.length; layer ++) {
const slice = slices[layer]; const slice = slices[layer];
const z = layer * layerHeight + 0.2; const z = layer * layerHeight;
if (layer === 1) { if (layer === 1) {
gcode.turnFanOn(); gcode.turnFanOn();