From: daid Date: Mon, 19 Mar 2012 10:49:16 +0000 (+0100) Subject: Added current print speed volume to warning X-Git-Tag: RC1~59 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=871b0426eb5739bcbde2f3adadd0a01f758c0850;p=cura.git Added current print speed volume to warning --- diff --git a/SkeinPyPy/newui/validators.py b/SkeinPyPy/newui/validators.py index 7a2bedb5..6352debd 100644 --- a/SkeinPyPy/newui/validators.py +++ b/SkeinPyPy/newui/validators.py @@ -110,7 +110,7 @@ class printSpeedValidator(): maxPrintVolumePerSecond = 10 / (math.pi*(0.2*0.2)) * (math.pi*(nozzleSize/2*nozzleSize/2)) if printVolumePerSecond > maxPrintVolumePerSecond: - return WARNING, 'You are trying to print more then %.1fmm^3 of filament per second. This might cause filament slipping.' % (maxPrintVolumePerSecond) + return WARNING, 'You are trying to print more then %.1fmm^3 of filament per second. This might cause filament slipping. (You are printing at %0.1fmm^3 per second)' % (maxPrintVolumePerSecond, printVolumePerSecond) return SUCCESS, '' except ValueError: