Converts Prusa M73
.gcode commands to Marlin M117
. M73
command's purpose is to show remaining time on Prusa3D printers.
Text output is optimised for Ender 3 default 128*64 screen. Tested with plain Python 3.10 and Marlin 2.0.
Note:
M73
command is inserted to gcode by PrusaSlicer itself. My script only replaces this command to Marlin-suitable M117
. If you need M73
in your gcode, you have to follow only step 0 of "Installation".
Preview:
01:05 left / 34% done
-
If insertion of
M73
commands not enabled yet: tick thePrinter settings
->General
->Supports remaining time
. After enabling it you will get gcode withM73
commands. -
Install Python and remember the installation directory (
[python directory]
) -
Copy time_converter.py to PrusaSlicer installation folder (to store it safely with slicer itself) or to any other folder (
[script directory]
) -
Configure the PrusaSlicer: go to
Print settings
>Output options
>Post-processing scripts
and add line:"[python directory]/python.exe" "[script directory]/script.py";