You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In server/models/printers.py, in parseGcode, we have this line:
if("M569" in line) and job.getTimeStarted()==0:
We choose this Gcode line to "start" the timer. However, this is a GCode line that is included in GCode files sliced by the Prusa Slicer specifically for MK4. If we want to expand this to more printers, we need a less hardcoded way to "start" the timer. How do we know when the printer starts extruding if this isn't a universal command?
There may be a JSON file that lists all of the GCode lines that mark first extrude. The exact lines may differ depending on both the type of 3D printer and also the specific slicer you are using. Figure out when to mark the timer start using a more universal method.
The text was updated successfully, but these errors were encountered:
In server/models/printers.py, in parseGcode, we have this line:
if("M569" in line) and job.getTimeStarted()==0:
We choose this Gcode line to "start" the timer. However, this is a GCode line that is included in GCode files sliced by the Prusa Slicer specifically for MK4. If we want to expand this to more printers, we need a less hardcoded way to "start" the timer. How do we know when the printer starts extruding if this isn't a universal command?
There may be a JSON file that lists all of the GCode lines that mark first extrude. The exact lines may differ depending on both the type of 3D printer and also the specific slicer you are using. Figure out when to mark the timer start using a more universal method.
The text was updated successfully, but these errors were encountered: