Skip to content

Commit

Permalink
Extras: add temporary post process bypass confirmation message
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Dec 21, 2024
1 parent 28cf93c commit 680a756
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions configuration/klippy/ratos.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,12 @@ def cmd_ALLOW_UNKNOWN_GCODE_GENERATOR(self, gcmd):
desc_BYPASS_GCODE_PROCESSING = "Disables postprocessor for the next print."
def cmd_BYPASS_GCODE_PROCESSING (self, gcmd):
self.bypass_post_processing = True
self.console_echo('Post-processing bypassed on next print', 'info', "_N_".join([
'Post-processing will be bypassed on the next print.',
'You can bypass post-processing permanently by adding the following to printer.cfg._N_',
'[ratos]',
'bypass_post_processing: True_N_'
]))

desc_TEST_PROCESS_GCODE_FILE = "Test the G-code post-processor for IDEX and RMMU, only for debugging purposes"
def cmd_TEST_PROCESS_GCODE_FILE(self, gcmd):
Expand Down

0 comments on commit 680a756

Please sign in to comment.