12 Commits

Author SHA1 Message Date
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
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
Alfredo Monclus
8a8c6c064c
Graph in temp panel, combine preheat and temp (#393)
* Graph in temp panel, combine preheat and temp

* Fix target not working properly

* Fix initial preselect

* Add the ability to change in delta temps

* Make the label translatable

* Add Unit to the label

* Add de/select button to popover

* Warn the user if nothing was selected

* Fix templabel

* Fix to comply with pep8

* Fix colors, thanks Jordan

* Fix popover selection

* Update docs image

* Gain horizontal space

* Gain even more horizontal space (remove target)

* Fix temperature_fan

* Add icon and style to temperature_fan

* List preheat deprecation in breaking changes

* Use the printer maximum temperature

* Cleanup target and fix popover select

* Fix codestyle

* Add extra preheat presets

* Change Class name

* Update docs image

* Improve Maximum temperature handling and Temperature fans
2022-01-11 00:39:42 -05:00
Alfredo Monclus
4f61cedd6c
Zcal panel: Support for Z_ENDSTOP_CALIBRATE (#327)
* Zcal panel: Support for Z_ENDSTOP_CALIBRATE

* Suggested changes

* Change naming of Gcodes because it can be calibrating an endstop and not a probe

* Update translations
2021-11-21 15:40:42 -05:00
Alfredo Monclus
b959cf5b4f
Move panel: Add Z-tilt/Quad-gantry-level/HomeXY button (#326) 2021-11-16 21:05:02 -05:00
Julian Schill
51d26a3a29
Add temperature fans to heaters (#325)
* Add temperature fans to heaters

* Make code prettier

* Indentation
2021-11-16 21:03:14 -05:00
Jordan
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan Ruthe
fe1721debd KlippyGcodes: fixes #110 2021-03-22 20:04:33 -04:00
Jordan Ruthe
0c73b3831b preheat: add heater_generic 2021-02-19 15:21:50 -05:00
Jordan Ruthe
874dd509bf bed_mesh: Include add bed mesh 2021-01-21 21:49:57 -05:00
Jordan Ruthe
3e11fad1fd bed_mesh: Add panel for bed_mesh 2020-12-04 14:13:03 -05:00
jordanruthe
3b62439939 Move files to ks_includes and update references 2020-11-18 17:15:05 -05:00