Skip to content
Permalink
Browse files

- mirror bug hotfix

  • Loading branch information...
Fabian
Fabian committed Mar 4, 2018
1 parent 6dab4c6 commit 4bcc1fcf6e126a263b3e5fc341b7d9abb9978183
Showing with 9 additions and 2 deletions.
  1. +9 −2 js/main.js
@@ -232,12 +232,12 @@ function getSlice(layerNumber) {
" F" + settings.get('slicer.lifting.decline') + ";\n{{\n"

//var binary_layer = (new TextDecoder("utf-8")).decode(array)
wowFile += bin2string(array.reverse());
wowFile += bin2string(array);
wowFile += "\n";

if (settings.get('slicer.folder')) {
// Backup text file
zipFolder.file(layerNumber + ".txt", array.reverse());
zipFolder.file(layerNumber + ".txt", array);
}

//bottom layer
@@ -747,6 +747,9 @@ function endSlicing() {
wowFile += "M106 S0;\nG1 Z20.0;\nG4 S300;\nM18;"

zipFile.file("print.wow", wowFile, {binary: true});

// hotfix for mirror bug
flipGeometry();
}

sliceImage('none');
@@ -807,6 +810,10 @@ function startSlicing() {
}

if(WOWExport){// GCode logic

// hotfix for mirror bug
flipGeometry();

wowFile = "";

// Tests

0 comments on commit 4bcc1fc

Please sign in to comment.
You can’t perform that action at this time.