42 Commits

Author SHA1 Message Date
alfrix
1e6a9ec8ae log: cleanup logs for files, system and bed_mesh
functions: log if DPMS fails to load
screen: log send_action
2022-11-18 00:52:55 -03:00
alfrix
2aec78ff4c bed_mesh: adjust vertical mode 2022-11-12 10:11:09 -03:00
alfrix
ce6158ad91 bed_mesh: improvements an changes:
use current profiles instead of the ones saved in the config file
remove matplotlib and numpy, caused many intall issues, graph was slow and not great for small screens
create a custom 2D graph to show the probed matrix
2022-11-09 10:25:52 -03:00
alfrix
f588571bdd fix PEP E303 2022-10-27 23:18:21 -03:00
alfrix
70b5532695 bed_mesh: fix issues and improve
Fix sometimes not showing the current mesh
Remove calibrate from the list, (use the top bar)
Minimum Zscale is now -1 to 1 mm
Colorscale is now -0.2 to 0.2 mm tends to clip less on the usable range
Code cleanup and de-duplication
2022-10-21 14:58:07 -03:00
alfrix
e986e3cd8e fix PEP8 E303 and make the code check more strict 2022-09-02 19:58:35 -03:00
alfrix
38ceea5204 gtk: improve wrapping of labels 2022-09-02 19:58:35 -03:00
alfrix
eb17bb58ad screen_panel: remove unused parameters 2022-08-01 12:23:40 -03:00
alfrix
9c2b52009a built-in keyboard 2022-08-01 12:23:40 -03:00
alfrix
0d8746d3e3 bed_mesh: clear button calibrate button, fixed sizes cleanups 2022-08-01 12:23:40 -03:00
alfrix
fda5589531 screen: Always ask to save config if we detect it on responses 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
5ad82a64d4 Translations: install _() 2022-07-03 12:03:50 -03:00
alfrix
b611491997 Optimize imports 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
faf997c7ae keyboard: improve layout and interactions on panels with entry 2022-07-03 12:03:50 -03:00
alfrix
d3ce521bb0 keyboard: fix size while vertical 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
alfrix
c33659c6f7 gtk: cleanup andoptimize image handling, incomplete themes should now work 2022-04-02 09:59:12 -03:00
alfrix
e186fa6a3d bed_mesh and keypad: support writing with keyboard 2022-03-26 22:25:06 -03:00
alfrix
6a4eb7ac22 bed_mesh: fix graph out of screen in portrait 2022-03-25 14:30:13 -03:00
alfrix
3a91ba4604 style: set minimum height for distbuttons and simplify border removal 2022-03-25 09:57:11 -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
Jordan
4b0b937c41 Change scrolling behavior to enable touch scroll. Fix #466 2022-01-22 15:30:02 -05:00
Alfredo Monclus
efa6344964
bed_mesh: use default profile (#450)
currently the bed_mesh panel will create a profile called None if no profile is selected, but klipper will use the default profile if that is the case, using the default profile if nothing was selected should be correct.
2022-01-22 07:35:57 -03:00
Alfredo Monclus
9d3a6c7538
Support Manual Mesh calibration (#388)
* Bed_mesh: Home if not homed

* Bed_mesh: support manual bed mesh leveling

* Indentation Fix

* Change log string to represent current behaviour
2022-01-03 01:29:01 -05:00
Alfredo Monclus
ae47cac064
Improve plot performance (#364) 2021-12-17 12:39:31 -05:00
Alfredo Monclus
4569192ffa
Improve the bed mesh plot (#338)
* Improve the bed mesh plot

* Fix when the mesh is offset or there are big values
2021-11-25 12:45:54 -05: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
73b54f7aba base_panel: Include back/home button 2021-05-19 20:44:48 -04:00
Alfredo Monclus
e75a10a888
New Style - Solarized (#144)
* New Style solarized
2021-05-10 20:55:15 -04:00
Jordan Ruthe
c0cbe25531 bed_mesh: Include ability to view mesh
Added ability to visualize bed meshes. The active bed mesh will have 
more points available to view than inactive bed meshes.
2021-04-07 21:20:00 -04:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe
0bfe649882 KlippyGtk: Enable word wrap on buttons 2021-02-18 12:38:05 -05:00
Jordan Ruthe
0a5e931d17 bed_mesh: Updates to content to include action bar width 2021-02-15 15:53:39 -05:00
Jordan Ruthe
874dd509bf bed_mesh: Include add bed mesh 2021-01-21 21:49:57 -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
5ad29f0183 screen: popup error messages 2020-12-04 19:11:16 -05:00
Jordan Ruthe
3e11fad1fd bed_mesh: Add panel for bed_mesh 2020-12-04 14:13:03 -05:00