Open aissak21 opened 2 years ago
In my file, I've encountered:
word 'P' value invalid
, solved by commenting M862.3 P "MK3S" ; printer model check
block code remaining '.1'
, solved by commenting M115 U3.10.1 ; tell printer latest fw version
word 'W' value invalid
, solved by commenting G28 W ; home all without mesh bed level
Check there: https://github.com/emorybarlow/pygcode
The following code chunk worked well for a gcode file sliced in CURA but not in PrusaSlicer. Now I get
error: word 'P' value invalid
. Is there a way to go about this to parse this file with pygcode, perhaps if it's not a compatibility issue? There is a PyGcode extension for Prusa but it's for adding gcode into the file via python.