Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Set remaining print time #2114

Closed
CCS86 opened this issue Sep 15, 2023 · 5 comments · Fixed by #2940
Closed

Disable Set remaining print time #2114

CCS86 opened this issue Sep 15, 2023 · 5 comments · Fixed by #2940

Comments

@CCS86
Copy link

CCS86 commented Sep 15, 2023

Could we please have an option to disable the gcode output for M73: Set remaining print time?

@foreachthing
Copy link

You could write a small post-processing script which would remove/comment all those M73 lines.
Something like this (I have not tested it):

#!/usr/bin/python
import sys
import re

settime = re.compile("M73\sP\d+.*")
subst = "; Manually commented: \\g<0>"

out = open(sys.argv[1]+"_notime", 'w')
  with open(sys.argv[1]) as f:
    for r in f:
      if re.search(settime, r) is not None:
        out.write(re.sub(regex, subst, test_str, 0))
      else:
        out.write(r)

@Noisyfox
Copy link
Collaborator

Out of curious, why do you want to disable that?

@foreachthing
Copy link

One reason: our Ultimaker 2 does not support it. So, needless gcode is emitted/processed.

@quinzico
Copy link

My Ender 7 has the same issue, its very annoying to hear a bip and see a popup message on the printer screen evey layer.

@Nightmare-Faux
Copy link

I'm using an Artillery X1 and Digant's latest TFT firmware also get an annoying bip and popup every m73 update. Has anyone found a solution to this? For Dummies. I don't know how to use python (or any software for that matter) to post process my g-code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants