From: daid Date: Mon, 8 Dec 2014 10:05:54 +0000 (+0100) Subject: add print time and filament usage to stats X-Git-Tag: lulzbot-14.12~3 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=452f0c45e200f270abc39b5f153be05e7346a9a8;p=cura.git add print time and filament usage to stats --- diff --git a/Cura/util/sliceEngine.py b/Cura/util/sliceEngine.py index 1c5d540a..f0032a91 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)