chiark / gitweb /
add print time and filament usage to stats
[cura.git] / Cura / util / sliceEngine.py
index 1c5d540a69d7295f7abb6750adade385fc777f2d..f0032a910665cc6d71932a878d3f5f175c9a4657 100644 (file)
@@ -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)