Correct a silly bug in saving the wow file

This commit is contained in:
Godzil 2018-02-25 20:39:54 +00:00
parent 7fc5f31605
commit b274920667

8
wow.py
View File

@ -140,14 +140,14 @@ class WowFile:
_LayerStart = ";L:{layer:d};\n" \ _LayerStart = ";L:{layer:d};\n" \
"M106 S0;\n" \ "M106 S0;\n" \
"G1 Z{up:,g} F{spdu:,g};\n" \ "G1 Z{up:,g} F{spdu:g};\n" \
"G1 Z{down:,g} F{spdd:,g};\n" \ "G1 Z{down:,g} F{spdd:g};\n" \
"{{{{\n" "{{{{\n"
_LayerEnd = "\n" \ _LayerEnd = "\n" \
"}}}}\n" \ "}}}}\n" \
"M106 S{exp:,g};\n" \ "M106 S{exp:g};\n" \
"G4 S{wait:,g};\n" "G4 S{wait:g};\n"
def _decode(self, code, cur_layer): def _decode(self, code, cur_layer):
splitcode = code.strip(";").split(" ") splitcode = code.strip(";").split(" ")