From 871b0426eb5739bcbde2f3adadd0a01f758c0850 Mon Sep 17 00:00:00 2001 From: daid Date: Mon, 19 Mar 2012 11:49:16 +0100 Subject: [PATCH] Added current print speed volume to warning --- SkeinPyPy/newui/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2