Gina Häußge
47b7acdfbc
Merge branch 'dev/python3A' of https://github.com/ByReaL/OctoPrint into pr/ByReaL/dev/python3A
...
Conflicts:
src/octoprint/plugins/virtual_printer/virtual.py
src/octoprint/printer/standard.py
2016-07-15 12:28:19 +02:00
MirceaDan
c33a9f9aa2
from __future__ import absolute_import, division, print_function
...
changed the behavior to import division and print to be consistent
across all app and similar with python 3.x
2016-07-15 00:16:58 -07:00
MirceaDan
149cc8c7c5
python 3 changes exceptions, queue and asesrtEqual
...
1) import Queue is now lower caps
2) exceptions
except KeyError as e:
3) assertEquals is deprecated but assertEqual does exactly same thing
2016-07-14 23:53:39 -07:00
Gina Häußge
333c9ba205
Refactoring of "printer" modules
...
- renamed methods from camelCase to snake_case
- renamed callback mathods from comm module from camelCase to snake_case
- extracted and documented public interface to be used by plugins
- extracted callback interface to be implemented by subscribed callbacks to printer
- moved standard implementation to custom package
- moved time estimation classes to custom package
2015-03-03 17:01:33 +01:00
Gina Häußge
e702736455
Updated/fixed unit tests and travis configuration
2015-03-02 12:58:24 +01:00
Gina Häußge
dc2318f404
Use the rolling average of the last n estimations instead of the current estimation for reporting print time left
2014-12-18 12:01:01 +01:00
Gina Häußge
014d39c11d
Fetch estimated print time from cura slicing result, create print time statistics per printer profile, interpolate between stats and live estimation during printing for print time left
2014-12-17 17:31:30 +01:00
Gina Häußge
5ac908afd4
Pauses in the print job are now cleaned from the basis for print time estimation, also switched to a rolling window approach for determining when estimation becomes stable
2014-12-16 13:27:31 +01:00
Gina Häußge
f2562500a3
Print time estimation is now not displayed until it becomes somewhat stable
2014-12-12 23:38:57 +01:00