59 Commits

Author SHA1 Message Date
alfrix
b1a6d5c182 improve panel initialization
just make a notify_status_update from printer data, it's much simpler
2022-11-30 11:00:10 -03:00
alfrix
a61a74d7bf initialize with values some panels 2022-11-26 16:46:33 -03:00
alfrix
f8cde7bfe1 Add busy state, and disable buttons that usually take time during the state 2022-11-26 00:17:30 -03:00
alfrix
593d8c678b gtk: merge buttonimage and button 2022-11-22 14:55:42 -03:00
alfrix
b415eca1c8 keyboard shortcuts escape and backspace to return 2022-11-22 14:55:42 -03:00
alfrix
d0d79a64df base_panel: simplify action bar buttons enable-disable 2022-11-21 09:20:05 -03:00
alfrix
dbd1474d63 screen_panel: share ks_printer_cfg between panels 2022-11-20 14:17:48 -03:00
alfrix
c4c7e50314 printer: create get_probe to support other probe types 2022-11-20 11:07:24 -03:00
alfrix
45ab86204b panels: remove initialize from the panels that do not have a menu 2022-11-18 00:53:53 -03:00
alfrix
0ca410acba zcalibrate: use sample_retract_dist if available close #748 2022-11-09 10:25:37 -03:00
alfrix
02c043eece zcalibrate: add dockable_probe #750 2022-11-09 08:51:59 -03:00
alfrix
df195a0135 zcalibrate: use a tiny movement to detect state, need status 2022-11-04 19:27:08 -03:00
alfrix
23b64b1625 zcalibrate: use safe_z z_hop if defined close #748 2022-11-04 18:27:16 -03:00
alfrix
e36cf78e40 zcalirbrate: fix e225 2022-11-03 23:51:44 -03:00
alfrix
e0950247d2 zcalibrate: use safe_z_home if available 2022-11-03 23:40:30 -03:00
alfrix
723662074e Change togglebuttons to regular buttons to simplify code 2022-10-14 10:19:44 -03:00
alfrix
4b7fda9ba0 zcalibrate: fix XY offset not applied if one of them is not defined 2022-10-14 10:19:44 -03:00
alfrix
657f1b133f zcalibrate: fix wrong sign in new offset 2022-09-02 19:58:35 -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
06fceec84a Change the deprecated VBox and HBox to oriented Boxes 2022-07-03 12:03:50 -03:00
alfrix
88ea416110 zcalibrate: fix issue with offset being a float 2022-07-03 12:03:50 -03:00
alfrix
5a36729b76 PEP8, typos and warnings fixes 2022-05-31 11:14:42 -03:00
alfrix
7e988b3f35 zcalibrate: show the saved offset and offset to be saved 2022-05-31 11:14:42 -03:00
alfrix
7078e52a4f zcalibrate: fix issue with delta kinematics fix #583 2022-04-11 22:46:13 -03:00
alfrix
4bace34847 zcalibrate: add manual delta_calibrate fix #575 2022-04-05 20:02:28 -03:00
alfrix
1ff0616457 zcalibrate: fix issue when position is not defined 2022-04-03 06:15:22 -03:00
alfrix
9f9e2ed6ad docs: update zcalibrate pos and dpms 2022-04-01 10:29:54 -03:00
alfrix
07bbbe9d51 zcalibrate: add selector for the different modes zcalibrate supports
closes #514
2022-03-25 10:51:08 -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
Alfredo Monclus
2982eb9645
Track the status of calibration and inform the user more (#402) 2022-01-12 20:03:57 -05: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
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
Jordan
f6fcb322f5 z_calibrate: Fix issue where z_calibrate_position section does not exist 2021-11-06 22:46:24 -04:00
Christian Kvasny
4780592778
Configurable xy position for z-calibrate added (#310)
* Configurable xy position for z-calibrate added

* fix coding style

* Z probe calibrate option added
2021-11-02 08:00:20 -04:00
Alfredo Monclus
5e3e8be005
Styling updates (#279)
* Dialog buttons colors

* Zcalibrate add colors for buttons

* Fix move panel misalignment and add color to home button

* z-bolt switch styling

* Splash screen homogeneous buttons

* remove switch slider border

* Remove max chars from filename (ellipsizes anyway)

* Fix colorized buttons moving when pressed

* Updater more row spacing

* Colorized button press
2021-09-22 23:14:21 -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
Alfredo Monclus
b2ce22caa9
Reorganize zcalibrate (#202) 2021-07-14 19:59:55 -10:00
Alfredo Monclus
e75a10a888
New Style - Solarized (#144)
* New Style solarized
2021-05-10 20:55:15 -04:00
Jordan Ruthe
c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -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
c182cc21f2 z_calibrate: uncomment probe commands 2020-12-02 19:22:04 -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
1b7146c8ec zcalibrate: Add emergency stop button 2020-11-23 21:15:51 -05:00
Jordan Ruthe
ac2e9de2d4 Merge branch 'dynamic_panels' 2020-11-23 21:01:31 -05:00
Jordan Ruthe
8204e3ab17 Dynamically load panels 2020-11-23 21:00:04 -05:00