35 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
784253ca77 extrude: use macro naming when there is no temp 2022-07-03 12:03:50 -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
5a02ac75ae basic support for extruder_stepper 2022-07-03 12:03:50 -03:00
alfrix
3775dbd44e extruder: fix issue with filament_sensors fixes #634 2022-06-04 11:43:52 -03:00
alfrix
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix
7c8d4ea4d7 extrude: add filament sensor support 2022-05-31 11:14:42 -03:00
alfrix
6aa7f56231 extruder: fix temp overlap multi-extruder 2022-04-25 13:33:20 -03:00
alfrix
53c7afd7a5 Use extruder icon without number if there is only 1 2022-03-30 22:58:37 -03:00
alfrix
5899c8feab Optimize imports 2022-03-15 12:41:21 -03:00
Alfredo Monclus
dd027c0583
Vertical mode (#480) 2022-02-24 16:00:51 -03:00
alfrix
aad665e3ca Extrude: visibly change load/unload if they are not found 2022-01-30 21:06:04 -03:00
Alfredo Monclus
8dd5c64006
Extrude panel: Support 5 extruders (#441) 2022-01-17 01:13:16 -05:00
Christian Kvasny
0b9d545c6f
add speed as parameter to UN/LOAD_FILAMENT macro (#359)
* Configurable xy position for z-calibrate added

* fix coding style

* Z probe calibrate option added

* add speed as parameter for UN/LOAD_FILAMENT macro

* add macros.md to docs

* update description

* change macros-md
fix format

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2021-12-18 09:38:33 -05:00
Alfredo Monclus
d9171e0d15
Always show Load/Unload buttons (#363)
But give the user an error if the Macro is missing
2021-12-17 12:43:25 -05:00
Jordan
54c47554d2 Change how panel subscriptions work 2021-09-16 21:54:51 -04:00
Alfredo Monclus
62b65ba4d2
Add unload/load and reorganize extrude panel (#250)
* Add Load/Unload buttons and re-organize extruder panel
This uses the LOAD_FILAMENT and UNLOAD_FILAMENT macros so the user can have custom loading sequences.
If the macros are not found then the buttons don't show up

* Fix styling

* Fix styling2

* No colors because this are not buttons
2021-09-16 20:04:09 -04:00
Jordan
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe
8920516053 extrude: RTL support 2021-01-08 19:03:01 -05:00
Jordan Ruthe
b2b3127183 extrude: Include translations in function 2021-01-07 01:00:43 -05:00
Jordan Ruthe
3a60277392 extrude: Updates for language compatability 2021-01-03 18:44:19 -05:00
Jordan
3abbe921b2 extrude: fix panel to allow for multiple extruders 2020-12-21 10:01:21 -05:00
jordanruthe
238badb110
UI scaling (#28)
* Initial UI scaling commit

* temperature: updates to styling

* screen: fix dialog creation

* bed_level: scale images

* job_status: updates to scaling
2020-12-07 15:44:03 -05:00
Jordan Ruthe
a2f178c7e0 extrude: fix not showing temperatures 2020-12-04 18:28:49 -05:00
Jordan Ruthe
08a7057668 Change panel layout. Add title and move back button 2020-12-02 14:35:28 -05:00
Jordan Ruthe
728f9cfa0f screen/panels: add action to process update 2020-11-28 13:52:03 -05:00
Jordan Ruthe
8204e3ab17 Dynamically load panels 2020-11-23 21:00:04 -05:00
jordanruthe
3b62439939 Move files to ks_includes and update references 2020-11-18 17:15:05 -05:00
Jordan Ruthe
7db6a541f2 all: Update to enable language files 2020-11-18 07:49:12 -05:00
vacapetr
19e0ff5028
Update extrude.py 2020-11-14 09:38:47 +01:00
Jordan Ruthe
0da4922fd0 Setup logger in panels 2020-11-13 23:27:00 -05:00
Jordan Ruthe
59c8f8b19e Updates to work with the latest version of moonraker 2020-10-04 16:31:58 -04:00
Jordan Ruthe
d2036c13af Moving development into master 2020-08-01 14:38:09 -04:00