alfrix
e140120b44
main temp: load the visibility of items
2022-09-02 19:58:35 -03:00
alfrix
c57915ef19
temp: fix styling not updating when entering and exiting numpad
2022-09-02 19:58:35 -03:00
alfrix
f60a878e7b
main and temp: save visibility of items
2022-09-02 19:58:35 -03:00
alfrix
38ceea5204
gtk: improve wrapping of labels
2022-09-02 19:58:35 -03:00
alfrix
83c6f87281
temperature: fix blank space if the special cooldown is not at the bottom of the config #688
2022-08-02 09:31:48 -03:00
alfrix
455cb9da99
temperature: fix cooldown after 207914a
2022-08-02 08:57:16 -03:00
alfrix
207914a5b5
temperature: fix for users that want to have temps in cooldown fix #688
2022-08-01 21:11:37 -03:00
alfrix
e8e4555d46
temperature: Support specific preheat items close #428
2022-08-01 12:23:40 -03:00
alfrix
eb17bb58ad
screen_panel: remove unused parameters
2022-08-01 12:23:40 -03:00
alfrix
a0cff7ec56
simplify name spliting
2022-08-01 12:23:40 -03:00
alfrix
f9e6ac62b7
main menu and temp cleanups and tweaks
2022-08-01 12:23:40 -03:00
alfrix
6510b2ec6b
Refactor
...
Use f-strings
Avoid unnecessary casts to str()bool()int()
Ensure file closure
Merge nested ifs
Simplify for-assigns-appends with comprehensions and internal functions
Avoid shadowing internal function names
Initialize variables
Return value directly instead of assign then return
Make some methods static
2022-08-01 12:23:40 -03:00
alfrix
e70c9d37e9
layout: fixes for long vertical screens
...
KS is not optimized for this aspect-ratio, but at least it shouldn't be broken
2022-07-04 16:23:21 -03:00
alfrix
f97bed826b
style: deprecate active_device class
2022-07-04 13:46:04 -03:00
alfrix
5ad82a64d4
Translations: install _()
2022-07-03 12:03:50 -03:00
alfrix
831db2403d
Fix potential issues with variables
2022-07-03 12:03:50 -03:00
alfrix
06fceec84a
Change the deprecated VBox and HBox to oriented Boxes
2022-07-03 12:03:50 -03:00
alfrix
a445b89f13
config: deprecate get_main_config_option
2022-07-03 12:03:50 -03:00
alfrix
5a02ac75ae
basic support for extruder_stepper
2022-07-03 12:03:50 -03:00
alfrix
33195f203f
Simplify code
2022-05-31 11:14:42 -03:00
alfrix
5a36729b76
PEP8, typos and warnings fixes
2022-05-31 11:14:42 -03:00
Ruslan Sayfutdinov
794dbea14e
Allow setting 0 in preheat options ( #612 )
2022-05-31 11:10:27 -03:00
alfrix
504d395661
temperature: fix issue with the new cooldown preheat setting
2022-04-23 11:57:52 -03:00
Julien Kohler
3ea0b09863
Add possibility to define custom code for cooling ( #579 )
...
These changes allow to define custom code to be run when using the cooldown preset.
Here an example in the configuration:
```
[preheat cooldown]
gcode: M107
```
2022-04-11 08:25:07 -03:00
alfrix
e09d72f12d
main and temp: fix same color for heater_generics and sensors
2022-04-02 14:29:31 -03:00
alfrix
ab38dab291
style: add heater_generic icon
2022-04-02 14:29:31 -03:00
alfrix
c33659c6f7
gtk: cleanup andoptimize image handling, incomplete themes should now work
2022-04-02 09:59:12 -03:00
alfrix
53c7afd7a5
Use extruder icon without number if there is only 1
2022-03-30 22:58:37 -03:00
alfrix
2e16193292
menu: fix portrait issues
2022-03-25 13:41:22 -03:00
alfrix
4899701ae3
Update translations
2022-03-20 10:21:34 -03:00
alfrix
0d259d6d04
main_menu and temp: reduce load
...
Drawing the graph has a high load impact, reduce the interval of redraw
if the user needs instantaneous values, then the list provides it,
the graph is there to provide historical data of behaviour not instantaneous values.
-------- | Load | Note
idle | 0.3 | screensaver
menu | 0.4 | No process update
extrude | 0.6 | updates temp
graph 5s | 0.8 |
graph 1s | 1.2 |
the load is the 15 min mean after about half an hour
Tests carried out on a Pi3A
2022-03-19 14:47:59 -03:00
alfrix
7dc74f74f4
temp_panel: fix #550
2022-03-18 17:51:37 -03:00
alfrix
ee0cc9ca10
Remove unused variables
2022-03-15 12:41:21 -03:00
alfrix
5899c8feab
Optimize imports
2022-03-15 12:41:21 -03:00
Alfredo Monclus
6ce0ea7253
graph: various fixes ( #539 )
...
fix axis sizes for high resolutions (tie to font_size)
fix update interval sometimes being faster (fix printer timer)
fix new device added causing horizontal line (use min not max)
2022-03-13 12:10:42 -03:00
Alfredo Monclus
dd027c0583
Vertical mode ( #480 )
2022-02-24 16:00:51 -03:00
alfrix
de35769600
Temp_panel: Fix issue with temperature_fan #495
...
Since temperature_fan has a target, it needs to be in the list to properly work
2022-02-08 13:45:46 -03:00
alfrix
8375606771
Make Main_menu and Temp_panel look equal
2022-02-05 12:17:12 -03:00
alfrix
d0b651c9dd
Temp_panel: fix #490
2022-02-05 10:41:00 -03:00
alfrix
7db75ec30f
Temp_panel: Fix target not updating when using both gcode and ks settings
2022-02-01 12:54:27 -03:00
alfrix
0f5752e3f1
Fix long line
2022-01-30 14:35:18 -03:00
alfrix
b9b404a356
Tpanel: replace underscore with space close #463
2022-01-30 14:03:51 -03:00
alfrix
dad267d278
Temp_panel: Fix issue with shared_heaters Fix #482
2022-01-29 00:24:50 -03:00
alfrix
4c89eaf3e2
Temp: Start in delta mode when printing
2022-01-28 14:23:22 -03:00
alfrix
d0ccdc0f7c
Temp_panel: Show only heaters
2022-01-24 08:41:22 -03:00
alfrix
213f1c92d6
Temp_panel: Maintain selection of heaters if the user go out of the panel and back
2022-01-23 13:51:18 -03:00
alfrix
02c008de84
Temp_panel: Fix temps not updating after opening another instance
...
Fix #446
2022-01-23 13:18:36 -03:00
alfrix
0592840ded
Change scrolling behaviour in a few more places
2022-01-22 21:08:41 -03:00
Jordan
4b0b937c41
Change scrolling behavior to enable touch scroll. Fix #466
2022-01-22 15:30:02 -05:00
Alfredo Monclus
1065676018
Temp_panel: Do not set temp if not defined or out of range ( #449 )
2022-01-22 07:43:03 -03:00