From 2a444f97fbedd0d8cfae4725e0b49ca24f09f2d8 Mon Sep 17 00:00:00 2001 From: daid Date: Mon, 8 Dec 2014 11:05:54 +0100 Subject: [PATCH] add print time and filament usage to stats --- Cura/util/sliceEngine.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index 2fd21e4a..d7750ca0 100644 --- a/Cura/util/sliceEngine.py +++ b/Cura/util/sliceEngine.py @@ -156,6 +156,8 @@ class EngineResult(object): 'preferences': self._preferencesString, 'modelhash': self._modelHash, 'version': version.getVersion(), + 'printtime': self._printTimeSeconds, + 'filament': ','.join(map(str, self._filamentMM)), } try: f = urllib2.urlopen("https://stats.youmagine.com/curastats/slice", data = urllib.urlencode(data), timeout = 1) -- 2.30.2