Added warning suppression for all missing speeds and changed default to true

This commit is contained in:
Markus Lampert
2020-12-14 18:25:27 -08:00
parent 385c9b844c
commit 63dbf329aa
5 changed files with 77 additions and 40 deletions

View File

@@ -548,7 +548,7 @@ class ObjectOp(object):
hRapidrate = tc.HorizRapid.Value
vRapidrate = tc.VertRapid.Value
if hFeedrate == 0 or vFeedrate == 0:
if (hFeedrate == 0 or vFeedrate == 0) and not PathPreferences.suppressAllSpeedsWarning():
PathLog.warning(translate("Path", "Tool Controller feedrates required to calculate the cycle time."))
return translate('Path', 'Feedrate Error')