Merge pull request #57 from marc4492/#42-convert_pbm

#42 Run the c++ code to convert PBM binary to ascii
This commit is contained in:
Marc-Antoine
2019-03-18 17:43:53 -04:00
committed by GitHub
6 changed files with 20 additions and 128 deletions

View File

@@ -52,7 +52,7 @@ class TestListToGCode(TestCase):
def getExpected(coords, ySize, xSize):
header = ['G28', 'G90\n']
footer = ['\nG0 Z0', 'G28']
footer = ['\nG0 Z0', 'G28', 'M18']
content = ['G0 X' + str(round(xSize * coords[0].getX(), 2)) + ' Y' + str(round(ySize * coords[0].getY(), 2)),
'G0 Z3',