Skip to content

Commit

Permalink
Update MaxVolumetricSpeed.py
Browse files Browse the repository at this point in the history
Revised the regular expression.
  • Loading branch information
GregValiant committed Nov 25, 2024
1 parent 9cfacea commit 49cd0bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/PostProcessingPlugin/scripts/MaxVolumetricSpeed.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def execute(self, data):
max_e_flow_rate = self.getSettingValueByKey("max_E_flow_rate")
# Adjust the search parameter depending on Firmware Retraction
if not firmware_retraction:
search_string = "G1 F(\d*\d.?) E(-?\d.*)"
search_string = "G1 F(\d+\.\d+|\d+) E(-?\d+\.\d+|-?\d+)"
else:
search_string = "G1[0-1]"
# Calculate the E Speed Maximum for the print
Expand Down

0 comments on commit 49cd0bf

Please sign in to comment.