]> wolfpit.net Git - hardware/fuck_tomatoes/.git/blob - utils/PrinterUtils.py
a0a3c0dd929ca92d0af96ee9d076b965a8490a95
[hardware/fuck_tomatoes/.git] / utils / PrinterUtils.py
1
2 def parsePrinterXY(printerData):
3 xy = printerData.split('Count')[1].split('Z')[0].strip().replace('Y:', '').split(' ')[1:]
4 return (xy[0], xy[1])
5