32 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
5ad82a64d4 Translations: install _() 2022-07-03 12:03:50 -03:00
alfrix
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix
c33659c6f7 gtk: cleanup andoptimize image handling, incomplete themes should now work 2022-04-02 09:59:12 -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
84fc6e5757
Bed_level: Support 6 and 8 Screws and rotation (#484) 2022-02-23 14:04:54 -03:00
Adam Polkosnik [fun]
57377a7e8b
Bed leveling fix for printers with 4+ bed_screws (#445)
Fixes #443 on my printer with  6 bed screws.
It seemed to work with 3, 4, and 6 bed screws defined in printer.cfg
Also, added if statement to check for "screws_tilt_adjust" to avoid throwing an error when the section is not present.
2022-01-30 21:12:10 -03:00
Jordan
5d6f80a170 bed_level: Fix #275. Make the screws button disabled while command is running. 2021-09-18 09:50:24 -04:00
Jordan
54c47554d2 Change how panel subscriptions work 2021-09-16 21:54:51 -04:00
Jordan
70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Jordan
10e1fa867b bed_level: Fix #206 Format change for SCREWS_TILT_ADJUST output 2021-07-18 16:41:56 -04:00
Jordan Ruthe
b39d433c46 bed_level: Fix other regex statement for screws Fixes another regex statement to allow negative values. Addresses #138 2021-04-26 20:55:24 -04:00
Jordan Ruthe
9dce74fac1 bed_level: Fix regex statement for screws
Regex statement for screws will now find screws in the negative 
position. Addresses #138
2021-04-25 19:10:50 -04:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe
f1ced2ac46 bed_level: Fix #50 2021-01-25 20:36:37 -05:00
Jordan Ruthe
0453627d40 bed_level/move/temperature/zcalibrate: RTL support 2021-01-09 22:21:27 -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
ea465b0f4d bed_level: fix math error 2020-12-06 21:23:16 -05:00
Jordan Ruthe
9047f58c60 bed_level: change so only screws_tilt_adjust section will take into account the probe offset 2020-12-06 16:06:34 -05:00
Jordan Ruthe
4736ed4d84 bed_level: updates to screws_tilt_calculate feature 2020-12-05 17:09:29 -05:00
Jordan Ruthe
cb39b469b0 bed_level: include screws_tilt_calculate command 2020-12-04 19:41:45 -05:00
Jordan Ruthe
08a7057668 Change panel layout. Add title and move back button 2020-12-02 14:35:28 -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
Jordan Ruthe
2341642cc2 bed_level: clean comment 2020-11-18 06:08:28 -05:00
Jordan Ruthe
2ffe6809fd bed_level: Fix incorrectly assigned variable 2020-11-18 06:05:06 -05:00
Jordan Ruthe
0da4922fd0 Setup logger in panels 2020-11-13 23:27:00 -05:00
Jordan Ruthe
2c135f1aa8 Add disable motors button 2020-11-11 13:23:46 -05:00
Jordan Ruthe
36e49197a0 Bed level updates. The buttons now work! 2020-11-03 21:59:56 -05:00
Jordan Ruthe
d2036c13af Moving development into master 2020-08-01 14:38:09 -04:00