chiark / gitweb /
Added current print speed volume to warning
authordaid <daid303@gmail.com>
Mon, 19 Mar 2012 10:49:16 +0000 (11:49 +0100)
committerdaid <daid303@gmail.com>
Mon, 19 Mar 2012 10:49:16 +0000 (11:49 +0100)
SkeinPyPy/newui/validators.py

index 7a2bedb56043acc7cf1da48aa1f51070a04857fc..6352debd94ff7d88289523dcbb7908fe0b65c8f9 100644 (file)
@@ -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: