Skip to content

Commit

Permalink
Update MaxVolumetricSpeed.py
Browse files Browse the repository at this point in the history
Added a hard "Max E Speed Reset" to the end of the gcode.
  • Loading branch information
GregValiant committed Nov 29, 2024
1 parent 49cd0bf commit 6f64628
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/PostProcessingPlugin/scripts/MaxVolumetricSpeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,6 @@ def execute(self, data):
if re.search(search_regex, line) is not None:
lines[index] = f"M203 E{speed_e_reset}\n" + line + f"\nM203 E{speed_e_max}"
data[num] = "\n".join(lines)
# Reset the E speed at the end of the print
data[len(data)-1] = "M203 E" + str(speed_e_reset) + " ; Reset max E speed\n" + data[len(data)-1]
return data

0 comments on commit 6f64628

Please sign in to comment.