chiark
/
gitweb
/
~ianmdlvl
/
cura.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e1923e
)
add print time and filament usage to stats
author
daid
<daid303@gmail.com>
Mon, 8 Dec 2014 10:05:54 +0000
(11:05 +0100)
committer
daid
<daid303@gmail.com>
Mon, 8 Dec 2014 10:05:54 +0000
(11:05 +0100)
Cura/util/sliceEngine.py
patch
|
blob
|
history
diff --git
a/Cura/util/sliceEngine.py
b/Cura/util/sliceEngine.py
index 2fd21e4a010576344a6745724dee2e3562c0e0ae..d7750ca05edb94745c9bc28769a598f85b57f274 100644
(file)
--- 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)