Compare commits

..
672 Commits
Author SHA1 Message Date
Alfredo Monclus 31546f0020 Improve Job status (#592)
Adds heater_generic and/or temp_sensors besides extruder/bed (because of the limited space maybe only 1)
Temps are now buttons and act as a shortcut to the temp panel
Adds fan_generic to the fan label and it's now a shortcut to the fan panel
The colors and size of the progress circle were changed to be more subtle.
Margins between items were augmented, because they are buttons now
Adds 3 information pages: move, extrusion and time:

    move can be opened with speed or z buttons
    time with elapsed/remaining buttons
    extrusion with the extrude_factor / flowrate button
2022-05-01 12:22:58 -03:00
AntoszHUN aac58bd885 Update Hungarian Language 2022-04-30 23:14:31 -03:00
alfrix 7ca118de86 console: limit length close #602 2022-04-30 23:13:43 -03:00
Alfredo Monclus 7420f38b15 installer improvements (#601)
The installer now catchs apt errors
FBturbo is now optional and FBdev is used as fallback
install xserver-xorg-legacy but do not force it, it's usually required for a lot of screens, but not 100%
hide pip update warnings, the new version broke stuff.
more granularity and steps to what's being installed, should make it easier to debug if something goes wrong
2022-04-29 12:12:00 -03:00
alfrix 6aa7f56231 extruder: fix temp overlap multi-extruder 2022-04-25 13:33:20 -03:00
alfrix 504d395661 temperature: fix issue with the new cooldown preheat setting 2022-04-23 11:57:52 -03:00
alfrix a77134d63b fan: prevent crash when using unicode characters 2022-04-23 10:46:19 -03:00
alfrix c763bd5a5b fans: fix for machines without [fan] 2022-04-20 14:54:47 -03:00
eltacoloco 228994b2f2 Swedish locale (#588)
Created sv_SE (Swedish) locales
2022-04-17 17:33:14 -03:00
alfrix 3a5427c7f0 console: add top margin and make it easier to read 2022-04-17 06:20:09 -03:00
alfrix b42043bc79 job_status fix issue with delta printers fixes #587 2022-04-13 20:06:02 -03:00
alfrix b3268223bb base_panel: fix titlebar items not showing if ks is started while printing 2022-04-12 16:21:35 -03:00
alfrix 430284b7a1 limits: add units 2022-04-11 23:32:07 -03:00
alfrix 8ad21ab7cb zcalibrate: fix vertical mode not working fixes #576 2022-04-11 23:24:15 -03:00
alfrixandtonywright 8ba28fde1c Add firmware retraction panel close #101
Co-authored-by: tonywright
2022-04-11 23:04:29 -03:00
alfrix 7078e52a4f zcalibrate: fix issue with delta kinematics fix #583 2022-04-11 22:46:13 -03:00
alfrix b555768980 safeguard against trying to load a missing theme 2022-04-11 09:08:07 -03:00
alfrix 2c6a853a80 docs: add preheat cooldown 2022-04-11 08:35:45 -03:00
Julien Kohler 3ea0b09863 Add possibility to define custom code for cooling (#579)
These changes allow to define custom code to be run when using the cooldown preset.

Here an example in the configuration:
```
[preheat cooldown]
gcode: M107
```
2022-04-11 08:25:07 -03:00
alfrix 618c9ac0e8 docs: add note about octoprint 2022-04-11 08:09:06 -03:00
alfrix a84cb63f8b readme: add docs build status 2022-04-11 08:02:31 -03:00
alfrix 0a8e757054 docs: add requirements file to fix docs 2022-04-08 19:16:09 -03:00
alfrix 0fb2046615 docs: add another fix to Cannot open virtual console close #580 2022-04-08 14:03:19 -03:00
alfrix 583397ebeb job_status: add save z button to save babystepping 2022-04-06 08:20:22 -03:00
alfrix 4bace34847 zcalibrate: add manual delta_calibrate fix #575 2022-04-05 20:02:28 -03:00
alfrix dd72e7d46a base_panel: fix #572 2022-04-05 19:57:38 -03:00
alfrix 013b50985f network: remove duplicate netifaces close #571 2022-04-05 19:50:35 -03:00
alfrix dc9cf760db Splash_screen: fix power on button dissapearing 2022-04-05 18:12:48 -03:00
alfrix 979217502d console: hide temps, clear button, button icons 2022-04-05 17:22:07 -03:00
alfrix 1ff0616457 zcalibrate: fix issue when position is not defined 2022-04-03 06:15:22 -03:00
alfrix e09d72f12d main and temp: fix same color for heater_generics and sensors 2022-04-02 14:29:31 -03:00
alfrix ab38dab291 style: add heater_generic icon 2022-04-02 14:29:31 -03:00
alfrix c33659c6f7 gtk: cleanup andoptimize image handling, incomplete themes should now work 2022-04-02 09:59:12 -03:00
alfrix c81836542a dependencies: keep numpy 1.21.4, 1.21.5 should be the last version that supports python 3.7 but somehow on some system doesn't work
fixes #569
2022-04-02 09:56:30 -03:00
alfrix cdb57f73bb v0.2.1
Screen:
* The no DPMS option should now protect from the first touch,
and it should provide a way for screens that turn all white/random colors/no-signal to just be all black
Zcalibrate:
* Add selector if multiple options can be used
* Go to the middle of the bed if position is not configured
* Add an option to set the custom position per printer
Fine_tune:
* Add reset button for each of the 3 options
Network:
* Add reload button
* Show hidden SSIDs as Hidden instead of x00
System:
* Add full update option to update all items at once
Mesh:
* Fix graph getting a bit out of screen in vertical mode
Menu:
* Use scrollbars when there are too many items
* Fix vertical mode not arranging items correctly
Move:
* Show ??? if not homed
* Hide originXY for delta kinematics
Splash:
* Change buttons to local commands if not connected to moonraker
* Fix issues with power button if klipper is not connected
Misc:
* Keyboard now works on all the entry boxes, you can press enter on them to confirm.
* If there is only 1 extruder, then the nozzle icon is shown instead of the number
2022-04-01 20:16:41 -03:00
alfrix 2a8a2ec2e7 network: fix display name not showing connected 2022-04-01 12:37:12 -03:00
alfrix 9f9e2ed6ad docs: update zcalibrate pos and dpms 2022-04-01 10:29:54 -03:00
alfrix f707ba8cf3 style: change load icon 2022-04-01 08:03:14 -03:00
alfrix 76b7ad54eb splash: do not show power_on if moonraker is not connected 2022-03-31 13:47:42 -03:00
alfrix 51b4d1e1e6 Update dependencies 2022-03-31 11:56:04 -03:00
alfrix 5eac3bef6b Update Translations 2022-03-31 11:26:25 -03:00
alfrix 53c7afd7a5 Use extruder icon without number if there is only 1 2022-03-30 22:58:37 -03:00
alfrix b70524cd28 Screensaver if dpms is off
This should protect against first touch when the screen is blanked
and help in cases where the driver implementation is not up to spec.
2022-03-29 23:37:59 -03:00
AntoszHUN 1e7c065ce4 Update Hungarian language (#562) 2022-03-28 16:51:26 -03:00
alfrix 6f86448405 Fix issues while Moonraker is connected but klipper is disconnected
fixes #548
2022-03-28 16:47:52 -03:00
alfrix 2a7acea86c network: fix issues, reload button, keyboard enter works on psk entry 2022-03-26 22:30:18 -03:00
alfrix e186fa6a3d bed_mesh and keypad: support writing with keyboard 2022-03-26 22:25:06 -03:00
alfrix b7d58a7ffb docs: fix xwrapper extension 2022-03-25 15:55:52 -03:00
alfrix 6a4eb7ac22 bed_mesh: fix graph out of screen in portrait 2022-03-25 14:30:13 -03:00
alfrix 4c8bb4ff6f splash_screen: change klipper restart and firmware restart if klipper is not connected 2022-03-25 14:07:37 -03:00
alfrix 9dc8335a07 fine_tune: add reset button, do not set babystepping prior to homing, reorganize a bit 2022-03-25 14:06:07 -03:00
alfrix a90ab54e1d print: hide _ and optimize a bit 2022-03-25 13:49:19 -03:00
alfrix 2e16193292 menu: fix portrait issues 2022-03-25 13:41:22 -03:00
alfrix d945ef8b0a printer: fix some issues with the graph 2022-03-25 12:06:08 -03:00
alfrix b73292c8f9 splash: hide ready msg while shutdown 2022-03-25 12:05:24 -03:00
alfrix bc366b708d menu and printer_select: support more than 8 items 2022-03-25 12:02:19 -03:00
alfrix 07bbbe9d51 zcalibrate: add selector for the different modes zcalibrate supports
closes #514
2022-03-25 10:51:08 -03:00
alfrix 3a91ba4604 style: set minimum height for distbuttons and simplify border removal 2022-03-25 09:57:11 -03:00
alfrix 2dc7a716ee move: show ? if not homed and remove home-xy on delta kinematics 2022-03-25 09:51:22 -03:00
alfrix ff087e7a6f system: feature: add Full Update 2022-03-25 09:49:10 -03:00
alfrix b83f12265d Splash_screen: fix return and duplicated power devices
fix forcefully returning the user from menu to splash when there is no connection to moonraker/klipper
fix a case where the power device was added multiple times to the list
2022-03-24 10:34:27 -03:00
alfrix ffaad4daf7 fine_tune and job_status: fix rounding error 2022-03-22 13:37:06 -03:00
alfrix d1e54bab64 docs: add layer progress to quicktips 2022-03-21 20:49:43 -03:00
alfrix abb02d3965 docs: vertical/portrait is available, remove the line that says it isn't 2022-03-21 20:42:59 -03:00
alfrix 62c91bc69b Update changelog 2022-03-21 17:17:30 -03:00
alfrix 0fd4c30ee8 docs: improve the touch rotation section 2022-03-21 17:07:50 -03:00
alfrix e59d43645a docs: remove calibration section, xinput-calibrator doesn't work, the project that is continuing that work is xlibinput-calibrator 2022-03-21 17:05:34 -03:00
alfrix d158090bea base_panel: cleanup logging 2022-03-21 13:20:52 -03:00
alfrix bc34b3c8d6 config: fix menu and preheat merge bugs
it's now possible to define a custom menu without the need to copy all the menu entries from defaults.conf
if you want to define all the entries, disable the default menu with 'use_default_menu: False' under [main]

if a preheat is defined then defaults are dropped in favor of keeping only user defines, this behaviour
has not changed, and it's intended since the user may not want any of the defaults; but it's now possible to
put preheat options in an include file.

fixes #530
fixes #497
fixes #408
2022-03-21 12:57:18 -03:00
Andriy 64ebf861fb Update Ukrainian
close #555
2022-03-21 11:53:33 -03:00
alfrix 50d3671d0f base_panel: simplify sidebar scaling 2022-03-21 07:14:58 -03:00
alfrix 5286e433fe logging: cleanup unnecesary lines 2022-03-21 06:34:02 -03:00
alfrix 50e72b0308 base_panel: fix error from trying to update temps before the printer initializes 2022-03-21 06:32:53 -03:00
alfrix 1dee914564 splash_screen: fix bug that prevented Power On from showing up 2022-03-21 05:46:14 -03:00
AntoszHUN 8108500dc2 Update Hungarian language (#554) 2022-03-20 18:12:16 -03:00
Mikko Gozalo 987cf89351 Add .gitignore (#300) 2022-03-20 18:10:02 -03:00
alfrix 48b2ef513f Fix files and printer memory leaks fixes #479 2022-03-20 12:11:41 -03:00
alfrix 4899701ae3 Update translations 2022-03-20 10:21:34 -03:00
alfrix 330a456ed3 scripts: fix permissions 2022-03-20 09:45:02 -03:00
alfrix 2ffb88e958 network: fix list when there is no netinfo 2022-03-20 09:42:03 -03:00
alfrix 82c8d62876 screen: move the wifi-manager to the network panel
moving the manager should increase startup times
only load it when the user wants to manage networks

network: add ip at the top (fixes #422)
network: always reload the list of networks
wifi: fix network list getting blank
network: make the list more resilient to netinfo errors
2022-03-20 09:19:45 -03:00
alfrix 0d259d6d04 main_menu and temp: reduce load
Drawing the graph has a high load impact, reduce the interval of redraw
if the user needs instantaneous values, then the list provides it,
the graph is there to provide historical data of behaviour not instantaneous values.

-------- | Load | Note
idle     | 0.3  | screensaver
menu     | 0.4  | No process update
extrude  | 0.6  | updates temp
graph 5s | 0.8  |
graph 1s | 1.2  |

the load is the 15 min mean after about half an hour
Tests carried out on a Pi3A
2022-03-19 14:47:59 -03:00
Alfredo Monclus 046e03b883 Improve error messages (#549)
Shows if the issue is with moonraker or klipper
if the issue is with klipper and there is info about it then show it
Reconnect now has a counter and it's visible to the user
2022-03-18 20:18:53 -03:00
alfrix 7dc74f74f4 temp_panel: fix #550 2022-03-18 17:51:37 -03:00
alfrix 22f3a2a37a docs: fix macro 2022-03-15 20:58:10 -03:00
alfrix b2eb7a1764 screen: log only default printer, the list is a couple of lines above 2022-03-15 20:20:59 -03:00
Jesper Hansen 1af42e6f0f Added option to select default printer at startup. (#542) 2022-03-15 20:14:36 -03:00
Zs.Antal aa6ae014d8 Update Hungarian language (#545)
Improved minor spellings.
Exchange of certain words.
Minor fixes.
2022-03-15 12:42:46 -03:00
Alfredo Monclus a893f47604 Show fan speed according to max_power and off_below (#543)
fixes #444
2022-03-15 12:41:47 -03:00
alfrix 2e1fa110de screen: Keep Traceback 2022-03-15 12:41:21 -03:00
alfrix 7ab64c5a85 docs: fix links 2022-03-15 12:41:21 -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 d6672ee41f console: add switch to turn off autoscroll (#540)
also fix keyborard not closing, when the console is touched
and set Send button as translatable
2022-03-13 12:17:14 -03:00
Alfredo Monclus 6ce0ea7253 graph: various fixes (#539)
fix axis sizes for high resolutions (tie to font_size)
fix update interval sometimes being faster (fix printer timer)
fix new device added causing horizontal line (use min not max)
2022-03-13 12:10:42 -03:00
Alfredo Monclus b1dd83d955 job_status: rework time calculation
New 'Auto' setting that selects the best guess
added an slicer time compensation if you find that your slicer always under/over estimates by some amount
Split in days if the time is more than 24h
2022-03-10 11:43:53 -03:00
dependabot[bot] 7a4613bfe4 build(deps): bump pycairo from 1.20.1 to 1.21.0 (#534)
Bumps [pycairo](https://github.com/pygobject/pycairo) from 1.20.1 to 1.21.0.
- [Release notes](https://github.com/pygobject/pycairo/releases)
- [Changelog](https://github.com/pygobject/pycairo/blob/master/NEWS)
- [Commits](https://github.com/pygobject/pycairo/compare/v1.20.1...v1.21.0)

---
updated-dependencies:
- dependency-name: pycairo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-10 11:37:39 -03:00
alfrix 490dc929bd splash_screen: make power_devices mandatory for the power on button 2022-03-10 11:26:43 -03:00
alfrix 65248bfef7 config: fix malfomed default config fixes #538 2022-03-10 09:32:53 -03:00
alfrix cee3243729 docs: improve troubleshooting close #537 2022-03-10 09:13:03 -03:00
alfrix b379363cf2 job_status: calculate progress with higher precision 2022-03-08 22:01:53 -03:00
Alfredo Monclus 708fec4c45 Fix issues waking up screen from a remote connection (#535)
When connected from vnc the screen did not unlock from the remote session click
This also implements an optional disable DPMS for people with issues where DPMS doesn't work as it should (hw issues, driver issues, etc)
Changes #340 almost entirely
2022-03-07 14:55:24 -03:00
Elektrickser f9f313f076 Update German Translation (#532) 2022-03-05 20:26:31 -03:00
alfrix 0458a19b63 base_panel: fix titlebar_items not configured 2 2022-03-05 18:15:20 -03:00
alfrix 3d009ad72b base_panel: fix titlebar_items not configured 2022-03-05 17:24:37 -03:00
alfrix 3c3db7fa21 base_panel: allow titlebar items to be configured 2022-03-05 11:50:26 -03:00
alfrix 088a6deabd splash_screen: allow power_devices to be configured 2022-03-05 11:33:24 -03:00
alfrix 882a088174 docs: fix changelog link 2022-03-05 08:19:26 -03:00
alfrix 7f03061ce6 graph: fix error when touching the graph area
Contrary to people beliefs, this is not the issue when their touchscreen doesn't work
2022-03-05 08:11:33 -03:00
Zs.Antal 27d00c049b Update Hungarian translation (#526) 2022-03-01 23:15:42 -05:00
alfrix 5c42c53ee8 screen: lint fix 2022-03-01 17:24:27 -03:00
alfrix 9b819f6a45 changelog: note about the Power On button 2022-03-01 17:22:34 -03:00
alfrix 49ab84e8d5 splash_screen: implement Power On Printer but make it more specific 2022-03-01 17:21:17 -03:00
alfrix 1b7f908d6b Websocket: wait at least 3 seconds until reconnect, 1 second was too low even locally 2022-03-01 16:17:27 -03:00
alfrix a1173d7113 power: fix switch aspect ratio 2022-03-01 09:12:27 -03:00
alfrix 244f964126 system and menu: fix not loading when no printer is online but moonraker is connected 2022-03-01 09:12:13 -03:00
alfrix 7e9fc97b4b splash_screen: fix #521 2022-03-01 09:10:05 -03:00
alfrix 5a4addf3ed screen: fix panels not reloading after save_config 2022-03-01 07:17:10 -03:00
alfrix 77aef7cf67 base_panel: Refactor titlebar, add heaters if there is space
close #239
2022-02-28 19:57:56 -03:00
alfrix ebfe0debb8 job_status: Set cancelled state earlier, and fix status label 2022-02-28 19:57:56 -03:00
alfrix 320b7a8836 Update websocket-client to 1.3.1 2022-02-28 19:57:50 -03:00
alfrix c77bdfe617 Translations: Fix plurals 2022-02-26 16:03:08 -03:00
Alfredo Monclus dd027c0583 Vertical mode (#480) 2022-02-24 16:00:51 -03:00
alfrix 3c1110d730 Base_panel: fix #413 2022-02-24 15:57:47 -03:00
alfrix df0f8961e5 Normalize icon sizes and style 2022-02-24 09:20:59 -03:00
alfrix be3c24198d Websocket: fix issue when trying to connect to an offline printer
Fix: #401
2022-02-23 23:24:01 -03:00
alfrix 21be9df72e Main_menu: fix graph colors when switching printers 2022-02-23 23:14:46 -03:00
alfrixandkomandrik c4ac1cb52e Ukranian Translation
Close #520

Co-authored-by: komandrik
2022-02-23 19:35:20 -03:00
alfrix c3b7498eb5 Docs: clarify how to save the calibration 2022-02-23 15:34:09 -03:00
Alfredo Monclus 84fc6e5757 Bed_level: Support 6 and 8 Screws and rotation (#484) 2022-02-23 14:04:54 -03:00
alfrix a01762b279 Screen: fix blanking producing random colors 2022-02-20 13:54:16 -03:00
Frank Tackitt 4674737d0c Show position including offsets in the move panel (#516)
This makes Z stepping make more sense after applying a Z offset and more
consistent with the results of sending manual gcodes.
2022-02-19 17:42:50 -03:00
Zs.Antal ea4b98f3d6 Updated Hungarian Language pack (#513) 2022-02-19 14:45:03 -03:00
alfrix 0625935062 print: remove dependency 2022-02-14 05:37:17 -03:00
alfrix 1753105265 sytem: fix updater when moonraker doesn't return configured_type 2022-02-13 17:28:15 -03:00
Randell Hodges 926773f4f3 Apply slider value on release (#430)
Scale will do the action when released instead of many times for every step while sliding.
2022-02-13 16:15:39 -03:00
alfrix bf67129528 main_menu and temp: Fix extruder colors when there are multiple extruders 2022-02-12 21:26:55 -03:00
alfrixandZs.Antal ef5873d095 Hungarian translation
Co-authored-by: Zs.Antal <45710979+AntoszHUN@users.noreply.github.com>
2022-02-12 20:48:52 -03:00
alfrix 45d195bcd2 base_panel: Increase horizontal margin
The sidebar was too close to the content, this was better shown by adding a border to the sidebar wich showed that the content was clipping over it
2022-02-11 09:36:42 -03:00
alfrix de35769600 Temp_panel: Fix issue with temperature_fan #495
Since temperature_fan has a target, it needs to be in the list to properly work
2022-02-08 13:45:46 -03:00
dependabot[bot] cfe1bb8504 build(deps): bump humanize from 3.13.1 to 3.14.0 (#485)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.13.1 to 3.14.0.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.13.1...3.14.0)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-07 13:40:55 -03:00
Code_PhantomPainandsjqlwy 41b3309ff9 improve and finish zh_cn translations (#493)
Co-authored-by: sjqlwy <sjqlwy@yeah.net>
2022-02-07 13:40:25 -03:00
alfrix fce90ebf9d Print: hide extension in the list 2022-02-06 13:41:42 -03:00
alfrix d05ac06ad3 Settings_panel: Prevent long translations from squashing the slider
and improve switch to be more consistent
2022-02-05 14:47:35 -03:00
alfrix 1964f13e26 Update translations 2022-02-05 13:53:00 -03:00
alfrix 8375606771 Make Main_menu and Temp_panel look equal 2022-02-05 12:17:12 -03:00
alfrix d0b651c9dd Temp_panel: fix #490 2022-02-05 10:41:00 -03:00
alfrix 20aa25256f Graph: improve look when there is little space 2022-02-05 10:24:09 -03:00
alfrix c1b9123e9e Printer_select: improve arrangement if printers > 4 2022-02-05 10:18:41 -03:00
alfrix 5c23946283 Job_status: Fix issue with standby state that prevented closing 2022-02-04 14:18:11 -03:00
alfrix ffb62f149c Job_status: revert close_panel changes 2022-02-04 10:49:12 -03:00
alfrix e1877f2c2e Job_status: call state_check just before trying to close the panel
This shouldn't be needed but it's a reasonable safeguard
2022-02-04 09:34:05 -03:00
alfrix d5ab606509 Job_status: Fix not loading without display_status (needed for M117) 2022-02-04 09:28:11 -03:00
alfrix da7667e64e Job_status: Prevent the panel from closing itself when a print is in progress 2022-02-03 15:52:01 -03:00
alfrix 5384c59689 Job_status: Fix issues when the panel is not active
If the print finishes (or the user cancelled) while KS is in another panel, job_status was broken with no buttons, no filename, wrong progress and  wrong status, this fixes all those issues, and removes some redundant checks
2022-02-03 11:47:52 -03:00
Randell Hodges e478c3e8d9 Increase max move speed and separate XY and Z max speed (#411)
* Seperate XY and Z max speed
Increase max range of speed

* Limit the UI maximum for speed to 200, but allow a per printer override.

* Fix linting
2022-02-01 20:07:49 -05:00
alfrix 7db75ec30f Temp_panel: Fix target not updating when using both gcode and ks settings 2022-02-01 12:54:27 -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
alfrix aad665e3ca Extrude: visibly change load/unload if they are not found 2022-01-30 21:06:04 -03:00
alfrix f2d642b94d Installer: Workaround pip 22.0 issues 2022-01-30 18:28:27 -03:00
alfrix 588869aa57 Don't upgrade pip in the installer (pip 22.0 is being an issue) 2022-01-30 16:05:14 -03:00
alfrix 0f5752e3f1 Fix long line 2022-01-30 14:35:18 -03:00
alfrix b9b404a356 Tpanel: replace underscore with space close #463 2022-01-30 14:03:51 -03:00
Alfredo Monclus c1372c1839 Start in configurations without fans or extruders or temp devices
A bunch of conditionals that makes KS start and not stay in the splash screen
2022-01-30 10:55:05 -03:00
alfrix dad267d278 Temp_panel: Fix issue with shared_heaters Fix #482 2022-01-29 00:24:50 -03:00
alfrix 4c89eaf3e2 Temp: Start in delta mode when printing 2022-01-28 14:23:22 -03:00
alfrix c8a8f020af Installer: always unmask the service and enable 2022-01-26 09:07:26 -03:00
alfrix 21b0466f95 Create an uninstaller 2022-01-26 08:07:36 -03:00
alfrix 86cdcfafe4 Installer prevent the script from being run as root 2022-01-26 07:20:26 -03:00
alfrix 7bb99ecc7d Installer: clean deprecated command 2022-01-24 08:59:16 -03:00
alfrix d0ccdc0f7c Temp_panel: Show only heaters 2022-01-24 08:41:22 -03:00
dependabot[bot] f9f640ca52 build(deps): bump requests from 2.26.0 to 2.27.1 (#404)
Bumps [requests](https://github.com/psf/requests) from 2.26.0 to 2.27.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.26.0...v2.27.1)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 07:43:09 -03:00
alfrix 4e594c258f System: Fix long translations breaking the ui at low resolution 2022-01-24 07:17:35 -03:00
Adam Polkosnik [fun] 17b21bd41d Polish translation (#468)
* Added Polish translation

* Updated polish translation, fixed plural forms for "hour" in KlipperScreen.pot

* updated en lang, forgot trailing new line in .pot

* Small updates to .pl language translation
2022-01-24 07:11:38 -03:00
alfrix 213f1c92d6 Temp_panel: Maintain selection of heaters if the user go out of the panel and back 2022-01-23 13:51:18 -03:00
alfrix 02c008de84 Temp_panel: Fix temps not updating after opening another instance
Fix #446
2022-01-23 13:18:36 -03:00
Alfredo Monclus d8bc4747e8 Fix Startup without [virtual_sdcard] (#461)
* Rewrite evaluate_state

* Print: Show an error if trying to print without [virtual_sdcard]
2022-01-22 22:03:57 -03:00
alfrix 0592840ded Change scrolling behaviour in a few more places 2022-01-22 21:08:41 -03:00
Jordan 4b0b937c41 Change scrolling behavior to enable touch scroll. Fix #466 2022-01-22 15:30:02 -05:00
alfrix 1b38dbb36a Finish da-translation #465 2022-01-22 12:08:45 -03:00
srbjessen 5d19652b5b da-translation (#465)
* Update KlipperScreen.po
2022-01-22 12:06:37 -03:00
alfrix 07aa6bb7f7 Job_status: wrap long error messages 2022-01-22 09:36:50 -03:00
alfrix 8e8e23de0f Job_status: Fix not changing state if a print is issued during cancelling 2022-01-22 09:06:33 -03:00
alfrix de0b6ea435 Job_status: Fix thumbnail and metadata not updating after a cancel and re-upload 2022-01-22 09:06:33 -03:00
Alfredo Monclus 1065676018 Temp_panel: Do not set temp if not defined or out of range (#449) 2022-01-22 07:43:03 -03: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
alfrix a754cdc239 Update docs: re-add the manual method of changing gl driver 2022-01-21 16:45:23 -03:00
Kmarty 0e3027638f Fix issue trying to set temperature from main_menu (#457)
'KlippyGcodes' has no attribute 'MAX_EXT_TEMP" by syncing (duplicit)
function change_target_temp() with 'panels/temperature.py'
2022-01-21 16:24:41 -03:00
Alfredo Monclus ec4213b971 System: fix updater dialog (#462) 2022-01-21 16:22:01 -03:00
alfrix d2419335b4 Fix startup: downgrade matplotlib to 3.5.0 2022-01-21 16:08:29 -03:00
Alfredo Monclus f156bd8529 Add numpy to requirements to prevent unexpected issues (#453) 2022-01-18 19:00:23 -05:00
Alfredo Monclus 5d3bae8ff9 Temp_panel: put devices in a scroll (#436)
* Temp_panel: put devices in a scroll

* Tweak margins

* Tpanel: Fix whitespace in message

* Fix #429 temperature_fan not updating target
2022-01-17 01:13:46 -05:00
Alfredo Monclus 8dd5c64006 Extrude panel: Support 5 extruders (#441) 2022-01-17 01:13:16 -05:00
Alfredo Monclus 86fc0f9988 Menu: Arrange 3 x 2 and 2 x 2 (#442)
* Arrange 3 x 3 and 2 x 2

* typo
2022-01-17 01:12:54 -05:00
Alfredo Monclus 8775221b5f Update Docs: add Thumbnail info, add xorg.log, optimize and organize images (#447)
* Update Docs: add Thumbnail info, add xorg.log, optimize pngs

* Organize images in subfolders
2022-01-17 01:12:19 -05:00
Devil-of-Chaos f796a72057 Add Ability to Use Custom Service (#418)
* Custom Servive

* Custom Service

* Update system.py

* Update Configuration.md
2022-01-13 11:17:45 -05:00
Alfredo Monclus 8c489bc465 Support hiding by name using underscore (#437) 2022-01-13 11:09:06 -05:00
Alfredo Monclus 6b043d63bc Improve config file search (#440) 2022-01-13 11:08:12 -05:00
Alfredo Monclus e1e3437d62 Relax timers for CPU efficiency (#439) 2022-01-13 11:05:34 -05:00
Alfredo Monclus 41aa953cfd Update Translations (#435) 2022-01-13 11:05:04 -05:00
Alfredo Monclus d24f3d6f5c Fix close Websocket (#434) 2022-01-13 11:04:02 -05:00
Alfredo Monclus 2982eb9645 Track the status of calibration and inform the user more (#402) 2022-01-12 20:03:57 -05:00
srbjessen 0aab9ff4c4 Danish translations (#399)
* Danish translations

* Missing "%s" and "%d"
2022-01-12 20:03:26 -05:00
Alfredo Monclus eb80be47db Temp_panel: Fix extruder not setting temps with numpad (#426) 2022-01-11 06:59:07 -05: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 58e0aa74d0 Word Wrap (#395)
* Word-wrap dialogs

* prevent horizontal scrollbar caused by translators

* Fix weird indentation on print name
2022-01-03 12:45:55 -05:00
Alfredo Monclus 9449f24b5f Splash_screen: show full error message (#389)
* Splash_screen: show full error messge

* Fix splash not changing from connecting to error
2022-01-03 01:29:49 -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
Olivier Robardetandjordanruthe ce872a54b1 Update french translation (#385)
* Makes "Confirm Emergency Stop" setting localizable

* Updates french translation

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2022-01-03 01:27:17 -05:00
BrownRhinedandJordan 4bfd0d13fb add Chinese Traditional (#392)
* add Chinese Traditional

add Chinese Traditional

* Update KlipperScreen.po

* Update translation script and run it.

Co-authored-by: Jordan
2022-01-03 01:26:12 -05:00
Frank Tackitt d19e303f0d Support the "enter" key from a physical keyboard (#379)
* Support the "enter" key from a physical keyboard

I often have a usb keyboard dangling from my printer, and got annoyed I couldn't just hit enter from the console.

https://docs.gtk.org/gtk3/signal.Entry.activate.html

* Fix whitespace for linting
2021-12-24 09:32:07 -05:00
Alfredo Monclus 22221c61ac Fix Network Panel (#375)
* Network: Fix Keyboard still showing after connection

* Network: fix dialog setting wrong size

* Fix empty network panel
2021-12-24 09:31:47 -05:00
dependabot[bot] e7bf13b6df build(deps): bump matplotlib from 3.5.0 to 3.5.1 (#372)
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.5.0...v3.5.1)

---
updated-dependencies:
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-24 09:31:23 -05:00
dependabot[bot] 7ac4d3b290 build(deps): bump websocket-client from 1.2.1 to 1.2.3 (#358)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.2.1...v1.2.3)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-24 09:31:13 -05:00
d8ahazard 6c3c579e6e Support multiple power devices. (#350)
Enable multiple devices to power on when turning on printer. Devices starting with "Printer" will turn on
2021-12-24 09:31:01 -05:00
Christian Kvasnyandjordanruthe 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
Alfredo Monclusandjordanruthe 964ae7986f Docs: Add Bulleye fix (#367)
Also configuration file clarifications, and other minor updates.

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2021-12-17 12:41:29 -05:00
Alfredo Monclus ae47cac064 Improve plot performance (#364) 2021-12-17 12:39:31 -05:00
Alfredo Monclus bfe6321c2f Improve pathing (#368)
* Improve pathing

* Improve Pathing: config.py
2021-12-17 12:39:18 -05:00
Alfredo Monclus 70767c2bb6 Fix UI broken in german at low res. (#369) 2021-12-17 12:37:57 -05:00
Alfredo Monclus 70caf24c35 Add light icon (#370) 2021-12-17 12:37:43 -05:00
Oli Wright bca1ac6ba6 Fix configuration filename (#373)
A rogue underscore (old formatting?) had been appended to the end of the config filename.  Removed.
2021-12-17 12:37:27 -05:00
Jordan 9660172e0b Enable startup with #360 to not error 2021-12-10 21:13:18 -05:00
Jordan 698b86ac1c Update main_panel image and include in main README 2021-12-09 08:52:25 -05:00
Alfredo Monclus 2a9e653505 Graph (#357)
* Add theme graph colors

* Fix graph not applying colors
2021-12-07 21:05:17 -05:00
Jordan d21e9cbfaa Main menu hide 'set temp' for devices that don't have a heater. 2021-12-07 21:05:17 -05:00
Jordan c3103d3b11 Fix graph error and make colors configurable 2021-12-07 21:05:17 -05:00
Jordan dd56d192cc Create keypad widget and include set temp on the main menu 2021-12-07 21:05:17 -05:00
Jordan e26e4006d6 Move graph location 2021-12-07 21:05:17 -05:00
Jordan fdf81ecf06 graph: Add ability to hide/show sensors. 2021-12-07 21:05:17 -05:00
Alfredo Monclus ac3bde654a tweaks (#291) 2021-12-07 21:05:17 -05:00
Jordan 139115a0e9 Updates to graphing.
Modify heaters to show only ones available in the temp store. Add 
ability to hide/show heaters.
2021-12-07 21:05:17 -05:00
Jordan 5bfcd0108a Adding graph capability to main menu 2021-12-07 21:05:17 -05:00
Makoto Schoppert 141bc38876 Update Troubleshooting.md (#356)
Fix a couple of typos
2021-12-07 20:24:26 -05:00
Alfredo Monclus 5ff249cb20 Switch from vext.gi to PyGObject (#348) 2021-12-04 12:29:35 -05:00
Alfredo Monclus eca3385ffe Add the full message of the commits in the updater (#343) 2021-12-04 12:29:17 -05:00
Alfredo Monclus 873f61d74b Change gdk deprecated functions (#342) 2021-12-04 12:29:01 -05:00
Alfredo Monclus 2c050a649c Wakeup touch block (#340)
* Prevent accidental touches on wakeup (DPMS needed)

* fixup

* This is a very old workaround to blank the cursor for the entire X

* Separate cursor change into a procedure

* Check for DPMS FAIL state first
2021-12-04 12:28:37 -05:00
dependabot[bot] 9f2711b506 build(deps): bump humanize from 3.12.0 to 3.13.1 (#347)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.12.0...3.13.1)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 12:28:16 -05:00
dependabot[bot] 2c6d3d1866 build(deps): bump matplotlib from 3.4.3 to 3.5.0 (#329)
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.4.3 to 3.5.0.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.4.3...v3.5.0)

---
updated-dependencies:
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-04 12:28:02 -05:00
Jordan 41d41dc2eb screen: Add configuration option for estop confirmation (Default off). Fixes #321 and fixes #341 2021-12-01 19:58:45 -05:00
Jordan dd0fd18b25 power: Sync power state on panel load. Fixes #322 2021-12-01 19:41:49 -05:00
Alfredo Monclus 1e5d701631 Update Docs (#346) 2021-11-29 11:09:25 -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
Leif Bladt 13473c2cfd Update docs to point to new discourse thread 2021-11-25 12:45:43 -05:00
Jordan c8420c260b screen: RESPOND echo will now show a message on the screen. 2021-11-21 20:19:45 -05:00
Alfredo Monclus 0a6ac42069 Installer: improvements (#335)
* Fix vext.gi error
The problem occurs because vext and vext.gi are installed at the same time
we need to install the requirements in order

* Simplify path (the env was activated)

* Colorize output

* Abort if pip exit is not clean
2021-11-21 15:42:11 -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 39804814f5 Update FR translation (#332) 2021-11-18 07:18:26 -05:00
Jordan 2b2e096955 install script: Integrate vext.gi into requirements file 2021-11-16 22:48:32 -05:00
Alfredo Monclus b959cf5b4f Move panel: Add Z-tilt/Quad-gantry-level/HomeXY button (#326) 2021-11-16 21:05:02 -05:00
Elektrickser b52085746f More German Translations (#318)
* Add German Language

Translate the texts to german.

* Update system.py

change grid, to see all buttons on screen

* Revert "Add German Language"

This reverts commit 6982258839.

* Add German Language

add German translated files.

* fixed german translation

fixed "Laden"

* fixed german translation

add more translations

* Update system.py
2021-11-16 21:03:46 -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
dependabot[bot] 29e9bad1aa build(deps): bump jinja2 from 3.0.2 to 3.0.3 (#323)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 21:00:10 -05:00
Jordan 2f6149c5b7 Fix connect issues with moonraker. Addresses #328 2021-11-16 20:59:06 -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
dependabot[bot] 96a91f3e41 build(deps): bump humanize from 3.11.0 to 3.12.0 (#298)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.11.0...3.12.0)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-01 22:57:31 -04:00
hawkeyexp 47b7f0920e Fix german translation (#309)
* Fix german translation

* update binary
2021-11-01 22:53:18 -04:00
Alfredo Monclus d36364a807 Augment scrollbar contrast (#314)
Some screen have very little contrast and where making the scrollbar invisible
2021-11-01 22:51:55 -04:00
Vladimir Poleh c7901243cf Fix Network panel not functioning when Wi-Fi point is within range (#304) (#315) 2021-11-01 22:51:41 -04:00
Alfredo Monclus e7e91aee27 Material (#297) 2021-10-06 12:02:27 -04:00
dependabot[bot] 5a93e0009c build(deps): bump jinja2 from 3.0.1 to 3.0.2 (#295)
Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.0.1...3.0.2)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-06 12:02:17 -04:00
Alfredo Monclus e54c7dcbb3 Update docs and add theming section (#296) 2021-10-06 12:02:05 -04:00
Alfredo Monclusandjordanruthe 5f5e6336c0 Update Translations (#284)
* Update Translations

* Various fixes to not break the UI

* Add updater translations

* Fix pycodestyle

* Fix updater translations

* Fix pycodestyle

* Fix restart translation

* Fix \n in label

* Update French
Thank you Bahoue

* Separate "default"

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2021-10-04 20:18:27 -04:00
Alfredo Monclus c618044898 Support custom themes (#288)
* Remove relief
The relief gets stuck on touchscreens

* Support custom themes
2021-10-04 20:14:40 -04:00
Alfredo Monclus 423d344197 Fix Zcalibrate showing when there is no probe (#289) 2021-10-04 20:13:55 -04:00
Jordan 969b47f425 job_status: Tweaks to state changes 2021-10-01 19:48:03 -04:00
Jordan 3053502a32 fine_tune: Fix issue with wrong babystep interval selected. 2021-10-01 19:02:51 -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
Bertrand Lemasle 7b904fec79 Fixed typo in limits,py (#283) 2021-09-22 18:10:03 -04:00
pappicio bfed3339d8 updates it lang (#278)
deleted outdated translation strings and update .po and .mo files
2021-09-21 18:24:32 -04:00
Alfredo Monclus 155ac2ab6f System: Updater improvements (#260)
* System: improve updater

* Styling updates

* dialog buttons pressed

* Update styling

* styling

* implement repo recovery

* check if dirty

* Fix scrollbars and logic

* Fix codestyling
2021-09-21 18:23:56 -04:00
Jordan cdf4d60b21 install script: Add fonts package. Addresses #254 2021-09-21 18:21:18 -04:00
Jordan b0b56a026c screen: Fixes for printer select button 2021-09-19 00:09:00 -04:00
Jordan 0c35e58308 limits: Fixes to limit 2021-09-19 00:08:36 -04:00
Jordan 36aaece846 screen: Put font size setting into KlippyGtk 2021-09-18 16:53:31 -04:00
Jordan 857b4a9bab docs: Add generic heater to preheat section 2021-09-18 10:32:51 -04:00
Frank Tackitt e1c478be83 Allow gcode commands with preheat options (#274)
* Allow gcode commands with preheat options

I use this to run a heatsoak macro during preheat.
  It moves to bed center, maxes the part cooling fan,
  and starts my nevermore chamber filter to circulate
  more air.

* Add documentation for preheat gcode
2021-09-18 10:32:13 -04:00
Jordan 414ac3f211 limits: Fix issue with square_corner_velocity possibly being a decimal 2021-09-18 10:09:58 -04:00
Jordan e9432ae308 Update language files. Include updates to it from @pappicio 2021-09-18 10:01:20 -04: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 d7b8f4f1ed Add printer limits panel 2021-09-16 22:56:58 -04:00
Jordan 996777a6dd Rename KlipperScreen.conf to defaults.conf to avoid some confusion 2021-09-16 22:56:33 -04: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
Alfredo Monclus 67cc396ad9 Use a base css (#186)
* Use a base CSS for styles

* Fix updater dialogs too close to buttons and updater too close to the edge

* Fix blurry Dropdown and dialog buttons

* minor tweaks and fixes

* Solarized restyle

* more vertical clearance between items

* workaround colorized bar at high res.

* colorized pressed state
2021-09-16 20:02:36 -04:00
Jordan e9599a14c5 screen: Output font settings 2021-09-14 19:51:14 -04:00
pappicio c5f84998e4 Italian review (#266)
* Add files via upload

some other fixes on italian translation and updated .mo file!

* Delete ks_includes/locales/it/LC_MESSAGES directory

* Add files via upload
2021-09-12 20:59:45 -04:00
Jordan 1726126807 Update docs for update_manager to use user directory 2021-09-12 15:23:42 -04:00
Jordan 31606ddc38 Update metadata on file change. Fixes #227 2021-09-12 15:21:32 -04:00
Jordan e639a27de1 Test code: update line length 2021-09-11 17:36:30 -04:00
Jordan ed48cb75ad Fix workflow 2021-09-11 17:35:30 -04:00
jordanruthe c80a983fe3 Update test_code.yml 2021-09-11 17:28:03 -04:00
jordanruthe d0951c6d18 Add test_code.yml 2021-09-11 17:27:19 -04:00
Jordan 70d8315539 Update code style 2021-09-11 17:25:38 -04:00
Alfredo Monclus 98cb3ef743 Font Size Selector (#245) 2021-09-11 14:21:50 -04:00
Alfredo Monclus da8ba4db93 Preheat: Add colors to cooldown and temperature (#259) 2021-09-11 14:21:05 -04:00
Alfredo Monclus f943dee498 Update French (Bahoue) (#261) 2021-09-11 14:20:55 -04:00
pappicio 963214c549 Update Italian Language (#258)
some corrections
2021-09-11 14:20:41 -04:00
Jordan d540c038a4 Update Fan panel to include all configured fans. 2021-09-11 14:17:53 -04:00
Jordan 407d8ad000 base_panel: Updates to macro shortcut 2021-09-11 09:15:47 -04:00
Alfredo Monclus 517a6afab8 Dialogs updates (#252)
* Fix cursor on dialogs and make them fullscreen

* Fix date alignment varying with text length
2021-09-07 21:30:21 -04:00
Alfredo Monclus bf0f2d4342 Colorized theme update (#255) 2021-09-07 21:28:35 -04:00
Alfredo Monclus 3c4dfc4766 Add Italian translation (pappicio) (#257)
* Add Italian translation (pappicio)

* Fixup italian
2021-09-07 21:26:51 -04:00
Jordan 246c9829db screen: Make macros shortcut show/hide when configured. Addresses #246 2021-08-31 22:02:04 -04:00
Alfredo Monclus d41370cdf1 Use klipper_config by default if available (#241)
* Use klipper_config by default if available

* Update docs about config
2021-08-30 19:54:45 -04:00
Alfredo Monclus c54282962d Adjust titlebar height (#248) 2021-08-30 19:53:23 -04:00
Alfredo Monclus 11445db55a Fix for user keyboard layout (#244) 2021-08-30 19:52:48 -04:00
Alfredo Monclus 7bf7a54540 Ellipsize Job_status Filename and LCD message (#238) 2021-08-27 22:06:03 -04:00
Alfredo Monclus 452a56ffcb Update Spanish (#240) 2021-08-27 21:23:36 -04:00
Alfredo Monclus 13e163faf0 Check for blanking disabled (#237) 2021-08-22 17:39:02 -04:00
Alfredo Monclus 46245bb275 Macros shortcut on sidebar (#232)
* Macros shortcut

* Add config option
2021-08-22 17:38:03 -04:00
Alfredo MonclusandJordan 41e917bc41 Wake the screen at print start and end (#229)
* Wake the screen at print start and end

* job_status: Wake screen on re-print

Co-authored-by: Jordan <jordan.ruthe@gmail.com>
2021-08-19 21:07:24 -04:00
Alfredo Monclus 8bfaf69109 Updater UI cleanup (#230) 2021-08-19 21:00:07 -04:00
Alfredo Monclus 642385eead Strip .gcode from name in job_status (#231) 2021-08-19 20:45:28 -04:00
Alfredo Monclus e6a1cc483b Change solarized load icon (#233) 2021-08-19 20:45:05 -04:00
Alfredo Monclus 50b309a213 UI Fix for Other Languages (#228)
* Update translation files

* Fixup UI in other languages
2021-08-17 07:20:26 -04:00
Alfredo Monclus 17da2b3d4e Bigger Fonts and icons (#169) 2021-08-15 18:44:13 -04:00
dependabot[bot] 93c7010dc0 build(deps): bump requests from 2.25.1 to 2.26.0 (#205)
Bumps [requests](https://github.com/psf/requests) from 2.25.1 to 2.26.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.25.1...v2.26.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-15 18:44:00 -04:00
dependabot[bot] 211d0c5d9b build(deps): bump humanize from 3.9.0 to 3.11.0 (#219)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.9.0 to 3.11.0.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.9.0...3.11.0)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-15 18:43:56 -04:00
dependabot[bot] d6799a1b04 build(deps): bump websocket-client from 1.1.0 to 1.2.1 (#225)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.1.0...v1.2.1)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-15 18:43:52 -04:00
dependabot[bot] cc75deb02f build(deps): bump matplotlib from 3.4.2 to 3.4.3 (#226)
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.4.2 to 3.4.3.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.4.2...v3.4.3)

---
updated-dependencies:
- dependency-name: matplotlib
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-15 18:43:46 -04:00
Jordan 3996f9f1c6 screen: Remove gcode_response logging 2021-08-04 20:27:59 -04:00
Jordan afbf96e30e files: Update metadata for file that was overwritten 2021-08-03 23:21:21 -04:00
Jordan 53889bba56 config: Allow switching of languages from GUI 2021-07-30 16:20:45 -04:00
Jordan 649ef38385 config: Allow specification of language in the config file 2021-07-30 12:42:02 -04:00
Peter Buchegger 4b1aa52e89 docs: fixing xinput argument (#208) 2021-07-21 07:38:31 -04:00
Jordan 10e1fa867b bed_level: Fix #206 Format change for SCREWS_TILT_ADJUST output 2021-07-18 16:41:56 -04:00
Alfredo Monclus be5ad88029 add temp to preheat (#196) 2021-07-14 20:01:29 -10:00
Alfredo Monclus 2018b8b852 Center dialogs (#201)
* Center dialogs

* Center and clean print dialog
2021-07-14 20:00:50 -10:00
Alfredo Monclus b2ce22caa9 Reorganize zcalibrate (#202) 2021-07-14 19:59:55 -10:00
Henky Prayoga 98a8d68c67 Fixed bug KlipperScreen ignoring moonraker_api_key configuration. (#204)
* Fixed bug KlipperScreen ignoring moonraker_api_key configuration.

Signed-off-by: Henky Prayoga <henky.prayoga@callysta-engineering.com>

* Fixed bug KlipperScreen ignoring moonraker_api_key configuration.

Signed-off-by: Henky Prayoga <henky.prayoga@callysta-engineering.com>

* Fixed bug KlipperScreen ignoring moonraker_api_key configuration.

Signed-off-by: Henky Prayoga <henky.prayoga@callysta-engineering.com>
2021-07-14 19:58:45 -10:00
Jordan f68f9c642b screen: Fix popup error message 2021-06-30 19:47:03 -04:00
Jordan 912ecea3e3 docs: Add multiple fb devices to troubleshooting 2021-06-27 19:04:13 -04:00
Jordan f681676e8d docs: Update to include troubleshooting and contact page. 2021-06-27 10:29:20 -04:00
Jordan 145d9c1d84 install-script: Change to account for fixing broken packages in apt 2021-06-27 10:27:04 -04:00
Jordan 4d3918a68a scripts: remove old files 2021-06-27 10:25:38 -04:00
Jordan 30cbaa7e23 gtk: Make keyboard height be dynamic based off resolution 2021-06-26 12:24:05 -04:00
Jordan Ruthe 57a952c4e0 Add colorized console image 2021-06-26 12:24:05 -04:00
Jordan Ruthe 85816932d3 Add console to the print menu in default configuration 2021-06-26 12:24:05 -04:00
Jordan a8038c39c0 console: Change colors for errors/warnings 2021-06-26 12:24:05 -04:00
Jordan 207c026cb5 Add console panel 2021-06-26 12:24:05 -04:00
dependabot[bot] 8d2b6230ad build(deps): bump humanize from 3.7.1 to 3.9.0 (#188)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.7.1 to 3.9.0.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.7.1...3.9.0)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-26 12:23:10 -04:00
Alfredo Monclus bf277dd3d2 splash_screen: Increase font size (#192) 2021-06-26 12:22:57 -04:00
Alfredo Monclus bcad2a9a78 job_status: more space for info (#193) 2021-06-26 12:21:56 -04:00
Alfredo Monclus b4064c6b9e job_status: fix cancel print label position (#194) 2021-06-26 12:21:40 -04:00
Alfredo Monclus 1c45b87f09 move: Add 50mm to move panel (#195) 2021-06-26 12:21:20 -04:00
Jordan ede73619ea docs: Touchscreen rotation configuration 2021-06-20 20:27:07 -04:00
Jordan ca2855b80b install script: Fix #142 2021-06-18 12:09:42 -04:00
Jordan 469376cf34 preheat: Change print to log statements 2021-06-16 21:13:53 -04:00
Jordan 000f30327b files: Handle case for create_dir notifications 2021-06-12 15:26:01 -04:00
Jordan d3ae02e8d8 system: Add restart option to services that moonraker supports 2021-06-12 06:30:00 -04:00
Jordan dfe9883923 system: Change information icon 2021-06-12 06:30:00 -04:00
Jordan 867ded34d9 Add update manager capability and revamp system panel to show all moonraker update clients 2021-06-12 06:30:00 -04:00
dependabot[bot] 23832e8ad6 build(deps): bump websocket-client from 1.0.1 to 1.1.0 (#184)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 06:29:37 -04:00
dependabot[bot] 6bb81f1790 build(deps): bump humanize from 3.5.0 to 3.7.1 (#180)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.5.0 to 3.7.1.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.5.0...3.7.1)

---
updated-dependencies:
- dependency-name: humanize
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 06:29:22 -04:00
dependabot[bot] dab8206ada build(deps): bump netifaces from 0.10.9 to 0.11.0 (#174)
Bumps [netifaces](https://github.com/al45tair/netifaces) from 0.10.9 to 0.11.0.
- [Release notes](https://github.com/al45tair/netifaces/releases)
- [Changelog](https://github.com/al45tair/netifaces/blob/master/CHANGELOG)
- [Commits](https://github.com/al45tair/netifaces/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 06:29:14 -04:00
Alfredo Monclus e86dd8b935 Graphical Fixes (#181)
* Fix fan panel going out of screen

* Fix Numpad and clean css

* Fan panel margin tweak needed for bigger fonts
2021-06-11 07:16:14 -04:00
Alfredo Monclus 816d254582 Solarize warning icon (#179) 2021-06-06 23:07:54 -04:00
Jordan 58e3e17310 gtk: Gracefully fail if no image is found for buttons. Addresses #173 2021-06-06 21:43:06 -04:00
Jordan e49c19e2d9 websocket: Fixes due to issues with recent websocket-client update 2021-06-01 07:56:09 -04:00
dependabot[bot] bdbdd221ee build(deps): bump websocket-client from 1.0.0 to 1.0.1 (#165)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 12:54:35 -04:00
Alfredo Monclus 81f6bbe42d restart KS after theme change (#166) 2021-05-27 12:54:02 -04:00
Wang a537ad788a Update Chinese language pack (#168) 2021-05-27 12:46:28 -04:00
Alfredo Monclus 6eedbdca88 Update Spanish (#164) 2021-05-23 22:48:47 -04:00
Jordan Ruthe 84f725697c changelog: Update for config change 2021-05-20 20:29:14 -04:00
Jordan Ruthe eb80148692 config: Don't merge default options if a user option is defined. 2021-05-20 20:27:20 -04:00
Jordan Ruthe 360e8b4055 base_panel: Fix issue with nonetype error 2021-05-20 20:26:52 -04:00
Jordan Ruthe dcac0012c9 job_status: Log filesize. Add cancelling to ignore states for new print 2021-05-20 18:50:49 -04:00
Jordan Ruthe a06ae084db job_status: Cancel/Resume button corrections 2021-05-20 00:30:38 -04:00
Jordan Ruthe db166f97e4 screen: Deleted instantied panels so that Klipper config changes will be reflected 2021-05-20 00:16:01 -04:00
Jordan 00ec1a668e changelog: Change to only have breaking changes 2021-05-19 20:54:33 -04:00
dependabot[bot] 81ee57da1f build(deps): bump jinja2 from 2.11.3 to 3.0.1 (#160)
Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.3 to 3.0.1.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.3...3.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 20:48:37 -04:00
Jordan 6e1f653762 wifi: Remove repetitive logging statements 2021-05-19 20:44:48 -04:00
Jordan 85ee8c4112 base_panel: Add extruder/heater bed temperatures to the title bar 2021-05-19 20:44:48 -04:00
Jordan a0de521631 base_panel: Include time 2021-05-19 20:44:48 -04:00
Jordan 73b54f7aba base_panel: Include back/home button 2021-05-19 20:44:48 -04:00
Jordan a0d3bd6a0c base_panel: Initial commit 2021-05-19 20:44:48 -04:00
jordanruthe bb62064616 Update FUNDING.yml 2021-05-19 20:41:36 -04:00
dependabot[bot] 32785c901f build(deps): bump websocket-client from 0.59.0 to 1.0.0 (#159)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 0.59.0 to 1.0.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v0.59.0...v1.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 20:40:07 -04:00
dependabot[bot] be706fd16f build(deps): bump matplotlib from 3.4.1 to 3.4.2 (#149)
Bumps [matplotlib](https://github.com/matplotlib/matplotlib) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/matplotlib/matplotlib/releases)
- [Commits](https://github.com/matplotlib/matplotlib/compare/v3.4.1...v3.4.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-19 20:39:59 -04:00
Alfredo Monclus 13617da10b Add delete and some tweaks to colorized (#156) 2021-05-15 17:16:11 -04:00
Jordan a1bd702a92 Fix issue with stale confiugration and temperature panel unassigned var #155 2021-05-13 23:01:06 -04:00
jordanruthe 7e3b919c62 Wifi manager (#148)
Updates to include ability to change wifi networks.
2021-05-13 20:53:58 -04:00
Alfredo Monclus e75a10a888 New Style - Solarized (#144)
* New Style solarized
2021-05-10 20:55:15 -04:00
Alexander Spassky 9951323e91 M117 messages display (#150)
* Added displaying M117 messages under printer state label on JobStatus panel
2021-05-10 19:46:07 -04:00
Jordan 5333218ec5 files: Compatability for key change from filename to path 2021-05-09 14:22:35 -04:00
dependabot[bot] 178abc2c9a build(deps): bump websocket-client from 0.58.0 to 0.59.0 (#147)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 0.58.0 to 0.59.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v0.58.0...v0.59.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 14:08:24 -04:00
dependabot[bot] 22528885ff build(deps): bump humanize from 3.4.1 to 3.5.0 (#145)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.4.1...3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-09 14:08:17 -04:00
Jordan 449f3274c6 preheat: Fix bug where temperature_sensor is tried to be activated 2021-05-09 13:57:32 -04:00
Jordan bd1650fd18 files: Updates to not cache thumbnails locally. Also get notified by inotify 2021-05-09 13:57:18 -04:00
Jordan f8ca339de5 printer: Fix NoneType issue
Fixes #143
2021-05-08 22:27:55 -04:00
Jordan ce8c8e44fc print: Fix error if new print starts while job_status is displayed
This may address some issues in #122
2021-05-08 22:24:28 -04:00
Jordan b27814845b print: Include refresh button for files 2021-05-08 21:40:27 -04:00
Jordan 96d252ba3c files: Convert away from thread
Convert files so it is not a thread, as it will become un-necessary with 
inotify from moonraker
2021-05-08 21:40:16 -04:00
Jordan 236fb0c4ff websocket: Change connect and logging statements to be more accurate 2021-05-08 21:38:51 -04:00
Jordan d2fea57c39 printer: Remove un-necessary logging statements 2021-05-08 21:25:43 -04:00
Jordan 7b9c98a0a8 Include temperature_sensor in listing of temperatures
This update will add temperature sensors to the main menu and 
temperature panels.
2021-05-08 14:31:50 -04:00
Jordan Ruthe c2c4e9c42e function: Add except hook for threads
This will log exceptions on different threads
2021-05-02 17:48:04 -04:00
Jordan Ruthe 7b6efa0521 logs: hide certain logging statements 2021-05-02 17:46:51 -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
Alfredo Monclus a8fc7b6337 Initial Spanish translation (#139) 2021-04-25 19:03:37 -04:00
Markus 0ae0593907 word adaptation (#136)
de_DE: change wording
2021-04-21 21:44:19 -04:00
dependabot[bot] bb8689175e build(deps): bump humanize from 3.3.0 to 3.4.1 (#130)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.3.0...3.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 00:23:10 -04:00
Jordan Ruthe e7b3b963c3 install: Check for existing service file
Don't overwrite service file for KlipperScreen on running install 
script.
2021-04-18 23:45:54 -04:00
Jordan Ruthe 0e1c30879b install: Change install command to PKGLIST
This enables moonraker update compatability for installing system 
packages
2021-04-18 23:42:04 -04:00
Jordan Ruthe 3494f8a7d4 screen: remove un-necessary logging line 2021-04-08 22:27:35 -04:00
Jordan Ruthe 02ea32506b screen: Fix problem where job_status does not update
Fixes a problem where a panel does not refresh data (such as extrusion 
rate, speed rate)
2021-04-08 22:25:56 -04:00
Jordan Ruthe bac2d9f23e install: Add missing dependency for libatlas 2021-04-08 07:18:09 -04:00
Jordan Ruthe 75cd4749d6 docs: Touchscreen calibration
Update touchscreen calibration docs to be more clear.
2021-04-08 00:04:26 -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
dependabot[bot] 791b1c37d4 build(deps): bump humanize from 3.2.0 to 3.3.0 (#114)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.2.0...3.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 21:27:25 -04:00
dependabot[bot] 40b9f4e56b build(deps): bump vext from 0.7.4 to 0.7.6 (#116)
Bumps [vext](https://github.com/stuaxo/vext) from 0.7.4 to 0.7.6.
- [Release notes](https://github.com/stuaxo/vext/releases)
- [Changelog](https://github.com/vext-python/vext/blob/master/HISTORY)
- [Commits](https://github.com/stuaxo/vext/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-30 21:27:11 -04:00
Jordan Ruthe 86e2174152 docs: Put hardware on its own page. 2021-03-23 21:23:42 -04:00
Jordan Ruthe f3e7941acf readme: Update docs to readthedocs 2021-03-23 00:28:20 -04:00
Jordan Ruthe d61e5983da move and settings: Update settings panel to include configurable movement speed
This allows the user to set the speed in mm/s for the move panel

Completes #95
2021-03-23 00:09:36 -04:00
Jordan Ruthe 6fd25994d4 job_status: Update percent complete on creating job_status panel 2021-03-22 23:06:54 -04:00
Jordan Ruthe fe1721debd KlippyGcodes: fixes #110 2021-03-22 20:04:33 -04:00
Jordan Ruthe 543654b499 job_status: Fix error in displaying filename 2021-03-22 20:03:05 -04:00
Jordan Ruthe 496850faec readme: Update documentation link 2021-03-15 20:28:01 -04:00
Jordan Ruthe 7743f2aa63 job_status: Add missing variable declaration for gettext 2021-03-14 23:42:12 -04:00
Jordan Ruthe 47e233928e docs: Remove screenshot from readme 2021-03-14 23:39:09 -04:00
Jordan Ruthe 344df0a869 docs: Update to use mkdocs 2021-03-14 17:02:05 -04:00
Jordan Ruthe 84ca1ded7c readme: fix broken klipper link 2021-03-14 14:27:03 -04:00
Jordan Ruthe 396467d50f splash_screen: Hide change printer button if only one printer is configured 2021-03-13 17:05:20 -05:00
Jordan Ruthe 6f8ee80574 job_status Update estimated time values 2021-03-13 14:10:28 -05:00
Jordan Ruthe 029c59436c job_status: Logic updates for printing state 2021-03-12 12:35:33 -05:00
Jordan Ruthe 55193e227f system: Add KlipperScreen restart button 2021-03-12 11:47:39 -05:00
Jordan Ruthe 66570f4ac6 job_status: Include fine tuning button on panel rather than in menu 2021-03-07 17:21:34 -05:00
schpuntikandschpuntik b7ad50deff Update Russian locale (#107)
Co-authored-by: schpuntik <schpuntik@freenet.de>
2021-03-06 16:31:28 -05:00
Jordan Ruthe 3e505d7a71 config: Add include feature 2021-03-06 12:43:47 -05:00
jordanruthe 5e31e3cfa6 Multiple printers (#85)
* screen/printer_select/splash_screen: Updates to allow changing between moonraker instances

* Updates to multiple printers

* settings: Display printer endpoints

* Update macros to be on a per-printer basis

* files: Changes to clear out file cache on printer switch

* job_status: Redo page for action bar

* splash_screen: Change icon

* websocket: Actually close the websocket

* printer: Fix error case

* splash_screen: show buttons update

* readme update
2021-03-05 18:30:59 -05:00
dependabot[bot] dd08d3d9c8 build(deps): bump websocket-client from 0.57.0 to 0.58.0 (#105)
Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 0.57.0 to 0.58.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v0.57.0...v0.58.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-05 18:14:48 -05:00
dependabot[bot] 5c1a23914a build(deps): bump jinja2 from 2.11.2 to 2.11.3 (#69)
Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-05 18:14:37 -05:00
Jordan Ruthe 8c7d9726d7 move: Keep abs/rel coordinates. Closes #106 2021-03-05 00:20:26 -05:00
Jordan Ruthe 78fd11c4f1 install: fix no-binary 2021-03-04 20:44:02 -05:00
Jordan Ruthe 5f931fa09d job_status: Fix error with non-existent metadata 2021-03-03 18:32:28 -05:00
Elektrickser b264719cd9 Z-Tilt integration and Update German Language (#100)
* Z-Tilt integration and Update German Language

- Update German language
- Integration Z-Tilt in Move-Menue

* Update KlipperScreen.po
2021-03-02 18:22:19 -05:00
Jordan Ruthe f3001f3c76 wifi: Remove scanning log message 2021-02-26 10:59:13 -05:00
Jordan Ruthe 988608f9d3 language: Remove location comments from po files. Update all po files 2021-02-26 10:58:13 -05:00
Jordan Ruthe f14f494fee splash_screen: fix issue with message popup 2021-02-26 10:52:55 -05:00
Jordan Ruthe f04b14c813 printer: Ensure callbacks don't run out of order #96 2021-02-26 10:49:27 -05:00
Jordan Ruthe e1f45b3c1a screen: Enable DPMS so screens can power down. 2021-02-22 19:46:41 -05:00
Jordan Ruthe 81477f4b0a functions: Fix log issue 2021-02-22 19:43:11 -05:00
Jordan Ruthe 90d115d1f4 job_status: Update states for paused 2021-02-22 17:35:19 -05:00
Jordan Ruthe fadf4488be temperature: fix another bug 2021-02-22 16:47:48 -05:00
Jordan Ruthe 774f273858 temperature: Fix problem with manually enterring tool temp 2021-02-22 15:34:39 -05:00
Jordan Ruthe cdfd25357f functions: Fix forgotten import 2021-02-22 15:33:13 -05:00
Jordan Ruthe f6f2f3f143 printer: Add quad_gantry_level/z_tilt_adjust to homing menu. Fixes #46 2021-02-22 15:19:23 -05:00
Jordan Ruthe b78ebea687 screen: Allow cursor to be displayed #51 2021-02-22 11:40:21 -05:00
Jordan Ruthe 3f2ed97385 fine_tune: Allow z babystep intervals to be configured 2021-02-22 11:10:19 -05:00
Jordan Ruthe a57ab7f9d5 docs: Update changelog 2021-02-22 10:42:23 -05:00
Jordan Ruthe a19661ca90 gtk: fix font ratio for insanely wide screens 2021-02-22 10:36:33 -05:00
Jordan Ruthe cd8929bcb0 files: remove needless logging statements 2021-02-22 10:36:26 -05:00
Jordan Ruthe aed61f4aba system: Fix buttons being off screen 2021-02-22 10:35:41 -05:00
Jordan Ruthe c0b4b464bd Changes to logging implementation 2021-02-21 12:19:30 -05:00
Jordan Ruthe c8fe6de747 screen: Fix cosmetic issue with mouse hover at startup 2021-02-21 11:58:14 -05:00
Jordan Ruthe 316ff627ac temperature: add heater_generic 2021-02-19 15:21:58 -05:00
Jordan Ruthe 0c73b3831b preheat: add heater_generic 2021-02-19 15:21:50 -05:00
Jordan Ruthe 56731e77f6 main_menu: Show all heaters 2021-02-19 15:05:12 -05:00
Jordan Ruthe da1bdcfb6c screen: websocket subscribe for extra heaters 2021-02-19 14:41:10 -05:00
Jordan Ruthe 106a72b8f5 screen_panel: Update update_temp method to include name 2021-02-19 14:40:48 -05:00
Jordan Ruthe 3326551d5e printer: Add get_heaters 2021-02-19 14:40:33 -05:00
gdachs 41e2008249 wireless-tools is a required package (#86)
Missing wireless-tools lead to a very high CPU usage
2021-02-19 00:49:48 -05:00
Jordan Ruthe b303c61c1b DefaultConfig: Add macros to print menu 2021-02-19 00:48:32 -05:00
Jordan Ruthe a02913d631 docs: Update panel images 2021-02-19 00:45:55 -05:00
Jordan Ruthe 3d234af67c style: remove border on action bar 2021-02-19 00:16:32 -05:00
Jordan Ruthe 41e5963ad7 print: Save sort order to fix #66 2021-02-19 00:13:57 -05:00
Jordan Ruthe cea0df8658 print: Add support for directories 2021-02-18 23:56:25 -05:00
Jordan Ruthe cfb24dd885 config: redact moonraker api key while logging with new printers option 2021-02-18 12:48:27 -05:00
Jordan Ruthe e41c330cf1 style: Change spacing between info boxes in job_status screen 2021-02-18 12:38:42 -05:00
Jordan Ruthe 0bfe649882 KlippyGtk: Enable word wrap on buttons 2021-02-18 12:38:05 -05:00
Jordan Ruthe 0efdd2ca06 job_status: Fix issues with homogeneous grids 2021-02-18 12:37:43 -05:00
Jordan Ruthe e111053a67 move: Fix bigger text strings 2021-02-18 12:36:43 -05:00
Jordan Ruthe 08b1e0d17a screen: Only process current panel's subscription 2021-02-18 12:35:00 -05:00
Jordan Ruthe 52e3f53333 screen: Add transition for paused state (mainly for startup) 2021-02-18 12:34:35 -05:00
Jordan Ruthe 693c45e2d7 wifi: remove asyncio 2021-02-18 11:59:59 -05:00
Jordan Ruthe 0a25b4e502 job_status: Fix case for no estimated time from slicer 2021-02-15 21:45:24 -05:00
Jordan 8a9072c5d0 sudo_fix: Fix sudo for no password on certain commands 2021-02-15 21:11:37 +00:00
Jordan Ruthe 0a5e931d17 bed_mesh: Updates to content to include action bar width 2021-02-15 15:53:39 -05:00
Jordan Ruthe f047830852 system: Change buttons for reduced width 2021-02-15 15:46:26 -05:00
Jordan Ruthe 2c87e096f4 docs: Update configuration and changelog for new features 2021-02-15 15:42:45 -05:00
Jordan Ruthe acbfd6e5c5 screen_panel: Add border on action panel 2021-02-15 15:37:35 -05:00
Jordan Ruthe 79eefbd170 network: Show wifi information 2021-02-15 15:35:13 -05:00
Jordan Ruthe a332556a51 files: Update logging and reduce metadata retrive time 2021-02-15 15:21:32 -05:00
Jordan Ruthe 874b74d59a screen_panel: Put icons on a side bar instead of on the header 2021-02-15 14:58:33 -05:00
Jordan Ruthe 49f7cf0e46 main_menu: Show printer name in main_menu 2021-02-15 14:52:09 -05:00
Jordan Ruthe 57aa7e6e85 screen: Initial update to allow several moonraker connections 2021-02-15 14:51:49 -05:00
Jordan Ruthe 054f7c72db Update emergency stop icon 2021-02-15 14:50:51 -05:00
Jordan Ruthe 1d746c074c screen: Catch errors on attaching panel 2021-02-15 14:25:07 -05:00
Jordan Ruthe 9f2a328b62 files: put files in it's own thread 2021-02-15 14:22:28 -05:00
Jordan Ruthe e1d01c81a2 config: Include multiple configured printers 2021-02-15 14:21:01 -05:00
Jordan Ruthe b251a2ebbb Websocket: changes to include closing websocket 2021-02-15 14:20:39 -05:00
Jordan Ruthe c3f0abd671 splash_screen: Fix none case for printer 2021-02-15 14:18:09 -05:00
schpuntikandschpuntik b6fb4c1da2 Add Russian locales (#79)
* add russian locale

* update script update_translation_files.sh

* Defining Python Source Code Encodings

* Update Russian locale

* Update German locale

* update to PO files for new changes

* fix typo

* Update Russian locale

Co-authored-by: schpuntik <schpuntik@freenet.de>
2021-02-14 12:09:19 -05:00
Jordan Ruthe 6228465fdd job_status: Fix divide by zero case 2021-02-05 21:25:58 +00:00
Elektrickser 05623b7a26 Added Language de_DE (#73)
added German Language
2021-02-05 21:25:52 +00:00
Jordan Ruthe b258d64fb4 KlippyGtk: Undo wrap word. Causing screen to be out of proportion. 2021-02-03 21:40:40 -05:00
Jordan Ruthe 7d1ec41f4b printer: Include quad_gantry_level 2021-01-31 15:24:22 -05:00
Jordan Ruthe 1e9aabec7d screen: Add required traceback module 2021-01-31 15:15:14 -05:00
Jordan Ruthe 7609cedda4 docs: fix typo 2021-01-29 22:37:49 -05:00
Jordan Ruthe f5a2d97842 KlippyGtk: Add word wrapping to buttons 2021-01-29 22:37:39 -05:00
Jordan Ruthe c2dc0fdb46 wifi: Initial wifi class 2021-01-29 22:37:05 -05:00
Jordan Ruthe faabceeafd KlippyRest: catch connection errors 2021-01-29 22:30:55 -05:00
Stefan Dej 4b4faaab88 tiny addition to the install doc (#65)
docs/Installation: Add git clone command
2021-01-29 22:18:01 -05:00
Jordan Ruthe 3e4ae3bdee screen: Enhanced error logging 2021-01-29 16:19:49 -05:00
Jordan Ruthe ad17131393 job_status: Fix issue with NoneType error 2021-01-29 15:46:01 -05:00
Jordan Ruthe d25f642716 docs/Installation: Updates to installation instructions 2021-01-25 20:48:14 -05:00
Jordan Ruthe f1ced2ac46 bed_level: Fix #50 2021-01-25 20:36:37 -05:00
jordanruthe 1137ddb265 Create FUNDING.yml 2021-01-24 14:43:17 -05:00
Jordan Ruthe 3f2fc93be4 KlipperScreen.conf: Add power to print menu 2021-01-24 11:01:43 -05:00
Jordan Ruthe d6bf77870b settings: Screen blanking settings 2021-01-24 11:01:37 -05:00
Jordan Ruthe 874dd509bf bed_mesh: Include add bed mesh 2021-01-21 21:49:57 -05:00
Jordan Ruthe 3ea8402303 screen: Force state into ready 2021-01-21 08:43:41 -05:00
Jordan Ruthe f297699396 job_status/settings: Allow different file estimation methods 2021-01-20 22:06:48 -05:00
Jordan Ruthe 52cadb7744 screen: bug fixes 2021-01-20 22:02:48 -05:00
Jordan Ruthe 90c84d5f17 menu: Fix issue in updating j2_data for moonraker connection 2021-01-20 16:27:02 -05:00
Jordan Ruthe a51360f372 printer: Optimize print states and more print state logging 2021-01-20 15:35:01 -05:00
Jordan Ruthe fc074c350f printer: More debugs for state changes 2021-01-19 13:22:07 -05:00
Jordan Ruthe c926184918 docs: Add commands for calibration 2021-01-19 13:19:39 -05:00
Jordan Ruthe a17c8665ac KlippyGtk: Allow different button image positions 2021-01-19 08:01:12 -05:00
Jordan Ruthe 6c252b0862 splash_screen: Enable menu to network, power, and system panels 2021-01-19 07:59:58 -05:00
Jordan Ruthe 30ed648934 gcode_macros: Updates to fix bugs in visibility of macros 2021-01-13 11:02:15 -05:00
Jordan Ruthe da9570a925 print: Allow sorting by date and name. 2021-01-12 18:35:24 -05:00
Jordan Ruthe 37f8a5d632 system: Add reboot and shutdown buttons 2021-01-10 14:22:18 -05:00
Jordan Ruthe 0453627d40 bed_level/move/temperature/zcalibrate: RTL support 2021-01-09 22:21:27 -05:00
Jordan Ruthe 4f929ba342 move: fix error in move function 2021-01-09 11:27:22 -05:00
Jordan Ruthe 8920516053 extrude: RTL support 2021-01-08 19:03:01 -05:00
Jordan Ruthe a087ecfa30 menu/main_menu: Better RTL support 2021-01-08 19:02:49 -05:00
Jordan Ruthe ab7cffe4d6 language: update to PO files for near-future changes 2021-01-08 11:21:15 -05:00
Jordan Ruthe 32ccfc125d install: Add check for Xwrapper.conf file. Add it if it does not exist 2021-01-08 11:09:34 -05:00
Jordan Ruthe ffb24a2ffd install: Add user to tty group 2021-01-08 10:34:26 -05:00
Jordan Ruthe 6e3965bf6c docs: Update installation on how to turn off base GUI 2021-01-08 10:25:02 -05:00
Jordan Ruthe b1f110c13a screen_panel: change panel name so it's not language localized in logging 2021-01-08 08:35:35 -05:00
Jordan Ruthe 6f15bb1d91 docs: Update changelog, Fix rename of KS Settings to Settings 2021-01-08 08:24:06 -05:00
Jordan Ruthe ca8abecb55 gcode_macros: Update to hide macros based on settings 2021-01-07 01:02:38 -05:00
Jordan Ruthe 934acd0ad0 move: Update to get configuration value properly 2021-01-07 01:02:25 -05:00
Jordan Ruthe 71abc27ad8 splash_screen: Don't display power on if no power devices 2021-01-07 01:02:10 -05:00
Jordan Ruthe 642fe8a52e settings: Create settings panel for KlipperScreen settings 2021-01-07 01:01:55 -05:00
Jordan Ruthe b2b3127183 extrude: Include translations in function 2021-01-07 01:00:43 -05:00
Jordan Ruthe d11e9ec3a6 Create script to update translations with new words and update translation files 2021-01-07 00:59:39 -05:00
Jordan Ruthe 3fee1ff947 zh_CN: Add translation 2021-01-07 00:24:24 -05:00
Jordan Ruthe 0bdb5ac457 he_IL: Updates to translations 2021-01-07 00:24:10 -05:00
Jordan Ruthe 3a60277392 extrude: Updates for language compatability 2021-01-03 18:44:19 -05:00
Jordan Ruthe 0b8751836c Add fr_FR translation 2021-01-03 16:23:21 -05:00
Jordan Ruthe e227f22aba Update he_IL translations 2021-01-03 16:22:41 -05:00
Jordan Ruthe b57cbc8352 Language support for RTL and he_IL 2021-01-03 16:04:26 -05:00
Jordan Ruthe 7b593b704c screen_panel: Parse jinja from config file 2021-01-03 12:45:39 -05:00
Jordan Ruthe 3c2bdee22a Update to allow translations from config file. Updates to use translations from config file. 2021-01-03 12:43:53 -05:00
Jordan Ruthe c08a293f83 job_status: fix problem with directories in the filename 2020-12-29 10:35:23 -05:00
Jordan 9d89311bcc updates to several panels to account for a lack of heater_bed 2020-12-28 17:08:17 -05:00
Jordan 63764ee32e config: log only defined config, redact api key 2020-12-28 16:30:05 -05:00
Jordan c58b040be2 printer: change how states are transitioned 2020-12-28 16:21:15 -05:00
Jordan 389eceaf06 job_status: fix percentage above 100; fix no timeout for job complete 2020-12-28 15:53:20 -05:00
Jordan 9aa4389eaf websocket: remove token debug 2020-12-28 11:53:00 -05:00
Jordan 931d15b6cc printer: Updates to make toolcount less confusing 2020-12-28 11:52:54 -05:00
Jordan 3abbe921b2 extrude: fix panel to allow for multiple extruders 2020-12-21 10:01:21 -05:00
Jordan e2a0f86f45 panels: Add extruder-0 image so that panels align to the T0/T1.. command 2020-12-21 09:57:42 -05:00
Jordan 263b07ae94 docs: update changelog 2020-12-21 09:42:48 -05:00
Jordan f223332cd8 job_status: updates to show active extruder 2020-12-21 09:40:26 -05:00
Jordan 1c2519be41 gcode_macros: visual updates 2020-12-20 23:52:01 -05:00
Jordan 9016b67c6f power: visual updates 2020-12-20 23:51:41 -05:00
Jordan 37c043b3f9 KlippyWebsocket: changes to allow for moonraker api key 2020-12-20 15:43:42 -05:00
Jordan 717e4ee902 readme: updates to hardware 2020-12-18 15:43:39 -05:00
Jordan cb90a0bd70 docs: Update for gcode_macros panel 2020-12-18 15:30:57 -05:00
Jordan 6a6161dfef printer: add bltouch/probe variables 2020-12-18 15:25:35 -05:00
Jordan 1973002b3d power: cleanup dependency 2020-12-18 15:22:30 -05:00
Jordan 51714180ac gcode_macros: add a panel for gcode macros 2020-12-18 15:22:16 -05:00
Jordan 246c15494c screen: Allow fallback for other languages 2020-12-18 13:10:45 -05:00
Jordan 5c1d5a1825 screen: Better error display for klippy 2020-12-18 13:02:10 -05:00
dependabot[bot] 136ecf79fb build(deps): bump humanize from 3.1.0 to 3.2.0 (#31)
Bumps [humanize](https://github.com/jmoiron/humanize) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/3.1.0...3.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-18 12:34:13 -05:00
dependabot[bot] 3fe1665e0b build(deps): bump requests from 2.25.0 to 2.25.1 (#33)
Bumps [requests](https://github.com/psf/requests) from 2.25.0 to 2.25.1.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.25.0...v2.25.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-18 12:33:56 -05:00
Jordan Ruthe c3f96418ea screen: allow custom moonraker url/port 2020-12-16 23:02:33 -05:00
Jordan Ruthe bcbbc03151 config: Allow specifying configfile location from command line 2020-12-16 23:00:50 -05:00
Jordan Ruthe 51da7cecc8 job_status: change how metadata update is handled 2020-12-10 17:01:51 -05:00
Jordan Ruthe 07554250ad screen: Catch "startup" state from moonraker 2020-12-10 12:35:44 -05:00
Jordan Ruthe 9f4204b898 job_status: update Z value to gcode value 2020-12-09 13:25:01 -05:00
Jordan Ruthe 5682eb5616 fix job status panel not updating filename after one print 2020-12-08 23:48:48 -05:00
Jordan Ruthe 47d08f5385 job_status: line wrapping for filenames with no spaces 2020-12-08 23:38:38 -05:00
Jordan Ruthe ecc4c5ac4c readme: Include more links/info 2020-12-08 23:35:45 -05:00
Jordan Ruthe f343f03b96 job_status: Refactored layout in panel 2020-12-08 23:32:27 -05:00
Jordan Ruthe 36c9b42970 splash_screen: Update klipper logo to scale for lower resolutions 2020-12-08 20:28:15 -05:00
Jordan Ruthe 5408aec036 screen: fix broken function call 2020-12-07 15:53:50 -05:00
Jordan Ruthe 7471cd39b9 style: fix color on progress bar 2020-12-07 15:46:50 -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 fb0a0557c5 docs: Updates to bed_level panel 2020-12-06 21:04:09 -05:00
Jordan Ruthe e6b71d5478 screen: fixes to popup message 2020-12-06 21:03:32 -05:00
Jordan Ruthe a18eb42399 screen: init GTK earlier 2020-12-06 16:09:27 -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 1c384144c4 files: load metadata faster than 6 seconds after start 2020-12-06 15:30:55 -05:00
Jordan Ruthe 348a9e3e42 screen: move version ahead of config output in logfile 2020-12-06 15:30:37 -05:00
Jordan Ruthe 4736ed4d84 bed_level: updates to screws_tilt_calculate feature 2020-12-05 17:09:29 -05:00
Jordan Ruthe 0907c6a06a move: Allow inverting of the axis 2020-12-05 15:42:34 -05:00
Jordan Ruthe cf3a924bb2 screen: Set buttons under message bar to not be sensitive when covered 2020-12-05 14:14:02 -05:00
Jordan Ruthe d61db5fb17 files: Changes to metadata request to fix getting stuck in a loop 2020-12-05 13:50:15 -05:00
Jordan Ruthe 3ad44d9ecf configuration: update icons for homing 2020-12-05 13:46:17 -05:00
Jordan Ruthe cb39b469b0 bed_level: include screws_tilt_calculate command 2020-12-04 19:41:45 -05:00
Jordan Ruthe 5ad29f0183 screen: popup error messages 2020-12-04 19:11:16 -05:00
Jordan Ruthe a2f178c7e0 extrude: fix not showing temperatures 2020-12-04 18:28:49 -05:00
Jordan Ruthe 7efb0fddf0 fan: Remove user select buttons if fan on/off is hit while selecting 2020-12-04 14:26:08 -05:00
Jordan Ruthe 46410f797a fine_tune: Remove fan from fine tune panel. Add fan to print menu 2020-12-04 14:20:31 -05:00
Jordan Ruthe c7496973ee docs: Update with latest changes 2020-12-04 14:13:41 -05:00
Jordan Ruthe 2d29eef255 configuration: hide extrude while printing 2020-12-04 14:13:10 -05:00
Jordan Ruthe 3e11fad1fd bed_mesh: Add panel for bed_mesh 2020-12-04 14:13:03 -05:00
Jordan Ruthe a724836378 fine_tune: remove unused code 2020-12-04 14:04:09 -05:00
Jordan Ruthe 25b89cb7e9 menu: refactor adding items to menu so they can be dynamically added/rmeoved. 2020-12-04 14:03:14 -05:00
Jordan Ruthe b37ba531f7 screen: add popup message capability 2020-12-04 14:02:06 -05:00
Jordan Ruthe 58b6325776 screen: cleanup unused code 2020-12-04 14:01:50 -05:00
Jordan Ruthe 5cfed7f477 install: enable systemd 2020-12-03 20:22:17 -05:00
Jordan Ruthe 369fc24e16 screen: include "error" for state calculation 2020-12-03 13:40:25 -05:00
Jordan Ruthe a099151693 job_status: Fix problem with cancel print not working 2020-12-03 09:46:45 -05:00
Jordan Ruthe c182cc21f2 z_calibrate: uncomment probe commands 2020-12-02 19:22:04 -05:00
Jordan Ruthe 16f7d4543a job_status: Update confirm dialog. Fix variable name 2020-12-02 16:33:04 -05:00
Jordan Ruthe 3a4c556f25 fan: reset value to current fan value after cancel 2020-12-02 14:42:00 -05:00
Jordan Ruthe 67e04248c3 files: Fix error with metadata being perpetually requested 2020-12-02 14:35:48 -05:00
Jordan Ruthe 08a7057668 Change panel layout. Add title and move back button 2020-12-02 14:35:28 -05:00
Jordan Ruthe 6d71022dbf KlipperScreen.conf: fix move icon 2020-12-01 18:46:51 -05:00
Jordan Ruthe 972c869e62 Fix requirements 2020-12-01 18:43:38 -05:00
jordanruthe c36aa4b430 screen: fix case for no power devices 2020-11-29 10:44:07 -05:00
jordanruthe 90950101d8 install: Update script to get the current username 2020-11-29 10:28:48 -05:00
Jordan Ruthe 67d61d164c system: add klipper version 2020-11-28 14:25:47 -05:00
Jordan Ruthe cc59ec68d0 Add power panel 2020-11-28 14:00:26 -05:00
Jordan Ruthe 48c276d22f menu: add ability for enable to hide certain menus 2020-11-28 13:57:51 -05:00
Jordan Ruthe 728f9cfa0f screen/panels: add action to process update 2020-11-28 13:52:03 -05:00
Jordan Ruthe 1c0e4fbf86 menu: remove unnecessary logging 2020-11-28 10:33:12 -05:00
Jordan Ruthe f7484c3df5 screen: fix errors 2020-11-28 10:32:48 -05:00
Jordan Ruthe b70e84a7ee example: update to including logging 2020-11-28 10:31:06 -05:00
Jordan 16c2c64904 screen: remove unnecessary includes 2020-11-24 04:35:47 +00:00
Jordan Ruthe 70c93ee878 panels.md: Update to include all panels 2020-11-23 21:24:55 -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
Jordan Ruthe f0f4581241 Documentation updates 2020-11-22 19:41:29 -05:00
Jordan Ruthe d5fc92c1af zcalibrate: Have accept go back to the menu 2020-11-22 19:30:34 -05:00
Jordan Ruthe 906da8550e Documentation updates 2020-11-22 19:29:55 -05:00
Jordan Ruthe 2f25ef2040 Documentation updates 2020-11-22 19:27:03 -05:00
jordanruthe 3b62439939 Move files to ks_includes and update references 2020-11-18 17:15:05 -05:00
Jordan Ruthe 557dd86364 Fix CR line end problem 2020-11-18 10:46:57 -05:00
dependabot[bot] aeea57bd2f Bump requests from 2.24.0 to 2.25.0 (#10)
Bumps [requests](https://github.com/psf/requests) from 2.24.0 to 2.25.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/master/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.24.0...v2.25.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-18 09:54:34 -05:00
Jordan 186c8026cf Remove extra file 2020-11-18 14:41:24 +00: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 2626899d53 zcalibrate: Check for homed axes 2020-11-18 05:56:09 -05:00
Jordan Ruthe 6e8f904983 Update configuration for Save Config button 2020-11-18 05:55:45 -05:00
Jordan Ruthe cc5b87eefe Remove old configuration file 2020-11-18 05:41:54 -05:00
vacapetrandjordanruthe 85a2ba116c Adjust fine tune panel for lower resolution (#16)
* Update print.py

* Update KlipperScreen.config

adding the HOME XY button

* Update KlipperScreen.config

* adjust the display for a lower resolution/800x480/

string shortening / long string caused the display to shift at a lower resolution. (panel job_status )

* adjust the display for a lower resolution/800x480/

string shortening / long string caused the display to shift at a lower resolution. (panel fine_tune )

Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
2020-11-18 04:36:28 -05:00
Jordan Ruthe c2be717fa9 Move support files to ks_includes folder.
Fix job_status panel submenu
2020-11-17 00:03:02 -05:00
Jordan Ruthe c57760d857 Merge branch 'configfile' 2020-11-16 23:57:08 -05:00
Jordan Ruthe 891539c5ff Change configuration to configparser for more flexibility. 2020-11-16 23:51:15 -05:00
Jordan Ruthe 87d346e541 Stability updates for websocket and printer shutdown 2020-11-16 18:18:11 -05:00
Jordan Ruthe f223f74f7f Better error handling of loading panels. 2020-11-16 14:38:24 -05:00
Jordan Ruthe df5ac88f84 Add KlipperScreen version to system panel 2020-11-16 00:22:35 -05:00
Jordan Ruthe 8733292dc3 Fixing key not found error 2020-11-16 00:17:51 -05:00
Jordan Ruthe 8df55012d7 Logging updates, includes version number.
Fix gcode_moves not being queried on opening
2020-11-16 00:17:32 -05:00
Jordan Ruthe 18a55fab2e Fix installation script 2020-11-15 14:14:05 -05:00
vacapetr ca9960871d Vacapetr patch 1 (#14)
* adjust the display for a lower resolution/800x480/

string shortening / long string caused the display to shift at a lower resolution. (panel job_status )
2020-11-14 17:16:03 -05:00
dependabot[bot] 127237fd76 Bump humanize from 2.5.0 to 3.1.0 (#9)
* Bump humanize from 2.5.0 to 3.1.0

Bumps [humanize](https://github.com/jmoiron/humanize) from 2.5.0 to 3.1.0.
- [Release notes](https://github.com/jmoiron/humanize/releases)
- [Commits](https://github.com/jmoiron/humanize/compare/2.5.0...3.1.0)

Signed-off-by: dependabot[bot] <support@github.com>

* Create update-python-venv.sh

Create update virtual-env script
2020-11-14 13:14:24 -05:00
vacapetr ca9f869ac3 Add HOME XY button and change in print.py for lower resolution (#13)
* Update KlipperScreen.config

adding the HOME XY button
2020-11-14 13:01:19 -05:00
Jordan Ruthe d29c0ab063 Documentation updates 2020-11-14 11:28:52 -05:00
Jordan Ruthe 33beb60af9 Update print panel to handle different resolutions better 2020-11-14 11:25:08 -05:00
Jordan Ruthe 29f78bda5e Change line wrap mode to char for longer filenames 2020-11-14 10:54:37 -05:00
Jordan Ruthe 1a8e6dd250 Merge branch 'master' of https://github.com/jordanruthe/KlipperScreen 2020-11-14 10:17:30 -05:00
Jordan Ruthe 12c0e9f5b1 Fix extruder gcode command 2020-11-14 10:17:12 -05:00
Jordan Ruthe 952d46da24 Highlight all heaters by default on preheat panel 2020-11-14 10:14:36 -05:00
Jordan Ruthe 929efa8e41 Fix problem with ZCalibrate panel 2020-11-14 10:09:15 -05:00
jordanruthe fb840f2404 Merge pull request #12 from vacapetr/patch-1
Update extrude.py
2020-11-14 09:58:14 -05:00
vacapetr 19e0ff5028 Update extrude.py 2020-11-14 09:38:47 +01:00
557 changed files with 44510 additions and 7879 deletions

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: klipperscreen
open_collective: # Replace with a single Open Collective username
ko_fi: klipperscreen
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
+17
View File
@@ -0,0 +1,17 @@
name: test-code
on: [push, pull_request]
jobs:
lint-python-code:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: ricardochaves/python-lint@v1.4.0
with:
python-root-list: "screen.py ks_includes panels"
use-pylint: false
use-pycodestyle: true
use-flake8: false
use-black: false
use-mypy: false
use-isort: false
extra-pycodestyle-options: "--ignore=E226,E301,E302,E303,E402,W503,W504 --max-line-length=120 --max-doc-length=120"
+8
View File
@@ -0,0 +1,8 @@
.idea/
KlipperScreen.conf
__pycache__/
*.py[cod]
*$py.class
dist/
build/
venv/
-147
View File
@@ -1,147 +0,0 @@
{
"preheat_options": {
"PLA": {
"tool": 195,
"bed": 40
},
"ABS":{
"tool": 220,
"bed": 90
}
},
"mainmenu": [
{
"name": "Homing",
"icon": "home",
"panel": "menu",
"items": [
{
"name": "Home All",
"icon": "home",
"method": "printer.gcode.script",
"params": {"script": "G28"}
},
{
"name": "Home X",
"icon": "home-x",
"method": "printer.gcode.script",
"params": {"script": "G28 X"}
},
{
"name": "Home Y",
"icon": "home-y",
"method": "printer.gcode.script",
"params": {"script": "G28 Y"}
},
{
"name": "Home Z",
"icon": "home-z",
"method": "printer.gcode.script",
"params": {"script": "G28 Z"}
}
]
},
{
"name": "Preheat",
"icon": "heat-up",
"panel": "preheat"
},
{
"name": "Actions" ,
"icon": "actions",
"panel": "menu",
"items": [
{
"name": "Move",
"icon": "move",
"panel": "move"
},
{
"name": "Extrude",
"icon": "filament",
"panel": "extrude"
},
{
"name": "Fan",
"icon": "fan",
"panel": "fan"
},
{
"name": "Temperature",
"icon": "heat-up",
"panel": "temperature"
},
{
"name": "Disable Motors",
"icon": "motor-off",
"method": "printer.gcode.script",
"params": {"script": "M18"},
"command": {
"method": "printer.gcode.script",
"params": {"script": "M18"}
}
}
]
},
{
"name": "Configuration",
"icon": "control",
"panel": "menu",
"items": [
{
"name": "Bed Level",
"icon": "bed-level",
"panel": "bed_level"
},
{
"name": "ZOffsets",
"icon": "z-offset-increase",
"panel": "zcalibrate"
},
{
"name": "Network",
"icon": "network",
"panel": "network"
},
{
"name": "System",
"icon": "info",
"panel": "system"
}
]
},
{
"name": "Print",
"icon": "print",
"panel": "print"
}
],
"printmenu": [
{
"name": "Temperature",
"icon": "heat-up",
"panel": "temperature"
},
{
"name": "Tuning",
"icon": "fan",
"panel": "finetune"
},
{
"name": "Network",
"icon": "network",
"panel": "network"
},
{
"name": "System",
"icon": "info",
"panel": "system"
},
{
"name": "Extrude",
"icon": "filament",
"panel": "extrude"
}
]
}
-62
View File
@@ -1,62 +0,0 @@
class KlippyGcodes:
HOME = "G28"
HOME_X = "G28 X"
HOME_Y = "G28 Y"
HOME_Z = "G28 Z"
MOVE = "G1"
MOVE_ABSOLUTE = "G90"
MOVE_RELATIVE = "G91"
EXTRUDE_ABS = "M82"
EXTRUDE_REL = "M83"
SET_EXT_TEMP = "M104"
MAX_EXT_TEMP = 300
SET_BED_TEMP = "M140"
MAX_BED_TEMP = 150
SET_EXT_FACTOR = "M221"
SET_FAN_SPEED = "M106"
SET_SPD_FACTOR = "M220"
PROBE_CALIBRATE = "PROBE_CALIBRATE"
PROBE_MOVE = "TESTZ Z="
PROBE_ABORT = "ABORT"
PROBE_ACCEPT = "ACCEPT"
SAVE_CONFIG = "SAVE_CONFIG"
RESTART = "RESTART"
FIRMWARE_RESTART= "FIRMWARE_RESTART"
@staticmethod
def set_bed_temp(temp):
return KlippyGcodes.SET_BED_TEMP + " S" + str(temp)
@staticmethod
def set_ext_temp(temp, tool=0):
return KlippyGcodes.SET_EXT_TEMP + " T" + str(tool) + " S" + str(temp)
@staticmethod
def set_fan_speed(speed):
speed = str( int(float(int(speed) % 101)/100*255) )
return KlippyGcodes.SET_FAN_SPEED + " S"+ speed
@staticmethod
def set_extrusion_rate(rate):
return "%s S%s" % (KlippyGcodes.SET_EXT_FACTOR, rate)
@staticmethod
def set_speed_rate(rate):
return "%s S%s" % (KlippyGcodes.SET_SPD_FACTOR, rate)
@staticmethod
def probe_move(dist):
return KlippyGcodes.PROBE_MOVE + dist
@staticmethod
def extrude(dist, speed=500):
return KlippyGcodes.MOVE + " E" + dist + " F" + speed
-209
View File
@@ -1,209 +0,0 @@
# -*- coding: utf-8 -*-
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib
import os
klipperscreendir = os.getcwd()
class KlippyGtk:
labels = {}
@staticmethod
def Label(label, style):
l = Gtk.Label(label)
if style != False:
l.get_style_context().add_class(style)
return l
@staticmethod
def ImageLabel(image_name, text, size=20, style=False):
box1 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=15)
image = Gtk.Image()
#TODO: update file reference
image.set_from_file(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg")
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg", 20, 20, True)
image.set_from_pixbuf(pixbuf)
label = Gtk.Label()
label.set_text(text)
box1.add(image) #, size, size)
box1.add(label)
if style != False:
ctx = box1.get_style_context()
ctx.add_class(style)
return {"l": label, "b": box1}
@staticmethod
def Image(image_name, style=False, width=None, height=None):
pixbuf = GdkPixbuf.Pixbuf.new_from_file(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg")
if height != None and width != None:
pixbuf = pixbuf.scale_simple(width, height, GdkPixbuf.InterpType.BILINEAR)
return Gtk.Image.new_from_pixbuf(pixbuf)
@staticmethod
def ImageFromFile(filename, style=False, width=None, height=None):
if height != -1 or width != -1:
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(filename, width, height, True)
else:
pixbuf = GdkPixbuf.Pixbuf.new_from_file(filename)
return Gtk.Image.new_from_pixbuf(pixbuf)
@staticmethod
def PixbufFromFile(filename, style=False, width=None, height=None):
if height != -1 or width != -1:
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(filename, width, height, True)
else:
pixbuf = GdkPixbuf.Pixbuf.new_from_file(filename)
return pixbuf
@staticmethod
def ProgressBar(style=False):
bar = Gtk.ProgressBar()
if style != False:
ctx = bar.get_style_context()
ctx.add_class(style)
return bar
@staticmethod
def Button(label=None, style=None):
b = Gtk.Button(label=label)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
b.props.relief = Gtk.ReliefStyle.NONE
if style != None:
b.get_style_context().add_class(style)
return b
@staticmethod
def ButtonImage(image_name, label=None, style=None, height=None, width=None):
pixbuf = GdkPixbuf.Pixbuf.new_from_file(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg")
if height != None and width != None:
pixbuf = pixbuf.scale_simple(width, height, GdkPixbuf.InterpType.BILINEAR)
img = Gtk.Image.new_from_pixbuf(pixbuf)
b = Gtk.Button(label=label)
b.set_image(img)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
b.set_image_position(Gtk.PositionType.TOP)
b.set_always_show_image(True)
b.props.relief = Gtk.ReliefStyle.NONE
if style != None:
b.get_style_context().add_class(style)
return b
@staticmethod
def ConfirmDialog(screen, text, buttons, callback=None, *args):
dialog = Gtk.Dialog()
#TODO: Factor other resolutions in
dialog.set_default_size(984, 580)
dialog.set_resizable(False)
dialog.set_transient_for(screen)
dialog.set_modal(True)
for button in buttons:
dialog.add_button(button_text=button['name'], response_id=button['response'])
dialog.connect("response", callback, *args)
dialog.get_style_context().add_class("dialog")
content_area = dialog.get_content_area()
content_area.set_margin_start(15)
content_area.set_margin_end(15)
content_area.set_margin_top(15)
content_area.set_margin_bottom(15)
label = Gtk.Label()
label.set_line_wrap(True)
label.set_size_request(800, -1)
label.set_markup(text)
label.get_style_context().add_class("text")
table = Gtk.Table(1, 1, False)
table.attach(label, 0, 1, 0, 1, Gtk.AttachOptions.SHRINK | Gtk.AttachOptions.FILL)
table.set_vexpand(True)
table.set_halign(Gtk.Align.CENTER)
table.set_valign(Gtk.Align.CENTER)
content_area.add(table)
dialog.show_all()
return dialog
@staticmethod
def ToggleButtonImage(image_name, label, style=False):
img = Gtk.Image.new_from_file(klipperscreendir + "/styles/z-bolt/images/" + str(image_name) + ".svg")
b = Gtk.ToggleButton(label=label)
#b.props.relief = Gtk.RELIEF_NONE
b.set_image(img)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
b.set_image_position(Gtk.PositionType.TOP)
b.set_always_show_image(True)
b.props.relief = Gtk.ReliefStyle.NONE
if style != False:
ctx = b.get_style_context()
ctx.add_class(style)
return b
@staticmethod
def HomogeneousGrid():
g = Gtk.Grid()
g.set_row_homogeneous(True)
g.set_column_homogeneous(True)
return g
@staticmethod
def ToggleButton(text):
b = Gtk.ToggleButton(text)
b.props.relief = Gtk.ReliefStyle.NONE
b.set_hexpand(True)
b.set_vexpand(True)
return b
@staticmethod
def formatFileName(name):
name = name.split('/')[-1] if "/" in name else name
name = name.split('.gcod')[0] if ".gcode" in name else name
if len(name) > 25:
return name[0:25] + "\n" + name[25:50]
return name
@staticmethod
def formatTimeString(seconds):
time = int(seconds)
text = ""
if int(time/3600) !=0:
text += str(int(time/3600))+"h "
text += str(int(time/60)%60)+"m "+str(time%60)+"s"
return text
@staticmethod
def formatTemperatureString(temp, target):
if (target > temp-2 and target < temp+2) or round(target,0) == 0:
return str(round(temp,2)) + "°C" #°C →"
return str(round(temp,2)) + "°C → " + str(round(target,2)) + "°C"
-23
View File
@@ -1,23 +0,0 @@
import json
import requests
import logging
class KlippyRest:
def __init__(self, ip, port=7125):
self.ip = ip
self.port = port
def get_info(self):
return self.send_request("server/info")
def send_request(self, method):
r = requests.get("http://%s:%s/%s" % (self.ip, self.port, method))
if r.status_code != 200:
return False
#TODO: Try/except
data = json.loads(r.content)
return data
-286
View File
@@ -1,286 +0,0 @@
#!/usr/bin/python
import gi
import time
import threading
import json
import requests
import websocket
import asyncio
import logging
logger = logging.getLogger("KlipperScreen.KlipperWebsocket")
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from KlippyGcodes import KlippyGcodes
#f = open("/home/pi/.moonraker_api_key", "r")
api_key = "" #f.readline()
#f.close()
api = {
"printer_info": {
"url": "/printer/info",
"method": "get_printer_info"
},
"apikey": {
"url": "/access/api_key"
},
"oneshot_token": {
"url": "/access/oneshot_token"
}
}
class KlippyWebsocket(threading.Thread):
_req_id = 0
connected = False
callback_table = {}
def __init__(self, screen, callback):
threading.Thread.__init__(self)
self._screen = screen
self._callback = callback
self.klippy = MoonrakerApi(self)
self._url = "127.0.0.1:7125"
def connect (self):
r = requests.get(
"http://%s%s" % (self._url, api['oneshot_token']['url']),
headers={"x-api-key":api_key}
)
if r.status_code != 200:
logger.info("Failed to retrieve oneshot token")
return
token = json.loads(r.content)['result']
self.ws_url = "ws://%s/websocket?token=%s" % (self._url, token)
self.ws = websocket.WebSocketApp(self.ws_url,
on_message = lambda ws,msg: self.on_message(ws, msg),
on_error = lambda ws,msg: self.on_error(ws, msg),
on_close = lambda ws: self.on_close(ws),
on_open = lambda ws: self.on_open(ws)
)
self._wst = threading.Thread(target=self.ws.run_forever)
self._wst.daemon = True
self._wst.start()
def is_connected(self):
return self.connected
def on_message(self, ws, message):
response = json.loads(message)
if "id" in response:
if response['id'] in self.callback_table:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self.callback_table[response['id']][0],
response,
self.callback_table[response['id']][1],
self.callback_table[response['id']][2],
*self.callback_table[response['id']][3]
)
self.callback_table.pop(response['id'])
return
if "method" in response:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self._callback,
response['method'],
response['params'][0] if "params" in response else {}
)
return
def send_method(self, method, params={}, callback=None, *args):
self._req_id += 1
if callback != None:
self.callback_table[self._req_id] = [callback, method, params, [*args]]
data = {
"jsonrpc": "2.0",
"method": method,
"params": params,
"id": self._req_id
}
self.ws.send(json.dumps(data))
def on_open(self, ws):
logger.info("### ws open ###")
self.connected = True
def on_close(self, ws):
logger.info("### ws closed ###")
self.connected = False
# TODO: Make non-blocking
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self._screen.printer_initializing,
"Connecting to Moonraker..."
)
while (True == True):
try:
info = self._screen.apiclient.get_info()
except Exception:
continue
if info != False:
self.connect()
if self.is_connected():
break
logger.info("### Waiting for websocket")
time.sleep(.5)
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self._screen.printer_ready
)
def on_error(self, ws, error):
print(error)
class MoonrakerApi:
def __init__ (self, ws):
self._ws = ws
def emergency_stop(self):
logger.info("Sending printer.emergency_stop")
self._ws.send_method(
"printer.emergency_stop"
)
def gcode_script(self, script, callback=None, *args):
logger.debug("Sending printer.gcode.script: %s", script)
self._ws.send_method(
"printer.gcode.script",
{"script": script},
callback,
*args
)
def get_file_list(self, callback=None, *args):
#Commenting this log for being too noisy
#logger.debug("Sending server.files.list")
self._ws.send_method(
"server.files.list",
{},
callback,
*args
)
def get_file_metadata(self, filename, callback=None, *args):
logger.debug("Sending server.files.metadata: %s", filename)
self._ws.send_method(
"server.files.metadata",
{"filename": filename},
callback,
*args
)
def object_subscription(self, updates):
logger.debug("Sending printer.objects.subscribe: %s", str(updates))
self._ws.send_method(
"printer.objects.subscribe",
updates
)
def print_cancel(self, callback=None, *args):
logger.debug("Sending printer.print.cancel")
self._ws.send_method(
"printer.print.cancel",
{},
callback,
*args
)
def print_pause(self, callback=None, *args):
logger.debug("Sending printer.print.pause")
self._ws.send_method(
"printer.print.pause",
{},
callback,
*args
)
def print_resume(self, callback=None, *args):
logger.debug("Sending printer.print.resume")
self._ws.send_method(
"printer.print.resume",
{},
callback,
*args
)
def print_start(self, filename, callback=None, *args):
logger.debug("Sending printer.print.start")
self._ws.send_method(
"printer.print.start",
{
"filename": filename
},
callback,
*args
)
def temperature_set(self, heater, target, callback=None, *args):
if heater == "heater_bed":
logger.debug("Sending printer.gcode.script: %s", KlippyGcodes.set_bed_temp(target))
self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_bed_temp(target)
},
callback,
*args
)
else:
logger.debug("Sending printer.gcode.script: %s",
KlippyGcodes.set_ext_temp(target, heater.replace("tool","")))
#TODO: Add max/min limits
self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_ext_temp(target, heater.replace("tool",""))
},
callback,
*args
)
def set_bed_temp(self, target, callback=None, *args):
logger.debug("Sending set_bed_temp: %s", KlippyGcodes.set_bed_temp(target))
self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_bed_temp(target)
},
callback,
*args
)
def set_tool_temp(self, tool, target, callback=None, *args):
logger.debug("Sending set_tool_temp: %s", KlippyGcodes.set_ext_temp(target, tool))
self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_ext_temp(target, tool)
},
callback,
*args
)
def restart(self):
logger.debug("Sending printer.restart")
self._ws.send_method(
"printer.restart"
)
def restart_firmware(self):
logger.debug("Sending printer.firmware_restart")
self._ws.send_method(
"printer.firmware_restart"
)
+8 -55
View File
@@ -1,62 +1,15 @@
# KlipperScreen
KlipperScreen is an idea based from [OctoScreen](https://github.com/Z-Bolt/OctoScreen/), but instead of needing OctoPrint or to compile go, KlipperScreen is python based and interacts directly with Moonraker, Klipper's API service, so that it can be run with no dependencies besides Klipper.
Current feature list:
- [x] Homing
- [x] Preheating
- [x] Job Status and control
- [x] Temperature control
- [x] Extrude control
- [x] Fan control
- [x] Disable steppers
- [x] Configure Z Offset using PROBE_CALIBRATE
- [ ] Print tuning (Z Babystepping, Speed Control, Flow Control)
- [ ] Better system panel
- [ ] Wifi selection
- [ ] Manual bed leveling assist
- [ ] Using thumbnails from prusa on job status page
- [ ] Scale UI based off of resolution
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
### Documentation [![Documentation Status](https://readthedocs.org/projects/klipperscreen/badge/?version=latest)](https://klipperscreen.readthedocs.io/en/latest/?badge=latest)
More details to come...
[Click here to access the documentation.](https://klipperscreen.readthedocs.io/en/latest/)
### Required Hardware
KlipperScreen should run on any HDMI touchscreen that you can connect to a raspberry pi. The required video driver may
be slightly different depending on what model you get. I am developing on a 1024x600 resolution screen. Due to this,
other resolutions may not be scaled properly at this moment. UI scaling is a future development item.
### Inspiration
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [Moonraker](https://github.com/arksine/moonraker).
#### Configure Hardware
[![Main Menu](docs/img/panels/main_panel.png)](https://klipperscreen.readthedocs.io/en/latest/Panels/)
Add the following to _/boot/config.txt_. You can alter the hdmi_cvt to your screen specifications. This example is setup
for a resolution of 1024x600 and a refresh rate of 60hz.
```
hdmi_cvt=1024 600 60 6 0 0 0
hdmi_group=2
hdmi_mode=87
hdmi_drive=2
```
* Development has been using 1024x600 for a screen resolution. Other resolutions may have issues currently
After changing _/boot/config.txt_ you must reboot your raspberry pi. Please also ensure you followed setting up your screen via the screen instructions. This will likely have a xorg.conf.d file for input from the touchscreen that you need to create.
### Installation
Follow the instructions to install klipper and moonraker.
klipper: https://github.com/KevinOConnor/klipper/
moonraker: https://github.com/Arksine/moonraker
Ensure that 127.0.0.1 is a trusted client for moonraker, such as in this example:
```
[authorization]
trusted_clients:
127.0.0.1
```
For moonraker, ensure that 127.0.0.1 is a trusted client:
Run _scripts/KlipperScreen-install.sh_
This script will install packages that are listed under manual install, create a
python virtual environment at ${HOME}/.KlipperScreen-env and install a systemd
service file.
As an option to do development or interact with KlipperScreen from your computer, you may install tigervnc-scraping-server and VNC to your pi instance. Follow tigervnc server setup procedures for details on how to do that.
[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/Panels/)
+27
View File
@@ -0,0 +1,27 @@
# Changelog
Breaking changes will be listed here.
#### [2022 03 21](https://github.com/jordanruthe/KlipperScreen/commit/bc34b3c8d6761c27a0b0c62fc4dfa11442b417f6)
* Default configuration is now merged again.
Fixing [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
#### [2022 03 10](https://github.com/jordanruthe/KlipperScreen/commit/490dc929bd11e3c4200b999ce7204d84fa0bc184)
* The "Power On Printer" button now requires power_devices under the printer section in KlipperScreen.conf
the power_devices allowed are those defined in the config of moonraker of the printer
The "Power" panel will be in the Menu if there are power devices found
#### [2022 03 01](https://github.com/jordanruthe/KlipperScreen/commit/49ab84e8d51535d3469d97fdee53099cca6abc39)
* The "Power On Printer" button now requires that the printer name in KlipperScreen.conf
and the power device in moonraker.conf to have the same name.
The "Power" panel will be in the Menu if there are power devices found
#### [2022 01 11](https://github.com/jordanruthe/KlipperScreen/commit/8a8c6c064cc6d097b1b34a5c42b4001367e545a6)
* The Preheat panel has been deprecated in favor of an all in one Temperature panel
Remove preheat panel from your Klipperscreen.conf or replace the occurrences of preheat with temperature
#### [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/eb801486928bf02709033dcbc5f0a45ca43b23c1)
* Default configuration is not merged if a user configuration is set for a specific option
For instance, if `menu __main` is user defined, the main menu will not have any defaults.
+183 -186
View File
@@ -1,207 +1,204 @@
# Configuration
In the KlipperScreen folder, a file _KlipperScreen.config_ allows for configuration of the screen. The configuration
file is a json formatted file. There are three main options to configure.
Usually you don't need to create a configuration file, but if you need to change something that is not changeable in the UI
create a blank file in `~/klipper_config/KlipperScreen.conf`, if the file already exist then just edit it.
Write in the file only the options that need to be changed, and restart KlipperScreen.
## Include files
```
{
"preheat_options",
"mainmenu",
"printmenu"
}
[include conf.d/*.conf]
# Include another configuration file. Wildcards (*) will expand to match anything.
```
## Main Options
```
[main]
# Invert axis in move panel. Default is False. Change to true to invert
invert_x: False
invert_y: False
invert_z: False
# Time (seconds) before the Job Status page reverts to main menu after a successful job
job_complete_timeout: 30
# Time (seconds) before the Job Status page reverts to main menu after a successful job.
# If this option is 0, the user must click on a button to go back to the main menu.
job_error_timeout: 0
# Specify the language
# The language can be specified here instead of using the system default language.
language: en
# Allows the cursor to be displayed on the screen
show_cursor: False
# Allows to define custom systemctl command for restart like xrdp
service: KlipperScreen
# If multiple printers are defined, this can be set the name of the one to show at startup.
default_printer: Ender 3 Pro
# To define a full set of custom menues (instead of merging user entries with default entries)
# set this to False. See Menu section below.
use_default_menu: True
```
## Printer Options
Multiple printers can be defined
```
# Define printer and name. Name is anything after the first printer word
[printer Ender 3 Pro]
# Define the moonraker host/port if different from 127.0.0.1 and 7125
moonraker_host: 127.0.0.1
moonraker_port: 7125
# Moonraker API key if this is not connecting from a trusted client IP
moonraker_api_key: False
# Define the z_babystep intervals in a CSV list. Currently only 2 are supported
z_babystep_values: 0.01, 0.05
# Override the movement speed and set a specific for this printer.
# These setting overrides the settings configured in the UI. If specified,
# the values configured in the UI will not be used.
move_speed_xy: 500
move_speed_z: 300
# Define one or more moonraker power devices that turn on this printer (CSV list)
# Default is the printer name
power_devices: example1, example2
# Define what items should be shown in titlebar besides the extruder and bed
# the name must be the same as defined in the klipper config
# valid options are temperature_sensors or temperature_fans, or heater_generic
titlebar_items: chamber, MCU, Pi
# The style of the user defined items in the titlebar
# Can be 'full' indicating that the full name is shown, 'short' for the first letter, or None (default) for no name
titlebar_name_type: None
# Z probe calibrate position
# By default is the middle of the bed
calibrate_x_position: 100
calibrate_y_position: 100
# Screen DPMS
# By default DPMS is used to turn off the screen, this should prevent burn-in and save power.
# However if you find that your screen doesn't turn off because it doesn't support it
# Setting this to false will just turn the screen black.
use_dpms: True
```
## Preheat Options
Under preheat options, you may specify pre-defined temperatures for easy warmup. Each material should be formatted as
follows:
```
"Material": {
"tool": 195,
"bed": 40
}
```
Tool is the extruder temperature, bed is the heated bed temperature. An example configuration for PLA and abs would be
like this:
```
"preheat_options": {
"PLA": {
"tool": 195,
"bed": 40
},
"ABS":{
"tool": 220,
"bed": 90
}
}
[preheat my_temp_setting]
# Temperature for the heated bed
bed: 40
# Temperature for the tools
extruder: 195
# Temperature for generic heaters
heater_generic: 40
# Temperature controlled fans (temperature_fan in klipper config)
temperature_fan: 40
# optional GCode to run when the option is selected
gcode: MY_HEATSOAK_MACRO
```
## Main menu
There is an special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
for example:
```
[preheat cooldown]
gcode: M107
```
## Bed Screws
```
[bed_screws]
# Rotation is useful if the screen is not directly in front of the machine.
# Valid values are 0 90 180 270
rotation: 0
```
## Menu
This allows a custom configuration for the menu displayed while the printer is idle. You can use sub-menus to group
different items and there are several panel options available. It is possible to have a gcode script run on a menu
button press.
Available panels:
* bed_level: Manual bed level
* extrude: Controls for extrusion
* fan: Controls fan speed
* finetune: Controls for fine-tuning print settings such as z-babystepping or extrustion rate
* menu: Allows for a sub-menu
* move: Controls the print head
* network: Network information panel
* preheat: Preheat bed/tools
* system: System information panel
* temperature: Controls temperature settings
* zcalibrate: Calibrating a probe
button press. There are two menus available in KlipperScreen, __main and __print. The __main menu is displayed while the
printer is idle. The __print menu is accessible from the printing status page.
A menu item is configured as follows:
```
{
"name": "Name displayed",
"icon": "file name from icons folder",
"panel": "panel from above options",
# Optional parameters
"items": [] # Items for a submenu
"method": "printer.gcode.script" # Moonraker method for a request
"params": {} # Parameters for the moonraker method
}
[menu __main my_menu_item]
# To build a sub-menu of this menu item, you would next use [menu __main my_menu_item sub_menu_item]
name: Item Name
icon: home
# Optional Parameters
# Panel from the panels listed below
panel: preheat
# Moonraker method to call when the item is selected
method: printer.gcode.script
# Parameters that would be passed with the method above
params: {"script":"G28 X"}
# Enable allows hiding of a menu if the condition is false. This statement is evaluated in Jinja2
# Available variables are listed below.
enable: {{ printer.power_devices.count > 0 }}
```
Available panels are listed here: [docs/panels.md](Panels.md)
Certain variables are available for conditional testing of the enable statement:
```
printer.bltouch # Available if bltouch section defined in config
printer.gcode_macros.count # Number of gcode macros
printer.idle_timeout # Idle timeout section
printer.pause_resume # Pause resume section of Klipper
printer.probe # Available if probe section defined in config
printer.power_devices.count # Number of power devices configured in Moonraker
```
A sample configuration of a main menu would be as follows:
```
"mainmenu": [
{
"name": "Homing",
"icon": "home",
"panel": "menu",
"items": [
{
"name": "Home All",
"icon": "home",
"method": "printer.gcode.script",
"params": {"script": "G28"}
},
{
"name": "Home X",
"icon": "home-x",
"method": "printer.gcode.script",
"params": {"script": "G28 X"}
},
{
"name": "Home Y",
"icon": "home-y",
"method": "printer.gcode.script",
"params": {"script": "G28 Y"}
},
{
"name": "Home Z",
"icon": "home-z",
"method": "printer.gcode.script",
"params": {"script": "G28 Z"}
}
]
},
{
"name": "Preheat",
"icon": "heat-up",
"panel": "preheat"
},
{
"name": "Actions" ,
"icon": "actions",
"panel": "menu",
"items": [
{
"name": "Move",
"icon": "move",
"panel": "move"
},
{
"name": "Extrude",
"icon": "filament",
"panel": "extrude"
},
{
"name": "Fan",
"icon": "fan",
"panel": "fan"
},
{
"name": "Temperature",
"icon": "heat-up",
"panel": "temperature"
},
{
"name": "Disable Motors",
"icon": "motor-off",
"method": "printer.gcode.script",
"params": {"script": "M18"},
}
]
},
{
"name": "Configuration",
"icon": "control",
"panel": "menu",
"items": [
{
"name": "Bed Level",
"icon": "bed-level",
"panel": "bed_level"
},
{
"name": "ZOffsets",
"icon": "z-offset-increase",
"panel": "zcalibrate"
},
{
"name": "Network",
"icon": "network",
"panel": "network"
},
{
"name": "System",
"icon": "info",
"panel": "system"
}
]
},
{
"name": "Print",
"icon": "print",
"panel": "print"
}
]
[menu __main homing]
name: Homing
icon: home
[menu __main preheat]
name: Preheat
icon: heat-up
panel: preheat
[menu __main print]
name: Print
icon: print
panel: print
[menu __main homing homeall]
name: Home All
icon: home
method: printer.gcode.script
params: {"script":"G28"}
```
## Print menu
The print menu controls items that are available during a print job. Certain panels, such as movement or homing, are
panels that shouldn't be displayed during a print as they could cause print errors. A default configuration is below:
## KlipperScreen behaviour towards configuration
```
"printmenu": [
{
"name": "Temperature",
"icon": "heat-up",
"panel": "temperature"
},
{
"name": "Tuning",
"icon": "fan",
"panel": "finetune"
},
{
"name": "Network",
"icon": "network",
"panel": "network"
},
{
"name": "System",
"icon": "info",
"panel": "system"
},
{
"name": "Extrude",
"icon": "filament",
"panel": "extrude"
}
]
```
KlipperScreen will search for a configuration file in the following order:
1. _~/KlipperScreen.conf_
2. _${KlipperScreen_Directory}/KlipperScreen.conf_
3. _~/klipper_config/KlipperScreen.conf_
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify
the location of your configuration file.
If one of those files are found, it will be merged with the default configuration.
Default Preheat options will be discarded if a custom preheat is found.
If include files are defined then, they will be merged first.
The default config is included here: (do not edit use as reference)
_${KlipperScreen_Directory}/ks_includes/default.conf_
Preferably *do not* copy the entire default.conf file, just configure the settings needed.
If no config file is found, then when a setting is changed in the settings panel, a new configuration file will be created automatically.
+13
View File
@@ -0,0 +1,13 @@
# Contact
There are several ways to contact people who can assist with issues. Discord is going to be the quickest response as
there will be more people in the chat who can help.
## GitHub Issues
You may submit a GitHub issue request for any problems you are having.
## Klipper Community Discord
The invite link: https://discord.klipper3d.org/
Look for the channel `#klipper-screen`
+68
View File
@@ -0,0 +1,68 @@
# Hardware
There are no recommended screens, but the minimum supported resolution is 480x320
#### Hardware known to work
* [BTT PI TFT50](https://www.biqu.equipment/collections/lcd/products/bigtreetech-pi-tft50-v1-0-tft-display-for-raspberry-pi-3d-printer-part)
* [Raspberry PI 7" Touchscreen](https://www.raspberrypi.org/products/raspberry-pi-touch-display/)
* [Hyperpixel 4](https://shop.pimoroni.com/products/hyperpixel-4)
* [3.5" Elegoo](https://www.elegoo.com/de/products/elegoo-3-5-inch-tft-lcd-screen)
* [3.5" RPi Display](http://www.lcdwiki.com/3.5inch_RPi_Display)
* [5" HDMI Display-B](http://lcdwiki.com/5inch_HDMI_Display-B)
* [VoCore](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35/7)
* [Android Phone](https://klipper.discourse.group/t/how-to-klipperscreen-on-android-smart-phones/1196)
* [WAVESHARE 4.3 inch DSI LCD](https://www.waveshare.com/4.3inch-dsi-lcd.htm)
* [DFrobot DFR0550](https://wiki.dfrobot.com/5%27%27TFT-Display_with_Touchscreen_V1.0_SKU_DFR0550)
* [More known hardware in the klipper discourse](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35)
#### Configuration
Follow the manufacturer instructions on how to install your screen. In general if you see a white screen, then it's not properly installed, ensure that you at least see a console, Then ![install](Installation.md) KlipperScreen, if you are having troubles refer to the ![troubleshooting page](Troubleshooting.md) for further information.
#### Touchscreen touch rotation
If your touchscreen isn't registering touches properly after the screen has been rotated, you will need to apply a
transformation matrix.
First you will need your device name.
Run: `DISPLAY=:0 xinput`
Output
```
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
```
In this case the device is the ADS7846 Touchscreen, yours may be different
You can test a change by running:
`DISPLAY=:0 xinput set-prop "<device name>" 'Coordinate Transformation Matrix' <matrix>`
Where the matrix can be one of the following options:
* 0°: `1 0 0 0 1 0 0 0 1`
* 90° Clockwise: `0 -1 1 1 0 0 0 0 1`
* 90° Counter-Clockwise: `0 1 0 -1 0 1 0 0 1`
* 180° (Inverts X and Y): `-1 0 1 0 -1 1 0 0 1`
* invert Y: `-1 0 1 1 1 0 0 0 1`
* invert X: `-1 0 1 0 1 0 0 0 1`
For example:
`DISPLAY=:0 xinput set-prop "ADS7846 Touchscreen" 'Coordinate Transformation Matrix' -1 0 1 0 -1 1 0 0 1`
To make this permanent, modify the file `/etc/udev/rules.d/51-touchscreen.rules` and add following line:
```
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
```
More info about input transformation can be found in:
* [Ubuntu wiki InputCoordinateTransformation]("https://wiki.ubuntu.com/X/InputCoordinateTransformation")
* [Libinput docs]("https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html")
+57
View File
@@ -0,0 +1,57 @@
# Installation
#### Setup Raspberry Pi
This install process is meant for Raspbian non-desktop version aka Raspbian Lite.
If you have installed it on the GUI version, then use `sudo raspi-config` to set boot to console by choosing the following options in order:
* 1 System Options
* S5 Boot / Auto Login
* B1 Console
#### Klipper and Moonraker Installation
Follow the instructions to install Klipper and Moonraker.
* klipper: https://www.klipper3d.org/Installation.html
* moonraker: https://moonraker.readthedocs.io/en/latest/installation/
In moonraker.conf ensure that 127.0.0.1 is a trusted client for moonraker, such as in this example:
```
[authorization]
trusted_clients:
127.0.0.1
```
Note: `force_logins: true` requires the moonraker api key in [KlipperScreen.conf](Configuration.md)
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block into the moonraker
configuration:
```
[update_manager KlipperScreen]
type: git_repo
path: ~/KlipperScreen
origin: https://github.com/jordanruthe/KlipperScreen.git
env: ~/.KlipperScreen-env/bin/python
requirements: scripts/KlipperScreen-requirements.txt
install_script: scripts/KlipperScreen-install.sh
```
#### KlipperScreen Installation
Execute the following commands:
```
cd ~/
git clone https://github.com/jordanruthe/KlipperScreen.git
cd ~/KlipperScreen
./scripts/KlipperScreen-install.sh
```
This script will install packages that are listed under manual install, create a python virtual environment at
~/.KlipperScreen-env and install a systemd service file.
If you need a custom location for the configuration file, you can add -c or --configfile to the systemd file and specify
the location of your configuration file.
If your screen needs additional software, proceed with the manufacturer instructions if they are provided
and check out the [hardware page](Hardware.md)
At this point KlipperScreen should be working, if it doesn't start then go to the [troubleshooting page](Troubleshooting.md)
+99
View File
@@ -0,0 +1,99 @@
# Panels
### Main Menu
![Main Menu](img/panels/main_panel.png)
### Job Status
![Job Status](img/panels/job_status.png)
### Bed Level
type: bed_level
![Bed Level](img/panels/bed_level.png)
The bed level panel has the ability to have preset locations from Klipper. Please see documentation on the following
Klipper Sections:
* [bed_screws](https://www.klipper3d.org/Config_Reference.html#bed_screws)
* [screws_tilt_adjust](https://www.klipper3d.org/Config_Reference.html#screws_tilt_adjust)
_Important Note: Due to Klipper using the bltouch/probe offsets in screws_tilt_adjust, if a bltouch/probe is enabled_
_KlipperScreen will add the offset to the defined screw values. This will not occur if bed_screws section is used._
This panel will favor screws_tilt_adjust over the bed_screws section. If screws_tilt_adjust is defined, an extra button
for _Screws Calibrate_ will appear. This button runs the SCREWS_TILT_CALCULATE command and shows the results on the
panel.
### Bed Mesh
type: bed_mesh theme:material-dark
![Bed Mesh](img/panels/bed_mesh.png)
### Extrude
type: extrude theme:material-dark
![Extrude](img/panels/extrude.png)
### Fan
type: fan
![Fan](img/panels/fan.png)
### Fine Tune
type: fine_tune theme:custom
![Fine Tune Panel](img/panels/fine_tune.png)
### Gcode Macros
type: gcode_macros theme: material-darker
![Gcode Macros Panel](img/panels/gcode_macros.png)
### Menu
type: menu
![Menu Panel](img/panels/menu.png)
### Move
type: move
![Move Panel](img/panels/move.png)
### Network
type: network
![Network Panel](img/panels/network.png)
### Power
type: power
![Power](img/panels/power.png)
### Print
type: print
![Print Panel](img/panels/print.png)
### Settings
type: settings theme:colorized
![Settings](img/panels/settings.png)
### System
type: system
![System Panel](img/panels/system.png)
### Temperature
type: temperature theme:custom
![Temperature](img/panels/temperature.png)
### Z Calibrate
type: zcalibrate
![Z Calibrate](img/panels/zcalibrate.png)
### Limits
type: limits theme: material-dark
![Limits](img/panels/limits.png)
+81
View File
@@ -0,0 +1,81 @@
# Quicktips
quick tips, without much explanation
## Hide macros, outputs or fans
As you probably already noticed, you can show and hide the gcode macros in the interface settings,
but you can also hide gcode macros by prefixing the name with an underscore.
```
[gcode_macro MY_AWESOME_GCODE]
gcode:
_MY_HELPER_CODE
[gcode_macro _MY_HELPER_CODE]
gcode:
M300
```
MY_AWESOME_GCODE appears in your interface settings, _MY_HELPER_CODE not.
Another example:
Lets hide a temperature_fan:
```
[temperature_fan fan1]
[temperature_fan _fan2]
```
fan1 will show in the interface, but _fan2 will be hidden.
## Thumbnails
KlipperScreen can display thumbnails in the file browser and as previews in the print status.
![Job Status](img/panels/job_status.png)
* [PrusaSlicer](#prusaslicer)
* [SuperSlicer](#superslicer)
* [Cura](#cura)
* [ideaMaker](#ideamaker)
### PrusaSlicer
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
Under General / Firmware.
![PrusaSlicer](img/quicktips/PrusaSlicer-thumbnails.png)
### SuperSlicer
In “Expert” mode SuperSlicer has some very convenient options in the “Printer Settings” tab to activate and customize the previews.
![SuperSlicer](img/quicktips/SuperSlicer-thumbnails.png)
### Cura
The Cura plugin [“Cura2Moonraker”](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin) is required for this.
![Cura](img/quicktips/Cura-thumbnails.png)
### ideaMaker
To enable thumbnails, open the Advanced tab in the printer settings, enable the GCode Thumbnails for Octoprint and Mainsail option and enter your prefered square format image size in the Resolution fields (e.g. 400 X 400). It’s necessary that the thumbnail width and height resolution is equal.
![ideaMaker](img/quicktips/IdeaMaker-thumbnails.png)
## Layer Progress
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
`M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}`
![Layer_progress](img/quicktips/PS_SS_Layer_progress.png)
## Supported Macros
[Macros](macros.md)
+33
View File
@@ -0,0 +1,33 @@
# Theming
To create a custom theme, create a folder in: _${KlipperScreen_Directory}/styles/_
The folder name will be the theme name, in that folder create another folder named `images` this is where the icons should be placed. The icons must be SVG files and they need to have specific names that are defined in the code, use the default theme as a reference for the names or check the code.
To edit colors and styles, create a css file named `style.css` you can use the contents of another theme as a reference.
### Example 1
```
cd ~/KlipperScreen/styles
mkdir -p mytheme/images
cd mytheme
cp ../z-bolt/images/* images/
echo "window { background-color: red;}" > style.css
sudo service KlipperScreen restart
```
At this point `mytheme` should be on the list of themes, and when you select it the background should be red.
### Example 2
Creating a custom background from Mainsail sidebar and this css using Z-bolt icons
```
window { background-image: url("/home/pi/mainsail/img/background.svg");}
button {background-color: rgba(0,0,0,0); border-radius:2em;}
```
![Custom theme example with background](img/theming/theme_example.png)
+19
View File
@@ -0,0 +1,19 @@
## Create Translations
You can use a editor such as [poedit](https://poedit.net/) to assist in translations. This guide will assume that you
will be using poedit.
This guide will refer to `language designation`. This can be found from running `echo $LANG` on your pi, as long as you
have set your pi up for your preferred language.
#### New Language
* Select `Create a new translation` or `File -> New from POT/PO` and select `ks_includes/locals/KlipperScreen.pot`.
* Enter your language designation.
* Create the translations
* Save the file as `ks_includes/locales/{LANGUAGE DESIGNATION}/KlipperScreen.po`.
* Select `File -> Compile to MO`. Save this file as `ks_includes/locales/{LANGUAGE DESIGNATION}/KlipperScreen.mo`
Once you have followed those steps, as long as your pi is set up for your preferred language, KlipperScreen will
automatically use the translations provided in the file. KlipperScreen currently does not detect RTL languages, but
support for RTL is planned in the near future.
+84
View File
@@ -0,0 +1,84 @@
This page will have common problems and common solutions to those problems.
# First Steps
The first step to troubleshooting any problem is getting the cause of the error.
* Check for the file `/tmp/KlipperScreen.log`
look at the contents by running `cat /tmp/KlipperScreen.log` or grab the file over WinSCP or another sftp program.
This is the most important file, and should be provided if you ask for support.
If that file is non-existent, run `journalctl -xe -u KlipperScreen`
Check the file `/var/log/Xorg.0.log` where you can find issues with the X server.
## Cannot open virtual Console
```
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
* Run `cat /etc/X11/Xwrapper.config`
This should have the line `allowed_users=anybody` in it
* Run `cat /etc/group | grep tty`
If your username is not listed under that line, you need to add it with the following command:
`usermod -a -G tty pi` (if your username is not 'pi' change 'pi' to your username)
If it's still failing, try: `sudo apt install xserver-xorg-legacy`
As a last resort add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`
## Screen shows console instead of KlipperScreen
If you have multiple framebuffers, you may need to fix the X11 configuration.
`ls /dev/fb*` will list the available framebuffers
`cat /usr/share/X11/xorg.conf.d/99-fbturbo.conf | grep /dev/fb` will show you the current one
If you have another fb, try changing it:
`sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf`
for example: change `/dev/fb0` to `/dev/fb1`
Once you have saved that file, restart KlipperScreen and it should show up on your display.
## Screen is all white or blank or no signal
If the screen never shows the console even during startup, Then it's tipically an improperly installed screen,
follow the manufacturer instructions on how to physically connect the screen and install the proper drivers.
## Touch not working on debian Bullseye
Some dsi screens have issues where touch doesn't work with debian bullseye, the current fix
(at least until upstream is fixed) consist in changing the driver:
Run `raspi-config` > go to Advanced > GL Driver > select G2 and reboot.
![config](img/troubleshooting/gldriver.png)
Or manually edit `/boot/config.txt` and change:
`dtoverlay=vc4-kms-v3d`
to:
`dtoverlay=vc4-fkms-v3d`
and reboot, that should make the touch work, if your screen is rotated 180 degrees, then you may need to adjust
[the touch rotation](Hardware.md) as described in the Hardware page.
## OctoPrint
KlipperScreen was never intended to be used with OctoPrint, and there is no support for it.
## Other issues
If you found an issue not listed here, or can't make it work, please provide all the log files
a description of your hw, and a description of the issue when asking for support.
-4
View File
@@ -1,4 +0,0 @@
## Changelog
#### 2020 11 13
* Fine Tuning Panel is now fully functional: Z BabyStepping, Fan Speed, Speed Factor, and Extrusion Factor
Binary file not shown.

Before

Width:  |  Height:  |  Size: 79 KiB

BIN
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

+27
View File
@@ -0,0 +1,27 @@
# KlipperScreen
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
### Required Hardware
KlipperScreen should run on any touchscreen that you can connect to a host (Raspberry, PC, Tablet), but not screens that connect directly to the printer MCU board.
A physical touchscreen is not strictly required, for example you may install a remote desktop server like tigervnc-scraping-server and connect from a client device, ![check out the hardware page for further information.](Hardware.md)
### Sample Panels
Main Menu
![Main Menu](img/panels/main_panel.png)
Job Status
![Job Status](img/panels/job_status.png)
[More](Panels.md)
### Inspiration
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
will natively work with [Klipper](https://github.com/klipper3d/klipper) and [Moonraker](https://github.com/arksine/moonraker).
[Changelog](Changelog.md)
+57
View File
@@ -0,0 +1,57 @@
# Supported Macros
## Extrude Panel
### LOAD_FILAMENT / UNLOAD_FILAMENT
Load and Unload Filament macros are used in the Extrude-Panel if it is available.
The selected speed is transferred to this macro.
The following example macros show how this can be used in the macro.
```
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(500) %}
G91
G1 E50 F{speed}
G1 E50 F{speed}
G92
```
```
[gcode_macro UNLOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(500) %}
G91
G1 E-50 F{speed}
G1 E-50 F{speed}
G92
```
this could be interesting to tweak the purge speed, this would be one Example Macro from alfrix:
```
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
M300 # beep
G91
G92 E0
G1 E350 F{max_velocity}
G1 E25 F{speed} #purge
M300
M300
```
```
[gcode_macro UNLOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
{% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %}
G91
M300 # beep
G92 E0
G1 E25 F{speed} # purge
G1 E-420 F{max_velocity}
M300
M300
```
-15
View File
@@ -1,15 +0,0 @@
## Panels
### Index
* [Main menu](#main-menu)
* [Move](#move)
* [Preheat](#preheat)
### Main Menu
![Main Menu](/docs/img/main_panel.png)
### Move
![Move Panel](/docs/img/move.png)
### Preheat
![Preheat Panel](/docs/img/preheat.png)
+2
View File
@@ -0,0 +1,2 @@
jinja2<3.1
mkdocs
-105
View File
@@ -1,105 +0,0 @@
import logging
import asyncio
import json
import os
import base64
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
logger = logging.getLogger("KlipperScreen.KlippyFiles")
class KlippyFiles:
callbacks = []
filelist = []
files = {}
timeout = None
def __init__(self, screen):
self._screen = screen
self.timeout = GLib.timeout_add(2000, self.ret_files)
if not os.path.exists('/tmp/.KS-thumbnails'):
os.makedirs('/tmp/.KS-thumbnails')
GLib.idle_add(self.ret_files, False)
def _callback(self, result, method, params):
if method == "server.files.list":
if "result" in result and isinstance(result['result'],list):
newfiles = []
deletedfiles = self.filelist.copy()
for item in result['result']:
if item['filename'] in self.files:
deletedfiles.remove(item['filename'])
else:
newfiles.append(item['filename'])
logger.debug("New file: %s", item['filename'])
self.filelist.append(item['filename'])
self.files[item['filename']] = {
"size": item['size'],
"modified": item['modified']
}
self.update_metadata(item['filename'])
if len(self.callbacks) > 0 and (len(newfiles) > 0 or len(deletedfiles) > 0):
logger.debug("Running callbacks...")
for cb in self.callbacks:
cb(newfiles, deletedfiles)
if len(deletedfiles) > 0:
logger.debug("Deleted files: %s", deletedfiles)
for file in deletedfiles:
self.filelist.remove(file)
self.files.pop(file, None)
#self.get_file_data(item['filename'])
#files = [asyncio.create_task(self.get_file_data(file)) for file in self.files]
#await asyncio.gather(files)
#files = [GLib.idle_add(self.ret_file_data, file) for file in self.files]
elif method == "server.files.metadata":
if "error" in result.keys():
logger.debug("Error in getting metadata for %s" %(params['filename']))
GLib.timeout_add(2000, self._screen._ws.klippy.get_file_metadata, params['filename'], self._callback)
return
logger.debug("Got metadata for %s" % (result['result']['filename']))
for x in result['result']:
self.files[params['filename']][x] = result['result'][x]
if "thumbnails" in self.files[params['filename']]:
self.files[params['filename']]['thumbnails'].sort(key=lambda x: x['size'], reverse=True)
for thumbnail in self.files[params['filename']]['thumbnails']:
f = open("/tmp/.KS-thumbnails/%s-%s" % (params['filename'], thumbnail['size']), "wb")
f.write(base64.b64decode(thumbnail['data']))
f.close()
for cb in self.callbacks:
cb([], [], [params['filename']])
def add_file_callback(self, callback):
self.callbacks.append(callback)
def ret_files(self, retval=True):
self._screen._ws.klippy.get_file_list(self._callback)
return retval
def ret_file_data (self, filename):
print("Getting file info for %s" % (filename))
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
def get_file_list(self):
return self.filelist
def get_file_info(self, filename):
if filename not in self.files:
return None
return self.files[filename]
def add_file(self, file_name, size, modified, old_file_name = None):
print(file_name)
def update_metadata(self, filename):
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
+84
View File
@@ -0,0 +1,84 @@
class KlippyGcodes:
HOME = "G28"
HOME_X = "G28 X"
HOME_Y = "G28 Y"
HOME_Z = "G28 Z"
HOME_XY = "G28 X Y"
Z_TILT = "Z_TILT_ADJUST"
QUAD_GANTRY_LEVEL = "QUAD_GANTRY_LEVEL"
MOVE = "G1"
MOVE_ABSOLUTE = "G90"
MOVE_RELATIVE = "G91"
EXTRUDE_ABS = "M82"
EXTRUDE_REL = "M83"
SET_EXT_TEMP = "M104"
SET_BED_TEMP = "M140"
SET_EXT_FACTOR = "M221"
SET_FAN_SPEED = "M106"
SET_SPD_FACTOR = "M220"
PROBE_CALIBRATE = "PROBE_CALIBRATE"
Z_ENDSTOP_CALIBRATE = "Z_ENDSTOP_CALIBRATE"
TESTZ = "TESTZ Z="
ABORT = "ABORT"
ACCEPT = "ACCEPT"
SAVE_CONFIG = "SAVE_CONFIG"
RESTART = "RESTART"
FIRMWARE_RESTART = "FIRMWARE_RESTART"
@staticmethod
def set_bed_temp(temp):
return "%s S%s" % (KlippyGcodes.SET_BED_TEMP, str(temp))
@staticmethod
def set_ext_temp(temp, tool=0):
return "%s T%s S%s" % (KlippyGcodes.SET_EXT_TEMP, str(tool), str(temp))
@staticmethod
def set_heater_temp(heater, temp):
return 'SET_HEATER_TEMPERATURE heater="%s" target=%s' % (heater, str(temp))
@staticmethod
def set_temp_fan_temp(temp_fan, temp):
return 'SET_TEMPERATURE_FAN_TARGET temperature_fan="%s" target=%s' % (temp_fan, str(temp))
@staticmethod
def set_fan_speed(speed):
speed = str(int(float(int(speed) % 101)/100*255))
return "%s S%s" % (KlippyGcodes.SET_FAN_SPEED, speed)
@staticmethod
def set_extrusion_rate(rate):
return "%s S%s" % (KlippyGcodes.SET_EXT_FACTOR, rate)
@staticmethod
def set_speed_rate(rate):
return "%s S%s" % (KlippyGcodes.SET_SPD_FACTOR, rate)
@staticmethod
def testz_move(dist):
return KlippyGcodes.TESTZ + dist
@staticmethod
def extrude(dist, speed=500):
return "%s E%s F%s" % (KlippyGcodes.MOVE, dist, speed)
@staticmethod
def bed_mesh_load(profile):
return "BED_MESH_PROFILE LOAD='%s'" % profile
@staticmethod
def bed_mesh_remove(profile):
return "BED_MESH_PROFILE REMOVE='%s'" % profile
@staticmethod
def bed_mesh_save(profile):
return "BED_MESH_PROFILE SAVE='%s'" % profile
+283
View File
@@ -0,0 +1,283 @@
# -*- coding: utf-8 -*-
import gi
import logging
import os
import pathlib
gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango
class KlippyGtk:
labels = {}
keyboard_ratio = .22
width_ratio = 16
height_ratio = 9.375
def __init__(self, screen, width, height, theme, cursor, fontsize_type):
self.screen = screen
self.width = width
self.height = height
self.themedir = os.path.join(pathlib.Path(__file__).parent.resolve().parent, "styles", theme, "images")
if self.screen.vertical_mode:
self.font_ratio = [33, 49]
else:
self.font_ratio = [43, 29]
self.font_size = int(min(
self.width / self.font_ratio[0],
self.height / self.font_ratio[1]
))
if fontsize_type == "small":
self.font_size = round(self.font_size * 0.91)
elif (fontsize_type == "large"):
self.font_size = round(self.font_size * 1.09)
self.header_size = int(round((self.width / self.width_ratio) / 1.33))
self.img_width = int(round(self.width / self.width_ratio))
self.img_height = int(round(self.height / self.height_ratio))
if self.screen.vertical_mode:
self.action_bar_width = int(self.width)
self.action_bar_height = int(self.height * .1)
else:
self.action_bar_width = int(self.width * .1)
self.action_bar_height = int(self.height)
self.cursor = cursor
self.color_list = {} # This is set by screen.py init_style()
for key in self.color_list:
if "base" in self.color_list[key]:
rgb = [int(self.color_list[key]['base'][i:i+2], 16) for i in range(0, 6, 2)]
self.color_list[key]['rgb'] = rgb
logging.debug("img width: %s height: %s" % (self.img_width, self.img_height))
def get_action_bar_width(self):
return self.action_bar_width
def get_action_bar_height(self):
return self.action_bar_height
def get_content_width(self):
return self.width - self.action_bar_width
def get_content_height(self):
return self.height - self.header_size
def get_font_size(self):
return self.font_size
def get_header_size(self):
return self.header_size
def get_image_width(self):
return self.img_width
def get_image_height(self):
return self.img_height
def get_keyboard_height(self):
return (self.width - self.get_action_bar_width()) * self.keyboard_ratio
def get_temp_color(self, device):
# logging.debug("Color list %s" % self.color_list)
if device not in self.color_list:
return False, False
if 'base' in self.color_list[device]:
rgb = self.color_list[device]['rgb'].copy()
if self.color_list[device]['state'] > 0:
rgb[1] = rgb[1] + self.color_list[device]['hsplit'] * self.color_list[device]['state']
self.color_list[device]['state'] += 1
color = '{:02X}{:02X}{:02X}'.format(rgb[0], rgb[1], rgb[2])
rgb = [x/255 for x in rgb]
# logging.debug("Assigning color: %s %s %s" % (device, rgb, color))
else:
colors = self.color_list[device]['colors']
if self.color_list[device]['state'] >= len(colors):
self.color_list[device]['state'] = 0
color = colors[self.color_list[device]['state'] % len(colors)]
rgb = [int(color[i:i+2], 16)/255 for i in range(0, 6, 2)]
self.color_list[device]['state'] += 1
# logging.debug("Assigning color: %s %s %s" % (device, rgb, color))
return rgb, color
def reset_temp_color(self):
for key in self.color_list:
self.color_list[key]['state'] = 0
def Label(self, label, style=None):
la = Gtk.Label(label)
if style is not None and style is not False:
la.get_style_context().add_class(style)
return la
def Image(self, image_name, scale=1):
filename = os.path.join(self.themedir, str(image_name) + ".svg")
if os.path.exists(filename):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(filename,
int(round(self.img_width * scale)),
int(round(self.img_height * scale)),
True)
return Gtk.Image.new_from_pixbuf(pixbuf)
else:
logging.error("Unable to find image %s", filename)
return Gtk.Image()
def PixbufFromFile(self, filename, style=False, width_scale=1, height_scale=1):
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(filename,
int(round(self.img_width * width_scale)),
int(round(self.img_height * height_scale)),
True)
return pixbuf
def PixbufFromHttp(self, resource, style=False, width_scale=1, height_scale=1):
response = self.screen.apiclient.get_thumbnail_stream(resource)
if response is False:
return None
stream = Gio.MemoryInputStream.new_from_data(response, None)
pixbuf = GdkPixbuf.Pixbuf.new_from_stream_at_scale(stream,
int(round(self.img_width * width_scale)),
int(round(self.img_height * height_scale)),
True)
return pixbuf
def ProgressBar(self, style=False):
bar = Gtk.ProgressBar()
if style is not False:
ctx = bar.get_style_context()
ctx.add_class(style)
return bar
def Button(self, label=None, style=None):
b = Gtk.Button(label=label)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
b.props.relief = Gtk.ReliefStyle.NONE
if style is not None:
b.get_style_context().add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def ButtonImage(self, image_name, label=None, style=None, scale=1.38,
position=Gtk.PositionType.TOP, word_wrap=True):
b = Gtk.Button(label=label)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
b.set_image(self.Image(image_name, scale))
b.set_image_position(position)
b.set_always_show_image(True)
if word_wrap is True:
try:
# Get the label object
child = b.get_children()[0].get_children()[0].get_children()[1]
child.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
child.set_line_wrap(True)
except Exception:
pass
if style is not None:
b.get_style_context().add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def Dialog(self, screen, buttons, content, callback=None, *args):
dialog = Gtk.Dialog()
dialog.set_default_size(screen.width, screen.height)
dialog.set_resizable(False)
dialog.set_transient_for(screen)
dialog.set_modal(True)
for i, button in enumerate(buttons):
dialog.add_button(button_text=button['name'], response_id=button['response'])
button = dialog.get_children()[0].get_children()[0].get_children()[0].get_children()[i]
button.get_child().set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
button.get_child().set_line_wrap(True)
button.set_size_request((screen.width-30)/3, screen.height/5)
dialog.connect("response", callback, *args)
dialog.get_style_context().add_class("dialog")
content_area = dialog.get_content_area()
content_area.set_margin_start(15)
content_area.set_margin_end(15)
content_area.set_margin_top(15)
content_area.set_margin_bottom(15)
content_area.add(content)
dialog.show_all()
# Change cursor to blank
if self.cursor:
dialog.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.ARROW))
else:
dialog.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.BLANK_CURSOR))
return dialog
def ToggleButtonImage(self, image_name, label, style=False, scale=1.38):
b = Gtk.ToggleButton(label=label)
b.set_hexpand(True)
b.set_vexpand(True)
b.set_can_focus(False)
b.set_image(self.Image(image_name, scale))
b.set_image_position(Gtk.PositionType.TOP)
b.set_always_show_image(True)
if style is not False:
ctx = b.get_style_context()
ctx.add_class(style)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def HomogeneousGrid(self, width=None, height=None):
g = Gtk.Grid()
g.set_row_homogeneous(True)
g.set_column_homogeneous(True)
if width is not None and height is not None:
g.set_size_request(width, height)
return g
def ToggleButton(self, text):
b = Gtk.ToggleButton(text)
b.props.relief = Gtk.ReliefStyle.NONE
b.set_hexpand(True)
b.set_vexpand(True)
b.connect("clicked", self.screen.reset_screensaver_timeout)
return b
def formatFileName(self, name):
name = name.split('/')[-1] if "/" in name else name
name = name.split('.gcod')[0] if ".gcode" in name else name
if len(name) > 25:
return name[0:25] + "\n" + name[25:50]
return name
def formatTimeString(self, seconds):
time = int(seconds)
text = ""
if int(time/86400) != 0:
text += str(int(time/86400))+"d "
if int(time/3600) != 0:
text += str(int(time/3600) % 24)+"h "
if int(time/60) != 0:
text += str(int(time/60) % 60)+"m "
else:
text = str(time % 60)+"s"
return text
def formatTemperatureString(self, temp, target):
if (target > temp-2 and target < temp+2) or round(target, 0) == 0:
return str(round(temp, 1)) + "°C" # °C →"
return str(round(temp)) + " °C\n(" + str(round(target)) + ")"
+49
View File
@@ -0,0 +1,49 @@
import json
import requests
import logging
class KlippyRest:
def __init__(self, ip, port=7125, api_key=False):
self.ip = ip
self.port = port
self.api_key = api_key
def get_server_info(self):
return self.send_request("server/info")
def get_oneshot_token(self):
r = self.send_request("access/oneshot_token")
if r is False:
return False
return r['result']
def get_printer_info(self):
return self.send_request("printer/info")
def get_thumbnail_stream(self, thumbnail):
url = "http://%s:%s/server/files/gcodes/%s" % (self.ip, self.port, thumbnail)
response = requests.get(url, stream=True)
if response.status_code == 200:
response.raw.decode_content = True
return response.content
return False
def send_request(self, method):
url = "http://%s:%s/%s" % (self.ip, self.port, method)
logging.debug("Sending request to %s" % url)
headers = {} if self.api_key is False else {"x-api-key": self.api_key}
try:
r = requests.get(url, headers=headers)
except Exception:
return False
if r.status_code != 200:
return False
# TODO: Try/except
try:
data = json.loads(r.content)
except Exception:
logging.exception("Unable to parse response from moonraker:\n %s" % r.content)
return False
return data
+383
View File
@@ -0,0 +1,383 @@
#!/usr/bin/python
import gi
import threading
import json
import websocket
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import GLib, Gdk
from ks_includes.KlippyGcodes import KlippyGcodes
api_key = ""
api = {
"printer_info": {
"url": "/printer/info",
"method": "get_printer_info"
},
"apikey": {
"url": "/access/api_key"
},
"oneshot_token": {
"url": "/access/oneshot_token"
}
}
class KlippyWebsocket(threading.Thread):
_req_id = 0
connected = False
callback_table = {}
reconnect_timeout = None
reconnect_count = 0
def __init__(self, screen, callback, host, port):
threading.Thread.__init__(self)
self._screen = screen
self._callback = callback
self.klippy = MoonrakerApi(self)
self.closing = False
self.ws = None
self._url = "%s:%s" % (host, port)
def initial_connect(self):
# Enable a timeout so that way if moonraker is not running, it will attempt to reconnect
if self.reconnect_timeout is None:
self.reconnect_timeout = GLib.timeout_add_seconds(3, self.reconnect)
self.connect()
def connect(self):
_ = self._screen.lang.gettext
def ws_on_close(ws, a=None, b=None):
self.on_close(ws)
def ws_on_error(ws, msg):
self.on_error(ws, msg)
def ws_on_message(ws, msg):
self.on_message(ws, msg)
def ws_on_open(ws):
self.on_open(ws)
try:
state = self._screen.apiclient.get_server_info()
if state is False:
if self.reconnect_count > 3:
self._screen.panels['splash_screen'].update_text(
_("Cannot connect to Moonraker") +
("\n\n%s\n\n") % self._url +
_("Retry #%s") % self.reconnect_count)
return False
token = self._screen.apiclient.get_oneshot_token()
except Exception:
logging.debug("Unable to get oneshot token")
return False
self.ws_url = "ws://%s/websocket?token=%s" % (self._url, token)
self.ws = websocket.WebSocketApp(
self.ws_url, on_close=ws_on_close, on_error=ws_on_error, on_message=ws_on_message, on_open=ws_on_open)
self._wst = threading.Thread(target=self.ws.run_forever, daemon=True)
try:
logging.debug("Starting websocket thread")
self._wst.start()
except Exception:
logging.debug("Error starting web socket")
def close(self):
self.closing = True
if self.ws is not None:
self.ws.close()
def is_connected(self):
return self.connected
def on_message(self, ws, message):
response = json.loads(message)
if "id" in response:
if response['id'] in self.callback_table:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self.callback_table[response['id']][0],
response,
self.callback_table[response['id']][1],
self.callback_table[response['id']][2],
*self.callback_table[response['id']][3]
)
self.callback_table.pop(response['id'])
return
if "method" in response and "on_message" in self._callback:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self._callback['on_message'],
response['method'],
response['params'][0] if "params" in response else {}
)
return
def send_method(self, method, params={}, callback=None, *args):
if self.is_connected() is False:
return False
self._req_id += 1
if callback is not None:
self.callback_table[self._req_id] = [callback, method, params, [*args]]
data = {
"jsonrpc": "2.0",
"method": method,
"params": params,
"id": self._req_id
}
self.ws.send(json.dumps(data))
return True
def on_open(self, ws):
logging.info("Moonraker Websocket Open")
logging.info("Self.connected = %s" % self.is_connected())
self.connected = True
self.reconnect_count = 0
if self.reconnect_timeout is not None:
GLib.source_remove(self.reconnect_timeout)
self.reconnect_timeout = None
if "on_connect" in self._callback:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self._callback['on_connect']
)
def on_close(self, ws):
if self.is_connected() is False:
logging.debug("Connection already closed")
if self.reconnect_timeout is not None:
GLib.source_remove(self.reconnect_timeout)
self.reconnect_timeout = None
return
if self.closing is True:
logging.debug("Closing websocket")
self.ws.keep_running = False
self.close()
self.closing = False
return
logging.info("Moonraker Websocket Closed")
self.connected = False
if self.reconnect_timeout is None:
self.reconnect_timeout = GLib.timeout_add_seconds(3, self.reconnect)
if "on_close" in self._callback:
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self._callback['on_close'],
"Lost Connection to Moonraker",
True
)
def reconnect(self):
if self.is_connected():
logging.debug("Reconnected")
return False
logging.debug("Attempting to reconnect")
self.reconnect_count += 1
self.connect()
return True
def on_error(self, ws, error):
logging.debug("Websocket error: %s" % error)
class MoonrakerApi:
def __init__(self, ws):
self._ws = ws
def emergency_stop(self):
logging.info("Sending printer.emergency_stop")
return self._ws.send_method(
"printer.emergency_stop"
)
def gcode_script(self, script, callback=None, *args):
logging.debug("Sending printer.gcode.script: %s", script)
return self._ws.send_method(
"printer.gcode.script",
{"script": script},
callback,
*args
)
def get_file_dir(self, path='gcodes', callback=None, *args):
logging.debug("Sending server.files.directory")
return self._ws.send_method(
"server.files.list",
{"path": path},
callback,
*args
)
def get_file_list(self, callback=None, *args):
logging.debug("Sending server.files.list")
return self._ws.send_method(
"server.files.list",
{},
callback,
*args
)
def get_file_metadata(self, filename, callback=None, *args):
return self._ws.send_method(
"server.files.metadata",
{"filename": filename},
callback,
*args
)
def object_subscription(self, updates):
logging.debug("Sending printer.objects.subscribe: %s", str(updates))
return self._ws.send_method(
"printer.objects.subscribe",
updates
)
def power_device_off(self, device, callback=None, *args):
logging.debug("Sending machine.device_power.off: %s" % device)
return self._ws.send_method(
"machine.device_power.off",
{device: False},
callback,
*args
)
def power_device_on(self, device, callback=None, *args):
logging.debug("Sending machine.device_power.on %s" % device)
return self._ws.send_method(
"machine.device_power.on",
{device: False},
callback,
*args
)
def print_cancel(self, callback=None, *args):
logging.debug("Sending printer.print.cancel")
return self._ws.send_method(
"printer.print.cancel",
{},
callback,
*args
)
def print_pause(self, callback=None, *args):
logging.debug("Sending printer.print.pause")
return self._ws.send_method(
"printer.print.pause",
{},
callback,
*args
)
def print_resume(self, callback=None, *args):
logging.debug("Sending printer.print.resume")
return self._ws.send_method(
"printer.print.resume",
{},
callback,
*args
)
def print_start(self, filename, callback=None, *args):
logging.debug("Sending printer.print.start")
return self._ws.send_method(
"printer.print.start",
{
"filename": filename
},
callback,
*args
)
def temperature_set(self, heater, target, callback=None, *args):
if heater == "heater_bed":
logging.debug("Sending printer.gcode.script: %s", KlippyGcodes.set_bed_temp(target))
return self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_bed_temp(target)
},
callback,
*args
)
else:
logging.debug(
"Sending printer.gcode.script: %s",
KlippyGcodes.set_ext_temp(target, heater.replace("tool", "")))
# TODO: Add max/min limits
return self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_ext_temp(target, heater.replace("tool", ""))
},
callback,
*args
)
def set_bed_temp(self, target, callback=None, *args):
logging.debug("Sending set_bed_temp: %s", KlippyGcodes.set_bed_temp(target))
return self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_bed_temp(target)
},
callback,
*args
)
def set_heater_temp(self, heater, target, callback=None, *args):
logging.debug("Sending heater %s to temp: %s", heater, target)
return self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_heater_temp(heater, target)
},
callback,
*args
)
def set_temp_fan_temp(self, temp_fan, target, callback=None, *args):
logging.debug("Sending temperature fan %s to temp: %s", temp_fan, target)
return self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_temp_fan_temp(temp_fan, target)
},
callback,
*args
)
def set_tool_temp(self, tool, target, callback=None, *args):
logging.debug("Sending set_tool_temp: %s", KlippyGcodes.set_ext_temp(target, tool))
return self._ws.send_method(
"printer.gcode.script",
{
"script": KlippyGcodes.set_ext_temp(target, tool)
},
callback,
*args
)
def restart(self):
logging.debug("Sending printer.restart")
return self._ws.send_method(
"printer.restart"
)
def restart_firmware(self):
logging.debug("Sending printer.firmware_restart")
return self._ws.send_method(
"printer.firmware_restart"
)
+452
View File
@@ -0,0 +1,452 @@
import configparser
import gettext
import os
import logging
import json
import re
import copy
import pathlib
from io import StringIO
from os import path
SCREEN_BLANKING_OPTIONS = [
"300", # 5 Minutes
"900", # 15 Minutes
"1800", # 30 Minutes
"3600", # 1 Hour
"7200", # 2 Hours
"14400", # 4 Hours
]
klipperscreendir = pathlib.Path(__file__).parent.resolve().parent
class ConfigError(Exception):
pass
class KlipperScreenConfig:
config = None
configfile_name = "KlipperScreen.conf"
do_not_edit_line = "#~# --- Do not edit below this line. This section is auto generated --- #~#"
do_not_edit_prefix = "#~#"
def __init__(self, configfile, screen=None):
self.default_config_path = os.path.join(klipperscreendir, "ks_includes", "defaults.conf")
self.config = configparser.ConfigParser()
self.config_path = self.get_config_file_location(configfile)
logging.debug("Config path location: %s" % self.config_path)
self.defined_config = None
try:
self.config.read(self.default_config_path)
if self.config_path != self.default_config_path:
user_def, saved_def = self.separate_saved_config(self.config_path)
self.defined_config = configparser.ConfigParser()
self.defined_config.read_string(user_def)
includes = [i[8:] for i in self.defined_config.sections() if i.startswith("include ")]
for include in includes:
self._include_config("/".join(self.config_path.split("/")[:-1]), include)
self.exclude_from_config(self.defined_config)
self.log_config(self.defined_config)
self.config.read_string(user_def)
if saved_def is not None:
self.config.read_string(saved_def)
logging.info("====== Saved Def ======\n%s\n=======================" % saved_def)
# This is the final config
# self.log_config(self.config)
except KeyError:
raise ConfigError(f"Error reading config: {self.config_path}")
except Exception:
logging.exception("Unknown error with config")
printers = sorted([i for i in self.config.sections() if i.startswith("printer ")])
self.printers = []
for printer in printers:
self.printers.append({
printer[8:]: {
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
"moonraker_port": self.config.get(printer, "moonraker_port", fallback="7125"),
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback=False)
}
})
if len(printers) <= 0:
self.printers.append({
"Printer": {
"moonraker_host": self.config.get("main", "moonraker_host", fallback="127.0.0.1"),
"moonraker_port": self.config.get("main", "moonraker_port", fallback="7125"),
"moonraker_api_key": self.config.get("main", "moonraker_api_key", fallback="")
}
})
conf_printers_debug = copy.deepcopy(self.printers)
for printer in conf_printers_debug:
name = list(printer)[0]
item = conf_printers_debug[conf_printers_debug.index(printer)]
if item[name]['moonraker_api_key'] != "":
item[name]['moonraker_api_key'] = "redacted"
logging.debug("Configured printers: %s" % json.dumps(conf_printers_debug, indent=2))
lang = self.get_main_config_option("language", None)
lang = [lang] if lang is not None and lang != "default" else None
logging.info("Detected language: %s" % lang)
self.lang = gettext.translation('KlipperScreen', localedir='ks_includes/locales', languages=lang,
fallback=True)
self._create_configurable_options(screen)
def _create_configurable_options(self, screen):
_ = self.lang.gettext
_n = self.lang.ngettext
self.configurable_options = [
{"invert_x": {"section": "main", "name": _("Invert X"), "type": "binary", "value": "False"}},
{"invert_y": {"section": "main", "name": _("Invert Y"), "type": "binary", "value": "False"}},
{"invert_z": {"section": "main", "name": _("Invert Z"), "type": "binary", "value": "False"}},
{"language": {"section": "main", "name": _("Language"), "type": "dropdown", "value": "system_lang",
"callback": screen.restart_warning, "options": [
{"name": _("System") + " " + _("(default)"), "value": "system_lang"}
]}},
{"move_speed_xy": {
"section": "main", "name": _("XY Move Speed (mm/s)"), "type": "scale", "value": "20",
"range": [5, 200], "step": 1}},
{"move_speed_z": {
"section": "main", "name": _("Z Move Speed (mm/s)"), "type": "scale", "value": "20",
"range": [5, 200], "step": 1}},
{"print_sort_dir": {"section": "main", "type": None, "value": "name_asc"}},
{"print_estimate_method": {
"section": "main", "name": _("Estimated Time Method"), "type": "dropdown",
"value": "file", "options": [
{"name": _("Auto") + " " + _("(default)"), "value": "auto"},
{"name": _("File"), "value": "file"},
{"name": _("Filament Used"), "value": "filament"},
{"name": _("Slicer"), "value": "slicer"}]}},
{"screen_blanking": {
"section": "main", "name": _("Screen Power Off Time"), "type": "dropdown",
"value": "3600", "callback": screen.set_screenblanking_timeout, "options": [
{"name": _("Off"), "value": "off"}]
}},
{"theme": {
"section": "main", "name": _("Icon Theme"), "type": "dropdown",
"value": "z-bolt", "callback": screen.restart_warning, "options": [
{"name": "Z-bolt" + " " + _("(default)"), "value": "z-bolt"}]}},
{"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary", "value": "True"}},
{"side_macro_shortcut": {
"section": "main", "name": _("Macro shortcut on sidebar"), "type": "binary",
"value": "True", "callback": screen.toggle_macro_shortcut}},
{"font_size": {
"section": "main", "name": _("Font Size"), "type": "dropdown",
"value": "medium", "callback": screen.restart_warning, "options": [
{"name": _("Small"), "value": "small"},
{"name": _("Medium") + " " + _("(default)"), "value": "medium"},
{"name": _("Large"), "value": "large"}]}},
{"confirm_estop": {"section": "main", "name": _("Confirm Emergency Stop"), "type": "binary",
"value": "False"}},
{"only_heaters": {"section": "main", "name": _("Hide sensors in Temp."), "type": "binary",
"value": "False", "callback": screen.restart_warning}},
{"use_dpms": {"section": "main", "name": _("Screen DPMS"), "type": "binary",
"value": "True", "callback": screen.set_dpms}},
{"print_estimate_compensation": {
"section": "main", "name": _("Slicer Time correction (%)"), "type": "scale", "value": "100",
"range": [50, 150], "step": 1}},
# {"": {"section": "main", "name": _(""), "type": ""}}
]
lang_path = os.path.join(klipperscreendir, "ks_includes", "locales")
langs = [d for d in os.listdir(lang_path) if not os.path.isfile(os.path.join(lang_path, d))]
langs.sort()
lang_opt = self.configurable_options[3]['language']['options']
for lang in langs:
lang_opt.append({"name": lang, "value": lang})
t_path = os.path.join(klipperscreendir, 'styles')
themes = [d for d in os.listdir(t_path) if (not os.path.isfile(os.path.join(t_path, d)) and d != "z-bolt")]
themes.sort()
theme_opt = self.configurable_options[9]['theme']['options']
for theme in themes:
theme_opt.append({"name": theme, "value": theme})
index = self.configurable_options.index(
[i for i in self.configurable_options if list(i)[0] == "screen_blanking"][0])
for num in SCREEN_BLANKING_OPTIONS:
hour = int(int(num)/3600)
if hour > 0:
name = str(hour) + " " + _n("hour", "hours", hour)
else:
name = str(int(int(num)/60)) + " " + _("minutes")
self.configurable_options[index]['screen_blanking']['options'].append({
"name": name,
"value": num
})
for item in self.configurable_options:
name = list(item)[0]
vals = item[name]
if vals['section'] not in self.config.sections():
self.config.add_section(vals['section'])
if name not in list(self.config[vals['section']]):
self.config.set(vals['section'], name, vals['value'])
def exclude_from_config(self, config):
exclude_list = ['preheat']
if not self.defined_config.getboolean('main', "use_default_menu", fallback=True):
logging.info("Using custom menu, removing default menu entries.")
exclude_list.append('menu __main')
exclude_list.append('menu __print')
exclude_list.append('menu __splashscreen')
for i in exclude_list:
for j in config.sections():
if j.startswith(i):
for k in list(self.config.sections()):
if k.startswith(i):
del self.config[k]
def _include_config(self, dir, path):
full_path = path if path[0] == "/" else "%s/%s" % (dir, path)
parse_files = []
if "*" in full_path:
parent_dir = "/".join(full_path.split("/")[:-1])
file = full_path.split("/")[-1]
if not os.path.exists(parent_dir):
logging.info("Config Error: Directory %s does not exist" % parent_dir)
return
files = os.listdir(parent_dir)
regex = "^%s$" % file.replace('*', '.*')
for file in files:
if re.match(regex, file):
parse_files.append(os.path.join(parent_dir, file))
else:
if not os.path.exists(os.path.join(full_path)):
logging.info("Config Error: %s does not exist" % full_path)
return
parse_files.append(full_path)
logging.info("Parsing files: %s" % parse_files)
for file in parse_files:
config = configparser.ConfigParser()
config.read(file)
includes = [i[8:] for i in config.sections() if i.startswith("include ")]
for include in includes:
self._include_config("/".join(full_path.split("/")[:-1]), include)
self.exclude_from_config(config)
self.log_config(config)
self.config.read(file)
def separate_saved_config(self, config_path):
user_def = []
saved_def = None
found_saved = False
if not path.exists(config_path):
return [None, None]
with open(config_path) as file:
for line in file:
line = line.replace('\n', '')
if line == self.do_not_edit_line:
found_saved = True
saved_def = []
continue
if found_saved is False:
user_def.append(line.replace('\n', ''))
else:
if line.startswith(self.do_not_edit_prefix):
saved_def.append(line[(len(self.do_not_edit_prefix)+1):])
return ["\n".join(user_def), None if saved_def is None else "\n".join(saved_def)]
def get_config_file_location(self, file):
logging.info("Passed config file: %s" % file)
if not path.exists(file):
file = os.path.join(klipperscreendir, self.configfile_name)
if not path.exists(file):
file = self.configfile_name.lower()
if not path.exists(file):
klipper_config = os.path.join(os.path.expanduser("~/"), "klipper_config")
file = os.path.join(klipper_config, self.configfile_name)
if not path.exists(file):
file = os.path.join(klipper_config, self.configfile_name.lower())
if not path.exists(file):
file = self.default_config_path
logging.info("Found configuration file at: %s" % file)
return file
def get_config(self):
return self.config
def get_configurable_options(self):
return self.configurable_options
def get_lang(self):
return self.lang
def get_main_config(self):
return self.config['main']
def get_main_config_option(self, option, default=None):
return self.config['main'].get(option, default)
def get_menu_items(self, menu="__main", subsection=""):
if subsection != "":
subsection = subsection + " "
index = "menu %s %s" % (menu, subsection)
items = [i[len(index):] for i in self.config.sections() if i.startswith(index)]
menu_items = []
for item in items:
split = item.split()
if len(split) == 1:
menu_items.append(self._build_menu_item(menu, index + item))
return menu_items
def get_menu_name(self, menu="__main", subsection=""):
name = ("menu %s %s" % (menu, subsection)) if subsection != "" else ("menu %s" % menu)
if name not in self.config:
return False
return self.config[name].get('name')
def get_preheat_options(self):
index = "preheat "
items = [i[len(index):] for i in self.config.sections() if i.startswith(index)]
preheat_options = {}
for item in items:
preheat_options[item] = self._build_preheat_item(index + item)
return preheat_options
def get_printer_config(self, name):
if not name.startswith("printer "):
name = "printer %s" % name
if name not in self.config:
return None
return self.config[name]
def get_printer_power_name(self):
return self.config['settings'].get("printer_power_name", "printer")
def get_printers(self):
return self.printers
def get_user_saved_config(self):
if self.config_path != self.default_config_path:
print("Get")
def save_user_config_options(self):
save_config = configparser.ConfigParser()
for item in self.configurable_options:
name = list(item)[0]
opt = item[name]
curval = self.config[opt['section']].get(name)
if curval != opt["value"] or (
self.defined_config is not None and opt['section'] in self.defined_config.sections() and
self.defined_config[opt['section']].get(name, None) not in (None, curval)):
if opt['section'] not in save_config.sections():
save_config.add_section(opt['section'])
save_config.set(opt['section'], name, str(curval))
macro_sections = [i for i in self.config.sections() if i.startswith("displayed_macros")]
for macro_sec in macro_sections:
for item in self.config.options(macro_sec):
value = self.config[macro_sec].getboolean(item, fallback=True)
if value is False or (self.defined_config is not None and
macro_sec in self.defined_config.sections() and
self.defined_config[macro_sec].getboolean(item, fallback=True) is False and
self.defined_config[macro_sec].getboolean(item, fallback=True) != value):
if macro_sec not in save_config.sections():
save_config.add_section(macro_sec)
save_config.set(macro_sec, item, str(value))
save_output = self._build_config_string(save_config).split("\n")
for i in range(len(save_output)):
save_output[i] = "%s %s" % (self.do_not_edit_prefix, save_output[i])
if self.config_path == self.default_config_path:
user_def = ""
saved_def = None
else:
user_def, saved_def = self.separate_saved_config(self.config_path)
extra_lb = "\n" if saved_def is not None else ""
contents = "%s\n%s%s\n%s\n%s\n%s\n" % (
user_def, self.do_not_edit_line, extra_lb, self.do_not_edit_prefix, "\n".join(save_output),
self.do_not_edit_prefix)
if self.config_path != self.default_config_path:
path = self.config_path
else:
path = os.path.expanduser("~/")
klipper_config = os.path.join(path, "klipper_config")
if os.path.exists(klipper_config):
path = os.path.join(klipper_config, "KlipperScreen.conf")
else:
path = os.path.join(path, "KlipperScreen.conf")
try:
file = open(path, 'w')
file.write(contents)
file.close()
except Exception:
logging.error("Error writing configuration file in %s" % path)
def set(self, section, name, value):
self.config.set(section, name, value)
def log_config(self, config):
lines = [
" "
"===== Config File =====",
re.sub(
r'(moonraker_api_key\s*=\s*\S+)',
'moonraker_api_key = [redacted]',
self._build_config_string(config)
),
"======================="
]
logging.info("\n".join(lines))
def _build_config_string(self, config):
sfile = StringIO()
config.write(sfile)
sfile.seek(0)
return sfile.read().strip()
def _build_menu_item(self, menu, name):
if name not in self.config:
return False
cfg = self.config[name]
item = {
"name": cfg.get("name"),
"icon": cfg.get("icon"),
"panel": cfg.get("panel", False),
"method": cfg.get("method", False),
"confirm": cfg.get("confirm", False),
"enable": cfg.get("enable", True)
}
try:
item["params"] = json.loads(cfg.get("params", "{}"))
except Exception:
logging.debug("Unable to parse parameters for [%s]" % name)
item["params"] = {}
return {name[(len(menu) + 6):]: item}
def _build_preheat_item(self, name):
if name not in self.config:
return False
cfg = self.config[name]
item = {
"extruder": cfg.getint("extruder", 0),
"bed": cfg.getint("bed", 0),
"heater_generic": cfg.getint("heater_generic", 0),
"temperature_fan": cfg.getint("temperature_fan", 0),
"gcode": cfg.get("gcode", None)
}
return item
+269
View File
@@ -0,0 +1,269 @@
[main]
service: KlipperScreen
[preheat PLA]
bed = 40
extruder = 195
[preheat ABS]
bed = 90
extruder = 220
[preheat PETG]
bed = 80
extruder = 240
[preheat FLEX]
bed = 0
extruder = 210
[menu __main]
name: {{ gettext('Main Menu') }}
[menu __main homing]
name: {{ gettext('Homing') }}
icon: home
[menu __main temperature]
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ printer.temperature_devices.count > 0 }}
[menu __main actions]
name: {{ gettext('Actions') }}
icon: move
[menu __main config]
name: {{ gettext('Configuration') }}
icon: settings
[menu __main print]
name: {{ gettext('Print') }}
icon: print
panel: print
[menu __main homing homeall]
name: {{ gettext('Home All') }}
icon: home
method: printer.gcode.script
params: {"script":"G28"}
[menu __main homing homex]
name: {{ gettext('Home X') }}
icon: home-x
method: printer.gcode.script
params: {"script":"G28 X"}
[menu __main homing homey]
name: {{ gettext('Home Y') }}
icon: home-y
method: printer.gcode.script
params: {"script":"G28 Y"}
[menu __main homing homez]
name: {{ gettext('Home Z') }}
icon: home-z
method: printer.gcode.script
params: {"script":"G28 Z"}
[menu __main homing homexy]
name: {{ gettext('Home XY') }}
icon: home
method: printer.gcode.script
params: {"script":"G28 X Y"}
[menu __main homing quad_gantry_level]
name: {{ gettext('Quad Gantry Level') }}
icon: home-z
method: printer.gcode.script
params: {"script":"QUAD_GANTRY_LEVEL"}
enable: {{ printer.quad_gantry_level is defined }}
[menu __main homing Z-Tilt]
name: {{ gettext('Z Tilt') }}
icon: z-tilt
method: printer.gcode.script
params: {"script":"Z_TILT_ADJUST"}
enable: {{ printer.z_tilt is defined }}
[menu __main actions move]
name: {{ gettext('Move') }}
icon: move
panel: move
[menu __main actions extrude]
name: {{ gettext('Extrude') }}
icon: filament
panel: extrude
enable: {{ printer.extruders.count > 0 }}
[menu __main actions fan]
name: {{ gettext('Fan') }}
icon: fan
panel: fan
enable: {{ printer.fans.count > 0 }}
[menu __main actions macros]
name: {{ gettext('Macros') }}
icon: custom-script
panel: gcode_macros
enable: {{ printer.gcode_macros.count > 0 }}
[menu __main actions power]
name: {{ gettext('Power') }}
icon: shutdown
panel: power
enable: {{ printer.power_devices.count > 0 }}
[menu __main actions disablemotors]
name: {{ gettext('Disable Motors') }}
icon: motor-off
method: printer.gcode.script
params: {"script":"M18"}
[menu __main actions console]
name: {{ gettext('Console') }}
icon: console
panel: console
[menu __main config bedlevel]
name: {{ gettext('Bed Level') }}
icon: bed-level
panel: bed_level
[menu __main config bedmesh]
name: {{ gettext('Bed Mesh') }}
icon: bed-level
panel: bed_mesh
enable: {{ printer.bed_mesh is defined }}
[menu __main config zoffset]
name: {{ gettext('Z Calibrate') }}
icon: z-farther
panel: zcalibrate
[menu __main config limits]
name: {{ gettext('Limits') }}
icon: fine-tune
panel: limits
[menu __main config network]
name: {{ gettext('Network') }}
icon: network
panel: network
[menu __main config retraction]
name: {{ gettext('Retraction') }}
icon: retract
panel: retraction
enable: {{ printer.firmware_retraction }}
[menu __main config system]
name: {{ gettext('System') }}
icon: info
panel: system
[menu __main config save]
name: {{ gettext('Save Config') }}
icon: complete
method: printer.gcode.script
params: {"script":"SAVE_CONFIG"}
confirm:
{{ gettext('Save configuration') }}
{{ gettext('Klipper will reboot') }}
[menu __main config settings]
name: {{ gettext('Settings') }}
icon: settings
panel: settings
[menu __print]
name: {{ gettext('Print Control') }}
[menu __print temperature]
name: {{ gettext('Temperature') }}
icon: heat-up
panel: temperature
enable: {{ printer.temperature_devices.count > 0 }}
[menu __print fan]
name: {{ gettext('Fan') }}
icon: fan
panel: fan
enable: {{ printer.fans.count > 0 }}
[menu __print extrude]
name: {{ gettext('Extrude') }}
icon: filament
panel: extrude
enable: {{ (printer.pause_resume.is_paused == True) and (printer.extruders.count > 0) }}
[menu __print power]
name: {{ gettext('Power') }}
icon: shutdown
panel: power
enable: {{ printer.power_devices.count > 0 }}
[menu __print macros]
name: {{ gettext('Macros') }}
icon: custom-script
panel: gcode_macros
enable: {{ printer.gcode_macros.count > 0 }}
[menu __print console]
name: {{ gettext('Console') }}
icon: console
panel: console
[menu __print limits]
name: {{ gettext('Limits') }}
icon: fine-tune
panel: limits
[menu __print network]
name: {{ gettext('Network') }}
icon: network
panel: network
[menu __print retraction]
name: {{ gettext('Retraction') }}
icon: retract
panel: retraction
enable: {{ printer.firmware_retraction }}
[menu __print system]
name: {{ gettext('System') }}
icon: info
panel: system
[menu __print settings]
name: {{ gettext('Settings') }}
icon: settings
panel: settings
[menu __splashscreen]
name: {{ gettext('Menu') }}
[menu __splashscreen power]
name: {{ gettext('Power') }}
icon: shutdown
panel: power
enable: {{ printer.power_devices.count > 0 }}
[menu __splashscreen network]
name: {{ gettext('Network') }}
icon: network
panel: network
[menu __splashscreen system]
name: {{ gettext('System') }}
icon: info
panel: system
[menu __splashscreen settings]
name: {{ gettext('Settings') }}
icon: settings
panel: settings
+6
View File
@@ -0,0 +1,6 @@
#define emptyCursor_width 1
#define emptyCursor_height 1
#define emptyCursor_x_hot 0
#define emptyCursor_y_hot 0
static unsigned char emptyCursor_bits[] = {
0x00};
+209
View File
@@ -0,0 +1,209 @@
import logging
import os
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import GLib
class KlippyFiles():
def __init__(self, screen):
self._screen = screen
self.callbacks = []
self.files = {}
self.filelist = []
self.thumbnail_dir = "/tmp/.KS-thumbnails"
if not os.path.exists(self.thumbnail_dir):
os.makedirs(self.thumbnail_dir)
self.gcodes_path = None
def initialize(self):
self.gcodes_path = None
if "virtual_sdcard" in self._screen.printer.get_config_section_list():
vsd = self._screen.printer.get_config_section("virtual_sdcard")
if "path" in vsd:
self.gcodes_path = vsd['path']
logging.info("Gcodes path: %s" % self.gcodes_path)
def reset(self):
self.run_callbacks()
self.callbacks = None
self.files = None
self.filelist = None
self.thumbnail_dir = None
self.gcodes_path = None
self._screen = None
def _callback(self, result, method, params):
if method == "server.files.list":
if "result" in result and isinstance(result['result'], list):
newfiles = []
deletedfiles = self.filelist.copy()
for item in result['result']:
file = item['filename'] if "filename" in item else item['path']
if file in self.files:
deletedfiles.remove(file)
else:
newfiles.append(file)
self.add_file(item, False)
if len(newfiles) > 0 or len(deletedfiles) > 0:
self.run_callbacks(newfiles, deletedfiles)
if len(deletedfiles) > 0:
for file in deletedfiles:
self.remove_file(file)
elif method == "server.files.directory":
if "result" in result:
dir = params['path'][7:] if params['path'].startswith('gcodes/') else params['path']
if dir[-1] == '/':
dir = dir[:-1]
newfiles = []
for file in result['result']['files']:
fullpath = "%s/%s" % (dir, file['filename'])
if fullpath not in self.filelist:
newfiles.append(fullpath)
if len(newfiles) > 0:
self.run_callbacks(newfiles)
elif method == "server.files.metadata":
if "error" in result.keys():
logging.debug("Error in getting metadata for %s. Retrying in 6 seconds" % (params['filename']))
return
for x in result['result']:
self.files[params['filename']][x] = result['result'][x]
if "thumbnails" in self.files[params['filename']]:
self.files[params['filename']]['thumbnails'].sort(key=lambda x: x['size'], reverse=True)
for thumbnail in self.files[params['filename']]['thumbnails']:
thumbnail['local'] = False
if self.gcodes_path is not None:
fpath = os.path.join(self.gcodes_path, params['filename'])
fdir = os.path.dirname(fpath)
path = os.path.join(fdir, thumbnail['relative_path'])
if os.access(path, os.R_OK):
thumbnail['local'] = True
thumbnail['path'] = path
if thumbnail['local'] is False:
fdir = os.path.dirname(params['filename'])
thumbnail['path'] = os.path.join(fdir, thumbnail['relative_path'])
self.run_callbacks(mods=[params['filename']])
def add_file(self, item, notify=True):
if 'filename' not in item and 'path' not in item:
logging.info("Error adding item, unknown filename or path: %s" % item)
return
filename = item['path'] if "path" in item else item['filename']
if filename in self.filelist:
logging.info("File already exists: %s" % filename)
self.request_metadata(filename)
GLib.timeout_add_seconds(1, self.run_callbacks, mods=[filename])
return
self.filelist.append(filename)
self.files[filename] = {
"size": item['size'],
"modified": item['modified']
}
self.request_metadata(filename)
if notify is True:
self.run_callbacks(newfiles=[filename])
def add_file_callback(self, callback):
try:
self.callbacks.append(callback)
except Exception:
logging.debug("Callback not found: %s" % callback)
def process_update(self, data):
if 'item' in data and data['item']['root'] != 'gcodes':
return
if data['action'] == "create_dir":
self._screen._ws.klippy.get_file_dir("gcodes/%s" % data['item']['path'], self._callback)
elif data['action'] == "create_file":
self.add_file(data['item'])
elif data['action'] == "delete_file":
self.remove_file(data['item']['path'])
elif data['action'] == "modify_file":
self.request_metadata(data['item']['path'])
elif data['action'] == "move_file":
self.add_file(data['item'], False)
self.remove_file(data['source_item']['path'], False)
self.run_callbacks(newfiles=[data['item']['path']], deletedfiles=[data['source_item']['path']])
def remove_file_callback(self, callback):
if callback in self.callbacks:
self.callbacks.pop(self.callbacks.index(callback))
def file_exists(self, filename):
return True if filename in self.filelist else False
def file_metadata_exists(self, filename):
if not self.file_exists(filename):
return False
if "slicer" in self.files[filename]:
return True
return False
def get_thumbnail_location(self, filename):
thumb = self.files[filename]['thumbnails'][0]
if thumb['local'] is False:
return ['http', thumb['path']]
return ['file', thumb['path']]
def get_thumbnail_scale(self, filename):
width = self.files[filename]['thumbnails'][0]['width']
height = self.files[filename]['thumbnails'][0]['height']
logging.info("Thumb size: %d %d" % (width, height))
w = 400 / width
h = 300 / height
factor = min(w, h)
logging.info("Thumb scale w:%.2f h:%.2f final:%.2f" % (w, h, factor))
return factor
def has_thumbnail(self, filename):
if filename not in self.files:
return False
return "thumbnails" in self.files[filename] and len(self.files[filename]) > 0
def request_metadata(self, filename):
if filename not in self.filelist:
return False
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
def refresh_files(self):
self._screen._ws.klippy.get_file_list(self._callback)
def remove_file(self, filename, notify=True):
if filename not in self.filelist:
return
self.filelist.remove(filename)
self.files.pop(filename, None)
if notify is True:
self.run_callbacks(deletedfiles=[filename])
def ret_file_data(self, filename):
print("Getting file info for %s" % (filename))
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
def run_callbacks(self, newfiles=[], deletedfiles=[], mods=[]):
if len(self.callbacks) <= 0:
return False
for cb in self.callbacks:
GLib.idle_add(cb, newfiles, deletedfiles, mods)
return False
def get_file_list(self):
return self.filelist
def get_file_info(self, filename):
if filename not in self.files:
return {"path": None, "modified": 0, "size": 0}
return self.files[filename]
+170
View File
@@ -0,0 +1,170 @@
import logging
import logging.handlers
import os
import re
import subprocess
import sys
import threading
import time
import traceback
from queue import SimpleQueue as Queue
import ctypes
import struct
dpms_loaded = False
try:
ctypes.cdll.LoadLibrary('libXext.so.6')
libXext = ctypes.CDLL('libXext.so.6')
class DPMS_State:
Fail = -1
On = 0
Standby = 1
Suspend = 2
Off = 3
def get_DPMS_state(display_name_in_byte_string=b':0'):
state = DPMS_State.Fail
if not isinstance(display_name_in_byte_string, bytes):
raise TypeError
display_name = ctypes.c_char_p()
display_name.value = display_name_in_byte_string
libXext.XOpenDisplay.restype = ctypes.c_void_p
display = ctypes.c_void_p(libXext.XOpenDisplay(display_name))
dummy1_i_p = ctypes.create_string_buffer(8)
dummy2_i_p = ctypes.create_string_buffer(8)
if display.value:
if libXext.DPMSQueryExtension(display, dummy1_i_p, dummy2_i_p)\
and libXext.DPMSCapable(display):
onoff_p = ctypes.create_string_buffer(1)
state_p = ctypes.create_string_buffer(2)
if libXext.DPMSInfo(display, state_p, onoff_p):
onoff = struct.unpack('B', onoff_p.raw)[0]
if onoff:
state = struct.unpack('H', state_p.raw)[0]
libXext.XCloseDisplay(display)
return state
dpms_loaded = True
except Exception:
pass
def get_network_interfaces():
stream = os.popen("ip addr | grep ^'[0-9]' | cut -d ' ' -f 2 | grep -o '[a-zA-Z0-9\\.]*'")
return [i for i in stream.read().strip().split('\n') if not i.startswith('lo')]
def get_wireless_interfaces():
p = subprocess.Popen(["which", "iwconfig"], stdout=subprocess.PIPE)
while p.poll() is None:
time.sleep(.1)
if p.poll() != 0:
return None
try:
p = subprocess.Popen(["iwconfig"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
result = p.stdout.read().decode('ascii').split('\n')
except Exception:
logging.info("Error with running iwconfig command")
return None
interfaces = []
for line in result:
match = re.search('^(\\S+)\\s+.*$', line)
if match:
interfaces.append(match.group(1))
return interfaces
def get_software_version():
prog = ('git', '-C', os.path.dirname(__file__), 'describe', '--always',
'--tags', '--long', '--dirty')
try:
process = subprocess.Popen(prog, stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
ver, err = process.communicate()
retcode = process.wait()
if retcode == 0:
version = ver.strip()
if isinstance(version, bytes):
version = version.decode()
return version
else:
logging.debug(f"Error getting git version: {err}")
except OSError:
logging.exception("Error runing git describe")
return "?"
def patch_threading_excepthook():
"""Installs our exception handler into the threading modules Thread object
Inspired by https://bugs.python.org/issue1230540
"""
old_init = threading.Thread.__init__
def new_init(self, *args, **kwargs):
old_init(self, *args, **kwargs)
old_run = self.run
def run_with_excepthook(*args, **kwargs):
try:
old_run(*args, **kwargs)
except (KeyboardInterrupt, SystemExit):
raise
except Exception:
sys.excepthook(*sys.exc_info(), thread_identifier=threading.get_ident())
self.run = run_with_excepthook
threading.Thread.__init__ = new_init
# Timed rotating file handler based on Klipper and Moonraker's implementation
class KlipperScreenLoggingHandler(logging.handlers.TimedRotatingFileHandler):
def __init__(self, software_version, filename, **kwargs):
super(KlipperScreenLoggingHandler, self).__init__(filename, **kwargs)
self.rollover_info = {
'header': f"{'-'*20}KlipperScreen Log Start{'-'*20}",
'version': f"Git Version: {software_version}",
}
lines = [line for line in self.rollover_info.values() if line]
if self.stream is not None:
self.stream.write("\n".join(lines) + "\n")
def set_rollover_info(self, name, item):
self.rollover_info[name] = item
def doRollover(self):
super(KlipperScreenLoggingHandler, self).doRollover()
lines = [line for line in self.rollover_info.values() if line]
if self.stream is not None:
self.stream.write("\n".join(lines) + "\n")
# Logging based on Arksine's logging setup
def setup_logging(log_file, software_version):
root_logger = logging.getLogger()
queue = Queue()
queue_handler = logging.handlers.QueueHandler(queue)
root_logger.addHandler(queue_handler)
root_logger.setLevel(logging.DEBUG)
stdout_hdlr = logging.StreamHandler(sys.stdout)
stdout_fmt = logging.Formatter(
'%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
stdout_hdlr.setFormatter(stdout_fmt)
fh = None
if log_file:
fh = KlipperScreenLoggingHandler(software_version, log_file, when='midnight', backupCount=2)
formatter = logging.Formatter(
'%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
fh.setFormatter(formatter)
listener = logging.handlers.QueueListener(
queue, fh, stdout_hdlr)
else:
listener = logging.handlers.QueueListener(
queue, stdout_hdlr)
listener.start()
def logging_exception_handler(type, value, tb, thread_identifier=None):
logging.exception(
"Uncaught exception %s: %s\nTraceback: %s" % (type, value, "\n".join(traceback.format_tb(tb))))
sys.excepthook = logging_exception_handler
logging.captureWarnings(True)
return listener, fh
+629
View File
@@ -0,0 +1,629 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
#, python-format
msgid "%s will be updated to version"
msgstr ""
msgid "(default)"
msgstr ""
msgid "24 Hour Time"
msgstr ""
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr ""
msgid "Abort"
msgstr ""
msgid "Accept"
msgstr ""
msgid "Actions"
msgstr ""
msgid "Add Printer"
msgstr ""
msgid "Add bed mesh profile"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr ""
msgid "Are you sure you wish to cancel this print?"
msgstr ""
msgid "Are you sure you wish to disable motors?"
msgstr ""
msgid "Are you sure you wish to reboot the system?"
msgstr ""
msgid "Are you sure you wish to shutdown the system?"
msgstr ""
msgid "Auto"
msgstr ""
msgid "Auto-scroll"
msgstr ""
msgid "Bed Level"
msgstr ""
msgid "Bed Mesh"
msgstr ""
msgid "Bltouch found applied offset"
msgstr ""
msgid "Calibrate"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr ""
msgid "Can't set above the maximum:"
msgstr ""
msgid "Cancel"
msgstr ""
msgid "Cancel Print"
msgstr ""
msgid "Cancelled"
msgstr ""
msgid "Cancelling"
msgstr ""
msgid "Cannot connect to Moonraker"
msgstr ""
msgid "Channel"
msgstr ""
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
msgid "Close"
msgstr ""
msgid "Complete"
msgstr ""
msgid "Configuration"
msgstr ""
msgid "Confirm Emergency Stop"
msgstr ""
msgid "Connected"
msgstr ""
#, python-format
msgid "Connecting to %s"
msgstr ""
msgid "Console"
msgstr ""
msgid "Continue"
msgstr ""
msgid "Cooldown"
msgstr ""
msgid "Date"
msgstr ""
msgid "Decrease"
msgstr ""
msgid "Delete"
msgstr ""
msgid "Deselect"
msgstr ""
msgid "Disable Motors"
msgstr ""
msgid "Disable XY"
msgstr ""
msgid "Displayed Macros"
msgstr ""
msgid "Distance (mm)"
msgstr ""
#, python-format
msgid "Do you want to recover %s?"
msgstr ""
msgid "Elapsed:"
msgstr ""
msgid "Error"
msgstr ""
msgid "Estimated Time Method"
msgstr ""
msgid "Extrude"
msgstr ""
msgid "Extrusion +"
msgstr ""
msgid "Extrusion -"
msgstr ""
msgid "Failed, adjust position first"
msgstr ""
msgid "Fan"
msgstr ""
msgid "Filament Used"
msgstr ""
msgid "File"
msgstr ""
msgid "Fine Tuning"
msgstr ""
msgid "Finish"
msgstr ""
msgid ""
"Firmware\n"
"Restart"
msgstr ""
msgid "Font Size"
msgstr ""
msgid ""
"Full\n"
"Update"
msgstr ""
msgid "Go Back"
msgstr ""
msgid "Hidden"
msgstr ""
msgid "Hide"
msgstr ""
msgid "Hide sensors in Temp."
msgstr ""
msgid "Home"
msgstr ""
msgid "Home All"
msgstr ""
msgid "Home X"
msgstr ""
msgid "Home XY"
msgstr ""
msgid "Home Y"
msgstr ""
msgid "Home Z"
msgstr ""
msgid "Homing"
msgstr ""
msgid "Hostname"
msgstr ""
msgid "Icon Theme"
msgstr ""
msgid "Increase"
msgstr ""
msgid "Initializing"
msgstr ""
msgid "Initializing printer..."
msgstr ""
msgid "Interface"
msgstr ""
msgid "Invalid"
msgstr ""
msgid "Invert X"
msgstr ""
msgid "Invert Y"
msgstr ""
msgid "Invert Z"
msgstr ""
msgid ""
"Klipper\n"
"Restart"
msgstr ""
msgid "Klipper has disconnected"
msgstr ""
msgid "Klipper has encountered an error."
msgstr ""
msgid "Klipper has shutdown"
msgstr ""
msgid "Klipper is attempting to start"
msgstr ""
msgid "Klipper will reboot"
msgstr ""
msgid "Language"
msgstr ""
msgid "Large"
msgstr ""
msgid "Left:"
msgstr ""
msgid "Limits"
msgstr ""
msgid "Load"
msgstr ""
msgid "Lower Nozzle"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr ""
msgid "Macros"
msgstr ""
msgid "Main Menu"
msgstr ""
msgid "Max Accelation"
msgstr ""
msgid "Max Acceleration to Deceleration"
msgstr ""
msgid "Max Velocity"
msgstr ""
msgid "Medium"
msgstr ""
msgid "Menu"
msgstr ""
msgid "Modified"
msgstr ""
msgid "Moonraker: connected"
msgstr ""
msgid "Move"
msgstr ""
msgid "Move Distance (mm)"
msgstr ""
msgid "Name"
msgstr ""
msgid "Network"
msgstr ""
msgid "Nothing selected"
msgstr ""
msgid "Off"
msgstr ""
#, python-format
msgid "Outdated by %d"
msgstr ""
msgid "PSK for"
msgstr ""
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] ""
msgstr[1] ""
msgid "Password saved"
msgstr ""
msgid "Pause"
msgstr ""
msgid "Paused"
msgstr ""
msgid "Perform a full upgrade?"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr ""
msgid "Power"
msgstr ""
msgid "Power On Printer"
msgstr ""
msgid "Print"
msgstr ""
msgid "Print Control"
msgstr ""
msgid "Print Time"
msgstr ""
msgid "Printer Connections"
msgstr ""
msgid "Printing"
msgstr ""
msgid "Probe found applied offset"
msgstr ""
msgid "Profile Name:"
msgstr ""
msgid "Quad Gantry Level"
msgstr ""
msgid "Raise Nozzle"
msgstr ""
msgid "Recover Hard"
msgstr ""
msgid "Recover Soft"
msgstr ""
msgid "Reference"
msgstr ""
msgid "Restart"
msgstr ""
msgid "Resume"
msgstr ""
msgid "Retract"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr ""
msgid "Save"
msgstr ""
msgid "Save Config"
msgstr ""
msgid "Save configuration"
msgstr ""
msgid "Screen DPMS"
msgstr ""
msgid "Screen Power Off Time"
msgstr ""
msgid "Screws Adjust"
msgstr ""
msgid "Select"
msgstr ""
msgid "Send"
msgstr ""
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr ""
msgid "Set Temp"
msgstr ""
msgid "Settings"
msgstr ""
msgid "Show"
msgstr ""
msgid "Size"
msgstr ""
msgid "Slicer"
msgstr ""
msgid "Slicer Time correction (%)"
msgstr ""
msgid "Small"
msgstr ""
msgid "Sort by: "
msgstr ""
msgid "Speed (mm/s)"
msgstr ""
msgid "Speed +"
msgstr ""
msgid "Speed -"
msgstr ""
msgid "Square Corner Velocity"
msgstr ""
msgid "Start"
msgstr ""
msgid "Starting WiFi Association"
msgstr ""
msgid "Starting recovery for"
msgstr ""
msgid "Starting update for"
msgstr ""
msgid "System"
msgstr ""
msgid ""
"System\n"
"Restart"
msgstr ""
msgid ""
"System\n"
"Shutdown"
msgstr ""
msgid "Temp (°C)"
msgstr ""
msgid "Temperature"
msgstr ""
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr ""
msgid "Tool"
msgstr ""
msgid "Total:"
msgstr ""
msgid "Unknown Heater"
msgstr ""
msgid "Unload"
msgstr ""
msgid "Up To Date"
msgstr ""
msgid "Update"
msgstr ""
msgid "Updating"
msgstr ""
msgid "Uploaded"
msgstr ""
msgid "View Mesh"
msgstr ""
msgid "X+"
msgstr ""
msgid "X-"
msgstr ""
msgid "XY Move Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr ""
msgid "Y-"
msgstr ""
msgid "Z Calibrate"
msgstr ""
msgid "Z Move Speed (mm/s)"
msgstr ""
msgid "Z Position"
msgstr ""
msgid "Z Tilt"
msgstr ""
msgid "Z+"
msgstr ""
msgid "Z-"
msgstr ""
msgid "commit"
msgid_plural "commits"
msgstr[0] ""
msgstr[1] ""
msgid "dBm"
msgstr ""
msgid "hour"
msgid_plural "hours"
msgstr[0] ""
msgstr[1] ""
msgid "minutes"
msgstr ""
msgid "mm"
msgstr ""
msgid "mm/s"
msgstr ""
msgid "mm/s^2"
msgstr ""
Binary file not shown.
@@ -0,0 +1,683 @@
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: SRBJ\n"
"Language-Team: \n"
"Language: da\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s vil blive opdateret til version"
msgid "(default)"
msgstr "(standard)"
msgid "24 Hour Time"
msgstr "24-timers visning"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "En FIRMWARE_RESTART kan løse problemet."
msgid "Abort"
msgstr "Annuller"
msgid "Accept"
msgstr "OK"
msgid "Actions"
msgstr "Muligheder"
msgid "Add Printer"
msgstr "Tilføj printer"
msgid "Add bed mesh profile"
msgstr "Tilføj \"bed-mesh\" profil"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Er du sikker på, at du vil køre nødstop?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Er du sikker på du vil annullere det igangværende print?"
msgid "Are you sure you wish to disable motors?"
msgstr "Er du sikker på, at du vil deaktivere motorer?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Er du sikker på du vil genstarte systemet?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Er du sikker på du vil lukke systemet?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Bed-Level"
msgid "Bed Mesh"
msgstr "Bed-mesh"
msgid "Bltouch found applied offset"
msgstr "Bltouch fundet anvendt offset"
msgid "Calibrate"
msgstr "Kalibrér"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibreret, gem konfiguration for at gøre den permanent"
msgid "Can't set above the maximum:"
msgstr "Kan ikke indstilles over maksimum:"
msgid "Cancel"
msgstr "Annuller"
msgid "Cancel Print"
msgstr "Annuller print"
msgid "Cancelled"
msgstr "Annulleret"
msgid "Cancelling"
msgstr "Annullerer"
msgid "Cannot connect to Moonraker"
msgstr "Kan ikke oprette forbindelse til Moonraker"
msgid "Channel"
msgstr "Kanal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Tjek /tmp/KlipperScreen.log for mere information.\n"
"Indsend venligst et \"Issue\" på GitHub for hjælp."
msgid "Close"
msgstr "Luk"
msgid "Complete"
msgstr "Færdig"
msgid "Configuration"
msgstr "Konfiguration"
msgid "Confirm Emergency Stop"
msgstr "Bekræft Nødstop"
msgid "Connected"
msgstr "Forbundet"
#, python-format
msgid "Connecting to %s"
msgstr "Forbinder til %s"
msgid "Console"
msgstr "Terminal"
msgid "Continue"
msgstr "Fortsæt"
msgid "Cooldown"
msgstr "Afkøling"
msgid "Date"
msgstr "Dato"
msgid "Decrease"
msgstr "Formindsk"
msgid "Delete"
msgstr "Slet"
msgid "Deselect"
msgstr "Fravælg"
msgid "Disable Motors"
msgstr "Deaktivér motorer"
msgid "Disable XY"
msgstr "Deaktivér XY"
msgid "Displayed Macros"
msgstr "Viste makroer"
msgid "Distance (mm)"
msgstr "Længde (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Vil du gendanne %s?"
msgid "Elapsed:"
msgstr "Tid:"
msgid "Error"
msgstr "Fejl"
msgid "Estimated Time Method"
msgstr "Metode til beregning af tid"
msgid "Extrude"
msgstr "Ekstrudér"
msgid "Extrusion +"
msgstr "Ekstrudering +"
msgid "Extrusion -"
msgstr "Ekstrudering -"
msgid "Failed, adjust position first"
msgstr "Mislykkedes, juster først positionen"
msgid "Fan"
msgstr "Blæser"
msgid "Filament Used"
msgstr "Filament forbrug"
msgid "File"
msgstr "Fil"
msgid "Fine Tuning"
msgstr "Finjustering"
msgid "Finish"
msgstr "Færdig"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Genstart"
msgid "Font Size"
msgstr "Skriftstørrelse"
msgid ""
"Full\n"
"Update"
msgstr ""
"Fuld\n"
"Opdatering"
msgid "Go Back"
msgstr "Gå tilbage"
msgid "Hidden"
msgstr "Skjult"
msgid "Hide"
msgstr "Skjule"
msgid "Hide sensors in Temp."
msgstr "Skjul sensorer i Temp."
msgid "Home"
msgstr "Home"
msgid "Home All"
msgstr "Home alle"
msgid "Home X"
msgstr "Home X"
msgid "Home XY"
msgstr "Home XY"
msgid "Home Y"
msgstr "Home Y"
msgid "Home Z"
msgstr "Home Z"
msgid "Homing"
msgstr "Homing"
msgid "Hostname"
msgstr "Værtsnavn"
msgid "Icon Theme"
msgstr "Ikon-tema"
msgid "Increase"
msgstr "Forøg"
msgid "Initializing"
msgstr "Initialiserer"
msgid "Initializing printer..."
msgstr "Initialiserer printer..."
msgid "Interface"
msgstr "Interface"
msgid "Invalid"
msgstr "Ugyldig"
msgid "Invert X"
msgstr "Invertér X"
msgid "Invert Y"
msgstr "Invertér Y"
msgid "Invert Z"
msgstr "Invertér Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Genstart"
msgid "Klipper has disconnected"
msgstr "Klipper er frokoblet"
msgid "Klipper has encountered an error."
msgstr "Klipper har fundet en fejl."
msgid "Klipper has shutdown"
msgstr "Klipper er lukket ned"
msgid "Klipper is attempting to start"
msgstr "Klipper forsøger at starte"
msgid "Klipper will reboot"
msgstr "Klipper vil genstarte"
msgid "Language"
msgstr "Sprog"
msgid "Large"
msgstr "Stor"
msgid "Left:"
msgstr "Resterende:"
msgid "Limits"
msgstr "Grænser"
msgid "Load"
msgstr "Indlæs"
msgid "Lower Nozzle"
msgstr "Sænk Nozzle"
msgid "Macro shortcut on sidebar"
msgstr "Makrogenvej på sidelinjen"
msgid "Macros"
msgstr "Makroer"
msgid "Main Menu"
msgstr "Hovedmenu"
msgid "Max Accelation"
msgstr "Maks. acceleration"
msgid "Max Acceleration to Deceleration"
msgstr "Maks. acceleration til decceleration"
msgid "Max Velocity"
msgstr "Maks. hastighed"
msgid "Medium"
msgstr "Mellem"
msgid "Menu"
msgstr "Menu"
msgid "Modified"
msgstr "Ændret"
msgid "Moonraker: connected"
msgstr "Moonraker: tilsluttet"
msgid "Move"
msgstr "Flytning"
msgid "Move Distance (mm)"
msgstr "Flyt længde (mm)"
msgid "Name"
msgstr "Navn"
msgid "Network"
msgstr "Netværk"
msgid "Nothing selected"
msgstr "Intet valgt"
msgid "Off"
msgstr "Sluk"
#, python-format
msgid "Outdated by %d"
msgstr "Forældet med %d"
msgid "PSK for"
msgstr "PSK for"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Pakken vil blive opdateret"
msgstr[1] "Pakker vil blive opdateret"
msgid "Password saved"
msgstr "Adgangskode gemt"
msgid "Pause"
msgstr "Pause"
msgid "Paused"
msgstr "På pause"
msgid "Perform a full upgrade?"
msgstr "Vil du udføre en fuld opgradering?"
msgid "Please recompile and flash the micro-controller."
msgstr "Genkompilér og flash mikrocontrolleren."
msgid "Power"
msgstr "Strømstyring"
msgid "Power On Printer"
msgstr "Tænd printer"
msgid "Print"
msgstr "Print"
msgid "Print Control"
msgstr "Print styring"
msgid "Print Time"
msgstr "Printtid"
msgid "Printer Connections"
msgstr "Printer forbindelser"
msgid "Printing"
msgstr "Printer"
msgid "Probe found applied offset"
msgstr "Probe fundet anvendt offset"
msgid "Profile Name:"
msgstr "Profilnavn:"
msgid "Quad Gantry Level"
msgstr "Justering af 4-søjlers konstruktion"
msgid "Raise Nozzle"
msgstr "Hæv Nozzle"
msgid "Recover Hard"
msgstr "Nulstil alt"
msgid "Recover Soft"
msgstr "Nulstil"
msgid "Reference"
msgstr "Reference"
msgid "Restart"
msgstr "Genstart"
msgid "Resume"
msgstr "Genoptag"
msgid "Retract"
msgstr "Retract"
#, python-format
msgid "Retry #%s"
msgstr "Prøv igen #%s"
msgid "Save"
msgstr "Gem"
msgid "Save Config"
msgstr "Gem Konfiguration"
msgid "Save configuration"
msgstr "Gem Konfiguration"
msgid "Screen DPMS"
msgstr "Skærm DPMS"
msgid "Screen Power Off Time"
msgstr "Skærm timeout"
msgid "Screws Adjust"
msgstr "Skruejustering"
msgid "Select"
msgstr "Vælg"
msgid "Send"
msgstr "Sende"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Sender Power ON-signal til: %s"
msgid "Set Temp"
msgstr "Indstil Temp"
msgid "Settings"
msgstr "Indstillinger"
msgid "Show"
msgstr "At vise"
msgid "Size"
msgstr "Størrelse"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Slicer Tidskorrektion (%)"
msgid "Small"
msgstr "Lille"
msgid "Sort by: "
msgstr "Sortér efter: "
msgid "Speed (mm/s)"
msgstr "Hastighed (mm/s)"
msgid "Speed +"
msgstr "Hastighed +"
msgid "Speed -"
msgstr "Hastighed -"
msgid "Square Corner Velocity"
msgstr "Hastighed for 90° hjørne"
msgid "Start"
msgstr "Start"
msgid "Starting WiFi Association"
msgstr "Starter WiFi Association"
msgid "Starting recovery for"
msgstr "Gendanner"
msgid "Starting update for"
msgstr "Opdaterer"
msgid "System"
msgstr "System"
msgid ""
"System\n"
"Restart"
msgstr ""
"Genstart\n"
"system"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Luk\n"
"system ned"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatur"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "KlipperScreen skal genstartes for at anvende %s"
msgid "Tool"
msgstr "Ekstruder"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Ukendt varmelegeme"
msgid "Unload"
msgstr "Tilbagetræk"
msgid "Up To Date"
msgstr "Up-to-Date"
msgid "Update"
msgstr "Opdater"
msgid "Updating"
msgstr "Opdatering"
msgid "Uploaded"
msgstr "Uploadet"
msgid "View Mesh"
msgstr "Vis mesh"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY Flyt hastighed (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Kalibrér Z"
msgid "Z Move Speed (mm/s)"
msgstr "Z Flyt hastighed (mm/s)"
msgid "Z Position"
msgstr "Z-position"
msgid "Z Tilt"
msgstr "Z-tilt"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "ændring"
msgstr[1] "ændringer"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "time"
msgstr[1] "timer"
msgid "minutes"
msgstr "minutter"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z-offset"
#~ msgid "Unknown Heater "
#~ msgstr "Ukendt varmelegeme "
#~ msgid "Disconnect"
#~ msgstr "Afbryd forbindelse"
#~ msgid "Duration Only"
#~ msgstr "Kun varighed"
#~ msgid "Klipper Version"
#~ msgstr "Klipper version"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper har fundet en fejl med mcu.\n"
#~ "Kompilér og flash venligst firmware på ny."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper har fundet en fejl.\n"
#~ "Tryk på \"Genstart alt\" for at forsøge at udbedre fejlen."
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen version"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Vis kun varmelegemer i Temp."
#~ msgid "Target"
#~ msgstr "Mål"
#~ msgid "Temp"
#~ msgstr "Temp"
@@ -0,0 +1,729 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR Elektrickser@gmail.com, 2021
#
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 10:43-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s wird auf Version aktualisiert"
msgid "(default)"
msgstr "(Standard)"
msgid "24 Hour Time"
msgstr "24h-Zeit"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Ein FIRMWARE_RESTART kann das Problem beheben."
msgid "Abort"
msgstr "Abbrechen"
msgid "Accept"
msgstr "OK"
msgid "Actions"
msgstr "Aktionen"
msgid "Add Printer"
msgstr "Drucker hinzufügen"
msgid "Add bed mesh profile"
msgstr "Mesh-Level Profil hinzufügen"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Sind Sie sicher, dass Sie Not-Aus ausführen möchten?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Möchten Sie diesen Druck wirklich abbrechen?"
msgid "Are you sure you wish to disable motors?"
msgstr "Möchten Sie die Motoren wirklich deaktivieren?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Möchten Sie das System wirklich neu starten?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Möchten Sie das System wirklich herunterfahren?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Druckbett leveln"
msgid "Bed Mesh"
msgstr "Druckbett Mesh-Level"
msgid "Bltouch found applied offset"
msgstr "Bltouch hat angewendeten Offset gefunden"
msgid "Calibrate"
msgstr "Höheneinstellung"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibriert, Konfiguration speichern, um sie dauerhaft zu machen"
msgid "Can't set above the maximum:"
msgstr "Kann nicht über dem Maximum eingestellt werden:"
msgid "Cancel"
msgstr "Abbruch"
msgid "Cancel Print"
msgstr "Druck abbrechen"
msgid "Cancelled"
msgstr "Abgebrochen"
msgid "Cancelling"
msgstr "Wird unterbrochen"
msgid "Cannot connect to Moonraker"
msgstr "Es kann keine Verbindung zu Moonraker hergestellt werden"
msgid "Channel"
msgstr "Kanal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Prüfe /tmp/KlipperScreen.log für weitere Informationen.\n"
"Bitte eröffne einen Fehlerbericht auf https://git.io/JLNn4 für Hilfe."
msgid "Close"
msgstr "Schließen"
msgid "Complete"
msgstr "Fertiggestellt"
msgid "Configuration"
msgstr "Einstellungen"
msgid "Confirm Emergency Stop"
msgstr "Not-Aus bestätigen"
msgid "Connected"
msgstr "Verbunden"
#, python-format
msgid "Connecting to %s"
msgstr "Verbinden zu %s"
msgid "Console"
msgstr "Konsole"
msgid "Continue"
msgstr "Fortsetzen"
msgid "Cooldown"
msgstr "Abkühlen"
msgid "Date"
msgstr "Datum"
msgid "Decrease"
msgstr "Verringern"
msgid "Delete"
msgstr "Löschen"
msgid "Deselect"
msgstr "Abwählen"
msgid "Disable Motors"
msgstr "Motoren deaktivieren"
msgid "Disable XY"
msgstr "Achse XY deaktivieren"
msgid "Displayed Macros"
msgstr "Aktive Macros"
msgid "Distance (mm)"
msgstr "Entfernung (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Möchtest du zurück zu %s?"
msgid "Elapsed:"
msgstr "Druckzeit:"
msgid "Error"
msgstr "Fehler"
msgid "Estimated Time Method"
msgstr "Druckzeit"
msgid "Extrude"
msgstr "Filament fördern"
msgid "Extrusion +"
msgstr "Extrusion +"
msgid "Extrusion -"
msgstr "Extrusion -"
msgid "Failed, adjust position first"
msgstr "Fehlgeschlagen, Position zuerst anpassen"
msgid "Fan"
msgstr "Lüfter"
msgid "Filament Used"
msgstr "Filamentverbrauch"
msgid "File"
msgstr "Datei"
msgid "Fine Tuning"
msgstr "Feintuning"
msgid "Finish"
msgstr "Ziel"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Neu starten"
msgid "Font Size"
msgstr "Schriftgröße"
msgid ""
"Full\n"
"Update"
msgstr ""
"Voll\n"
"Aktualisieren"
msgid "Go Back"
msgstr "Zurück"
msgid "Hidden"
msgstr "Versteckt"
msgid "Hide"
msgstr "Verstecken"
msgid "Hide sensors in Temp."
msgstr "Sensoren in Temp ausblenden."
msgid "Home"
msgstr "Grundposition"
msgid "Home All"
msgstr ""
"Alle Achsen\n"
"zurücksetzen"
msgid "Home X"
msgstr ""
"Achse X\n"
"zurücksetzen"
msgid "Home XY"
msgstr ""
"Achse XY\n"
"zurücksetzen"
msgid "Home Y"
msgstr ""
"Achse Y\n"
"zurücksetzen"
msgid "Home Z"
msgstr ""
"Achse Z\n"
"zurücksetzen"
msgid "Homing"
msgstr "Grundposition"
msgid "Hostname"
msgstr "Hostname"
msgid "Icon Theme"
msgstr "Icon Theme"
msgid "Increase"
msgstr "Erhöhen"
msgid "Initializing"
msgstr "Startvorgang"
msgid "Initializing printer..."
msgstr "Drucker wird initialisiert..."
msgid "Interface"
msgstr "Interface"
msgid "Invalid"
msgstr "Ungültig"
msgid "Invert X"
msgstr "Achse X invertieren"
msgid "Invert Y"
msgstr "Achse Y invertieren"
msgid "Invert Z"
msgstr "Achse Z invertieren"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Neu starten"
msgid "Klipper has disconnected"
msgstr "Klipper nicht verbunden"
msgid "Klipper has encountered an error."
msgstr "Klipper hat einen Fehler festgestellt."
msgid "Klipper has shutdown"
msgstr "Klipper abgeschaltet"
msgid "Klipper is attempting to start"
msgstr "Klipper ist startbereit"
msgid "Klipper will reboot"
msgstr "Klipper startet neu"
msgid "Language"
msgstr "Sprache"
msgid "Large"
msgstr "Groß"
msgid "Left:"
msgstr "Restzeit:"
msgid "Limits"
msgstr "Grenzwerte"
msgid "Load"
msgstr "Laden"
msgid "Lower Nozzle"
msgstr "Düse absenken"
msgid "Macro shortcut on sidebar"
msgstr "Makro Verknüpfung in Sidebar"
msgid "Macros"
msgstr "Makros"
msgid "Main Menu"
msgstr "Hauptmenü"
msgid "Max Accelation"
msgstr "Max Beschleunigung"
msgid "Max Acceleration to Deceleration"
msgstr "Max Verzögerung"
msgid "Max Velocity"
msgstr "Max Geschwindigkeit"
msgid "Medium"
msgstr "Mittel"
msgid "Menu"
msgstr "Menü"
msgid "Modified"
msgstr "Modifiziert"
msgid "Moonraker: connected"
msgstr "Moonraker: Verbunden"
msgid "Move"
msgstr "Bewegen"
msgid "Move Distance (mm)"
msgstr "Bewegungsdistanz (mm)"
msgid "Name"
msgstr "Name"
msgid "Network"
msgstr "Netzwerk"
msgid "Nothing selected"
msgstr "Nichts ausgewählt"
msgid "Off"
msgstr "Aus"
#, python-format
msgid "Outdated by %d"
msgstr "Veraltet von %d"
msgid "PSK for"
msgstr "PSK für"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Paket wird aktualisiert"
msgstr[1] "Pakete werden aktualisiert"
msgid "Password saved"
msgstr "Passwort gespeichert"
msgid "Pause"
msgstr "Pause"
msgid "Paused"
msgstr "Pausiert"
msgid "Perform a full upgrade?"
msgstr "Vollständiges Upgrade durchführen?"
msgid "Please recompile and flash the micro-controller."
msgstr "Please recompile and flash the micro-controller."
msgid "Power"
msgstr "Ein"
msgid "Power On Printer"
msgstr "Drucker einschalten"
msgid "Print"
msgstr "Druck"
msgid "Print Control"
msgstr "Druck Steuerung"
msgid "Print Time"
msgstr "Druckzeit"
msgid "Printer Connections"
msgstr "Drucker Verbindungen"
msgid "Printing"
msgstr "Drucken"
msgid "Probe found applied offset"
msgstr "Probe hat angewendeten Offset gefunden"
msgid "Profile Name:"
msgstr "Profilname:"
msgid "Quad Gantry Level"
msgstr "Quad Gantry Level"
msgid "Raise Nozzle"
msgstr "Düse anheben"
# Respect the number of characters!
# english text barely fits in small screens
msgid "Recover Hard"
msgstr "Rücksetzen Hard"
# Respect the number of characters!
# english text barely fits in small screens
msgid "Recover Soft"
msgstr "Rücksetzen Soft"
msgid "Reference"
msgstr "Referenz"
msgid "Restart"
msgstr "Neustart"
msgid "Resume"
msgstr "Fortsetzen"
msgid "Retract"
msgstr "Zurückziehen"
#, python-format
msgid "Retry #%s"
msgstr "Wiederholen #%s"
msgid "Save"
msgstr "Speichern"
msgid "Save Config"
msgstr "Einstellungen speichern"
msgid "Save configuration"
msgstr "Speichere Einstellungen"
msgid "Screen DPMS"
msgstr "Bildschirm-DPMS"
msgid "Screen Power Off Time"
msgstr "Bildschirm abschalten in"
msgid "Screws Adjust"
msgstr "Schrauben Einstellen"
msgid "Select"
msgstr "Wählen"
msgid "Send"
msgstr "Schicken"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Senden des Einschaltsignals an: %s"
msgid "Set Temp"
msgstr "Temp. einstellen"
msgid "Settings"
msgstr "Einstellungen"
msgid "Show"
msgstr "Zeigen"
msgid "Size"
msgstr "Größe"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Slicer-Zeitkorrektur (%)"
msgid "Small"
msgstr "Klein"
msgid "Sort by: "
msgstr "Sortierung: "
msgid "Speed (mm/s)"
msgstr "Geschwindigkeit (mm/s)"
msgid "Speed +"
msgstr "Geschwindigkeit +"
msgid "Speed -"
msgstr "Geschwindigkeit -"
msgid "Square Corner Velocity"
msgstr "Eckgeschwindigkeit"
msgid "Start"
msgstr "Starten"
msgid "Starting WiFi Association"
msgstr "Wi-Fi Association starten"
msgid "Starting recovery for"
msgstr "Starte Wiederherstellung für"
msgid "Starting update for"
msgstr "Starte Update für"
msgid "System"
msgstr "System"
msgid ""
"System\n"
"Restart"
msgstr ""
"Drucker\n"
"Neustarten"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Drucker\n"
"Ausschalten"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatur"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Zum Übernehmen von %s benötigt Klipperscreen einen Neustart"
msgid "Tool"
msgstr "Druckkopf"
msgid "Total:"
msgstr "Gesamt:"
msgid "Unknown Heater"
msgstr "Unbekannte Heizung"
msgid "Unload"
msgstr "Entladen"
# Respect the number of characters
# english text barely fits in small screens
msgid "Up To Date"
msgstr "Aktuell"
msgid "Update"
msgstr "Update"
msgid "Updating"
msgstr "Aktualisierung"
msgid "Uploaded"
msgstr "Hochgeladen"
msgid "View Mesh"
msgstr "Mesh anzeigen"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY Bewegungsgeschwindigkeit (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Höhe Kalibrieren"
msgid "Z Move Speed (mm/s)"
msgstr "Z Bewegungsgeschwindigkeit (mm/s)"
msgid "Z Position"
msgstr "Z-Position"
msgid "Z Tilt"
msgstr "Z-Achse ausrichten"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "Änderung"
msgstr[1] "Änderungen"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "Stunde"
msgstr[1] "Stunden"
msgid "minutes"
msgstr "Minuten"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z Offset"
#~ msgid "Unknown Heater "
#~ msgstr "Unbekannte Heizung "
#~ msgid "Disconnect"
#~ msgstr "Nicht verbunden"
#~ msgid "Duration Only"
#~ msgstr "Reine Druckzeit"
#~ msgid "Klipper Version"
#~ msgstr "Klipper Version"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper hat einen Fehler mit dem Mainboard festgestellt.\n"
#~ "Bitte Mainboard neu programmieren."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper hat einen Fehler festgestellt.\n"
#~ "Führe einen FIRMWARE_RESTART durch um den Fehler zu beheben."
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen Version"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Nur Heizungen in Temp anzeigen."
#~ msgid "Target"
#~ msgstr "Ziel"
#~ msgid "Temp"
#~ msgstr "Temp"
# Nummernblock is 2 character too long and currently doesn't fit
#~ msgid "Number Pad"
#~ msgstr "Tastenfeld"
#~ msgid "Preheat"
#~ msgstr "Vorheizen"
#~ msgid "Screen will show in less than one second"
#~ msgstr "Der Bildschirm wird in weniger als einer Sekunde angezeigt"
#~ msgid "Colorized"
#~ msgstr "Colorized"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Cancel Change"
#~ msgstr "Änderung abbrechen"
#~ msgid "Control"
#~ msgstr "Steuerung"
#~ msgid "Load Average"
#~ msgstr "Durchschnittslast"
Binary file not shown.
@@ -0,0 +1,624 @@
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0\n"
#, python-format
msgid "%s will be updated to version"
msgstr ""
msgid "(default)"
msgstr ""
msgid "24 Hour Time"
msgstr ""
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr ""
msgid "Abort"
msgstr ""
msgid "Accept"
msgstr ""
msgid "Actions"
msgstr ""
msgid "Add Printer"
msgstr ""
msgid "Add bed mesh profile"
msgstr ""
msgid "Are you sure you want to run Emergency Stop?"
msgstr ""
msgid "Are you sure you wish to cancel this print?"
msgstr ""
msgid "Are you sure you wish to disable motors?"
msgstr ""
msgid "Are you sure you wish to reboot the system?"
msgstr ""
msgid "Are you sure you wish to shutdown the system?"
msgstr ""
msgid "Auto"
msgstr ""
msgid "Auto-scroll"
msgstr ""
msgid "Bed Level"
msgstr ""
msgid "Bed Mesh"
msgstr ""
msgid "Bltouch found applied offset"
msgstr ""
msgid "Calibrate"
msgstr ""
msgid "Calibrated, save configuration to make it permanent"
msgstr ""
msgid "Can't set above the maximum:"
msgstr ""
msgid "Cancel"
msgstr ""
msgid "Cancel Print"
msgstr ""
msgid "Cancelled"
msgstr ""
msgid "Cancelling"
msgstr ""
msgid "Cannot connect to Moonraker"
msgstr ""
msgid "Channel"
msgstr ""
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
msgid "Close"
msgstr ""
msgid "Complete"
msgstr ""
msgid "Configuration"
msgstr ""
msgid "Confirm Emergency Stop"
msgstr ""
msgid "Connected"
msgstr ""
#, python-format
msgid "Connecting to %s"
msgstr ""
msgid "Console"
msgstr ""
msgid "Continue"
msgstr ""
msgid "Cooldown"
msgstr ""
msgid "Date"
msgstr ""
msgid "Decrease"
msgstr ""
msgid "Delete"
msgstr ""
msgid "Deselect"
msgstr ""
msgid "Disable Motors"
msgstr ""
msgid "Disable XY"
msgstr ""
msgid "Displayed Macros"
msgstr ""
msgid "Distance (mm)"
msgstr ""
#, python-format
msgid "Do you want to recover %s?"
msgstr ""
msgid "Elapsed:"
msgstr ""
msgid "Error"
msgstr ""
msgid "Estimated Time Method"
msgstr ""
msgid "Extrude"
msgstr ""
msgid "Extrusion +"
msgstr ""
msgid "Extrusion -"
msgstr ""
msgid "Failed, adjust position first"
msgstr ""
msgid "Fan"
msgstr ""
msgid "Filament Used"
msgstr ""
msgid "File"
msgstr ""
msgid "Fine Tuning"
msgstr ""
msgid "Finish"
msgstr ""
msgid ""
"Firmware\n"
"Restart"
msgstr ""
msgid "Font Size"
msgstr ""
msgid ""
"Full\n"
"Update"
msgstr ""
msgid "Go Back"
msgstr ""
msgid "Hidden"
msgstr ""
msgid "Hide"
msgstr ""
msgid "Hide sensors in Temp."
msgstr ""
msgid "Home"
msgstr ""
msgid "Home All"
msgstr ""
msgid "Home X"
msgstr ""
msgid "Home XY"
msgstr ""
msgid "Home Y"
msgstr ""
msgid "Home Z"
msgstr ""
msgid "Homing"
msgstr ""
msgid "Hostname"
msgstr ""
msgid "Icon Theme"
msgstr ""
msgid "Increase"
msgstr ""
msgid "Initializing"
msgstr ""
msgid "Initializing printer..."
msgstr ""
msgid "Interface"
msgstr ""
msgid "Invalid"
msgstr ""
msgid "Invert X"
msgstr ""
msgid "Invert Y"
msgstr ""
msgid "Invert Z"
msgstr ""
msgid ""
"Klipper\n"
"Restart"
msgstr ""
msgid "Klipper has disconnected"
msgstr ""
msgid "Klipper has encountered an error."
msgstr ""
msgid "Klipper has shutdown"
msgstr ""
msgid "Klipper is attempting to start"
msgstr ""
msgid "Klipper will reboot"
msgstr ""
msgid "Language"
msgstr ""
msgid "Large"
msgstr ""
msgid "Left:"
msgstr ""
msgid "Limits"
msgstr ""
msgid "Load"
msgstr ""
msgid "Lower Nozzle"
msgstr ""
msgid "Macro shortcut on sidebar"
msgstr ""
msgid "Macros"
msgstr ""
msgid "Main Menu"
msgstr ""
msgid "Max Accelation"
msgstr ""
msgid "Max Acceleration to Deceleration"
msgstr ""
msgid "Max Velocity"
msgstr ""
msgid "Medium"
msgstr ""
msgid "Menu"
msgstr ""
msgid "Modified"
msgstr ""
msgid "Moonraker: connected"
msgstr ""
msgid "Move"
msgstr ""
msgid "Move Distance (mm)"
msgstr ""
msgid "Name"
msgstr ""
msgid "Network"
msgstr ""
msgid "Nothing selected"
msgstr ""
msgid "Off"
msgstr ""
#, python-format
msgid "Outdated by %d"
msgstr ""
msgid "PSK for"
msgstr ""
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] ""
msgstr[1] ""
msgid "Password saved"
msgstr ""
msgid "Pause"
msgstr ""
msgid "Paused"
msgstr ""
msgid "Perform a full upgrade?"
msgstr ""
msgid "Please recompile and flash the micro-controller."
msgstr ""
msgid "Power"
msgstr ""
msgid "Power On Printer"
msgstr ""
msgid "Print"
msgstr ""
msgid "Print Control"
msgstr ""
msgid "Print Time"
msgstr ""
msgid "Printer Connections"
msgstr ""
msgid "Printing"
msgstr ""
msgid "Probe found applied offset"
msgstr ""
msgid "Profile Name:"
msgstr ""
msgid "Quad Gantry Level"
msgstr ""
msgid "Raise Nozzle"
msgstr ""
msgid "Recover Hard"
msgstr ""
msgid "Recover Soft"
msgstr ""
msgid "Reference"
msgstr ""
msgid "Restart"
msgstr ""
msgid "Resume"
msgstr ""
msgid "Retract"
msgstr ""
#, python-format
msgid "Retry #%s"
msgstr ""
msgid "Save"
msgstr ""
msgid "Save Config"
msgstr ""
msgid "Save configuration"
msgstr ""
msgid "Screen DPMS"
msgstr ""
msgid "Screen Power Off Time"
msgstr ""
msgid "Screws Adjust"
msgstr ""
msgid "Select"
msgstr ""
msgid "Send"
msgstr ""
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr ""
msgid "Set Temp"
msgstr ""
msgid "Settings"
msgstr ""
msgid "Show"
msgstr ""
msgid "Size"
msgstr ""
msgid "Slicer"
msgstr ""
msgid "Slicer Time correction (%)"
msgstr ""
msgid "Small"
msgstr ""
msgid "Sort by: "
msgstr ""
msgid "Speed (mm/s)"
msgstr ""
msgid "Speed +"
msgstr ""
msgid "Speed -"
msgstr ""
msgid "Square Corner Velocity"
msgstr ""
msgid "Start"
msgstr ""
msgid "Starting WiFi Association"
msgstr ""
msgid "Starting recovery for"
msgstr ""
msgid "Starting update for"
msgstr ""
msgid "System"
msgstr ""
msgid ""
"System\n"
"Restart"
msgstr ""
msgid ""
"System\n"
"Shutdown"
msgstr ""
msgid "Temp (°C)"
msgstr ""
msgid "Temperature"
msgstr ""
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr ""
msgid "Tool"
msgstr ""
msgid "Total:"
msgstr ""
msgid "Unknown Heater"
msgstr ""
msgid "Unload"
msgstr ""
msgid "Up To Date"
msgstr ""
msgid "Update"
msgstr ""
msgid "Updating"
msgstr ""
msgid "Uploaded"
msgstr ""
msgid "View Mesh"
msgstr ""
msgid "X+"
msgstr ""
msgid "X-"
msgstr ""
msgid "XY Move Speed (mm/s)"
msgstr ""
msgid "Y+"
msgstr ""
msgid "Y-"
msgstr ""
msgid "Z Calibrate"
msgstr ""
msgid "Z Move Speed (mm/s)"
msgstr ""
msgid "Z Position"
msgstr ""
msgid "Z Tilt"
msgstr ""
msgid "Z+"
msgstr ""
msgid "Z-"
msgstr ""
msgid "commit"
msgid_plural "commits"
msgstr[0] ""
msgstr[1] ""
msgid "dBm"
msgstr ""
msgid "hour"
msgid_plural "hours"
msgstr[0] ""
msgstr[1] ""
msgid "minutes"
msgstr ""
msgid "mm"
msgstr ""
msgid "mm/s"
msgstr ""
msgid "mm/s^2"
msgstr ""
Binary file not shown.
@@ -0,0 +1,736 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 10:46-0300\n"
"Last-Translator: alfrix\n"
"Language-Team: \n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s será actualizado a la versión"
msgid "(default)"
msgstr "(por defecto)"
msgid "24 Hour Time"
msgstr "Formato 24 Horas"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART puede solucionar el problema."
msgid "Abort"
msgstr "Cancelar"
msgid "Accept"
msgstr "Aceptar"
msgid "Actions"
msgstr "Acciones"
msgid "Add Printer"
msgstr "Agregar impresora"
msgid "Add bed mesh profile"
msgstr "Agregar pefil de malla de cama"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "¿Parada de emergencia?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Está seguro que desea cancelar esta impresión?"
msgid "Are you sure you wish to disable motors?"
msgstr "¿Está seguro que desea desactivar los motores?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Está seguro que desea reiniciar el sistema?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Está seguro que desea apagar el sistema?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Nivelar cama"
msgid "Bed Mesh"
msgstr "Malla de cama"
msgid "Bltouch found applied offset"
msgstr "Encontrado Bltouch aplicado desfase"
msgid "Calibrate"
msgstr "Calibrar"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibrado, guarde su configuración para hacerlo permanente"
msgid "Can't set above the maximum:"
msgstr "Error: Valor sobre el máximo:"
msgid "Cancel"
msgstr "Cancelar"
msgid "Cancel Print"
msgstr "Cancelar impresión"
msgid "Cancelled"
msgstr "Cancelado"
msgid "Cancelling"
msgstr "Cancelando"
msgid "Cannot connect to Moonraker"
msgstr "No se puede conectar a Moonraker"
msgid "Channel"
msgstr "Canal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Revise /tmp/KlipperScreen.log para mas información.\n"
"Por favor crear un 'issue' en GitHub para ser ayudado."
msgid "Close"
msgstr "Cerrar"
msgid "Complete"
msgstr "Completado"
msgid "Configuration"
msgstr "Ajustes"
msgid "Confirm Emergency Stop"
msgstr "Confirmar Emergencia"
msgid "Connected"
msgstr "Conectado"
#, python-format
msgid "Connecting to %s"
msgstr "Conectando a %s"
msgid "Console"
msgstr "Consola"
msgid "Continue"
msgstr "Continuar"
msgid "Cooldown"
msgstr "Enfriar"
msgid "Date"
msgstr "Fecha"
msgid "Decrease"
msgstr "Disminuir"
msgid "Delete"
msgstr "Borrar"
msgid "Deselect"
msgstr "Deseleccionar"
msgid "Disable Motors"
msgstr "Desactivar Motores"
msgid "Disable XY"
msgstr "Desactivar XY"
msgid "Displayed Macros"
msgstr "Macros mostrados"
msgid "Distance (mm)"
msgstr "Distancia (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Desea recuperar %s?"
msgid "Elapsed:"
msgstr "Tiempo:"
msgid "Error"
msgstr "Error"
msgid "Estimated Time Method"
msgstr "Método para estimar tiempo"
msgid "Extrude"
msgstr "Extruir"
msgid "Extrusion +"
msgstr "Extrusor +"
msgid "Extrusion -"
msgstr "Extrusor -"
msgid "Failed, adjust position first"
msgstr "Falló, ajuste la posición primero"
msgid "Fan"
msgstr "Ventilador"
msgid "Filament Used"
msgstr "Filamento Usado"
msgid "File"
msgstr "Archivo"
msgid "Fine Tuning"
msgstr "Ajuste Fino"
msgid "Finish"
msgstr "Cerrar"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Reiniciar\n"
"Firmware"
msgid "Font Size"
msgstr "Tamaño del texto"
msgid ""
"Full\n"
"Update"
msgstr ""
"Actualizar\n"
"Todo"
msgid "Go Back"
msgstr "Volver"
msgid "Hidden"
msgstr "Oculto"
msgid "Hide"
msgstr "Ocultar"
msgid "Hide sensors in Temp."
msgstr "Ocultar sensores en Temp."
msgid "Home"
msgstr "Inicio"
msgid "Home All"
msgstr "Origen XYZ"
msgid "Home X"
msgstr "Origen X"
msgid "Home XY"
msgstr "Origen XY"
msgid "Home Y"
msgstr "Origen Y"
msgid "Home Z"
msgstr "Origen Z"
msgid "Homing"
msgstr "Origen"
msgid "Hostname"
msgstr "Hostname"
msgid "Icon Theme"
msgstr "Tema de Iconos"
msgid "Increase"
msgstr "Aumentar"
msgid "Initializing"
msgstr "Iniciando"
msgid "Initializing printer..."
msgstr "Iniciando Impresora..."
msgid "Interface"
msgstr "Interfaz"
msgid "Invalid"
msgstr "Invalido"
msgid "Invert X"
msgstr "Invertir X"
msgid "Invert Y"
msgstr "Invertir Y"
msgid "Invert Z"
msgstr "Invertir Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Reiniciar\n"
"Klipper"
msgid "Klipper has disconnected"
msgstr "Klipper se desconectó"
msgid "Klipper has encountered an error."
msgstr "Klipper encontró un error."
msgid "Klipper has shutdown"
msgstr "Klipper se apagó"
msgid "Klipper is attempting to start"
msgstr "Klipper está intentando iniciar"
msgid "Klipper will reboot"
msgstr "Klipper se reiniciará"
msgid "Language"
msgstr "Idioma"
msgid "Large"
msgstr "Grande"
msgid "Left:"
msgstr "Restante:"
msgid "Limits"
msgstr "Limites"
msgid "Load"
msgstr "Cargar"
msgid "Lower Nozzle"
msgstr "Bajar Boquilla"
msgid "Macro shortcut on sidebar"
msgstr "Atajo a Macros en el lateral"
msgid "Macros"
msgstr "Macros"
msgid "Main Menu"
msgstr "Menú"
msgid "Max Accelation"
msgstr "Max. Aceleración"
msgid "Max Acceleration to Deceleration"
msgstr "Max. Aceleración a Desaceleración"
msgid "Max Velocity"
msgstr "Max. Velocidad"
msgid "Medium"
msgstr "Medio"
msgid "Menu"
msgstr "Menú"
msgid "Modified"
msgstr "Modificado"
msgid "Moonraker: connected"
msgstr "Moonraker: conectado"
msgid "Move"
msgstr "Mover"
msgid "Move Distance (mm)"
msgstr "Mover Distancia (mm)"
msgid "Name"
msgstr "Nombre"
msgid "Network"
msgstr "Red"
msgid "Nothing selected"
msgstr "Nada seleccionado"
msgid "Off"
msgstr "Apagar"
#, python-format
msgid "Outdated by %d"
msgstr "Desactualizado por %d"
msgid "PSK for"
msgstr "PSK para"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Paquete será actualizado"
msgstr[1] "Paquetes serán actualizados"
msgid "Password saved"
msgstr "Contraseña guardada"
msgid "Pause"
msgstr "Pausar"
msgid "Paused"
msgstr "Pausado"
msgid "Perform a full upgrade?"
msgstr " ¿Actualizar Todo?"
msgid "Please recompile and flash the micro-controller."
msgstr "Por favor recompile y flashee el micro-controlador."
msgid "Power"
msgstr "Energía"
msgid "Power On Printer"
msgstr "Encender Impresora"
msgid "Print"
msgstr "Imprimir"
msgid "Print Control"
msgstr "Control de impresión"
msgid "Print Time"
msgstr "Tiempo de impresión"
msgid "Printer Connections"
msgstr "Conexiones a impresoras"
msgid "Printing"
msgstr "Imprimiendo"
msgid "Probe found applied offset"
msgstr "Encontrado Probe aplicado desfase"
msgid "Profile Name:"
msgstr "Nombre del perfil:"
msgid "Quad Gantry Level"
msgstr "Nivelación cuádruple"
msgid "Raise Nozzle"
msgstr "Levantar Boquilla"
msgid "Recover Hard"
msgstr "Recuperar Hard"
msgid "Recover Soft"
msgstr "Recuperar Soft"
msgid "Reference"
msgstr "Referencia"
msgid "Restart"
msgstr "Reiniciar"
msgid "Resume"
msgstr "Continuar"
msgid "Retract"
msgstr "Retraer"
#, python-format
msgid "Retry #%s"
msgstr "Intento #%s"
msgid "Save"
msgstr "Guardar"
msgid "Save Config"
msgstr "Guardar Config"
msgid "Save configuration"
msgstr "Guardar Configuración"
msgid "Screen DPMS"
msgstr "Pantalla DPMS"
msgid "Screen Power Off Time"
msgstr "Apagar pantalla tras"
msgid "Screws Adjust"
msgstr "Ajustar Tornillos"
msgid "Select"
msgstr "Seleccionar"
msgid "Send"
msgstr "Enviar"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Enviando señal de encendido a: %s"
msgid "Set Temp"
msgstr "Establecer Temp"
msgid "Settings"
msgstr "Opciones"
msgid "Show"
msgstr "Mostrar"
msgid "Size"
msgstr "Tamaño"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Corrección del tiempo del Slicer (%)"
msgid "Small"
msgstr "Pequeño"
msgid "Sort by: "
msgstr "Ordenar por: "
msgid "Speed (mm/s)"
msgstr "Velocidad (mm/s)"
msgid "Speed +"
msgstr "Velocidad +"
msgid "Speed -"
msgstr "Velocidad -"
msgid "Square Corner Velocity"
msgstr "Velocidad de esquina"
msgid "Start"
msgstr "Iniciar"
msgid "Starting WiFi Association"
msgstr "Iniciando asociación WiFi"
msgid "Starting recovery for"
msgstr "Iniciando recuperación de"
msgid "Starting update for"
msgstr "Iniciando actualización de"
msgid "System"
msgstr "Sistema"
msgid ""
"System\n"
"Restart"
msgstr ""
"Reiniciar\n"
"Sistema"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Apagar\n"
"Sistema"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatura"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Para aplicar %s KlipperScreen necesita reiniciarse"
msgid "Tool"
msgstr "Herrmienta"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Calentador Desconocido"
msgid "Unload"
msgstr "Descargar"
msgid "Up To Date"
msgstr "Actualizado"
msgid "Update"
msgstr "Actualizar"
msgid "Updating"
msgstr "Actualizando"
msgid "Uploaded"
msgstr "Subido"
msgid "View Mesh"
msgstr "Ver Malla"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Velocidad XY (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Calibrar Z"
msgid "Z Move Speed (mm/s)"
msgstr "Velocidad Z (mm/s)"
msgid "Z Position"
msgstr "Posición Z"
msgid "Z Tilt"
msgstr "Inclinación Z"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "cambio"
msgstr[1] "cambios"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "hora"
msgstr[1] "horas"
msgid "minutes"
msgstr "minutos"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Desfase Z"
#~ msgid "Unknown Heater "
#~ msgstr "Calentador Desconocido "
#~ msgid "Disconnect"
#~ msgstr "Desconectar"
#~ msgid "Duration Only"
#~ msgstr "Duración"
#~ msgid "Klipper Version"
#~ msgstr "Versión de Klipper"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper encontró un error en el microcontrolador.\n"
#~ "Por favor recompile y flasheelo."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper encontró un error.\n"
#~ "Ejecute FIRMWARE_RESTART para tratar de arreglarlo."
#~ msgid "KlipperScreen Version"
#~ msgstr "Versión de KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Solo mostrar calentadores en Temp."
#~ msgid "Target"
#~ msgstr "Obejtivo"
#~ msgid "Temp"
#~ msgstr "Temp"
#~ msgid "Number Pad"
#~ msgstr "Teclado"
#~ msgid "Preheat"
#~ msgstr "Precalentar"
#~ msgid "Screen will show in less than one second"
#~ msgstr "La pantalla se mostrará en menos de un segundo"
#~ msgid "Medium (default)"
#~ msgstr "Medio (por defecto)"
#~ msgid "File Estimation (default)"
#~ msgstr "Archivo (por defecto)"
#~ msgid "..."
#~ msgstr "..."
#~ msgid "Change Printer"
#~ msgstr "Cambiar impresora"
#~ msgid "Fan Off"
#~ msgstr "Apagar"
#~ msgid "Fan On"
#~ msgstr "Encender"
#~ msgid "Fast"
#~ msgstr "Rápido"
#~ msgid "Set Speed"
#~ msgstr "Establecer"
#~ msgid "Slow"
#~ msgstr "Lento"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Cancel Change"
#~ msgstr "Cancelar"
#~ msgid "Control"
#~ msgstr "Control"
#~ msgid "Load Average"
#~ msgstr "Carga media"
@@ -0,0 +1,765 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 10:50-0300\n"
"Last-Translator: O. Robardet\n"
"Language-Team: \n"
"Language: fr_FR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s sera mis à jour vers la version"
msgid "(default)"
msgstr "(défaut)"
msgid "24 Hour Time"
msgstr "Format 24 heures"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART peut résoudre le problème."
msgid "Abort"
msgstr "Annuler"
msgid "Accept"
msgstr "Accepter"
msgid "Actions"
msgstr "Actions"
msgid "Add Printer"
msgstr "Ajouter une imprimante"
msgid "Add bed mesh profile"
msgstr "Ajouter un profil de maillage"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Êtes-vous sûr de vouloir exécuter l'arrêt d'urgence?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Êtes-vous sûr de vouloir annuler cette impression?"
msgid "Are you sure you wish to disable motors?"
msgstr "Voulez-vous vraiment désactiver les moteurs ?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Êtes-vous sûr de vouloir redémarrer le système?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Êtes-vous sûr de vouloir arrêter le système?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Nivelage du plateau"
msgid "Bed Mesh"
msgstr "Maillage du plateau"
msgid "Bltouch found applied offset"
msgstr "Bltouch a trouvé le décalage appliqué"
msgid "Calibrate"
msgstr "Étalonner"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibré, enregistrez la configuration pour la rendre permanente"
msgid "Can't set above the maximum:"
msgstr "Impossible de définir au-dessus du maximum:"
msgid "Cancel"
msgstr "Annuler"
msgid "Cancel Print"
msgstr "Annuler l'impression"
msgid "Cancelled"
msgstr "Annulé"
msgid "Cancelling"
msgstr "Annulation"
msgid "Cannot connect to Moonraker"
msgstr "Impossible de se connecter à Moonraker"
msgid "Channel"
msgstr "Canal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Vérifiez /tmp/KlipperScreen.log pour plus d'informations.\n"
"SVP envoyez une requête sur GitHub pour obtenir de l'aide."
msgid "Close"
msgstr "Fermer"
msgid "Complete"
msgstr "Finalisé"
msgid "Configuration"
msgstr "Configuration"
msgid "Confirm Emergency Stop"
msgstr "Confirmer l'arrêt d'urgence"
msgid "Connected"
msgstr "Connecté"
#, python-format
msgid "Connecting to %s"
msgstr "Connexion à %s"
msgid "Console"
msgstr "Console"
msgid "Continue"
msgstr "Continuer"
msgid "Cooldown"
msgstr "Refroidir"
msgid "Date"
msgstr "Date"
msgid "Decrease"
msgstr "Diminuer"
msgid "Delete"
msgstr "Effacer"
msgid "Deselect"
msgstr "Désélectionner"
msgid "Disable Motors"
msgstr "Désactiver les moteurs"
msgid "Disable XY"
msgstr "Désactiver XY"
msgid "Displayed Macros"
msgstr "Macros affichées"
msgid "Distance (mm)"
msgstr "Distance (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Voulez-vous récupérer %s ?"
msgid "Elapsed:"
msgstr "Écoulé:"
msgid "Error"
msgstr "Erreur"
msgid "Estimated Time Method"
msgstr "Méthode d'estimation du temps"
msgid "Extrude"
msgstr "Extruder"
msgid "Extrusion +"
msgstr "Extrusion +"
msgid "Extrusion -"
msgstr "Extrusion -"
msgid "Failed, adjust position first"
msgstr "Échec, ajustez d'abord la position"
msgid "Fan"
msgstr "Ventilateur"
msgid "Filament Used"
msgstr "Filament utilisé"
msgid "File"
msgstr "Fichier"
msgid "Fine Tuning"
msgstr "Réglages fins"
msgid "Finish"
msgstr "Fin"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Micrologiciel\n"
"Redémarrage"
msgid "Font Size"
msgstr "Taille de police"
msgid ""
"Full\n"
"Update"
msgstr ""
"Plein\n"
"Mettre à jour"
msgid "Go Back"
msgstr "Retourner"
msgid "Hidden"
msgstr "Caché"
msgid "Hide"
msgstr "Cacher"
msgid "Hide sensors in Temp."
msgstr "Masquer les capteurs dans Temp."
msgid "Home"
msgstr "Accueil"
msgid "Home All"
msgstr "Origine XYZ"
msgid "Home X"
msgstr "Origine X"
msgid "Home XY"
msgstr "Origine XY"
msgid "Home Y"
msgstr "Origine Y"
msgid "Home Z"
msgstr "Origine Z"
msgid "Homing"
msgstr "Origine"
msgid "Hostname"
msgstr "Hostname"
msgid "Icon Theme"
msgstr "Thème icônes"
msgid "Increase"
msgstr "Augmenter"
msgid "Initializing"
msgstr "Initialisation"
msgid "Initializing printer..."
msgstr "Démarrage de l'imprimante..."
msgid "Interface"
msgstr "Interface"
msgid "Invalid"
msgstr "Invalide"
msgid "Invert X"
msgstr "Inverser X"
msgid "Invert Y"
msgstr "Inverser Y"
msgid "Invert Z"
msgstr "Inverser Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Redémarrage"
msgid "Klipper has disconnected"
msgstr "Klipper s'est déconnecté"
msgid "Klipper has encountered an error."
msgstr "Klipper a rencontré une erreur."
msgid "Klipper has shutdown"
msgstr "Klipper s'est arrêté"
msgid "Klipper is attempting to start"
msgstr "Klipper tente de démarrer"
msgid "Klipper will reboot"
msgstr "Klipper va redémarrer"
msgid "Language"
msgstr "Langue"
msgid "Large"
msgstr "Grand"
msgid "Left:"
msgstr "Restant:"
msgid "Limits"
msgstr "Limites"
msgid "Load"
msgstr "Charger"
msgid "Lower Nozzle"
msgstr "Rapprocher la buse"
msgid "Macro shortcut on sidebar"
msgstr "Raccourci macro sur la barre latérale"
msgid "Macros"
msgstr "Macros"
msgid "Main Menu"
msgstr "Menu principal"
msgid "Max Accelation"
msgstr "Accélération maximale"
msgid "Max Acceleration to Deceleration"
msgstr "Accélération maximale à décélération"
msgid "Max Velocity"
msgstr "Vélocité maximale"
msgid "Medium"
msgstr "Moyen"
msgid "Menu"
msgstr "Menu"
msgid "Modified"
msgstr "Modifié"
msgid "Moonraker: connected"
msgstr "Moonraker : connecté"
msgid "Move"
msgstr "Mouvement"
msgid "Move Distance (mm)"
msgstr "Distance de mouvement (mm)"
msgid "Name"
msgstr "Nom"
msgid "Network"
msgstr "Réseau"
msgid "Nothing selected"
msgstr "Rien de sélectionné"
msgid "Off"
msgstr "Éteindre"
#, python-format
msgid "Outdated by %d"
msgstr "Obsolète de %d"
msgid "PSK for"
msgstr "PSK pour"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Le paquet sera mis à jour"
msgstr[1] "Forfaits seront mis à jour"
msgid "Password saved"
msgstr "Mot de passe enregistré"
msgid "Pause"
msgstr "Pause"
msgid "Paused"
msgstr "En pause"
msgid "Perform a full upgrade?"
msgstr "Effectuer une mise à jour complète ?"
msgid "Please recompile and flash the micro-controller."
msgstr "Veuillez recompiler et flasher le microcontrôleur."
msgid "Power"
msgstr "Alimentation"
msgid "Power On Printer"
msgstr "Allumer l'imprimante"
msgid "Print"
msgstr "Imprimer"
msgid "Print Control"
msgstr "Contrôle de l'impression"
msgid "Print Time"
msgstr "Temps d'impression"
msgid "Printer Connections"
msgstr "Connexions aux imprimantes"
msgid "Printing"
msgstr "Impression"
msgid "Probe found applied offset"
msgstr "Probe a trouvé le décalage appliqué"
msgid "Profile Name:"
msgstr "Nom de profil:"
msgid "Quad Gantry Level"
msgstr "Portique à quatre niveaux"
msgid "Raise Nozzle"
msgstr "Éloigner la buse"
msgid "Recover Hard"
msgstr "Récupération \"--hard\""
msgid "Recover Soft"
msgstr "Récupérer \"--soft\""
msgid "Reference"
msgstr "Référence"
msgid "Restart"
msgstr "Redémarrer"
msgid "Resume"
msgstr "Reprendre"
msgid "Retract"
msgstr "Rétracter"
#, python-format
msgid "Retry #%s"
msgstr "Réessayez #%s"
msgid "Save"
msgstr "Enregistrer"
msgid "Save Config"
msgstr "Enregistrer la config"
msgid "Save configuration"
msgstr "Enregistrer la configuration"
msgid "Screen DPMS"
msgstr "Écran DPMS"
msgid "Screen Power Off Time"
msgstr "Délai d'extinction de l'écran"
msgid "Screws Adjust"
msgstr "Ajuster les vis"
msgid "Select"
msgstr "Sélectionner"
msgid "Send"
msgstr "Envoyer"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Envoi du signal de mise sous tension à : %s"
msgid "Set Temp"
msgstr "Régler la temp"
msgid "Settings"
msgstr "Paramètres"
msgid "Show"
msgstr "Montrer"
msgid "Size"
msgstr "Dimension"
msgid "Slicer"
msgstr "Trancheur"
msgid "Slicer Time correction (%)"
msgstr "Correction du temps de trancheuse (%)"
msgid "Small"
msgstr "Petit"
msgid "Sort by: "
msgstr "Trier par: "
msgid "Speed (mm/s)"
msgstr "Vitesse de déplacement (mm/s)"
msgid "Speed +"
msgstr "Vitesse +"
msgid "Speed -"
msgstr "Vitesse -"
msgid "Square Corner Velocity"
msgstr "Vélocité des angles droits"
msgid "Start"
msgstr "Démarrer"
msgid "Starting WiFi Association"
msgstr "Démarrage de l'association Wi-Fi"
msgid "Starting recovery for"
msgstr "Démarrage de la récupération pour"
msgid "Starting update for"
msgstr "Démarrage de la mise à jour pour"
msgid "System"
msgstr "Système"
msgid ""
"System\n"
"Restart"
msgstr ""
"Redémarrer\n"
"le système"
msgid ""
"System\n"
"Shutdown"
msgstr "Arrêt du Système"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Température"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Pour appliquer %s KlipperScreen doit être redémarré"
msgid "Tool"
msgstr "Outil"
msgid "Total:"
msgstr "Total:"
msgid "Unknown Heater"
msgstr "Chauffage inconnu"
msgid "Unload"
msgstr "Décharger"
msgid "Up To Date"
msgstr "À jour"
msgid "Update"
msgstr "Mise à jour"
#, fuzzy
msgid "Updating"
msgstr "Mise à jour"
msgid "Uploaded"
msgstr "Téléchargé"
msgid "View Mesh"
msgstr "Voir le maillage"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Vitesse de déplacement XY (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Calibration Z"
msgid "Z Move Speed (mm/s)"
msgstr "Vitesse de déplacement Z (mm/s)"
msgid "Z Position"
msgstr "Position Z"
msgid "Z Tilt"
msgstr "Z Tilt"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "changement"
msgstr[1] "changements"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "heur"
msgstr[1] "heures"
msgid "minutes"
msgstr "minutes"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Décalage Z"
#~ msgid "Unknown Heater "
#~ msgstr "Chauffage inconnu "
#~ msgid "Disconnect"
#~ msgstr "Déconnecter"
#~ msgid "Duration Only"
#~ msgstr "Durée seulement"
#~ msgid "Klipper Version"
#~ msgstr "Version de Klipper"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper a rencontré une erreur avec le micro-contrôleur.\n"
#~ "Veuillez recompiler et reflasher."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper a rencontré une erreur. \n"
#~ "Taper FIRMWARE_RESTART pour fixer l'erreur."
#~ msgid "KlipperScreen Version"
#~ msgstr "Version de KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Afficher uniquement les éléments chauffants en temp."
#~ msgid "Target"
#~ msgstr "Cibler"
#~ msgid "Temp"
#~ msgstr "Temp"
#~ msgid "Number Pad"
#~ msgstr "Clavier"
#~ msgid "Preheat"
#~ msgstr "Préchauffer"
#~ msgid "Screen will show in less than one second"
#~ msgstr "L'écran s'affichera en moins d'une seconde"
#~ msgid "Medium (default)"
#~ msgstr "Moyen (défaut)"
#~ msgid "File Estimation (default)"
#~ msgstr "Fichier (défaut)"
#~ msgid "..."
#~ msgstr "..."
#~ msgid "Change Printer"
#~ msgstr "Changer d'imprimante"
#~ msgid "Fan Off"
#~ msgstr "Arrêter "
#~ msgid "Fan On"
#~ msgstr "Allumer"
#~ msgid "Fast"
#~ msgstr "Rapide"
#~ msgid "Set Speed"
#~ msgstr "Définir"
#~ msgid "Slow"
#~ msgstr "Lent"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Cancel Change"
#~ msgstr "Annuler le changement"
#~ msgid "Control"
#~ msgstr "Controle"
#~ msgid "Load Average"
#~ msgstr "Charge moyenne"
#~ msgid "Network Info"
#~ msgstr "Information réseau "
#~ msgid "Back"
#~ msgstr "Retour"
#~ msgid "Extrusion"
#~ msgstr "Extrusion"
#~ msgid "Fan +"
#~ msgstr "Ventilateur+"
#~ msgid "Fan -"
#~ msgstr "Ventilateur-"
#~ msgid "Speed"
#~ msgstr "Vitesse"
#~ msgid "System Information"
#~ msgstr "Info systeme"
#~ msgid "Time Elapsed"
#~ msgstr "Temps écoulé"
#~ msgid "Time Left"
#~ msgstr "temps restant"
#~ msgid "Tool 1"
#~ msgstr "Outil 1"
@@ -0,0 +1,769 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: Klipperscreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 10:54-0300\n"
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
"Language-Team: \n"
"Language: he_IL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : n==2 ? 1 : n>10 && n%10==0 ? "
"2 : 3);\n"
"X-Generator: Poedit 3.0.1\n"
"X-Poedit-SourceCharset: UTF-8\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s יעודכן לגרסה"
msgid "(default)"
msgstr "(בְּרִירַת מֶחדָל)"
msgid "24 Hour Time"
msgstr "זמן 24 שעות"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART עשוי לפתור את הבעיה."
msgid "Abort"
msgstr "בטל"
msgid "Accept"
msgstr "אשר"
msgid "Actions"
msgstr "פעולות"
msgid "Add Printer"
msgstr "הוסף מדפסת"
msgid "Add bed mesh profile"
msgstr "הוסף פרופיל רשת למיטה"
msgid "Are you sure you want to run Emergency Stop?"
msgstr ""
"האם אתה בטוח שברצונך להדפיסהאם אתה בטוח שברצונך להפעיל את עצירת החירום?"
msgid "Are you sure you wish to cancel this print?"
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
msgid "Are you sure you wish to disable motors?"
msgstr "האם אתה בטוח שברצונך להשבית מנועים?"
msgid "Are you sure you wish to reboot the system?"
msgstr "האם אתה בטוח שברצונך לאתחל את המערכת?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "האם אתה בטוח שברצונך לסגור את המערכת?"
msgid "Auto"
msgstr "אוטומטי"
msgid "Auto-scroll"
msgstr "גלילה אוטומטית"
msgid "Bed Level"
msgstr "פילוס מיטה"
msgid "Bed Mesh"
msgstr "מיפוי מיטה"
msgid "Bltouch found applied offset"
msgstr "Bltouch נמצא היסט מוחל"
msgid "Calibrate"
msgstr "לְדַרֵג"
msgid "Calibrated, save configuration to make it permanent"
msgstr "מכויל, שמור את התצורה כדי שהיא תהיה קבועה"
msgid "Can't set above the maximum:"
msgstr "לא ניתן להגדיר מעל המקסימום:"
msgid "Cancel"
msgstr "ביטול"
msgid "Cancel Print"
msgstr "בטל הדפסה"
msgid "Cancelled"
msgstr "מבוטל"
msgid "Cancelling"
msgstr "מבטל"
msgid "Cannot connect to Moonraker"
msgstr "לא ניתן להתחבר ל-Moonraker"
msgid "Channel"
msgstr "עָרוּץ"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"בדוק KlipperScreen.log, בתיקית tmp ליותר פרטים.\n"
"אנא שלח דוח תקלה ב- GITHUB, לעזרה."
msgid "Close"
msgstr "סגור"
msgid "Complete"
msgstr "לְהַשְׁלִים"
msgid "Configuration"
msgstr "קונפיגורציה"
msgid "Confirm Emergency Stop"
msgstr "אשר עצירת חירום"
msgid "Connected"
msgstr "מְחוּבָּר"
#, python-format
msgid "Connecting to %s"
msgstr "מתחבר ל- %s"
msgid "Console"
msgstr "לְנַחֵם"
msgid "Continue"
msgstr "לְהַמשִׁיך"
msgid "Cooldown"
msgstr "תירגע"
msgid "Date"
msgstr "תַאֲרִיך"
msgid "Decrease"
msgstr "לְהַקְטִין"
msgid "Delete"
msgstr "לִמְחוֹק"
msgid "Deselect"
msgstr "בטל את הבחירה"
msgid "Disable Motors"
msgstr "השבת מנועים"
msgid "Disable XY"
msgstr "השבת את XY"
msgid "Displayed Macros"
msgstr "מוצגים מאקרו"
msgid "Distance (mm)"
msgstr "מרחק (מ\"מ)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "האם ברצונך לשחזר %s?"
msgid "Elapsed:"
msgstr "זמן שעבר:"
msgid "Error"
msgstr "שְׁגִיאָה"
msgid "Estimated Time Method"
msgstr "שיטת זמן משוערת"
msgid "Extrude"
msgstr "אקסטרוזיה"
msgid "Extrusion +"
msgstr "שיחול +"
msgid "Extrusion -"
msgstr "שיחול -"
msgid "Failed, adjust position first"
msgstr "נכשל, תחילה התאם את המיקום"
msgid "Fan"
msgstr "מאוורר"
msgid "Filament Used"
msgstr "נימה בשימוש"
msgid "File"
msgstr "קוֹבֶץ"
msgid "Fine Tuning"
msgstr "כוונון עדין"
msgid "Finish"
msgstr "סיים"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"קושחה\n"
"איתחול"
msgid "Font Size"
msgstr "גודל טקסט"
msgid ""
"Full\n"
"Update"
msgstr ""
"מלא\n"
"עדכון"
msgid "Go Back"
msgstr "חזרה"
msgid "Hidden"
msgstr "מוּסתָר"
msgid "Hide"
msgstr "להתחבא"
msgid "Hide sensors in Temp."
msgstr "הסתר חיישנים בטמפ'."
msgid "Home"
msgstr "איפוס"
msgid "Home All"
msgstr "איפוס XYZ"
msgid "Home X"
msgstr "איפוס X"
msgid "Home XY"
msgstr "איפוס XY"
msgid "Home Y"
msgstr "איפוס Y"
msgid "Home Z"
msgstr "איפוס Z"
msgid "Homing"
msgstr "איפוס צירים"
msgid "Hostname"
msgstr "Hostname"
msgid "Icon Theme"
msgstr "נושא אייקון"
msgid "Increase"
msgstr "הגדל"
msgid "Initializing"
msgstr "מאתחל"
msgid "Initializing printer..."
msgstr "מאתחל מדפסת..."
msgid "Interface"
msgstr "מִמְשָׁק"
msgid "Invalid"
msgstr "לא חוקי"
msgid "Invert X"
msgstr "הפוך את X"
msgid "Invert Y"
msgstr "הפוך את Y"
msgid "Invert Z"
msgstr "הפוך את Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"קליפר\n"
"איתחול"
msgid "Klipper has disconnected"
msgstr "קליפר התנתק"
msgid "Klipper has encountered an error."
msgstr "קילפר נתקל בבעיה."
msgid "Klipper has shutdown"
msgstr "קליפר נכבה"
msgid "Klipper is attempting to start"
msgstr "קליפר מנסה לרוץ"
msgid "Klipper will reboot"
msgstr "קליפר יבצע אתחול"
msgid "Language"
msgstr "שפה"
msgid "Large"
msgstr "גָדוֹל"
msgid "Left:"
msgstr "זמן שנותר:"
msgid "Limits"
msgstr "גבולות"
msgid "Load"
msgstr "לִטעוֹן"
msgid "Lower Nozzle"
msgstr "הנמך דיזה"
msgid "Macro shortcut on sidebar"
msgstr "קיצור מקרו בסרגל הצד"
msgid "Macros"
msgstr "מקרואים"
msgid "Main Menu"
msgstr "תפריט ראשי"
msgid "Max Accelation"
msgstr "האצה מרבית"
msgid "Max Acceleration to Deceleration"
msgstr "האצה מרבית להאטה"
msgid "Max Velocity"
msgstr "מהירות מרבית"
msgid "Medium"
msgstr "ממוצע"
msgid "Menu"
msgstr "תַפרִיט"
msgid "Modified"
msgstr "שונה"
msgid "Moonraker: connected"
msgstr "Moonraker: מחובר"
msgid "Move"
msgstr "הזזת צירים"
msgid "Move Distance (mm)"
msgstr "מרחק הזזה (מ''מ)"
msgid "Name"
msgstr "שֵׁם"
msgid "Network"
msgstr "רשת"
msgid "Nothing selected"
msgstr "שום דבר לא נבחר"
msgid "Off"
msgstr "כבוי"
#, python-format
msgid "Outdated by %d"
msgstr "מיושן על ידי %d"
msgid "PSK for"
msgstr "PSK עבור"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "חבילה אחת תעודכן"
msgstr[1] "חבילות יעודכנו"
msgstr[2] "חבילות יעודכנו"
msgstr[3] "חבילות יעודכנו"
msgid "Password saved"
msgstr "הסיסמה נשמרה"
msgid "Pause"
msgstr "השהיה"
msgid "Paused"
msgstr "מושהה"
msgid "Perform a full upgrade?"
msgstr "לבצע שדרוג מלא?"
msgid "Please recompile and flash the micro-controller."
msgstr "אנא הידור מחדש והבזק את המיקרו-בקר."
msgid "Power"
msgstr "הפעלה"
msgid "Power On Printer"
msgstr "הפעל מדפסת"
msgid "Print"
msgstr "הדפס"
msgid "Print Control"
msgstr "שליטה בהדפסה"
msgid "Print Time"
msgstr "זמן הדפסה"
msgid "Printer Connections"
msgstr "חיבורי מדפסת"
msgid "Printing"
msgstr "מדפיס"
msgid "Probe found applied offset"
msgstr "Probe נמצא היסט מוחל"
msgid "Profile Name:"
msgstr "שם פרופיל:"
msgid "Quad Gantry Level"
msgstr "רמת מרפסת גנטרי"
msgid "Raise Nozzle"
msgstr "הגבה"
msgid "Recover Hard"
msgstr "לְהַחלִים Hard"
msgid "Recover Soft"
msgstr "לְהַחלִים Soft"
msgid "Reference"
msgstr "התייחסות"
msgid "Restart"
msgstr "אתחל"
msgid "Resume"
msgstr "המשך"
msgid "Retract"
msgstr "שיחול לאחור"
#, python-format
msgid "Retry #%s"
msgstr "נסה שוב #%s"
msgid "Save"
msgstr "להציל"
msgid "Save Config"
msgstr "שמור קונפיג"
msgid "Save configuration"
msgstr "שמור תצורה"
msgid "Screen DPMS"
msgstr "DPMS מסך"
msgid "Screen Power Off Time"
msgstr "זמן כיבוי מסך"
msgid "Screws Adjust"
msgstr "סידור ברגים"
msgid "Select"
msgstr "בחר"
msgid "Send"
msgstr "לִשְׁלוֹחַ"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "שולח אות הפעלה אל: %s"
msgid "Set Temp"
msgstr "הגדר טמפ'"
msgid "Settings"
msgstr "הגדרות"
msgid "Show"
msgstr "הופעה"
msgid "Size"
msgstr "גודל"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "תיקון זמן פריסה (%)"
msgid "Small"
msgstr "קָטָן"
msgid "Sort by: "
msgstr "מיין לפי: "
msgid "Speed (mm/s)"
msgstr "מהירות (מ\"מ/שניות)"
msgid "Speed +"
msgstr "מהירות +"
msgid "Speed -"
msgstr "מהירות -"
msgid "Square Corner Velocity"
msgstr "מהירות פינה מרובעת"
msgid "Start"
msgstr "הַתחָלָה"
msgid "Starting WiFi Association"
msgstr "מתחיל איגוד WiFi"
msgid "Starting recovery for"
msgstr "החל התאוששות עבור"
msgid "Starting update for"
msgstr "מתחיל עדכון עבור"
msgid "System"
msgstr "מערכת"
msgid ""
"System\n"
"Restart"
msgstr ""
"מערכת\n"
"אתחול"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"מערכת\n"
"לכבות"
msgid "Temp (°C)"
msgstr "טמפ' (°C)"
msgid "Temperature"
msgstr "טמפרטורה"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "כדי ליישם %s צריך להפעיל מחדש את KlipperScreen"
msgid "Tool"
msgstr "כלי"
msgid "Total:"
msgstr "סך הכל:"
msgid "Unknown Heater"
msgstr "מחמם לא ידוע"
msgid "Unload"
msgstr "לִפְרוֹק"
msgid "Up To Date"
msgstr "עדכני"
msgid "Update"
msgstr "עדכון"
msgid "Updating"
msgstr "עִדכּוּן"
msgid "Uploaded"
msgstr "הועלה"
msgid "View Mesh"
msgstr "צפה ברשת"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "מהירות תנועה XY (מ\"מ/שנייה)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "כיול Z"
msgid "Z Move Speed (mm/s)"
msgstr "מהירות תנועה Z (מ\"מ/שניות)"
msgid "Z Position"
msgstr "מיקום Z"
msgid "Z Tilt"
msgstr "הטיה Z"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "שינוי"
msgstr[1] "שינויים"
msgstr[2] "שינויים"
msgstr[3] "שינויים"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "שעה"
msgstr[1] "שעות"
msgstr[2] "שעות"
msgstr[3] "שעות"
msgid "minutes"
msgstr "דקות"
msgid "mm"
msgstr "מ''מ"
msgid "mm/s"
msgstr "מ\"מ/ש"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "הפרז גובה Z"
#~ msgid "Unknown Heater "
#~ msgstr "מחמם לא ידוע "
#~ msgid "Disconnect"
#~ msgstr "לְנַתֵק"
#~ msgid "Duration Only"
#~ msgstr "משך הזמן בלבד"
#~ msgid "Klipper Version"
#~ msgstr "גרסא של קליפר"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "קליפר נתקל בשגיאה בבקר המיקרו.\n"
#~ "אנא הידור מחדש והבהב."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "קליפר נתקל בבעיה. \n"
#~ "נסה להריץ firmware_restart, כדי לפתור את הבעיה."
#~ msgid "KlipperScreen Version"
#~ msgstr "גרסא של KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "הצג רק מחממים בטמפ'."
#~ msgid "Target"
#~ msgstr "יַעַד"
#~ msgid "Temp"
#~ msgstr "טמפ'"
#~ msgid "Number Pad"
#~ msgstr "פד נומרי"
#~ msgid "Preheat"
#~ msgstr "חימום מראש"
#~ msgid "Screen will show in less than one second"
#~ msgstr "המסך יופיע תוך פחות משנייה אחת"
#~ msgid "Medium (default)"
#~ msgstr "בינוני (ברירת מחדל)"
#~ msgid "File Estimation (default)"
#~ msgstr "קובץ (ברירת מחדל)"
#~ msgid "Fan Off"
#~ msgstr "כבה מאוורר"
#~ msgid "Fan On"
#~ msgstr "הפעל מאוורר"
#~ msgid "Fast"
#~ msgstr "מהיר"
#~ msgid "Set Speed"
#~ msgstr "קבע מהירות"
#~ msgid "Slow"
#~ msgstr "האט"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Cancel Change"
#~ msgstr "בטל שינוי"
#~ msgid "Control"
#~ msgstr "שליטה"
#~ msgid "Load Average"
#~ msgstr "עומס ממוצע"
#~ msgid "Network Info"
#~ msgstr "מידע על הרשת"
#~ msgid "Back"
#~ msgstr "חזור"
#~ msgid "Extrusion"
#~ msgstr "שיחול"
#~ msgid "Fan +"
#~ msgstr "מאוורר +"
#~ msgid "Fan -"
#~ msgstr "מאוורר -"
#~ msgid "Speed"
#~ msgstr "מהירות"
#~ msgid "System Information"
#~ msgstr "מידע אודות המערכת"
#~ msgid "Time Elapsed"
#~ msgstr "זמן שעבר"
#~ msgid "Time Left"
#~ msgstr "זמן שנשאר"
#~ msgid "Tool 1"
#~ msgstr "כלי 1"
@@ -0,0 +1,674 @@
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: AntoszHUN\n"
"Language-Team: \n"
"Language: hu_HU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s verzió frissítése"
msgid "(default)"
msgstr "(alapértelmezett)"
msgid "24 Hour Time"
msgstr "24 Órás Idő"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "A FIRMWARE_RESTART javíthatja a problémát."
msgid "Abort"
msgstr "Megszakít"
msgid "Accept"
msgstr "Elfogad"
msgid "Actions"
msgstr "Műveletek"
msgid "Add Printer"
msgstr "Nyomtató hozzáadása"
msgid "Add bed mesh profile"
msgstr "Ágyháló profil hozzáadása"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Biztosan Vészleállítást végez?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Biztosan megszakítja ezt a nyomtatást?"
msgid "Are you sure you wish to disable motors?"
msgstr "Biztos benne, hogy le szeretné tiltani a motorokat?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Biztos benne, hogy újra akarja indítani a rendszert?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Biztos, hogy le szeretné állítani a rendszert?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Automatikus görgetés"
msgid "Bed Level"
msgstr "Ágyszint"
msgid "Bed Mesh"
msgstr "Ágyháló"
msgid "Bltouch found applied offset"
msgstr "A Bltouch alkalmazott eltolást talált"
msgid "Calibrate"
msgstr "Kalibrálás"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibrálva! Mentse el a konfigurációt, hogy az állandó legyen"
msgid "Can't set above the maximum:"
msgstr "Nem állítható a maximum fölé:"
msgid "Cancel"
msgstr "Mégse"
msgid "Cancel Print"
msgstr "Nyomtatás megszakítása"
msgid "Cancelled"
msgstr "Törölve"
msgid "Cancelling"
msgstr "Törlés"
msgid "Cannot connect to Moonraker"
msgstr "Nem lehet csatlakozni a Moonrakerhez"
msgid "Channel"
msgstr "Csatorna"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Nézd a /tmp/KlipperScreen.log további információért.\n"
"Segítségért küldj be egy hibajegyet a GitHubon."
msgid "Close"
msgstr "Bezárás"
msgid "Complete"
msgstr "Befejezve"
msgid "Configuration"
msgstr "Konfiguráció"
msgid "Confirm Emergency Stop"
msgstr "Erősítse meg a vészleállítást"
msgid "Connected"
msgstr "Csatlakoztatva"
#, python-format
msgid "Connecting to %s"
msgstr "Csatlakozás %s"
msgid "Console"
msgstr "Konzol"
msgid "Continue"
msgstr "Folytat"
msgid "Cooldown"
msgstr "Lehűtés"
msgid "Date"
msgstr "Dátum"
msgid "Decrease"
msgstr "Csökkent"
msgid "Delete"
msgstr "Töröl"
msgid "Deselect"
msgstr "Kijelölés törlése"
msgid "Disable Motors"
msgstr "Motorok letiltása"
msgid "Disable XY"
msgstr "XY Letiltása"
msgid "Displayed Macros"
msgstr "Megjelenített makrók"
msgid "Distance (mm)"
msgstr "Távolság (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Vissza akarja állítani %s-t?"
msgid "Elapsed:"
msgstr "Eltelt:"
msgid "Error"
msgstr "Hiba"
msgid "Estimated Time Method"
msgstr "Becsült idő módszer"
msgid "Extrude"
msgstr "Száladagolás"
msgid "Extrusion +"
msgstr "Extrudálás +"
msgid "Extrusion -"
msgstr "Extrudálás -"
msgid "Failed, adjust position first"
msgstr "Sikertelen! Előbb állítsd be a pozíciót"
msgid "Fan"
msgstr "Hűtés"
msgid "Filament Used"
msgstr "Használt nyomtatószál"
msgid "File"
msgstr "Fájl"
msgid "Fine Tuning"
msgstr "Finomhangolás"
msgid "Finish"
msgstr "Befejezve"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Újraindítása"
msgid "Font Size"
msgstr "Betűméret"
msgid ""
"Full\n"
"Update"
msgstr ""
"Teljes\n"
"Frissítés"
msgid "Go Back"
msgstr "Visszalépés"
msgid "Hidden"
msgstr "Rejtett"
msgid "Hide"
msgstr "Elrejt"
msgid "Hide sensors in Temp."
msgstr "Szenzorok elrejtése Hőfok."
msgid "Home"
msgstr "Kezdőpontok"
msgid "Home All"
msgstr "X-Y-Z kezdőpont"
msgid "Home X"
msgstr "X kezdőpont"
msgid "Home XY"
msgstr "XY kezdőpont"
msgid "Home Y"
msgstr "Y kezdőpont"
msgid "Home Z"
msgstr "Z kezdőpont"
msgid "Homing"
msgstr "Kezdőpont"
msgid "Hostname"
msgstr "Gazdanév"
msgid "Icon Theme"
msgstr "Ikon téma"
msgid "Increase"
msgstr "Növel"
msgid "Initializing"
msgstr "Inicializálás"
msgid "Initializing printer..."
msgstr "Nyomtató inicializálása..."
msgid "Interface"
msgstr "Felület"
msgid "Invalid"
msgstr "Érvénytelen"
msgid "Invert X"
msgstr "Fordított X"
msgid "Invert Y"
msgstr "Fordított Y"
msgid "Invert Z"
msgstr "Fordított Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Újraindítása"
msgid "Klipper has disconnected"
msgstr "Klipper szétkapcsolt"
msgid "Klipper has encountered an error."
msgstr "A Klipper hibát észlelt."
msgid "Klipper has shutdown"
msgstr "A Klipper leállt"
msgid "Klipper is attempting to start"
msgstr "Klipper megpróbálja elindítani"
msgid "Klipper will reboot"
msgstr "A Klipper újraindul"
msgid "Language"
msgstr "Nyelv"
msgid "Large"
msgstr "Nagy"
msgid "Left:"
msgstr "Bal:"
msgid "Limits"
msgstr "Korlátok"
msgid "Load"
msgstr "Betöltés"
msgid "Lower Nozzle"
msgstr "Fúvóka le"
msgid "Macro shortcut on sidebar"
msgstr "Makró parancsikon az oldalsávon"
msgid "Macros"
msgstr "Makrók"
msgid "Main Menu"
msgstr "Főmenü"
msgid "Max Accelation"
msgstr "Max gyorsulás"
msgid "Max Acceleration to Deceleration"
msgstr "Lassulás max gyorsulása"
msgid "Max Velocity"
msgstr "Max sebesség"
msgid "Medium"
msgstr "Közepes"
msgid "Menu"
msgstr "Menü"
msgid "Modified"
msgstr "Módosított"
msgid "Moonraker: connected"
msgstr "Moonraker: csatlakoztatva"
msgid "Move"
msgstr "Mozgatás"
msgid "Move Distance (mm)"
msgstr "Mozgási távolság (mm)"
msgid "Name"
msgstr "Név"
msgid "Network"
msgstr "Hálózat"
msgid "Nothing selected"
msgstr "Nincs kiválasztva"
msgid "Off"
msgstr "Ki"
#, python-format
msgid "Outdated by %d"
msgstr "%d által elavult"
msgid "PSK for"
msgstr "PSK-nak"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "A csomag frissítésre kerül"
msgstr[1] "Csomag frissül"
msgid "Password saved"
msgstr "Jelszó mentve"
msgid "Pause"
msgstr "Szünet"
msgid "Paused"
msgstr "Szüneteltetve"
msgid "Perform a full upgrade?"
msgstr "Teljes frissítést hajt végre?"
msgid "Please recompile and flash the micro-controller."
msgstr "Fordítsa újra és frissítse a mikrovezérlőt."
msgid "Power"
msgstr "Bekapcsolás"
msgid "Power On Printer"
msgstr "Nyomtató bekapcsolása"
msgid "Print"
msgstr "Nyomtatás"
msgid "Print Control"
msgstr "Nyomtatásvezérlés"
msgid "Print Time"
msgstr "Nyomtatási idő"
msgid "Printer Connections"
msgstr "Nyomtató csatlakozások"
msgid "Printing"
msgstr "Nyomtatás"
msgid "Probe found applied offset"
msgstr "A szonda alkalmazott eltolást talált"
msgid "Profile Name:"
msgstr "Profil név:"
msgid "Quad Gantry Level"
msgstr "Négy állású szint"
msgid "Raise Nozzle"
msgstr "Fúvóka fel"
msgid "Recover Hard"
msgstr "Hárdver visszaállítása"
msgid "Recover Soft"
msgstr "Program visszaállítása"
msgid "Reference"
msgstr "Referencia"
msgid "Restart"
msgstr "Újraindítás"
msgid "Resume"
msgstr "Folytat"
msgid "Retract"
msgstr "Visszahúz"
#, python-format
msgid "Retry #%s"
msgstr "Újra #%s"
msgid "Save"
msgstr "Mentés"
msgid "Save Config"
msgstr "Konfiguráció mentése"
msgid "Save configuration"
msgstr "Konfiguráció mentése"
msgid "Screen DPMS"
msgstr "Képernyő DPMS"
msgid "Screen Power Off Time"
msgstr "Kijelző kikapcsolási ideje"
msgid "Screws Adjust"
msgstr "Csavarok beállítása"
msgid "Select"
msgstr "Kijelölés"
msgid "Send"
msgstr "Küldés"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Bekapcsolási jel küldése ide: %s"
msgid "Set Temp"
msgstr "Hőfok megadás"
msgid "Settings"
msgstr "Beállítások"
msgid "Show"
msgstr "Mutat"
msgid "Size"
msgstr "Méret"
msgid "Slicer"
msgstr "Szeletelő"
msgid "Slicer Time correction (%)"
msgstr "Szeletelő idő javítása (%)"
msgid "Small"
msgstr "Kicsi"
msgid "Sort by: "
msgstr "Sorrend: "
msgid "Speed (mm/s)"
msgstr "Sebesség (mm/s)"
msgid "Speed +"
msgstr "Sebesség +"
msgid "Speed -"
msgstr "Sebesség -"
msgid "Square Corner Velocity"
msgstr "Sebesség a sarkokban"
msgid "Start"
msgstr "Indítás"
msgid "Starting WiFi Association"
msgstr "A WiFi Egyesület elindítása"
msgid "Starting recovery for"
msgstr "Helyreállítás megkezdése"
msgid "Starting update for"
msgstr "Frissítés indítása"
msgid "System"
msgstr "Rendszer"
msgid ""
"System\n"
"Restart"
msgstr ""
"Rendszer\n"
"Újraindítása"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Rendszer\n"
"Leállitás"
msgid "Temp (°C)"
msgstr "Hőmérséklet (°C)"
msgid "Temperature"
msgstr "Hőfok"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "A %s KlipperScreen alkalmazásához újra kell indítani"
msgid "Tool"
msgstr "Eszköz"
msgid "Total:"
msgstr "Teljes:"
msgid "Unknown Heater"
msgstr "Ismeretlen melegítő"
msgid "Unload"
msgstr "Kiadás"
msgid "Up To Date"
msgstr "Naprakész"
msgid "Update"
msgstr "Frissít"
msgid "Updating"
msgstr "Frissítés"
msgid "Uploaded"
msgstr "Feltöltve"
msgid "View Mesh"
msgstr "Háló nézet"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY Mozgási seb. (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z Kalibrálás"
msgid "Z Move Speed (mm/s)"
msgstr "Z Mozgási seb. (mm/s)"
msgid "Z Position"
msgstr "Z Pozíció"
msgid "Z Tilt"
msgstr "Z Dőlés"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "változás"
msgstr[1] "változás"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "óra"
msgstr[1] "óra"
msgid "minutes"
msgstr "perc"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z Eltolás"
#~ msgid "Unknown Heater "
#~ msgstr "Ismeretlen melegítő "
#~ msgid "Disconnect"
#~ msgstr "Leválasztás"
#~ msgid "Duration Only"
#~ msgstr "Csak időtartam"
#~ msgid "Klipper Version"
#~ msgstr "Klipper verzió"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "A Klipper hibát észlelt a mikrovezérlővel kapcsolatban.\n"
#~ "Fordítsa újra és töltse fel."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "A Klipper hibát észlelt.\n"
#~ "A probléma megoldásához küldjön ki egy FIRMWARE_RESTART-ot."
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen verzió"
Binary file not shown.
@@ -0,0 +1,704 @@
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: pappicio\n"
"Language-Team: \n"
"Language: it\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s verrà aggiornato alla versione"
msgid "(default)"
msgstr "(predef.)"
msgid "24 Hour Time"
msgstr "24H"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART potrebbe risolvere il problema."
msgid "Abort"
msgstr "Annulla"
msgid "Accept"
msgstr "Accetta"
msgid "Actions"
msgstr "Azioni"
msgid "Add Printer"
msgstr "Aggiungi Stampante"
msgid "Add bed mesh profile"
msgstr "Aggiungi Profilo Mesh"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Sei sicuro di voler eseguire l'arresto di emergenza?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Cancellare la Stampa?"
msgid "Are you sure you wish to disable motors?"
msgstr "Sei sicuro di voler disabilitare i motori?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Riavviare il Sistema?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Spegnere il Sistema?"
msgid "Auto"
msgstr "Auto"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Livello del letto"
msgid "Bed Mesh"
msgstr "Rete letto"
msgid "Bltouch found applied offset"
msgstr "Bltouch ha trovato l'offset applicato"
msgid "Calibrate"
msgstr "Calibra"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Calibrato, salva la configurazione per renderla permanente"
msgid "Can't set above the maximum:"
msgstr "Impossibile impostare al di sopra del massimo:"
msgid "Cancel"
msgstr "Annulla"
msgid "Cancel Print"
msgstr "Annulla Stampa"
msgid "Cancelled"
msgstr "Annullato"
msgid "Cancelling"
msgstr "Annullamento"
msgid "Cannot connect to Moonraker"
msgstr "Impossibile connettersi a Moonraker"
msgid "Channel"
msgstr "Canale"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Verifica /tmp/KlipperScreen.log per info.\n"
"Aggiungi un problema sul GitHub."
msgid "Close"
msgstr "Chiudi"
msgid "Complete"
msgstr "Completo"
msgid "Configuration"
msgstr "Impostazioni"
msgid "Confirm Emergency Stop"
msgstr "Conferma arresto di emergenza"
msgid "Connected"
msgstr "Connesso"
#, python-format
msgid "Connecting to %s"
msgstr "Connetto a %s"
msgid "Console"
msgstr "Console"
msgid "Continue"
msgstr "Continua"
msgid "Cooldown"
msgstr "Raffredda"
msgid "Date"
msgstr "Data"
msgid "Decrease"
msgstr "Diminuisci"
msgid "Delete"
msgstr "Elimina"
msgid "Deselect"
msgstr "Deseleziona"
msgid "Disable Motors"
msgstr "Disab. Motori"
msgid "Disable XY"
msgstr "Disab. XY"
msgid "Displayed Macros"
msgstr "Mostra/Nascondi Macros"
msgid "Distance (mm)"
msgstr "Distanza (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Vuoi recuperare %s?"
msgid "Elapsed:"
msgstr "Trascorso:"
msgid "Error"
msgstr "Errore"
msgid "Estimated Time Method"
msgstr "Metodo Tempo stimato"
msgid "Extrude"
msgstr "Estrudi"
msgid "Extrusion +"
msgstr "Estrudi +"
msgid "Extrusion -"
msgstr "Estrudi -"
msgid "Failed, adjust position first"
msgstr "Fallito, regolare prima la posizione"
msgid "Fan"
msgstr "Ventola"
msgid "Filament Used"
msgstr "Filamento Usato"
msgid "File"
msgstr "File"
msgid "Fine Tuning"
msgstr "Messa a Punto"
msgid "Finish"
msgstr "Finito"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Riavvio"
msgid "Font Size"
msgstr "Dimensione del testo"
msgid ""
"Full\n"
"Update"
msgstr ""
"Completo\n"
"Aggiornare"
msgid "Go Back"
msgstr "Indietro"
msgid "Hidden"
msgstr "Nascosto"
msgid "Hide"
msgstr "Nascondere"
msgid "Hide sensors in Temp."
msgstr "Nascondi sensori in Temp."
msgid "Home"
msgstr "Inizio"
msgid "Home All"
msgstr "Home XYZ"
msgid "Home X"
msgstr "Home X"
msgid "Home XY"
msgstr "Home XY"
msgid "Home Y"
msgstr "Home Y"
msgid "Home Z"
msgstr "Home Z"
msgid "Homing"
msgstr "Homing"
msgid "Hostname"
msgstr "Hostname"
msgid "Icon Theme"
msgstr "Tema Icone"
msgid "Increase"
msgstr "Incrementa"
msgid "Initializing"
msgstr "Inizializzo"
msgid "Initializing printer..."
msgstr "Inizializzo stampante..."
msgid "Interface"
msgstr "Interfaccia"
msgid "Invalid"
msgstr "Non valido"
msgid "Invert X"
msgstr "Inverti X"
msgid "Invert Y"
msgstr "Inverti Y"
msgid "Invert Z"
msgstr "Inverti Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Riavvio"
msgid "Klipper has disconnected"
msgstr "Klipper è disconnesso"
msgid "Klipper has encountered an error."
msgstr "Klipper ha riscontrato un errore."
msgid "Klipper has shutdown"
msgstr "Klipper è spento"
msgid "Klipper is attempting to start"
msgstr "Klipper si sta avviando"
msgid "Klipper will reboot"
msgstr "Klipper sarà riavviato"
msgid "Language"
msgstr "Lingua"
msgid "Large"
msgstr "Grande"
msgid "Left:"
msgstr "Restante:"
msgid "Limits"
msgstr "Imp. Limiti"
msgid "Load"
msgstr "Carica"
msgid "Lower Nozzle"
msgstr "Abbassa ugello"
msgid "Macro shortcut on sidebar"
msgstr "Macros sulla barra laterale"
msgid "Macros"
msgstr "Macros"
msgid "Main Menu"
msgstr "Menu Principale"
msgid "Max Accelation"
msgstr "Acceleraz. Massima"
msgid "Max Acceleration to Deceleration"
msgstr "Da acceleraz. Massima a Deceleraz. Massima"
msgid "Max Velocity"
msgstr "Velocità Massima"
msgid "Medium"
msgstr "Medio"
msgid "Menu"
msgstr "Menù"
msgid "Modified"
msgstr "Modificato"
msgid "Moonraker: connected"
msgstr "Moonraker: connesso"
msgid "Move"
msgstr "Muovi"
msgid "Move Distance (mm)"
msgstr "Distanza Movimento (mm)"
msgid "Name"
msgstr "Nome"
msgid "Network"
msgstr "Rete"
msgid "Nothing selected"
msgstr "Niente selezionato"
msgid "Off"
msgstr "Off"
#, python-format
msgid "Outdated by %d"
msgstr "Obsoleto di %d"
msgid "PSK for"
msgstr "PSK per"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Pacchetto verrà aggiornato"
msgstr[1] "I pacchetti verranno aggiornati"
msgid "Password saved"
msgstr "Password salvata"
msgid "Pause"
msgstr "Pausa"
msgid "Paused"
msgstr "In Pausa"
msgid "Perform a full upgrade?"
msgstr "Eseguire un aggiornamento completo?"
msgid "Please recompile and flash the micro-controller."
msgstr "Si prega di ricompilare e flashare il microcontrollore."
msgid "Power"
msgstr "Power"
msgid "Power On Printer"
msgstr "Accendi Stampante"
msgid "Print"
msgstr "Stampa"
msgid "Print Control"
msgstr "Controllo Stampa"
msgid "Print Time"
msgstr "Tempo di Stampa"
msgid "Printer Connections"
msgstr "Connessioni Stampante"
msgid "Printing"
msgstr "In Stampa"
msgid "Probe found applied offset"
msgstr "Probe ha trovato l'offset applicato"
msgid "Profile Name:"
msgstr "Nome Profilo:"
msgid "Quad Gantry Level"
msgstr "Quad Gantry Level"
msgid "Raise Nozzle"
msgstr "Alza Ugello"
msgid "Recover Hard"
msgstr "Recuperare Hard"
msgid "Recover Soft"
msgstr "Recuperare Soft"
msgid "Reference"
msgstr "Riferimento"
msgid "Restart"
msgstr "Riavvia"
msgid "Resume"
msgstr "Riprendi"
msgid "Retract"
msgstr "Ritrai"
#, python-format
msgid "Retry #%s"
msgstr "Riprova #%s"
msgid "Save"
msgstr "Salva"
msgid "Save Config"
msgstr "Salva Config"
msgid "Save configuration"
msgstr "Salva configurazione"
msgid "Screen DPMS"
msgstr "Schermo DPMS"
msgid "Screen Power Off Time"
msgstr "Tempo Spegnim. Schermo"
msgid "Screws Adjust"
msgstr "Calibra Screws"
msgid "Select"
msgstr "Selezionare"
msgid "Send"
msgstr "Spedire"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Invio del segnale di accensione a: %s"
msgid "Set Temp"
msgstr "Imposta temp"
msgid "Settings"
msgstr "Impostazioni"
msgid "Show"
msgstr "Mostrare"
msgid "Size"
msgstr "Grandezza"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Affettatrice Correzione del tempo (%)"
msgid "Small"
msgstr "Piccola"
msgid "Sort by: "
msgstr "Ordine: "
msgid "Speed (mm/s)"
msgstr "Velocità (mm/s)"
msgid "Speed +"
msgstr "Velocità+"
msgid "Speed -"
msgstr "Velocità-"
msgid "Square Corner Velocity"
msgstr "Velocità Square Corner"
msgid "Start"
msgstr "Iniziare"
msgid "Starting WiFi Association"
msgstr "Avvio dell'Associazione WiFi"
msgid "Starting recovery for"
msgstr "Inizio del recupero per"
msgid "Starting update for"
msgstr "Avvio aggiornamento per"
msgid "System"
msgstr "Sistema"
msgid ""
"System\n"
"Restart"
msgstr ""
"Riavvia\n"
"Sistema"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Spegni\n"
"Sistema"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatura"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Riavvia KlipperScreen per applicare %s"
msgid "Tool"
msgstr "Strumenti"
msgid "Total:"
msgstr "Totale:"
msgid "Unknown Heater"
msgstr "Riscaldatore sconosciuto"
msgid "Unload"
msgstr "Scaricare"
msgid "Up To Date"
msgstr "Aggiornato"
msgid "Update"
msgstr "Aggiorna"
msgid "Updating"
msgstr "In aggiornamento"
msgid "Uploaded"
msgstr "Caricato"
msgid "View Mesh"
msgstr "Visual. Mesh"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Velocità di spostamento XY (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Calibra Z"
msgid "Z Move Speed (mm/s)"
msgstr "Velocità di spostamento Z (mm/s)"
msgid "Z Position"
msgstr "Posizione Z"
msgid "Z Tilt"
msgstr "Z Tilt"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "cambio"
msgstr[1] "modifiche"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "ora"
msgstr[1] "ore"
msgid "minutes"
msgstr "minuti"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Offset Z"
#~ msgid "Unknown Heater "
#~ msgstr "Riscaldatore sconosciuto "
#~ msgid "Disconnect"
#~ msgstr "Sconnetti"
#~ msgid "Duration Only"
#~ msgstr "Solo Durata"
#~ msgid "Klipper Version"
#~ msgstr "Versione Klipper"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper ha riscontrato un errore con il microcontrollore.\n"
#~ "Si prega di ricompilare e flashare."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper ha riscontrato un errore.\n"
#~ "esegui un FIRMWARE_RESTART per tentare di risolvere il problema."
#~ msgid "KlipperScreen Version"
#~ msgstr "Versione KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Mostra solo riscaldatori in temp."
#~ msgid "Target"
#~ msgstr "Obbiettivo"
#~ msgid "Temp"
#~ msgstr "Temp"
#~ msgid "Number Pad"
#~ msgstr "Tastierino"
#~ msgid "Preheat"
#~ msgstr "Preriscalda"
#~ msgid "Screen will show in less than one second"
#~ msgstr "Lo schermo verrà visualizzato a breve"
#~ msgid "Medium (default)"
#~ msgstr "Media (predef.)"
#~ msgid "File Estimation (default)"
#~ msgstr "Stima file (predef.)"
#~ msgid "..."
#~ msgstr "..."
#~ msgid "Change Printer"
#~ msgstr "Cambia Stampante"
+209
View File
@@ -0,0 +1,209 @@
<?xml version="1.0" encoding="UTF-8"?>
<keyboard>
<options>
<!-- not yet implemented -->
</options>
<layout id="defualt keyboard">
<row>
<key obey-caps='true'>
<default display="q" />
<shifted display="Q" />
<mod1 display="1" />
<mod2 display="~" />
</key>
<key obey-caps='true'>
<default display="w" />
<shifted display="W" />
<mod1 display="2" />
<mod2 display="`" />
</key>
<key obey-caps='true'>
<default display="e" />
<shifted display="E" />
<mod1 display="3" />
<mod2 display="|" />
</key>
<key obey-caps='true'>
<default display="r" />
<shifted display="R" />
<mod1 display="4" />
<mod2 display="•" />
</key>
<key obey-caps='true'>
<default display="t" />
<shifted display="T" />
<mod1 display="5" />
<mod2 display="√" />
</key>
<key obey-caps='true'>
<default display="y" />
<shifted display="Y" />
<mod1 display="6" />
<mod2 display="π" />
</key>
<key obey-caps='true'>
<default display="u" />
<shifted display="U" />
<mod1 display="7" />
<mod2 display="÷" />
</key>
<key obey-caps='true'>
<default display="i" />
<shifted display="I" />
<mod1 display="8" />
<mod2 display="×" />
</key>
<key obey-caps='true'>
<default display="o" />
<shifted display="O" />
<mod1 display="9" />
<mod2 display="¶" />
</key>
<key obey-caps='true'>
<default display="p" />
<shifted display="P" />
<mod1 display="0" />
<mod2 display="∆" />
</key>
</row>
<row>
<key obey-caps='true'>
<default display="Caps" action="modifier:caps" />
<shifted display="Caps" action="modifier:caps" />
<mod1 display="@" />
<mod2 display="£" />
</key>
<key obey-caps='true'>
<default display="a" />
<shifted display="A" />
<mod1 display="#" />
<mod2 display="¢" />
</key>
<key obey-caps='true'>
<default display="s" />
<shifted display="S" />
<mod1 display="$" />
<mod2 display="€" />
</key>
<key obey-caps='true'>
<default display="d" />
<shifted display="D" />
<mod1 display="_" />
<mod2 display="¥" />
</key>
<key obey-caps='true'>
<default display="f" />
<shifted display="F" />
<mod1 display="&amp;" />
<mod2 display="^" />
</key>
<key obey-caps='true'>
<default display="g" />
<shifted display="G" />
<mod1 display="-" />
<mod2 display="°" />
</key>
<key obey-caps='true'>
<default display="h" />
<shifted display="H" />
<mod1 display="+" />
<mod2 display="=" />
</key>
<key obey-caps='true'>
<default display="j" />
<shifted display="J" />
<mod1 display="(" />
<mod2 display="{" />
</key>
<key obey-caps='true'>
<default display="k" />
<shifted display="K" />
<mod1 display=")" />
<mod2 display="}" />
</key>
<key obey-caps='true'>
<default display="l" />
<shifted display="L" />
<mod1 display="/" />
<mod2 display="\" />
</key>
</row>
<row>
<key obey-caps='true'>
<default display="↑" action="modifier:shift" />
</key>
<key obey-caps='true'>
<default display="z" />
<shifted display="Z" />
<mod1 display="*" />
<mod2 display="%" />
</key>
<key obey-caps='true'>
<default display="x" />
<shifted display="X" />
<mod1 display='"' />
<mod2 display="©" />
</key>
<key obey-caps='true'>
<default display="c" />
<shifted display="C" />
<mod1 display="'" />
<mod2 display="®" />
</key>
<key obey-caps='true'>
<default display="v" />
<shifted display="V" />
<mod1 display=":" />
<mod2 display="™" />
</key>
<key obey-caps='true'>
<default display="b" />
<shifted display="B" />
<mod1 display=";" />
<mod2 display="✓" />
</key>
<key obey-caps='true'>
<default display="n" />
<shifted display="N" />
<mod1 display="!" />
<mod2 display="[" />
</key>
<key obey-caps='true'>
<default display="m" />
<shifted display="M" />
<mod1 display="?" />
<mod2 display="]" />
</key>
<key obey-caps='true'>
<default display="⌫" action="backspace" />
</key>
</row>
<row>
<key>
<default display="?123" action="modifier:mod1" />
</key>
<key>
<default display="=\&lt;" action="modifier:mod2" />
</key>
<key>
<default display="," />
<mod2 display="&lt;" />
</key>
<key width="6000" fill="true">
<default display=" " action="space" />
</key>
<key>
<default display="." />
<mod2 display="&gt;" />
</key>
<key width="1000">
<!-- <default display="◀┛" action="return"/> -->
<default display="◀┛" action="return"/>
</key>
</row>
</layout>
</keyboard>
@@ -0,0 +1,690 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:06-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: pl_PL\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 "
"|| n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s będzie uaktualnionych do wersji"
msgid "(default)"
msgstr "(domyślny)"
msgid "24 Hour Time"
msgstr "Zegar 24-godzinny"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART może rozwiązać problem."
msgid "Abort"
msgstr "Odwołaj"
msgid "Accept"
msgstr "Akceptuj"
msgid "Actions"
msgstr "Akcje"
msgid "Add Printer"
msgstr "Dodaj drukarkę"
msgid "Add bed mesh profile"
msgstr "Dodaj profil siatki stołu"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Czy na pewno chcesz Awaryjnie Zatrzymać?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Czy na pewno chcesz odwołać drukowanie?"
msgid "Are you sure you wish to disable motors?"
msgstr "Czy na pewno chcesz wyłączyć silniki?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Czy na pewno chcesz ponownie uruchomić system?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Czy na pewno chcesz wyłączyć system?"
msgid "Auto"
msgstr "Automatyczny"
msgid "Auto-scroll"
msgstr "Auto-scroll"
msgid "Bed Level"
msgstr "Poziom stołu"
msgid "Bed Mesh"
msgstr "Poziom siatki stołu"
msgid "Bltouch found applied offset"
msgstr "Bltouch znalazł zastosowane przesunięcie"
msgid "Calibrate"
msgstr "Kalibracja"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Skalibrowano, zapisz konfigurację aby została na stałe"
msgid "Can't set above the maximum:"
msgstr "Nie można ustawić powyżej maksymum:"
msgid "Cancel"
msgstr "Odwołaj"
msgid "Cancel Print"
msgstr "Odwołaj drukowanie"
msgid "Cancelled"
msgstr "Odwołano"
msgid "Cancelling"
msgstr "Odwoływanie trwa"
msgid "Cannot connect to Moonraker"
msgstr "Nie można połączyć się z Moonrakerem"
msgid "Channel"
msgstr "Kanał"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Sprawdź /tmp/KlipperScreen.log aby uzyskać więcej informacji.\n"
"Proszę zgłosić usterkę na GitHub by uzyskać pomoc."
msgid "Close"
msgstr "Zamknij"
msgid "Complete"
msgstr "Kompletna"
msgid "Configuration"
msgstr "Konfiguracja"
msgid "Confirm Emergency Stop"
msgstr "Potwierdź Awaryjny Stop"
msgid "Connected"
msgstr "Połączono"
#, python-format
msgid "Connecting to %s"
msgstr "Łączenie do %s"
msgid "Console"
msgstr "Konsola"
msgid "Continue"
msgstr "Kontynuacja"
msgid "Cooldown"
msgstr "Studzenie"
msgid "Date"
msgstr "Data"
msgid "Decrease"
msgstr "Obniż"
msgid "Delete"
msgstr "Skasuj"
msgid "Deselect"
msgstr "Odznacz"
msgid "Disable Motors"
msgstr "Wyłącz Silniki"
msgid "Disable XY"
msgstr "Odłącz XY"
msgid "Displayed Macros"
msgstr "Wyświetlone Makra"
msgid "Distance (mm)"
msgstr "Dystans (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Czy chcesz dokończyć %s?"
msgid "Elapsed:"
msgstr "Czas Trwania:"
msgid "Error"
msgstr "Błąd"
msgid "Estimated Time Method"
msgstr "Sposób Oszacowania Czasu"
msgid "Extrude"
msgstr "Extruduj"
msgid "Extrusion +"
msgstr "Ekstruzja +"
msgid "Extrusion -"
msgstr "Ekstruzja -"
msgid "Failed, adjust position first"
msgstr "Nie udało się, najpierw ustaw pozycję"
msgid "Fan"
msgstr "Wentylator"
msgid "Filament Used"
msgstr "Filament w Użytku"
msgid "File"
msgstr "Plik"
msgid "Fine Tuning"
msgstr "Regulacja Precyzyjna"
msgid "Finish"
msgstr "Zakończ"
#, fuzzy
msgid ""
"Firmware\n"
"Restart"
msgstr "Firmware Restart"
msgid "Font Size"
msgstr "Rozmiar trzcionki"
msgid ""
"Full\n"
"Update"
msgstr ""
"Pełny\n"
"Aktualizacja"
msgid "Go Back"
msgstr "Powróć"
msgid "Hidden"
msgstr "Ukryty"
msgid "Hide"
msgstr "Schowaj"
msgid "Hide sensors in Temp."
msgstr "Ukryj czujniki w Temp."
msgid "Home"
msgstr "Baza"
msgid "Home All"
msgstr "Baza Wszystkich"
msgid "Home X"
msgstr "Baza X"
msgid "Home XY"
msgstr "Baza XY"
msgid "Home Y"
msgstr "Baza Y"
msgid "Home Z"
msgstr "Baza Z"
msgid "Homing"
msgstr "Bazowanie"
msgid "Hostname"
msgstr "Nazwa hosta"
msgid "Icon Theme"
msgstr "Motyw Ikon"
msgid "Increase"
msgstr "Zwiększ"
msgid "Initializing"
msgstr "Startowanie"
msgid "Initializing printer..."
msgstr "Drukarka Startuje..."
msgid "Interface"
msgstr "Interfejs"
msgid "Invalid"
msgstr "Nieprawidłowy"
msgid "Invert X"
msgstr "Odwróć X"
msgid "Invert Y"
msgstr "Odwróć Y"
msgid "Invert Z"
msgstr "Odwróć Z"
#, fuzzy
msgid ""
"Klipper\n"
"Restart"
msgstr "Restart Klippera"
msgid "Klipper has disconnected"
msgstr "Klipper się rozłączył"
msgid "Klipper has encountered an error."
msgstr "Klipper napotkał błąd."
msgid "Klipper has shutdown"
msgstr "Klipper się wyłączył"
msgid "Klipper is attempting to start"
msgstr "Klipper próbuje wystartować"
msgid "Klipper will reboot"
msgstr "Klipper będzie się restartował"
msgid "Language"
msgstr "Język"
msgid "Large"
msgstr "Duży"
msgid "Left:"
msgstr "Lewo:"
msgid "Limits"
msgstr "Limity"
msgid "Load"
msgstr "Ładuj"
msgid "Lower Nozzle"
msgstr "Obniż dyszę"
msgid "Macro shortcut on sidebar"
msgstr "Skrót do makr na pasku bocznym"
msgid "Macros"
msgstr "Makro"
msgid "Main Menu"
msgstr "Główne Menu"
msgid "Max Accelation"
msgstr "Maks akceleracja"
msgid "Max Acceleration to Deceleration"
msgstr "Maks Przyśpieszenie i Opóźnienie"
msgid "Max Velocity"
msgstr "Maks Prędkość"
msgid "Medium"
msgstr "Średni"
msgid "Menu"
msgstr "Menu"
msgid "Modified"
msgstr "Zmodyfikowane"
msgid "Moonraker: connected"
msgstr "Moonraker: podłączony"
msgid "Move"
msgstr "Ruch"
msgid "Move Distance (mm)"
msgstr "Odległość Ruchu (mm)"
msgid "Name"
msgstr "Nazwa"
msgid "Network"
msgstr "Sieć"
msgid "Nothing selected"
msgstr "Nic nie wybrano"
msgid "Off"
msgstr "Wyłącz"
#, python-format
msgid "Outdated by %d"
msgstr "Nieaktualne przez %d"
msgid "PSK for"
msgstr "PSK dla"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Pakiet zostanie zaktualizowany"
msgstr[1] "Pakiety zostaną zaktualizowane"
msgstr[2] "Pakiety zostaną zaktualizowane"
msgid "Password saved"
msgstr "Hasło zostało zapisane"
msgid "Pause"
msgstr "Pauza"
msgid "Paused"
msgstr "Zapauzowane"
msgid "Perform a full upgrade?"
msgstr "Przeprowadzić pełną aktualizację?"
msgid "Please recompile and flash the micro-controller."
msgstr "Proszę przekompilować i sflashować mikrokontroler."
msgid "Power"
msgstr "Zasilanie"
msgid "Power On Printer"
msgstr "Zasilanie włączone"
msgid "Print"
msgstr "Drukuj"
msgid "Print Control"
msgstr "Kontrola Druku"
msgid "Print Time"
msgstr "Czas Druku"
msgid "Printer Connections"
msgstr "Połączenia Drukarki"
msgid "Printing"
msgstr "Drukujemy"
msgid "Probe found applied offset"
msgstr "Probe znalazł zastosowane przesunięcie"
msgid "Profile Name:"
msgstr "Nazwa Profilu:"
msgid "Quad Gantry Level"
msgstr "Poziom Bramy"
msgid "Raise Nozzle"
msgstr "Podnieś dyszę"
msgid "Recover Hard"
msgstr "Odzyskaj Twardo"
msgid "Recover Soft"
msgstr "Odzyskaj Miękko"
msgid "Reference"
msgstr "Sprawdzenie"
msgid "Restart"
msgstr "Restartuj"
msgid "Resume"
msgstr "Dokończ"
msgid "Retract"
msgstr "Cofnij"
#, python-format
msgid "Retry #%s"
msgstr "Spróbuj ponownie #%s"
msgid "Save"
msgstr "Zapisz"
msgid "Save Config"
msgstr "Zapisz Konfigurację"
msgid "Save configuration"
msgstr "Zapisz konfigurację"
msgid "Screen DPMS"
msgstr "Ekran DPMS"
msgid "Screen Power Off Time"
msgstr "Czas wygaszania ekranu"
msgid "Screws Adjust"
msgstr "Popraw śruby"
msgid "Select"
msgstr "Zaznacz"
msgid "Send"
msgstr "Wysłać"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Wysyłam sygnał włączenia do: %s"
msgid "Set Temp"
msgstr "Ustaw Temperaturę"
msgid "Settings"
msgstr "Ustawienia"
msgid "Show"
msgstr "Pokaż"
msgid "Size"
msgstr "Rozmiar"
msgid "Slicer"
msgstr "Slicer"
msgid "Slicer Time correction (%)"
msgstr "Korekta czasu krajalnicy (%)"
msgid "Small"
msgstr "Mały"
msgid "Sort by: "
msgstr "Sortuj wg: "
msgid "Speed (mm/s)"
msgstr "Prędkość (mm/s)"
msgid "Speed +"
msgstr "Prędkość +"
msgid "Speed -"
msgstr "Prędkość -"
msgid "Square Corner Velocity"
msgstr "Prędkość w narożniku kwadratowym"
msgid "Start"
msgstr "Start"
msgid "Starting WiFi Association"
msgstr "Rozpoczęcie stowarzyszenia WiFi"
msgid "Starting recovery for"
msgstr "Rozpoczęcie odzyskiwania dla"
msgid "Starting update for"
msgstr "Zacznij uaktualnienie dla"
msgid "System"
msgstr "System"
msgid ""
"System\n"
"Restart"
msgstr ""
"Restart\n"
"Systemu"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Wyłączanie\n"
" systemu"
msgid "Temp (°C)"
msgstr "Temp (°C)"
msgid "Temperature"
msgstr "Temperatura"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Aby zastosować %s KlipperScreen musi zostać ponownie uruchomiony"
msgid "Tool"
msgstr "Narzędzie"
msgid "Total:"
msgstr "Całkowity:"
msgid "Unknown Heater"
msgstr "Nieznany Podgrzewacz"
msgid "Unload"
msgstr "Wyładuj"
msgid "Up To Date"
msgstr "Aktualne"
msgid "Update"
msgstr "Uaktualnienie"
msgid "Updating"
msgstr "Aktualizacja"
msgid "Uploaded"
msgstr "Przesłane"
msgid "View Mesh"
msgstr "Wyświetl siatkę"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Prędkość ruchu XY (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y0"
msgid "Z Calibrate"
msgstr "Kalibracja Z"
msgid "Z Move Speed (mm/s)"
msgstr "Prędkość ruchu Z (mm/s)"
msgid "Z Position"
msgstr "Pozycja Z"
msgid "Z Tilt"
msgstr "Przechył Z"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "zmiana"
msgstr[1] "zmiany"
msgstr[2] "zmiany"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "godzina"
msgstr[1] "godziny"
msgstr[2] "godzin"
msgid "minutes"
msgstr "minut"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s^2"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Przesunięcie Z"
#~ msgid "Unknown Heater "
#~ msgstr "Nieznany Podgrzewacz "
#~ msgid "Disconnect"
#~ msgstr "Rozłącz"
#~ msgid "Duration Only"
#~ msgstr "Tylko Przebieg"
#~ msgid "Klipper Version"
#~ msgstr "Wersja Klippera"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper napotkał błąd z mikrokontrolerem.\n"
#~ "Prosimy o ponowną kompilację i flashowanie."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper napotkał błąd.\n"
#~ "Wykonaj FIRMWARE_RESTART, aby spróbować naprawić problem."
#~ msgid "KlipperScreen Version"
#~ msgstr "Wersja KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Pokaż tylko grzejniki w temp."
#~ msgid "Target"
#~ msgstr "Cel"
#~ msgid "Temp"
#~ msgstr "Temp"
@@ -0,0 +1,738 @@
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
#
# Jakob Kais <schpuntik@freenet.de>, 2021.
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:10-0300\n"
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
"Language-Team: \n"
"Language: ru_RU\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n"
"X-Poedit-Flags-xgettext: --add-comments\n"
#, python-format
msgid "%s will be updated to version"
msgstr "% s будет обновлен до версии"
msgid "(default)"
msgstr "(дефолт)"
msgid "24 Hour Time"
msgstr "24-часовой формат"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART может решить проблему."
msgid "Abort"
msgstr "Отменить"
msgid "Accept"
msgstr "Применить"
msgid "Actions"
msgstr "Действия"
msgid "Add Printer"
msgstr "Добавить принтер"
msgid "Add bed mesh profile"
msgstr "Добавить профиль сетки стола"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Вы уверены, что хотите запустить аварийную остановку?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Вы хотите отменить эту печать?"
msgid "Are you sure you wish to disable motors?"
msgstr "Вы уверены, что хотите отключить двигатели?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Вы уверены что хотите перезагрузить систему?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Вы хотите выключить принтер?"
msgid "Auto"
msgstr "Авто"
msgid "Auto-scroll"
msgstr "Автопрокрутка"
msgid "Bed Level"
msgstr "Уровень стола"
msgid "Bed Mesh"
msgstr "Сетка стола"
msgid "Bltouch found applied offset"
msgstr "Bltouch обнаружил примененное смещение"
msgid "Calibrate"
msgstr "Калибровка"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Откалибровано, сохраните конфигурацию, чтобы сделать ее постоянной"
msgid "Can't set above the maximum:"
msgstr "Невозможно установить выше максимума:"
msgid "Cancel"
msgstr "Отменить"
msgid "Cancel Print"
msgstr "Отменить печать"
msgid "Cancelled"
msgstr "Отменено"
msgid "Cancelling"
msgstr "Отменить"
msgid "Cannot connect to Moonraker"
msgstr "Не могу подключиться к Moonraker"
msgid "Channel"
msgstr "Канал"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Проверьте /tmp/KlipperScreen.log для дополнитольной информации.\n"
"Создайте issues на GitHub что-бы получить помощь."
msgid "Close"
msgstr "Закрыть"
msgid "Complete"
msgstr "Готово"
msgid "Configuration"
msgstr "Параметр"
msgid "Confirm Emergency Stop"
msgstr "Подтвердить аварийную остановку"
msgid "Connected"
msgstr "Соединенный"
#, python-format
msgid "Connecting to %s"
msgstr "Соединенный с %s"
msgid "Console"
msgstr "Консоль"
msgid "Continue"
msgstr "Продолжить"
msgid "Cooldown"
msgstr "Остудить"
msgid "Date"
msgstr "Дата"
msgid "Decrease"
msgstr "Уменьшить"
msgid "Delete"
msgstr "Удалить"
msgid "Deselect"
msgstr "Отменить выбор"
msgid "Disable Motors"
msgstr "Откл. моторы"
msgid "Disable XY"
msgstr "Отключить XY"
msgid "Displayed Macros"
msgstr "Показать макросы"
msgid "Distance (mm)"
msgstr "Расстояние (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Вы хотите восстановить% s?"
msgid "Elapsed:"
msgstr "Прошло:"
msgid "Error"
msgstr "Ошибка"
msgid "Estimated Time Method"
msgstr "Расчётное время"
msgid "Extrude"
msgstr "Заправить"
msgid "Extrusion +"
msgstr "Экструзия +"
msgid "Extrusion -"
msgstr "Экструзия -"
msgid "Failed, adjust position first"
msgstr "Ошибка. Сначала измените положение"
msgid "Fan"
msgstr "Обдув"
msgid "Filament Used"
msgstr "Использование филамента"
msgid "File"
msgstr "Файл"
msgid "Fine Tuning"
msgstr "Точная настройка"
msgid "Finish"
msgstr "Конец"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Прошивка\n"
"Рестарт"
msgid "Font Size"
msgstr "Размер шрифта"
msgid ""
"Full\n"
"Update"
msgstr ""
"Полный\n"
"Обновлять"
msgid "Go Back"
msgstr "Назад"
msgid "Hidden"
msgstr "Скрытый"
msgid "Hide"
msgstr "Скрывать"
msgid "Hide sensors in Temp."
msgstr "Скрыть датчики в Temp."
msgid "Home"
msgstr "Парковка"
msgid "Home All"
msgstr "Парковать все"
msgid "Home X"
msgstr "Парковать X"
msgid "Home XY"
msgstr "Парковать XY"
msgid "Home Y"
msgstr "Парковать Y"
msgid "Home Z"
msgstr "Парковать Z"
msgid "Homing"
msgstr "Парковка"
msgid "Hostname"
msgstr "Имя хоста"
msgid "Icon Theme"
msgstr "Темы"
msgid "Increase"
msgstr "Поднять"
msgid "Initializing"
msgstr "Запуск"
msgid "Initializing printer..."
msgstr "Принтер стартует..."
msgid "Interface"
msgstr "Интерфейс"
msgid "Invalid"
msgstr "Неверный"
msgid "Invert X"
msgstr "Инверсия X"
msgid "Invert Y"
msgstr "Инверсия Y"
msgid "Invert Z"
msgstr "Инверсия Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Рестарт"
msgid "Klipper has disconnected"
msgstr "Нет связи с Klipper"
msgid "Klipper has encountered an error."
msgstr "Klipper обнаружил ошибку."
msgid "Klipper has shutdown"
msgstr "Klipper отключился"
msgid "Klipper is attempting to start"
msgstr "Klipper готов"
msgid "Klipper will reboot"
msgstr "Klipper перезагружается"
msgid "Language"
msgstr "Язык"
msgid "Large"
msgstr "Большой"
msgid "Left:"
msgstr "Осталось:"
msgid "Limits"
msgstr "Лимиты"
msgid "Load"
msgstr "Загрузить"
msgid "Lower Nozzle"
msgstr "Опустить сопло"
msgid "Macro shortcut on sidebar"
msgstr "Показать макросы в панели"
msgid "Macros"
msgstr "Макросы"
msgid "Main Menu"
msgstr "Главное меню"
msgid "Max Accelation"
msgstr "Ускорения"
msgid "Max Acceleration to Deceleration"
msgstr "Ускорения торможения"
msgid "Max Velocity"
msgstr "Скорость"
msgid "Medium"
msgstr "Среднее"
msgid "Menu"
msgstr "Меню"
msgid "Modified"
msgstr "Изменено"
msgid "Moonraker: connected"
msgstr "Мунрейкер: подключен"
msgid "Move"
msgstr "Двигать"
msgid "Move Distance (mm)"
msgstr "Дистанция перемещения (мм)"
msgid "Name"
msgstr "Имя"
msgid "Network"
msgstr "Сеть"
msgid "Nothing selected"
msgstr "Ничего не выбрано"
msgid "Off"
msgstr "Выкл"
#, python-format
msgid "Outdated by %d"
msgstr "Устарело на %d"
msgid "PSK for"
msgstr "PSK для"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Пакет будет обновлен"
msgstr[1] "Пакеты будут обновляться"
msgstr[2] "Пакеты будут обновляться"
msgid "Password saved"
msgstr "Пароль сохранен"
msgid "Pause"
msgstr "Пауза"
msgid "Paused"
msgstr "Приостановлено"
msgid "Perform a full upgrade?"
msgstr "Выполнить полное обновление?"
msgid "Please recompile and flash the micro-controller."
msgstr "Пожалуйста, перекомпилируйте и прошейте микроконтроллер."
msgid "Power"
msgstr "Включено"
msgid "Power On Printer"
msgstr "Включить принтер"
msgid "Print"
msgstr "Печать"
msgid "Print Control"
msgstr "Управление печатью"
msgid "Print Time"
msgstr "Время печати"
msgid "Printer Connections"
msgstr "Подключение принтера"
msgid "Printing"
msgstr "Печатается"
msgid "Probe found applied offset"
msgstr "Probe обнаружил примененное смещение"
msgid "Profile Name:"
msgstr "Имя профиля:"
msgid "Quad Gantry Level"
msgstr "Уровень Quad Gantry"
msgid "Raise Nozzle"
msgstr "Поднять сопло"
msgid "Recover Hard"
msgstr "Восстановить Hard"
msgid "Recover Soft"
msgstr "Восстановить Soft"
msgid "Reference"
msgstr "Ссылка"
msgid "Restart"
msgstr "Перезагрузка"
msgid "Resume"
msgstr "Продолжить"
msgid "Retract"
msgstr "Втянуть"
#, python-format
msgid "Retry #%s"
msgstr "Повторить #%s"
msgid "Save"
msgstr "Сохранить"
msgid "Save Config"
msgstr "Сохр. Конфиг"
msgid "Save configuration"
msgstr "Настройки сохраняются"
msgid "Screen DPMS"
msgstr "Экран DPMS"
msgid "Screen Power Off Time"
msgstr "Время выключения экрана"
msgid "Screws Adjust"
msgstr "Настроить винты"
msgid "Select"
msgstr "Выбирать"
msgid "Send"
msgstr "Отправлять"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Отправка сигнала включения питания на: %s"
msgid "Set Temp"
msgstr "Заданная температура"
msgid "Settings"
msgstr "Настройки"
msgid "Show"
msgstr "Показывать"
msgid "Size"
msgstr "Размер"
msgid "Slicer"
msgstr "Слайсер"
msgid "Slicer Time correction (%)"
msgstr "Коррекция времени слайсера (%)"
msgid "Small"
msgstr "Маленький"
msgid "Sort by: "
msgstr "Орден: "
msgid "Speed (mm/s)"
msgstr "Скорость (мм/с)"
msgid "Speed +"
msgstr "Скорость +"
msgid "Speed -"
msgstr "Скорость -"
msgid "Square Corner Velocity"
msgstr "Квадратная угловая скорость"
msgid "Start"
msgstr "Hачать"
msgid "Starting WiFi Association"
msgstr "Запуск ассоциации WiFi"
msgid "Starting recovery for"
msgstr "Запуск восстановления для"
msgid "Starting update for"
msgstr "Запуск обновления для"
msgid "System"
msgstr "Система"
msgid ""
"System\n"
"Restart"
msgstr ""
"Рестарт\n"
"Системы"
msgid ""
"System\n"
"Shutdown"
msgstr "Выключить"
msgid "Temp (°C)"
msgstr "Темп (°С)"
msgid "Temperature"
msgstr "Tемпература"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Чтобы применить %s необходимо перезапустить KlipperScreen"
msgid "Tool"
msgstr "Инструмент"
msgid "Total:"
msgstr "Всего:"
msgid "Unknown Heater"
msgstr "Неизвестный обогреватель"
msgid "Unload"
msgstr "Загружено"
msgid "Up To Date"
msgstr "Обновлено"
msgid "Update"
msgstr "Обновить"
msgid "Updating"
msgstr "Обновление"
msgid "Uploaded"
msgstr "Дата"
msgid "View Mesh"
msgstr "Смотреть сетку"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Скорость перемещения по осям XY (мм/с)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Калибр. Z"
msgid "Z Move Speed (mm/s)"
msgstr "Скорость перемещения по оси Z (мм/с)"
msgid "Z Position"
msgstr "Позиция Z"
msgid "Z Tilt"
msgstr "Z Наклон"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "изменение"
msgstr[1] "изменение"
msgstr[2] "изменение"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "час"
msgstr[1] "часа"
msgstr[2] "часа"
msgid "minutes"
msgstr "минут"
msgid "mm"
msgstr "мм"
msgid "mm/s"
msgstr "мм/с"
msgid "mm/s^2"
msgstr "мм/с^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Офсет Z"
#~ msgid "Unknown Heater "
#~ msgstr "Неизвестный обогреватель "
#~ msgid "Disconnect"
#~ msgstr "Отключить"
#~ msgid "Duration Only"
#~ msgstr "Продолжительность печати"
#~ msgid "Klipper Version"
#~ msgstr "Версия Klipper"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper определил ошибку в микроконтроллере.\n"
#~ "Прошейте заново."
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper обнаружил ошибку.\n"
#~ "Выполните перезагрузку прошивки, чтобы попытаться исправить проблему."
#~ msgid "KlipperScreen Version"
#~ msgstr "Версия KlipperScreen"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "Показать только нагреватели в темп."
#~ msgid "Target"
#~ msgstr "Цель"
#~ msgid "Temp"
#~ msgstr "Темп"
#~ msgid "Number Pad"
#~ msgstr "Клавиатура"
#~ msgid "Preheat"
#~ msgstr "Разогрев"
#~ msgid "Screen will show in less than one second"
#~ msgstr "Экран отобразится через одну секунду"
#~ msgid "Medium (default)"
#~ msgstr "Средний (по умолчанию)"
#~ msgid "File Estimation (default)"
#~ msgstr "По файлу (по умолчанию)"
#~ msgid "..."
#~ msgstr "..."
#~ msgid "Change Printer"
#~ msgstr "Сменить принтер"
#~ msgid "Fan Off"
#~ msgstr "Bыключить"
#~ msgid "Fan On"
#~ msgstr "Bключи"
#~ msgid "Fast"
#~ msgstr "Быстро"
#~ msgid "Set Speed"
#~ msgstr "Скорость"
#~ msgid "Slow"
#~ msgstr "Mедленно"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Cancel Change"
#~ msgstr "Отменить изменения"
#~ msgid "Control"
#~ msgstr "Управление"
#~ msgid "Load Average"
#~ msgstr "Средняя нагрузка"
@@ -0,0 +1,673 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-04-15 17:25+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: sv_SE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s uppdateras till version"
msgid "(default)"
msgstr "(standard)"
msgid "24 Hour Time"
msgstr "24 timmars tid"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "En FIRMWARE_RESTART kan lösa problemet."
msgid "Abort"
msgstr "Avbryt"
msgid "Accept"
msgstr "Godkänn"
msgid "Actions"
msgstr "Åtgärder"
msgid "Add Printer"
msgstr "Lägg till skrivare"
msgid "Add bed mesh profile"
msgstr "Lägg till mesh profil"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Är du säker på att du vill köra Nödstopp?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Är du säker på att du vill avbryta denna utskrift?"
msgid "Are you sure you wish to disable motors?"
msgstr "Är du säker på att du vill inaktivera motorer?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Är du säker på att du vill starta om systemet?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Är du säker på att du vill stänga av systemet?"
msgid "Auto"
msgstr "Automatisk"
msgid "Auto-scroll"
msgstr "Auto-scrolla"
#, fuzzy
msgid "Bed Level"
msgstr "Bed Level"
#, fuzzy
msgid "Bed Mesh"
msgstr "Bed Mesh"
msgid "Bltouch found applied offset"
msgstr "Bltouch hittade tillämpad offset"
msgid "Calibrate"
msgstr "Kalibrera"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Kalibrerad, spara konfiguration för att göra den permanent"
msgid "Can't set above the maximum:"
msgstr "Kan inte ställa in över maxgränsen:"
msgid "Cancel"
msgstr "Avbryt"
msgid "Cancel Print"
msgstr "Avbryt utskrift"
msgid "Cancelled"
msgstr "Avbruten"
msgid "Cancelling"
msgstr "Avbryter"
msgid "Cannot connect to Moonraker"
msgstr "Kan inte ansluta till Moonraker"
#, fuzzy
msgid "Channel"
msgstr "Kanal"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Kontrollera /tmp/KlipperScreen.log för mer information.\n"
"Skicka in ett problem på GitHub för hjälp."
msgid "Close"
msgstr "Stäng"
msgid "Complete"
msgstr "Färdig"
msgid "Configuration"
msgstr "Konfiguration"
msgid "Confirm Emergency Stop"
msgstr "Bekräfta nödstopp"
msgid "Connected"
msgstr "Ansluten"
#, python-format
msgid "Connecting to %s"
msgstr "Ansluter till %s"
msgid "Console"
msgstr "Konsol"
msgid "Continue"
msgstr "Fortsätt"
msgid "Cooldown"
msgstr "Nedkylning"
msgid "Date"
msgstr "Datum"
msgid "Decrease"
msgstr "Minska"
msgid "Delete"
msgstr "Radera"
msgid "Deselect"
msgstr "Avmarkera"
msgid "Disable Motors"
msgstr "Inaktivera motorer"
msgid "Disable XY"
msgstr "Inaktivera XY"
msgid "Displayed Macros"
msgstr "Makron visas"
msgid "Distance (mm)"
msgstr "Avstånd (mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Vill du återställa %s?"
msgid "Elapsed:"
msgstr "Förfluten:"
msgid "Error"
msgstr "Fel"
#, fuzzy
msgid "Estimated Time Method"
msgstr "Uppskattad tid metod"
msgid "Extrude"
msgstr "Extrudera"
msgid "Extrusion +"
msgstr "Extrudering +"
msgid "Extrusion -"
msgstr "Extrudering -"
msgid "Failed, adjust position first"
msgstr "Misslyckades, justera positionen först"
msgid "Fan"
msgstr "Fläkt"
#, fuzzy
msgid "Filament Used"
msgstr "Filament använt"
msgid "File"
msgstr "Fil"
msgid "Fine Tuning"
msgstr "Finjustering"
msgid "Finish"
msgstr "Slutför"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Omstart"
msgid "Font Size"
msgstr "Textstorlek"
msgid ""
"Full\n"
"Update"
msgstr ""
"Fullständig\n"
"Uppdatering"
msgid "Go Back"
msgstr "Gå tillbaka"
msgid "Hidden"
msgstr "Dold"
msgid "Hide"
msgstr "Dölj"
msgid "Hide sensors in Temp."
msgstr "Dölj sensorer i Temp."
msgid "Home"
msgstr "Hem"
msgid "Home All"
msgstr "Hem Alla"
msgid "Home X"
msgstr "Hem X"
msgid "Home XY"
msgstr "Hem XY"
msgid "Home Y"
msgstr "Hem Y"
msgid "Home Z"
msgstr "Hem Z"
#, fuzzy
msgid "Homing"
msgstr "Homing"
msgid "Hostname"
msgstr "Värdnamn"
msgid "Icon Theme"
msgstr "Ikon tema"
msgid "Increase"
msgstr "Öka"
msgid "Initializing"
msgstr "Initierar"
msgid "Initializing printer..."
msgstr "Initierar skrivaren..."
msgid "Interface"
msgstr "Gränssnitt"
msgid "Invalid"
msgstr "Ogiltig"
msgid "Invert X"
msgstr "Invertera X"
msgid "Invert Y"
msgstr "Invertera Y"
msgid "Invert Z"
msgstr "Invertera Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Omstart"
#, fuzzy
msgid "Klipper has disconnected"
msgstr "Klipper har kopplat från"
msgid "Klipper has encountered an error."
msgstr "Klipper har stött på ett fel."
msgid "Klipper has shutdown"
msgstr "Klipper har stängts av"
msgid "Klipper is attempting to start"
msgstr "Klipper försöker starta"
msgid "Klipper will reboot"
msgstr "Klipper kommer att starta om"
msgid "Language"
msgstr "Språk"
msgid "Large"
msgstr "Stor"
msgid "Left:"
msgstr "Återstående:"
msgid "Limits"
msgstr "Begränsningar"
msgid "Load"
msgstr "Ladda"
msgid "Lower Nozzle"
msgstr "Sänk munstycket"
msgid "Macro shortcut on sidebar"
msgstr "Makro genväg på sidofältet"
msgid "Macros"
msgstr "Makron"
msgid "Main Menu"
msgstr "Huvudmeny"
#, fuzzy
msgid "Max Accelation"
msgstr "Maximal acceleration"
#, fuzzy
msgid "Max Acceleration to Deceleration"
msgstr "Maximal acceleration till inbromsning"
#, fuzzy
msgid "Max Velocity"
msgstr "Maximal hastighet"
msgid "Medium"
msgstr "Medium"
msgid "Menu"
msgstr "Meny"
msgid "Modified"
msgstr "Ändrad"
msgid "Moonraker: connected"
msgstr "Moonraker: ansluten"
msgid "Move"
msgstr "Flytta"
msgid "Move Distance (mm)"
msgstr "Förflyttningsavstånd (mm)"
msgid "Name"
msgstr "Namn"
msgid "Network"
msgstr "Nätverk"
msgid "Nothing selected"
msgstr "Inget valt"
msgid "Off"
msgstr "Avstängd"
#, fuzzy, python-format
msgid "Outdated by %d"
msgstr "Föråldrad med %d"
msgid "PSK for"
msgstr "PSK för"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Paketet kommer att uppdateras"
msgstr[1] "Paketen kommer att uppdateras"
msgid "Password saved"
msgstr "Lösenordet har sparats"
msgid "Pause"
msgstr "Pausa"
msgid "Paused"
msgstr "Pausad"
msgid "Perform a full upgrade?"
msgstr "Utför en fullständig uppgradering?"
msgid "Please recompile and flash the micro-controller."
msgstr "Vänligen kompilera om och flasha mikrokontrollern."
msgid "Power"
msgstr "Ström"
msgid "Power On Printer"
msgstr "Slå på skrivaren"
msgid "Print"
msgstr "Skriv ut"
msgid "Print Control"
msgstr "Utskriftskontroll"
#, fuzzy
msgid "Print Time"
msgstr "Tid för utskrift"
#, fuzzy
msgid "Printer Connections"
msgstr "Skrivaranslutningar"
msgid "Printing"
msgstr "Skriver ut"
#, fuzzy
msgid "Probe found applied offset"
msgstr "Sond hittat tillämpad offset"
msgid "Profile Name:"
msgstr "Profilens namn:"
#, fuzzy
msgid "Quad Gantry Level"
msgstr "Quad Gantry nivå"
#, fuzzy
msgid "Raise Nozzle"
msgstr "Höj munstycket"
#, fuzzy
msgid "Recover Hard"
msgstr "Återhämta Hårt"
#, fuzzy
msgid "Recover Soft"
msgstr "Återhämta Mjukt"
msgid "Reference"
msgstr "Referens"
msgid "Restart"
msgstr "Starta om"
msgid "Resume"
msgstr "Återuppta"
#, fuzzy
msgid "Retract"
msgstr "Dra tillbaka"
#, fuzzy, python-format
msgid "Retry #%s"
msgstr "Försök #%s"
msgid "Save"
msgstr "Spara"
msgid "Save Config"
msgstr "Spara konfiguration"
msgid "Save configuration"
msgstr "Spara konfigurationen"
#, fuzzy
msgid "Screen DPMS"
msgstr "DPMS för skärm"
msgid "Screen Power Off Time"
msgstr "Avstängningstid för skärmen"
#, fuzzy
msgid "Screws Adjust"
msgstr "Justera skruvar"
msgid "Select"
msgstr "Välj"
msgid "Send"
msgstr "Skicka"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Skickar ström PÅ-signal till: %s"
#, fuzzy
msgid "Set Temp"
msgstr "Ställ in temp"
msgid "Settings"
msgstr "Inställningar"
msgid "Show"
msgstr "Visa"
msgid "Size"
msgstr "Storlek"
#, fuzzy
msgid "Slicer"
msgstr "Slicer"
#, fuzzy
msgid "Slicer Time correction (%)"
msgstr "Slicer Tidskorrigering (%)"
msgid "Small"
msgstr "Liten"
msgid "Sort by: "
msgstr "Sortera efter: "
msgid "Speed (mm/s)"
msgstr "Hastighet (mm/s)"
msgid "Speed +"
msgstr "Hastighet +"
msgid "Speed -"
msgstr "Hastighet -"
#, fuzzy
msgid "Square Corner Velocity"
msgstr "Fyrkantig hörnhastighet"
msgid "Start"
msgstr "Starta"
#, fuzzy
msgid "Starting WiFi Association"
msgstr "Startar WiFi Association"
#, fuzzy
msgid "Starting recovery for"
msgstr "Startar återhämtning för"
#, fuzzy
msgid "Starting update for"
msgstr "Startar uppdatering för"
msgid "System"
msgstr "System"
msgid ""
"System\n"
"Restart"
msgstr ""
"System\n"
"Omstart"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"System\n"
"Avstängning"
msgid "Temp (°C)"
msgstr "Temperatur (°C)"
msgid "Temperature"
msgstr "Temperatur"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "För att tillämpa %s måste KlipperScreen startas om"
msgid "Tool"
msgstr "Verktyg"
#, fuzzy
msgid "Total:"
msgstr "Sammanlagt:"
msgid "Unknown Heater"
msgstr "Okänt värmeelement"
#, fuzzy
msgid "Unload"
msgstr "Lasta av"
msgid "Up To Date"
msgstr "Aktuellt"
msgid "Update"
msgstr "Uppdatera"
msgid "Updating"
msgstr "Uppdaterar"
msgid "Uploaded"
msgstr "Uppladdad"
#, fuzzy
msgid "View Mesh"
msgstr "Visa Mesh"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY rörelsehastighet (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z Kalibrering"
msgid "Z Move Speed (mm/s)"
msgstr "Z rörelsehastighet (mm/s)"
msgid "Z Position"
msgstr "Z Position"
#, fuzzy
msgid "Z Tilt"
msgstr "Z Lutning"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
#, fuzzy
msgid "commit"
msgid_plural "commits"
msgstr[0] "commit"
msgstr[1] "commits"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "timme"
msgstr[1] "timmar"
msgid "minutes"
msgstr "minuter"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
@@ -0,0 +1,655 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:18-0300\n"
"Last-Translator: \n"
"Language-Team: Andrii Komarovskiy\n"
"Language: uk_UA\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s буде оновлено до версії"
msgid "(default)"
msgstr "(за замовчуванням)"
msgid "24 Hour Time"
msgstr "24-годинний час"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "РЕСТАРТ ПРОШИВКИ може вирішити проблему."
msgid "Abort"
msgstr "Перервати"
msgid "Accept"
msgstr "Прийняти"
msgid "Actions"
msgstr "Керування"
msgid "Add Printer"
msgstr "Додати принтер"
msgid "Add bed mesh profile"
msgstr "Додати сітку столу"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "Ви впевнені, що хочете запустити аварійну зупинку?"
msgid "Are you sure you wish to cancel this print?"
msgstr "Ви впевнені, що хочете скасувати цей друк?"
msgid "Are you sure you wish to disable motors?"
msgstr "Ви впевнені, що хочете відключити двигуни?"
msgid "Are you sure you wish to reboot the system?"
msgstr "Ви впевнені, що хочете перезавантажити систему?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "Ви впевнені, що хочете вимкнути систему?"
msgid "Auto"
msgstr "Автоматично"
msgid "Auto-scroll"
msgstr "Автоматична прокрутка"
msgid "Bed Level"
msgstr "Вирівнювання столу"
msgid "Bed Mesh"
msgstr "Сітка столу"
msgid "Bltouch found applied offset"
msgstr "Зонд знайшов застосоване зміщення"
msgid "Calibrate"
msgstr "Калібрування"
msgid "Calibrated, save configuration to make it permanent"
msgstr "Відкалібровано, збережіть конфігурацію, щоб зробити її постійною"
msgid "Can't set above the maximum:"
msgstr "Не встановити вище макс.:"
msgid "Cancel"
msgstr "Скасувати"
msgid "Cancel Print"
msgstr "Скасувати друк"
msgid "Cancelled"
msgstr "Скасовано"
msgid "Cancelling"
msgstr "Скасування"
msgid "Cannot connect to Moonraker"
msgstr "Не можливо підключитися до Moonraker"
msgid "Channel"
msgstr "Канал"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"Перевірте /tmp/KlipperScreen.log для отримання додаткової інформації.\n"
"Будь ласка, надішліть проблему на GitHub, щоб отримати допомогу."
msgid "Close"
msgstr "Закрити"
msgid "Complete"
msgstr "Завершено"
msgid "Configuration"
msgstr "Конфігурація"
msgid "Confirm Emergency Stop"
msgstr "Підтверджувати АВАРІЙНУ ЗУПИНКУ"
msgid "Connected"
msgstr "Підключено"
#, python-format
msgid "Connecting to %s"
msgstr "Підключення до %s"
msgid "Console"
msgstr "Консоль"
msgid "Continue"
msgstr "Продовжити"
msgid "Cooldown"
msgstr "Охолодження"
msgid "Date"
msgstr "Дата"
msgid "Decrease"
msgstr "Зменшити"
msgid "Delete"
msgstr "Видалити"
msgid "Deselect"
msgstr "Відміна"
msgid "Disable Motors"
msgstr "Вимкнути мотори"
msgid "Disable XY"
msgstr "Вимкнути XY"
msgid "Displayed Macros"
msgstr "Відображення Макросів"
msgid "Distance (mm)"
msgstr "Відстань (мм)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "Ви хочете відновити %s?"
msgid "Elapsed:"
msgstr "Минуло:"
msgid "Error"
msgstr "Помилка"
msgid "Estimated Time Method"
msgstr "Метод розрахунку часу"
msgid "Extrude"
msgstr "Видавити"
msgid "Extrusion +"
msgstr "Екструзія+"
msgid "Extrusion -"
msgstr "Екструзія -"
msgid "Failed, adjust position first"
msgstr "Помилка, спочатку хоумінг"
msgid "Fan"
msgstr "Вентилятор"
msgid "Filament Used"
msgstr "Філамент"
msgid "File"
msgstr "Файл"
msgid "Fine Tuning"
msgstr "Підправити"
msgid "Finish"
msgstr "Фініш"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"Перезавантажте"
msgid "Font Size"
msgstr "Розмір шрифту"
msgid ""
"Full\n"
"Update"
msgstr ""
"Повний\n"
"Оновлення"
msgid "Go Back"
msgstr "Назад"
msgid "Hidden"
msgstr "Оновлення"
msgid "Hide"
msgstr "Сховати"
msgid "Hide sensors in Temp."
msgstr "Сховати датчик темп."
msgid "Home"
msgstr "Домашня сторінка"
msgid "Home All"
msgstr "Дім Всі"
msgid "Home X"
msgstr "Дім Х"
msgid "Home XY"
msgstr "Дім XY"
msgid "Home Y"
msgstr "Дім Y"
msgid "Home Z"
msgstr "Дім Z"
msgid "Homing"
msgstr "До дому"
msgid "Hostname"
msgstr "Назва хоста"
msgid "Icon Theme"
msgstr "Тема оформлення"
msgid "Increase"
msgstr "Збільшити"
msgid "Initializing"
msgstr "Ініціалізація"
msgid "Initializing printer..."
msgstr "Ініціалізація принтера..."
msgid "Interface"
msgstr "Інтерфейс"
msgid "Invalid"
msgstr "Недійсний"
msgid "Invert X"
msgstr "Інвертувати X"
msgid "Invert Y"
msgstr "Інвертувати Y"
msgid "Invert Z"
msgstr "Інвертувати Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"Перезавантажте"
msgid "Klipper has disconnected"
msgstr "Klipper відключився"
msgid "Klipper has encountered an error."
msgstr "У Klipper сталася помилка."
msgid "Klipper has shutdown"
msgstr "Klipper вимкнувся"
msgid "Klipper is attempting to start"
msgstr "Кліппер намагається стартувати"
msgid "Klipper will reboot"
msgstr "Klipper перезавантажиться"
msgid "Language"
msgstr "Мова"
msgid "Large"
msgstr "Великий"
msgid "Left:"
msgstr "Залишилось:"
msgid "Limits"
msgstr "Ліміти"
msgid "Load"
msgstr "Завантажити"
msgid "Lower Nozzle"
msgstr "Низ сопла"
msgid "Macro shortcut on sidebar"
msgstr "Ярлик макросу на бічній панелі"
msgid "Macros"
msgstr "Макрос"
msgid "Main Menu"
msgstr "Main Menu"
msgid "Max Accelation"
msgstr "Макс. прискорення"
msgid "Max Acceleration to Deceleration"
msgstr "Макс. прискорення до гальмування"
msgid "Max Velocity"
msgstr "Макс. швидкість"
msgid "Medium"
msgstr "Середній"
msgid "Menu"
msgstr "Меню"
msgid "Modified"
msgstr "Змінено"
msgid "Moonraker: connected"
msgstr "Підключено до Moonraker"
msgid "Move"
msgstr "Рухатися"
msgid "Move Distance (mm)"
msgstr "Переміщення (мм)"
msgid "Name"
msgstr "Ім'я"
msgid "Network"
msgstr "Сітка"
msgid "Nothing selected"
msgstr "Не вибрано"
msgid "Off"
msgstr "Вимк"
#, python-format
msgid "Outdated by %d"
msgstr "Застаріло на %d"
msgid "PSK for"
msgstr "PSK для"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "Пакет буде оновлено"
msgstr[1] "Пакет буде оновлено"
msgstr[2] "Пакет буде оновлено"
msgid "Password saved"
msgstr "Пароль збережено"
msgid "Pause"
msgstr "Пауза"
msgid "Paused"
msgstr "Пауза"
msgid "Perform a full upgrade?"
msgstr "Виконати повне оновлення?"
msgid "Please recompile and flash the micro-controller."
msgstr "Будь ласка, перекомпілюйте та перепрошійте мікроконтролер."
msgid "Power"
msgstr "Живлення"
msgid "Power On Printer"
msgstr "Увімкнути принтер"
msgid "Print"
msgstr "Друк"
msgid "Print Control"
msgstr "Контроль друку"
msgid "Print Time"
msgstr "Час друку"
msgid "Printer Connections"
msgstr "Підключення принтера"
msgid "Printing"
msgstr "Друк"
msgid "Probe found applied offset"
msgstr "Зонд знайшов застосоване зміщення"
msgid "Profile Name:"
msgstr "Ім'я профілю:"
msgid "Quad Gantry Level"
msgstr "Портальне вирівнювання"
msgid "Raise Nozzle"
msgstr "Підняти сопло"
msgid "Recover Hard"
msgstr "Відновити все"
msgid "Recover Soft"
msgstr "Відновити легко"
msgid "Reference"
msgstr "Довідка"
msgid "Restart"
msgstr "Перезапуск"
msgid "Resume"
msgstr "Відновити"
msgid "Retract"
msgstr "Ретракт"
#, python-format
msgid "Retry #%s"
msgstr "Повторіть #%s"
msgid "Save"
msgstr "Зберегти"
msgid "Save Config"
msgstr "Зберегти конфіг"
msgid "Save configuration"
msgstr "Зберегти конфігурацію"
msgid "Screen DPMS"
msgstr "Екран DPMS"
msgid "Screen Power Off Time"
msgstr "Вимкнути екран через"
msgid "Screws Adjust"
msgstr "Регулювання гвинтів"
msgid "Select"
msgstr "Вибрати"
msgid "Send"
msgstr "Надіслати"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "Надсилання сигналу увімкнення живлення на: %s"
msgid "Set Temp"
msgstr "Встановити t°"
msgid "Settings"
msgstr "Налаштування"
msgid "Show"
msgstr "Показати"
msgid "Size"
msgstr "Розмір"
msgid "Slicer"
msgstr "Слайсер"
msgid "Slicer Time correction (%)"
msgstr "Виправлення часу слайсера (%)"
msgid "Small"
msgstr "Малий"
msgid "Sort by: "
msgstr "Сортувати за: "
msgid "Speed (mm/s)"
msgstr "Швидкість (мм/с)"
msgid "Speed +"
msgstr "Швидкість +"
msgid "Speed -"
msgstr "Швидкість -"
msgid "Square Corner Velocity"
msgstr "Квадратна кутова швидкість"
msgid "Start"
msgstr "Старт"
msgid "Starting WiFi Association"
msgstr "Запуск асоціації WiFi"
msgid "Starting recovery for"
msgstr "Початок відновлення для"
msgid "Starting update for"
msgstr "Початок оновлення для"
msgid "System"
msgstr "Системна"
msgid ""
"System\n"
"Restart"
msgstr ""
"Рестарт\n"
"Малини"
msgid ""
"System\n"
"Shutdown"
msgstr ""
"Вимкнути\n"
"Малину"
msgid "Temp (°C)"
msgstr "Teмп (°C)"
msgid "Temperature"
msgstr "Температура"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "Щоб застосувати %s, потрібно перезапустити KlipperScreen"
msgid "Tool"
msgstr "Інструмент"
msgid "Total:"
msgstr "Всього:"
msgid "Unknown Heater"
msgstr "Невідомий нагрівач"
msgid "Unload"
msgstr "Вийняти"
msgid "Up To Date"
msgstr "Оновити"
msgid "Update"
msgstr "Оновлення"
#, fuzzy
msgid "Updating"
msgstr "Оновлення"
msgid "Uploaded"
msgstr "Завантажено"
msgid "View Mesh"
msgstr "Показати сітку"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "Швидкість XY (мм/с)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Калібровка Z"
msgid "Z Move Speed (mm/s)"
msgstr "Швидкість Z (мм/с)"
msgid "Z Position"
msgstr "Позиція Z"
msgid "Z Tilt"
msgstr "Z Нахил"
msgid "Z+"
msgstr "Бебістеп Z+"
msgid "Z-"
msgstr "Бебістеп Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "коментар"
msgstr[1] "коментар"
msgstr[2] "коментар"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "година"
msgstr[1] "години"
msgstr[2] "годин"
msgid "minutes"
msgstr "хвилин"
msgid "mm"
msgstr "мм"
msgid "mm/s"
msgstr "мм/с"
msgid "mm/s^2"
msgstr "мм/с²"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Зміщення Z"
@@ -0,0 +1,730 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:21-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_CN\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "更新 %s 到版本"
msgid "(default)"
msgstr "(默认)"
msgid "24 Hour Time"
msgstr "使用 24 小时制"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "FIRMWARE_RESTART 可能会解决此问题。"
msgid "Abort"
msgstr "终止"
msgid "Accept"
msgstr "接受"
msgid "Actions"
msgstr "工具"
msgid "Add Printer"
msgstr "添加打印机"
msgid "Add bed mesh profile"
msgstr "添加热床网格"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "您确定要紧急停止吗?"
msgid "Are you sure you wish to cancel this print?"
msgstr "您确定要取消打印吗?"
msgid "Are you sure you wish to disable motors?"
msgstr "您确定要禁用电机吗?"
msgid "Are you sure you wish to reboot the system?"
msgstr "您确定要重启系统吗?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "您确定要关闭系统吗?"
msgid "Auto"
msgstr "汽车"
msgid "Auto-scroll"
msgstr "自动滚屏"
msgid "Bed Level"
msgstr "热床调平"
msgid "Bed Mesh"
msgstr "热床网格"
msgid "Bltouch found applied offset"
msgstr "Bltouch 发现应用的偏移量"
msgid "Calibrate"
msgstr "校准"
msgid "Calibrated, save configuration to make it permanent"
msgstr "已校准,保存配置后生效"
msgid "Can't set above the maximum:"
msgstr "设置值超出最大值:"
msgid "Cancel"
msgstr "取消"
msgid "Cancel Print"
msgstr "取消打印"
msgid "Cancelled"
msgstr "已取消"
msgid "Cancelling"
msgstr "正在取消"
msgid "Cannot connect to Moonraker"
msgstr "无法连接到 Moonraker"
msgid "Channel"
msgstr "更新通道"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"检查/tmp/KlipperScreen.log以获取更多信息。\n"
"请在GitHub上提交问题以寻求帮助。"
msgid "Close"
msgstr "关闭"
msgid "Complete"
msgstr "完成"
msgid "Configuration"
msgstr "配置"
msgid "Confirm Emergency Stop"
msgstr "确认紧急停止"
msgid "Connected"
msgstr "已连接"
#, python-format
msgid "Connecting to %s"
msgstr "连接到 %s"
msgid "Console"
msgstr "控制台"
msgid "Continue"
msgstr "继续"
msgid "Cooldown"
msgstr "降温"
msgid "Date"
msgstr "上传日期"
msgid "Decrease"
msgstr "减少"
msgid "Delete"
msgstr "删除"
msgid "Deselect"
msgstr "取消选择"
msgid "Disable Motors"
msgstr "禁用步进电机"
msgid "Disable XY"
msgstr "关闭 XY 电机"
msgid "Displayed Macros"
msgstr "宏命令显示开关"
msgid "Distance (mm)"
msgstr "挤出距离(mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "您想恢复 %s 吗?"
msgid "Elapsed:"
msgstr "已用时间:"
msgid "Error"
msgstr "错误"
msgid "Estimated Time Method"
msgstr "估算剩余时间方式"
msgid "Extrude"
msgstr "挤出"
msgid "Extrusion +"
msgstr "挤出流量 +"
msgid "Extrusion -"
msgstr "挤出流量 -"
msgid "Failed, adjust position first"
msgstr "失败,请先调整位置"
msgid "Fan"
msgstr "风扇"
msgid "Filament Used"
msgstr "已用耗材"
msgid "File"
msgstr "文件"
msgid "Fine Tuning"
msgstr "微调"
msgid "Finish"
msgstr "结束"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"重启\n"
"Firmware"
msgid "Font Size"
msgstr "字体大小"
msgid ""
"Full\n"
"Update"
msgstr ""
"满的\n"
"更新"
msgid "Go Back"
msgstr "返回"
msgid "Hidden"
msgstr "隐"
msgid "Hide"
msgstr "隐藏"
msgid "Hide sensors in Temp."
msgstr "在温度中隐藏传感器。"
msgid "Home"
msgstr "归零"
msgid "Home All"
msgstr "全部归零"
msgid "Home X"
msgstr "归零 X"
msgid "Home XY"
msgstr "归零 XY"
msgid "Home Y"
msgstr "归零 Y"
msgid "Home Z"
msgstr "归零 Z"
msgid "Homing"
msgstr "归零"
msgid "Hostname"
msgstr "主机名"
msgid "Icon Theme"
msgstr "主题风格"
msgid "Increase"
msgstr "增加"
msgid "Initializing"
msgstr "初始化中"
msgid "Initializing printer..."
msgstr "初始化打印机中..."
msgid "Interface"
msgstr "接口"
msgid "Invalid"
msgstr "无效"
msgid "Invert X"
msgstr "反转 X"
msgid "Invert Y"
msgstr "反转 Y"
msgid "Invert Z"
msgstr "反转 Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"重启\n"
"Klipper"
msgid "Klipper has disconnected"
msgstr "Klipper 已断开连接"
msgid "Klipper has encountered an error."
msgstr "Klipper遇到一个错误。"
msgid "Klipper has shutdown"
msgstr "Klipper 已关闭"
msgid "Klipper is attempting to start"
msgstr "Klipper 正在尝试启动"
msgid "Klipper will reboot"
msgstr "并重新启动Klipper"
msgid "Language"
msgstr "界面语言"
msgid "Large"
msgstr "大"
msgid "Left:"
msgstr "剩余时间:"
msgid "Limits"
msgstr "打印机限制"
msgid "Load"
msgstr "载入耗材"
msgid "Lower Nozzle"
msgstr "降低喷嘴"
msgid "Macro shortcut on sidebar"
msgstr "显示侧边栏宏快捷方式"
msgid "Macros"
msgstr "宏"
msgid "Main Menu"
msgstr "主菜单"
msgid "Max Accelation"
msgstr "加速度"
msgid "Max Acceleration to Deceleration"
msgstr "加速到减速度"
msgid "Max Velocity"
msgstr "速度"
msgid "Medium"
msgstr "中"
msgid "Menu"
msgstr "菜单"
msgid "Modified"
msgstr "修改"
msgid "Moonraker: connected"
msgstr "Moonraker:已连接"
msgid "Move"
msgstr "移动"
msgid "Move Distance (mm)"
msgstr "移动距离(mm)"
msgid "Name"
msgstr "文件名称"
msgid "Network"
msgstr "网络"
msgid "Nothing selected"
msgstr "未选择任何内容"
msgid "Off"
msgstr "关闭"
#, python-format
msgid "Outdated by %d"
msgstr "已过时 %d"
msgid "PSK for"
msgstr "网络密码PSK"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "包将被更新"
msgid "Password saved"
msgstr "密码已保存"
msgid "Pause"
msgstr "暂停"
msgid "Paused"
msgstr "已暂停"
msgid "Perform a full upgrade?"
msgstr "执行全面升级?"
msgid "Please recompile and flash the micro-controller."
msgstr "请重新编译并刷写微控制器。"
msgid "Power"
msgstr "电源开关"
msgid "Power On Printer"
msgstr "启动打印机"
msgid "Print"
msgstr "打印"
msgid "Print Control"
msgstr "打印控制"
msgid "Print Time"
msgstr "打印用时"
msgid "Printer Connections"
msgstr "打印机列表"
msgid "Printing"
msgstr "印刷"
msgid "Probe found applied offset"
msgstr "Probe 发现应用的偏移量"
msgid "Profile Name:"
msgstr "配置文件名称:"
msgid "Quad Gantry Level"
msgstr "龙门架调平"
msgid "Raise Nozzle"
msgstr "升高喷嘴"
msgid "Recover Hard"
msgstr "重置(Hard)"
msgid "Recover Soft"
msgstr "重置(Soft)"
msgid "Reference"
msgstr "参考"
msgid "Restart"
msgstr "重启Klipper"
msgid "Resume"
msgstr "恢复"
msgid "Retract"
msgstr "回抽"
#, python-format
msgid "Retry #%s"
msgstr "重试 #%s"
msgid "Save"
msgstr "保存"
msgid "Save Config"
msgstr "保存配置"
msgid "Save configuration"
msgstr "即将保存配置文件"
msgid "Screen DPMS"
msgstr "屏幕DPMS"
msgid "Screen Power Off Time"
msgstr "关闭屏幕"
msgid "Screws Adjust"
msgstr "平台螺丝调整"
msgid "Select"
msgstr "选择"
msgid "Send"
msgstr "发送"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "正在发送通电信号到:%s"
msgid "Set Temp"
msgstr "设定温度"
msgid "Settings"
msgstr "设置"
msgid "Show"
msgstr "显示"
msgid "Size"
msgstr "文件大小"
msgid "Slicer"
msgstr "切片软件"
msgid "Slicer Time correction (%)"
msgstr "切片器时间校正 (%)"
msgid "Small"
msgstr "小"
msgid "Sort by: "
msgstr "排序: "
msgid "Speed (mm/s)"
msgstr "速度(mm/s)"
msgid "Speed +"
msgstr "速度 +"
msgid "Speed -"
msgstr "速度 -"
msgid "Square Corner Velocity"
msgstr "转角速度"
msgid "Start"
msgstr "开始"
msgid "Starting WiFi Association"
msgstr "启动 WiFi 关联"
msgid "Starting recovery for"
msgstr "开始恢复"
msgid "Starting update for"
msgstr "开始更新"
msgid "System"
msgstr "系统"
msgid ""
"System\n"
"Restart"
msgstr "重启系统"
msgid ""
"System\n"
"Shutdown"
msgstr "关闭系统"
msgid "Temp (°C)"
msgstr "温度 (°C)"
msgid "Temperature"
msgstr "设置温度"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "要应用 %s 主题,需要重新启动 KlipperScreen"
msgid "Tool"
msgstr "工具"
msgid "Total:"
msgstr "全部的:"
msgid "Unknown Heater"
msgstr "未知加热器"
msgid "Unload"
msgstr "退出耗材"
msgid "Up To Date"
msgstr "最新"
msgid "Update"
msgstr "更新"
#, fuzzy
msgid "Updating"
msgstr "更新"
msgid "Uploaded"
msgstr "上传时间"
msgid "View Mesh"
msgstr "查看热床网格"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY 移动速度 (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z 校准"
msgid "Z Move Speed (mm/s)"
msgstr "Z 移动速度 (mm/s)"
msgid "Z Position"
msgstr "Z 位置"
msgid "Z Tilt"
msgstr "Z 倾斜校准"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "改变"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "小时"
msgid "minutes"
msgstr "分钟"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4 地址"
#~ msgid "IPv6"
#~ msgstr "IPv6 地址"
#~ msgid "Z Offset"
#~ msgstr "Z 偏移"
#~ msgid "Unknown Heater "
#~ msgstr "未知加热器 "
#~ msgid "Disconnect"
#~ msgstr "断开"
#~ msgid "Duration Only"
#~ msgstr "持续时间"
#~ msgid "Klipper Version"
#~ msgstr "Klipper 版本"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper与MCU通讯错误。\n"
#~ "请为主板重新烧录固件。"
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper 遇到错误。\n"
#~ "使用 重启Firmware 命令尝试解决此问题。"
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen 版本"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "仅显示使用中的加热器"
#~ msgid "Target"
#~ msgstr "目标"
#~ msgid "Temp"
#~ msgstr "温度"
#~ msgid "Number Pad"
#~ msgstr "数字键盘"
#~ msgid "Preheat"
#~ msgstr "预热"
#~ msgid "Screen will show in less than one second"
#~ msgstr "屏幕将在1秒内显示"
#~ msgid "Medium (default)"
#~ msgstr "中 (默认)"
#~ msgid "File Estimation (default)"
#~ msgstr "文件 (默认)"
#~ msgid "Fan Off"
#~ msgstr "关闭风扇"
#~ msgid "Fan On"
#~ msgstr "打开风扇"
#~ msgid "Fast"
#~ msgstr "加速"
#~ msgid "Set Speed"
#~ msgstr "设置速度"
#~ msgid "Slow"
#~ msgstr "减速"
#~ msgid "?"
#~ msgstr "?"
#~ msgid "Cancel Change"
#~ msgstr "取消改动"
#~ msgid "Control"
#~ msgstr "控制"
#~ msgid "Load Average"
#~ msgstr "平均负载"
#~ msgid "Network Info"
#~ msgstr "网络信息"
#~ msgid "Screen Blanking Time"
#~ msgstr "关闭屏幕"
@@ -0,0 +1,690 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-03-31 11:25-0300\n"
"PO-Revision-Date: 2022-03-31 11:25-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0.1\n"
#, python-format
msgid "%s will be updated to version"
msgstr "%s 將更新到版本"
msgid "(default)"
msgstr "(預設)"
msgid "24 Hour Time"
msgstr "24 小時制"
msgid "A FIRMWARE_RESTART may fix the issue."
msgstr ""
msgid "Abort"
msgstr "中止"
msgid "Accept"
msgstr "接受"
msgid "Actions"
msgstr "動作"
msgid "Add Printer"
msgstr "新增列印機"
msgid "Add bed mesh profile"
msgstr "新增網床輪廓"
msgid "Are you sure you want to run Emergency Stop?"
msgstr "您確定要運行緊急停止嗎?"
msgid "Are you sure you wish to cancel this print?"
msgstr "您確定要取消列印嗎?"
msgid "Are you sure you wish to disable motors?"
msgstr "您確定要禁用電機嗎?"
msgid "Are you sure you wish to reboot the system?"
msgstr "您確定要重新啟動系統嗎?"
msgid "Are you sure you wish to shutdown the system?"
msgstr "您確定要關閉系統嗎?"
msgid "Auto"
msgstr "汽車"
msgid "Auto-scroll"
msgstr "自動滾屏"
msgid "Bed Level"
msgstr "熱床調平"
msgid "Bed Mesh"
msgstr "網格床"
msgid "Bltouch found applied offset"
msgstr "Bltouch 發現應用的偏移量"
msgid "Calibrate"
msgstr "校正"
msgid "Calibrated, save configuration to make it permanent"
msgstr "校準,保存配置以使其永久化"
msgid "Can't set above the maximum:"
msgstr "不能設置超過最大值:"
msgid "Cancel"
msgstr "取消"
msgid "Cancel Print"
msgstr "取消列印"
msgid "Cancelled"
msgstr "已取消"
msgid "Cancelling"
msgstr "取消"
msgid "Cannot connect to Moonraker"
msgstr "無法連接到 Moonraker"
msgid "Channel"
msgstr "通道"
msgid ""
"Check /tmp/KlipperScreen.log for more information.\n"
"Please submit an issue on GitHub for help."
msgstr ""
"檢查/tmp/KlipperScreen.log 日誌檔以了解更多訊息。\n"
"請在GitHub上提交問題以尋求幫助。"
msgid "Close"
msgstr "關閉"
msgid "Complete"
msgstr "完成"
msgid "Configuration"
msgstr "配置"
msgid "Confirm Emergency Stop"
msgstr "確認緊急停止"
msgid "Connected"
msgstr "連接"
#, python-format
msgid "Connecting to %s"
msgstr "連接到 %s"
msgid "Console"
msgstr "控制台"
msgid "Continue"
msgstr "繼續"
msgid "Cooldown"
msgstr "冷卻"
msgid "Date"
msgstr "日期"
msgid "Decrease"
msgstr "減少"
msgid "Delete"
msgstr "刪除"
msgid "Deselect"
msgstr "取消選擇"
msgid "Disable Motors"
msgstr "禁用步進電機"
msgid "Disable XY"
msgstr "禁用 XY"
msgid "Displayed Macros"
msgstr "顯示巨集"
msgid "Distance (mm)"
msgstr "距離(mm)"
#, python-format
msgid "Do you want to recover %s?"
msgstr "您想恢復 %s 嗎?"
msgid "Elapsed:"
msgstr "已耗時間:"
msgid "Error"
msgstr "錯誤"
msgid "Estimated Time Method"
msgstr "預估時間方法"
msgid "Extrude"
msgstr "擠出機"
msgid "Extrusion +"
msgstr "擠出 +"
msgid "Extrusion -"
msgstr "擠出 -"
msgid "Failed, adjust position first"
msgstr "失敗,先調整位置"
msgid "Fan"
msgstr "風扇"
msgid "Filament Used"
msgstr "已消耗的耗材"
msgid "File"
msgstr "檔案"
msgid "Fine Tuning"
msgstr "微調"
msgid "Finish"
msgstr "完成"
msgid ""
"Firmware\n"
"Restart"
msgstr ""
"Firmware\n"
"重新啟動"
msgid "Font Size"
msgstr "字體大小"
msgid ""
"Full\n"
"Update"
msgstr ""
"滿的\n"
"更新"
msgid "Go Back"
msgstr "返回"
msgid "Hidden"
msgstr "隱"
msgid "Hide"
msgstr "隱藏"
msgid "Hide sensors in Temp."
msgstr "在溫度中隱藏傳感器。"
msgid "Home"
msgstr "首頁"
msgid "Home All"
msgstr "歸零全部"
msgid "Home X"
msgstr "歸零 X"
msgid "Home XY"
msgstr "歸零 XY"
msgid "Home Y"
msgstr "歸零 Y"
msgid "Home Z"
msgstr "歸零 Z"
msgid "Homing"
msgstr "歸零"
msgid "Hostname"
msgstr "主機名稱"
msgid "Icon Theme"
msgstr "圖標主題"
msgid "Increase"
msgstr "增加"
msgid "Initializing"
msgstr "初始化中"
msgid "Initializing printer..."
msgstr "初始化列印機中.."
msgid "Interface"
msgstr "介面"
msgid "Invalid"
msgstr "無效的"
msgid "Invert X"
msgstr "反轉 X"
msgid "Invert Y"
msgstr "反轉 Y"
msgid "Invert Z"
msgstr "反轉 Z"
msgid ""
"Klipper\n"
"Restart"
msgstr ""
"Klipper\n"
"重新啟動"
msgid "Klipper has disconnected"
msgstr "Klipper 已斷開連結"
msgid "Klipper has encountered an error."
msgstr "Klipper遇到一個錯誤。"
msgid "Klipper has shutdown"
msgstr "Klipper 已經關閉"
msgid "Klipper is attempting to start"
msgstr "Klipper 正在嘗試重新啟動"
msgid "Klipper will reboot"
msgstr "Klipper 將重新啟動"
msgid "Language"
msgstr "語言"
msgid "Large"
msgstr "大的"
msgid "Left:"
msgstr "剩下時間:"
msgid "Limits"
msgstr "限制"
msgid "Load"
msgstr "載入"
msgid "Lower Nozzle"
msgstr "降低噴嘴"
msgid "Macro shortcut on sidebar"
msgstr "在側邊欄上顯示巨集快捷鍵"
msgid "Macros"
msgstr "巨集"
msgid "Main Menu"
msgstr "主選單"
msgid "Max Accelation"
msgstr "最大加速度"
msgid "Max Acceleration to Deceleration"
msgstr "最大加速到減速"
msgid "Max Velocity"
msgstr "最大速度"
msgid "Medium"
msgstr "中"
msgid "Menu"
msgstr "選單"
msgid "Modified"
msgstr "修改"
msgid "Moonraker: connected"
msgstr "Moonraker:已連接"
msgid "Move"
msgstr "移動"
msgid "Move Distance (mm)"
msgstr "移動距離(mm)"
msgid "Name"
msgstr "名稱"
msgid "Network"
msgstr "網路"
msgid "Nothing selected"
msgstr "未選擇任何內容"
msgid "Off"
msgstr "關閉"
#, python-format
msgid "Outdated by %d"
msgstr "已過時 %d"
msgid "PSK for"
msgstr "PSK 用於"
msgid "Package will be updated"
msgid_plural "Packages will be updated"
msgstr[0] "包將被更新"
msgid "Password saved"
msgstr "密碼已保存"
msgid "Pause"
msgstr "暫停"
msgid "Paused"
msgstr "已暫停"
msgid "Perform a full upgrade?"
msgstr "執行全面升級?"
msgid "Please recompile and flash the micro-controller."
msgstr "請重新編譯並刷寫微控制器。"
msgid "Power"
msgstr "電源"
msgid "Power On Printer"
msgstr "啟動列印機"
msgid "Print"
msgstr "列印"
msgid "Print Control"
msgstr "列印控制"
msgid "Print Time"
msgstr "列印時間"
msgid "Printer Connections"
msgstr "連接列印機"
msgid "Printing"
msgstr "列印中"
msgid "Probe found applied offset"
msgstr "Probe 發現應用的偏移量"
msgid "Profile Name:"
msgstr "配置檔案名稱:"
msgid "Quad Gantry Level"
msgstr "龍門調平"
msgid "Raise Nozzle"
msgstr "上升噴嘴"
msgid "Recover Hard"
msgstr "恢復 Hard"
msgid "Recover Soft"
msgstr "恢復 Soft"
msgid "Reference"
msgstr "參考"
msgid "Restart"
msgstr "重新啟動"
msgid "Resume"
msgstr "恢復"
msgid "Retract"
msgstr "回抽"
#, python-format
msgid "Retry #%s"
msgstr "重試 #%s"
msgid "Save"
msgstr "儲存"
msgid "Save Config"
msgstr "儲存設定"
msgid "Save configuration"
msgstr "儲存設定檔案"
msgid "Screen DPMS"
msgstr "屏幕DPMS"
msgid "Screen Power Off Time"
msgstr "螢幕關閉時間"
msgid "Screws Adjust"
msgstr "Screws 調整"
msgid "Select"
msgstr "選擇"
msgid "Send"
msgstr "發送"
#, python-format
msgid "Sending Power ON signal to: %s"
msgstr "正在發送通電信號到:%s"
msgid "Set Temp"
msgstr "設定溫度"
msgid "Settings"
msgstr "設定"
msgid "Show"
msgstr "展示"
msgid "Size"
msgstr "大小"
msgid "Slicer"
msgstr "切片"
msgid "Slicer Time correction (%)"
msgstr "切片器時間校正 (%)"
msgid "Small"
msgstr "小的"
msgid "Sort by: "
msgstr "排序: "
msgid "Speed (mm/s)"
msgstr "速度(mm/s)"
msgid "Speed +"
msgstr "速度 +"
msgid "Speed -"
msgstr "速度 -"
msgid "Square Corner Velocity"
msgstr "方角速度"
msgid "Start"
msgstr "開始"
msgid "Starting WiFi Association"
msgstr "啟動 WiFi 關聯"
msgid "Starting recovery for"
msgstr "開始恢復"
msgid "Starting update for"
msgstr "開始更新"
msgid "System"
msgstr "系統"
msgid ""
"System\n"
"Restart"
msgstr "系統重新啟動"
msgid ""
"System\n"
"Shutdown"
msgstr "關閉系統"
msgid "Temp (°C)"
msgstr "溫度(°C)"
msgid "Temperature"
msgstr "溫度"
#, python-format
msgid "To apply %s KlipperScreen needs to be restarted"
msgstr "要應用 %s,需要重新啟動 KlipperScreen"
msgid "Tool"
msgstr "工具"
msgid "Total:"
msgstr "全部的:"
msgid "Unknown Heater"
msgstr "未知加熱器"
msgid "Unload"
msgstr "卸載"
msgid "Up To Date"
msgstr "最新"
msgid "Update"
msgstr "更新"
msgid "Updating"
msgstr "更新"
msgid "Uploaded"
msgstr "上傳時間"
msgid "View Mesh"
msgstr "檢視網格"
msgid "X+"
msgstr "X+"
msgid "X-"
msgstr "X-"
msgid "XY Move Speed (mm/s)"
msgstr "XY 移動速度 (mm/s)"
msgid "Y+"
msgstr "Y+"
msgid "Y-"
msgstr "Y-"
msgid "Z Calibrate"
msgstr "Z 校準"
msgid "Z Move Speed (mm/s)"
msgstr "Z 移動速度 (mm/s)"
msgid "Z Position"
msgstr "Z 位置"
msgid "Z Tilt"
msgstr "Z 傾斜"
msgid "Z+"
msgstr "Z+"
msgid "Z-"
msgstr "Z-"
msgid "commit"
msgid_plural "commits"
msgstr[0] "改變"
msgid "dBm"
msgstr "dBm"
msgid "hour"
msgid_plural "hours"
msgstr[0] "小時"
msgid "minutes"
msgstr "分鐘"
msgid "mm"
msgstr "mm"
msgid "mm/s"
msgstr "mm/s"
msgid "mm/s^2"
msgstr "mm/s^2"
#~ msgid "IPv4"
#~ msgstr "IPv4"
#~ msgid "IPv6"
#~ msgstr "IPv6"
#~ msgid "Z Offset"
#~ msgstr "Z 間隙"
#~ msgid "Unknown Heater "
#~ msgstr "未知加熱器 "
#~ msgid "Disconnect"
#~ msgstr "斷開"
#~ msgid "Duration Only"
#~ msgstr "僅持續時間"
#~ msgid "Klipper Version"
#~ msgstr "Klipper 版本"
#~ msgid ""
#~ "Klipper has encountered an error with the micro-controller.\n"
#~ "Please recompile and flash."
#~ msgstr ""
#~ "Klipper遇到微控制器錯誤。\n"
#~ "請重新編譯並刷新。"
#~ msgid ""
#~ "Klipper has encountered an error.\n"
#~ "Issue a FIRMWARE_RESTART to attempt fixing the issue."
#~ msgstr ""
#~ "Klipper遇到錯誤。\n"
#~ "發出 FIRMWARE_RESTART 嘗試解決這個問題。"
#~ msgid "KlipperScreen Version"
#~ msgstr "KlipperScreen 版本"
#~ msgid "Show Only Heaters in Temp."
#~ msgstr "僅顯示溫度下的加熱器"
#~ msgid "Target"
#~ msgstr "目標溫度"
#~ msgid "Temp"
#~ msgstr "目前溫度"
#~ msgid "Number Pad"
#~ msgstr "數字鍵盤"
#~ msgid "Preheat"
#~ msgstr "預熱"
#~ msgid "Screen will show in less than one second"
#~ msgstr "螢幕將在1秒內顯示"
+408
View File
@@ -0,0 +1,408 @@
import gi
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, GLib
class Printer:
data = {}
devices = {}
power_devices = {}
state_callbacks = {
"disconnected": None,
"error": None,
"paused": None,
"printing": None,
"ready": None,
"startup": None,
"shutdown": None
}
tools = []
toolcount = 0
extrudercount = 0
tempdevcount = 0
fancount = 0
def __init__(self, printer_info, data, state_execute_cb):
self.state = "disconnected"
self.state_cb = state_execute_cb
self.power_devices = {}
self.store_timeout = False
def reset(self):
self.state = None
self.state_cb = None
self.data = None
self.devices = None
self.power_devices = None
self.state_callbacks = None
self.tools = None
self.toolcount = None
self.extrudercount = None
self.tempdevcount = None
self.fancount = None
GLib.source_remove(self.store_timeout)
self.store_timeout = None
self.config = None
self.klipper = None
self.tempstore = None
def reinit(self, printer_info, data):
logging.debug("Moonraker object status: %s" % data)
self.config = data['configfile']['config']
self.toolcount = 0
self.extrudercount = 0
self.tempdevcount = 0
self.fancount = 0
self.tools = []
self.devices = {}
self.data = data
self.klipper = {}
self.tempstore = {}
if self.store_timeout is False:
self.store_timeout = GLib.timeout_add_seconds(1, self._update_temp_store)
self.klipper = {
"version": printer_info['software_version']
}
for x in self.config.keys():
if x[0:8] == "extruder":
if x.startswith('extruder_stepper'):
continue
self.devices[x] = {
"temperature": 0,
"target": 0
}
self.tools.append(x)
self.tools = sorted(self.tools)
self.toolcount += 1
if "shared_heater" in self.config[x]:
continue
self.extrudercount += 1
if x == 'heater_bed' or x.startswith('heater_generic ') or x.startswith('temperature_sensor ') \
or x.startswith('temperature_fan '):
self.devices[x] = {
"temperature": 0,
"target": 0
}
self.tempdevcount += 1
if x == 'fan' or x.startswith('controller_fan ') or x.startswith('heater_fan ') \
or x.startswith('fan_generic '):
self.fancount += 1
if x.startswith('bed_mesh '):
r = self.config[x]
r['x_count'] = int(r['x_count'])
r['y_count'] = int(r['y_count'])
r['max_x'] = float(r['max_x'])
r['min_x'] = float(r['min_x'])
r['max_y'] = float(r['max_y'])
r['min_y'] = float(r['min_y'])
r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")]
self.process_update(data)
logging.info("Klipper version: %s", self.klipper['version'])
logging.info("# Toolcount: %s", str(self.toolcount))
logging.info("# Extruders: %s", str(self.extrudercount))
logging.info("# Temperature devices: %s", str(self.tempdevcount))
logging.info("# Fans: %s", str(self.fancount))
def process_update(self, data):
keys = [
'bed_mesh',
'display_status',
'fan',
'gcode_move',
'idle_timeout',
'pause_resume',
'print_stats',
'toolhead',
'virtual_sdcard',
'webhooks',
'fimware_retraction',
'motion_report'
]
for x in (self.get_tools() + self.get_heaters()):
if x in data:
for i in data[x]:
self.set_dev_stat(x, i, data[x][i])
for x in data:
if x == "configfile":
continue
if x not in self.data:
self.data[x] = {}
self.data[x].update(data[x])
if "webhooks" in data or "idle_timeout" in data or "print_stats" in data:
self.evaluate_state()
def get_updates(self):
updates = self.data.copy()
updates.update(self.devices)
return updates
def evaluate_state(self):
wh_state = self.data['webhooks']['state'].lower() # possible values: startup, ready, shutdown, error
if wh_state == "ready":
new_state = "ready"
if self.data['print_stats']:
print_state = self.data['print_stats']['state'].lower() # complete, error, paused, printing, standby
if print_state == "paused":
new_state = "paused"
if self.data['idle_timeout']:
idle_state = self.data['idle_timeout']['state'].lower() # idle, printing, ready
if idle_state == "printing":
if print_state == "complete":
new_state = "ready"
elif print_state != "printing": # Not printing a file, toolhead moving
new_state = "busy"
else:
new_state = "printing"
if new_state != "busy":
self.change_state(new_state)
else:
self.change_state(wh_state)
def process_power_update(self, data):
if data['device'] in self.power_devices:
self.power_devices[data['device']]['status'] = data['status']
def change_state(self, state):
if state == self.state or state not in list(self.state_callbacks):
return
logging.debug("Changing state from '%s' to '%s'" % (self.state, state))
prev_state = self.state
self.state = state
if self.state_callbacks[state] is not None:
logging.debug("Adding callback for state: %s" % state)
Gdk.threads_add_idle(
GLib.PRIORITY_HIGH_IDLE,
self.state_cb,
self.state_callbacks[state],
prev_state
)
def configure_power_devices(self, data):
self.power_devices = {}
logging.debug("Processing power devices: %s" % data)
for x in data['devices']:
self.power_devices[x['device']] = {
"status": "on" if x['status'] == "on" else "off"
}
logging.debug("Power devices: %s" % self.power_devices)
def get_config_section_list(self, search=""):
if not hasattr(self, "config"):
return []
return [i for i in list(self.config) if i.startswith(search)]
def get_config_section(self, section):
if section in self.config:
return self.config[section]
return False
def get_config_section(self, section):
if section not in self.config:
return False
return self.config[section]
def get_data(self):
return self.data
def get_fans(self):
fans = []
if self.config_section_exists("fan"):
fans.append("fan")
fan_types = ["controller_fan", "fan_generic", "heater_fan"]
for type in fan_types:
for f in self.get_config_section_list("%s " % type):
fans.append(f)
return fans
def get_gcode_macros(self):
return self.get_config_section_list("gcode_macro ")
def get_heaters(self):
heaters = []
if self.has_heated_bed():
heaters.append("heater_bed")
for h in self.get_config_section_list("heater_generic "):
heaters.append(h)
for h in self.get_config_section_list("temperature_sensor "):
heaters.append(h)
for h in self.get_config_section_list("temperature_fan "):
heaters.append(h)
return heaters
def get_printer_status_data(self):
data = {
"printer": {
"extruders": {
"count": self.extrudercount
},
"temperature_devices": {
"count": self.tempdevcount
},
"fans": {
"count": self.fancount
},
"bltouch": self.config_section_exists("bltouch"),
"gcode_macros": {
"count": len(self.get_gcode_macros())
},
"idle_timeout": self.get_stat("idle_timeout").copy(),
"pause_resume": self.get_stat("pause_resume").copy(),
"power_devices": {
"count": len(self.get_power_devices())
},
"probe": self.config_section_exists("probe"),
"firmware_retraction": self.config_section_exists("firmware_retraction")
}
}
sections = ["bed_mesh", "bltouch", "probe", "quad_gantry_level", "z_tilt"]
for section in sections:
if self.config_section_exists(section):
data["printer"][section] = self.get_config_section(section).copy()
return data
def get_klipper_version(self):
return self.klipper['version']
def get_power_devices(self):
return list(self.power_devices)
def get_power_device_status(self, device):
if device not in self.power_devices:
return
return self.power_devices[device]['status']
def get_stat(self, stat, substat=None):
if stat not in self.data:
return {}
if substat is not None:
if substat in self.data[stat]:
return self.data[stat][substat]
return {}
return self.data[stat]
def get_state(self):
return self.state
def set_dev_temps(self, dev, temp, target=None):
if dev in self.devices:
self.devices[dev]['temperature'] = temp
if target is not None:
self.devices[dev]['target'] = target
def get_dev_stats(self, dev):
if dev in self.devices:
return self.devices[dev]
return None
def get_dev_stat(self, dev, stat):
if dev in self.devices and stat in self.devices[dev]:
return self.devices[dev][stat]
return None
def get_fan_speed(self, fan="fan", speed=None):
if fan not in self.config or fan not in self.data:
logging.debug("Error getting %s config", fan)
return speed if speed is not None else 0
if speed is None and "speed" in self.data[fan]:
speed = self.data[fan]["speed"]
if 'max_power' in self.config[fan]:
max_power = float(self.config[fan]['max_power'])
if max_power > 0:
speed = speed / max_power
if 'off_below' in self.config[fan]:
off_below = float(self.config[fan]['off_below'])
if speed < off_below:
speed = 0
return speed
def get_extruder_count(self):
return self.extrudercount
def get_temp_store_devices(self):
if self.tempstore is not None:
return list(self.tempstore)
def get_temp_store_device_has_target(self, device):
if device in self.tempstore:
if "targets" in self.tempstore[device]:
return True
return False
def get_temp_store(self, device, section=False, results=0):
if device not in self.tempstore:
return False
if section is not False:
if section not in self.tempstore[device]:
return False
if results == 0 or results >= len(self.tempstore[device][section]):
return self.tempstore[device][section]
return self.tempstore[device][section][-results:]
temp = {}
for section in self.tempstore[device]:
if results == 0 or results >= len(self.tempstore[device][section]):
temp[section] = self.tempstore[device][section]
temp[section] = self.tempstore[device][section][-results:]
return temp
def get_tools(self):
return self.tools
def get_tool_number(self, tool):
return self.tools.index(tool)
def has_heated_bed(self):
if "heater_bed" in self.devices:
return True
def init_temp_store(self, result):
for dev in result:
self.tempstore[dev] = {}
if "targets" in result[dev]:
self.tempstore[dev]["targets"] = result[dev]["targets"]
if "temperatures" in result[dev]:
self.tempstore[dev]["temperatures"] = result[dev]["temperatures"]
logging.info("Temp store: %s" % list(self.tempstore))
def config_section_exists(self, section):
if section in self.get_config_section_list():
return True
return False
def set_callbacks(self, callbacks):
for name, cb in callbacks.items():
if name in list(self.state_callbacks):
self.state_callbacks[name] = cb
def set_dev_stat(self, dev, stat, value):
if dev not in self.devices:
return
self.devices[dev][stat] = value
def _update_temp_store(self):
for device in self.tempstore:
for x in self.tempstore[device]:
if len(self.tempstore[device][x]) >= 1200:
self.tempstore[device][x].pop(0)
temp = self.get_dev_stat(device, x[:-1])
if temp is None:
temp = 0
self.tempstore[device][x].append(round(temp, 2))
return True
+118
View File
@@ -0,0 +1,118 @@
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
from ks_includes.KlippyGcodes import KlippyGcodes
class ScreenPanel:
def __init__(self, screen, title, back=True, action_bar=True, printer_name=True):
self._screen = screen
self._config = screen._config
self._files = screen.files
self.lang = self._screen.lang
self._printer = screen.printer
self.labels = {}
self._gtk = screen.gtk
self.control = {}
self.title = title
self.devices = {}
self.active_heaters = []
self.layout = Gtk.Layout()
self.layout.set_size(self._screen.width, self._screen.height)
self.content = Gtk.Box(spacing=0)
def initialize(self, panel_name):
# Create gtk items here
return
def emergency_stop(self, widget):
_ = self.lang.gettext
if self._config.get_main_config_option('confirm_estop') == "True":
self._screen._confirm_send_action(widget, _("Are you sure you want to run Emergency Stop?"),
"printer.emergency_stop")
else:
self._screen._ws.klippy.emergency_stop()
def format_target(self, temp):
if temp <= 0:
return ""
else:
return ("(%s)" % str(int(temp)))
def format_temp(self, temp, places=1):
if places == 0:
n = int(temp)
else:
n = round(temp, places)
return "%s<small>°C</small>" % str(n)
def get(self):
return self.layout
def get_content(self):
return self.content
def get_file_image(self, filename, width=1.6, height=1.6):
if not self._files.has_thumbnail(filename):
return None
loc = self._files.get_thumbnail_location(filename)
if loc is None:
return None
if loc[0] == "file":
return self._gtk.PixbufFromFile(loc[1], None, width, height)
if loc[0] == "http":
return self._gtk.PixbufFromHttp(loc[1], None, width, height)
return None
def get_title(self):
return self.title
def home(self, widget):
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
def homexy(self, widget):
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME_XY)
def z_tilt(self, widget):
self._screen._ws.klippy.gcode_script(KlippyGcodes.Z_TILT)
def quad_gantry_level(self, widget):
self._screen._ws.klippy.gcode_script(KlippyGcodes.QUAD_GANTRY_LEVEL)
def menu_item_clicked(self, widget, panel, item):
print("### Creating panel " + item['panel'] + " : %s %s" % (panel, item))
if "items" in item:
self._screen.show_panel(self._screen._cur_panels[-1] + '_' + panel, item['panel'], item['name'],
1, False, items=item['items'])
return
self._screen.show_panel(self._screen._cur_panels[-1] + '_' + panel, item['panel'], item['name'],
1, False)
def menu_return(self, widget, home=False):
if home is False:
self._screen._menu_go_back()
return
self._screen._menu_go_home()
def set_title(self, title):
self.title = title
def show_all(self):
self._screen.show_all()
def update_image_text(self, label, text):
if label in self.labels and 'l' in self.labels[label]:
self.labels[label]['l'].set_text(text)
def update_temp(self, dev, temp, target, name=None):
if dev in self.labels:
if name is None:
self.labels[dev].set_label(self._gtk.formatTemperatureString(temp, target))
else:
self.labels[dev].set_label("%s\n%s" % (name, self._gtk.formatTemperatureString(temp, target)))
+200
View File
@@ -0,0 +1,200 @@
import datetime
import gi
import logging
import math
gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, Gtk
class HeaterGraph(Gtk.DrawingArea):
def __init__(self, printer, font_size):
super().__init__()
self.set_hexpand(True)
self.set_vexpand(True)
self.get_style_context().add_class('heatergraph')
self.printer = printer
self.store = {}
self.max_length = 0
self.connect('draw', self.draw_graph)
self.add_events(Gdk.EventMask.TOUCH_MASK)
self.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
self.connect('touch-event', self.event_cb)
self.connect('button_press_event', self.event_cb)
self.font_size = round(font_size * 0.75)
def add_object(self, name, type, rgb=[0, 0, 0], dashed=False, fill=False):
if name not in self.store:
self.store.update({name: {"show": True}})
self.store[name].update({type: {
"dashed": dashed,
"fill": fill,
"rgb": rgb
}})
self.max_length = max(self.max_length, len(self.printer.get_temp_store(name, type)))
def event_cb(self, da, ev):
if ev.type == Gdk.EventType.BUTTON_PRESS:
x = ev.x
y = ev.y
logging.info("Graph area: %s %s" % (x, y))
def get_max_length(self):
n = []
for name in self.store:
if "temperatures" not in self.store[name]:
continue
n.append(len(self.printer.get_temp_store(name, "temperatures")))
return min(n)
def get_max_num(self, data_points=0):
mnum = []
for x in self.store:
for t in self.store[x]:
if t == "show":
continue
mnum.append(max(self.printer.get_temp_store(x, t, data_points)))
return max(mnum)
def draw_graph(self, da, ctx):
width = da.get_allocated_width()
height = da.get_allocated_height()
g_width_start = round(self.font_size * 2.75)
g_width = width - 15
g_height_start = 10
g_height = height - self.font_size * 2
ctx.set_source_rgb(.5, .5, .5)
ctx.set_line_width(1)
ctx.set_tolerance(0.1)
ctx.move_to(g_width_start, g_height_start)
ctx.line_to(g_width, g_height_start)
ctx.line_to(g_width, g_height)
ctx.line_to(g_width_start, g_height)
ctx.line_to(g_width_start, g_height_start)
ctx.stroke()
ctx.set_source_rgb(1, 0, 0)
ctx.move_to(g_width_start, height)
gsize = [
[g_width_start, g_height_start],
[g_width, g_height]
]
self.max_length = self.get_max_length()
graph_width = gsize[1][0] - gsize[0][0]
points_per_pixel = self.max_length / graph_width
data_points = int(round(graph_width * points_per_pixel, 0))
max_num = math.ceil(self.get_max_num(data_points) * 1.1 / 10) * 10
d_width = 1 / points_per_pixel
d_height_scale = self.graph_lines(ctx, gsize, max_num)
self.graph_time(ctx, gsize, points_per_pixel)
for name in self.store:
if not self.store[name]['show']:
continue
for type in self.store[name]:
d = self.printer.get_temp_store(name, type, data_points)
if d is False:
continue
self.graph_data(ctx, d, gsize, d_height_scale, d_width, self.store[name][type]["rgb"],
self.store[name][type]["dashed"], self.store[name][type]["fill"])
def graph_data(self, ctx, data, gsize, hscale, swidth, rgb, dashed=False, fill=False):
i = 0
ctx.set_source_rgba(rgb[0], rgb[1], rgb[2], 1)
ctx.move_to(gsize[0][0] + 1, gsize[0][1] - 1)
if dashed:
ctx.set_dash([10, 5])
else:
ctx.set_dash([1, 0])
d_len = len(data) - 1
for d in data:
p_x = i*swidth + gsize[0][0] if i != d_len else gsize[1][0] - 1
p_y = gsize[1][1] - 1 - (d*hscale)
if i == 0:
ctx.move_to(gsize[0][0]+1, p_y)
i += 1
continue
ctx.line_to(p_x, p_y)
i += 1
if fill is False:
ctx.stroke()
return
ctx.stroke_preserve()
ctx.line_to(gsize[1][0] - 1, gsize[1][1] - 1)
ctx.line_to(gsize[0][0] + 1, gsize[1][1] - 1)
if fill:
ctx.set_source_rgba(rgb[0], rgb[1], rgb[2], .1)
ctx.fill()
def graph_lines(self, ctx, gsize, max_num):
nscale = 10
while (max_num / nscale) > 5:
nscale += 10
# nscale = math.floor((max_num / 10) / 4) * 10
r = int(max_num/nscale) + 1
hscale = (gsize[1][1] - gsize[0][1]) / (r * nscale)
for i in range(r):
ctx.set_source_rgb(.5, .5, .5)
lheight = gsize[1][1] - nscale*i*hscale
ctx.move_to(6, lheight + 3)
ctx.set_font_size(self.font_size)
ctx.show_text(str(nscale*i).rjust(3, " "))
ctx.stroke()
ctx.set_source_rgba(.5, .5, .5, .2)
ctx.move_to(gsize[0][0], lheight)
ctx.line_to(gsize[1][0], lheight)
ctx.stroke()
return hscale
def graph_time(self, ctx, gsize, points_per_pixel):
now = datetime.datetime.now()
first = gsize[1][0] - (now.second + ((now.minute % 2) * 60)) / points_per_pixel
steplen = 120 / points_per_pixel # For 120s
i = 0
while True:
x = first - i * steplen
if x < gsize[0][0]:
break
ctx.set_source_rgba(.5, .5, .5, .2)
ctx.move_to(x, gsize[0][1])
ctx.line_to(x, gsize[1][1])
ctx.stroke()
ctx.set_source_rgb(.5, .5, .5)
ctx.move_to(x - round(self.font_size * 1.5), gsize[1][1] + round(self.font_size * 1.5))
hour = now.hour
min = now.minute - (now.minute % 2) - i * 2
if min < 0:
hour -= 1
min = 60 + min
if hour < 0:
hour += 24
ctx.set_font_size(self.font_size)
ctx.show_text("%02d:%02d" % (hour, min))
ctx.stroke()
if self.max_length < 600:
i += 1
else:
i += 2
def is_showing(self, device):
if device not in self.store:
return False
return self.store[device]['show']
def set_showing(self, device, show=True):
if device not in self.store:
return
self.store[device]['show'] = show
+79
View File
@@ -0,0 +1,79 @@
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
class Keypad(Gtk.Box):
def __init__(self, screen, change_temp, close_function):
super().__init__(orientation=Gtk.Orientation.VERTICAL)
_ = screen.lang.gettext
self.labels = {}
self.change_temp = change_temp
self.screen = screen
self._gtk = screen.gtk
numpad = self._gtk.HomogeneousGrid()
numpad.set_direction(Gtk.TextDirection.LTR)
keys = [
['1', 'numpad_tleft'],
['2', 'numpad_top'],
['3', 'numpad_tright'],
['4', 'numpad_left'],
['5', 'numpad_button'],
['6', 'numpad_right'],
['7', 'numpad_left'],
['8', 'numpad_button'],
['9', 'numpad_right'],
['B', 'numpad_bleft'],
['0', 'numpad_bottom'],
['E', 'numpad_bright']
]
for i in range(len(keys)):
id = 'button_' + str(keys[i][0])
if keys[i][0] == "B":
self.labels[id] = self._gtk.ButtonImage("backspace", None, None, 1)
elif keys[i][0] == "E":
self.labels[id] = self._gtk.ButtonImage("complete", None, None, 1)
else:
self.labels[id] = Gtk.Button(keys[i][0])
self.labels[id].connect('clicked', self.update_entry, keys[i][0])
self.labels[id].get_style_context().add_class(keys[i][1])
numpad.attach(self.labels[id], i % 3, i/3, 1, 1)
self.labels["keypad"] = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.labels['entry'] = Gtk.Entry()
self.labels['entry'].props.xalign = 0.5
self.labels['entry'].connect("activate", self.update_entry, "E")
b = self._gtk.ButtonImage('cancel', _('Close'), None, 1)
b.connect("clicked", close_function)
self.add(self.labels['entry'])
self.add(numpad)
self.add(b)
self.labels["keypad"] = numpad
def clear(self):
self.labels['entry'].set_text("")
def update_entry(self, widget, digit):
text = self.labels['entry'].get_text()
if digit == 'B':
if len(text) < 1:
return
self.labels['entry'].set_text(text[0:-1])
elif digit == 'E':
try:
temp = int(text)
except ValueError:
temp = 0
self.change_temp(temp)
self.labels['entry'].set_text("")
else:
if len(text) >= 3:
return
self.labels['entry'].set_text(text + digit)
+479
View File
@@ -0,0 +1,479 @@
import os
import logging
import re
import socket
import threading
from threading import Thread
from queue import Queue
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import GLib, Gdk
class WifiManager():
networks_in_supplicant = []
connected = False
_stop_loop = False
thread = None
def __init__(self, interface, *args, **kwargs):
super().__init__(*args, **kwargs)
self.loop = None
self._poll_task = None
self._scanning = False
self._callbacks = {
"connected": [],
"connecting_status": [],
"scan_results": []
}
self._stop_loop = False
self.connected = False
self.connected_ssid = None
self.connecting_info = []
self.event = threading.Event()
self.initialized = False
self.interface = interface
self.networks = {}
self.supplicant_networks = {}
self.queue = Queue()
self.tasks = []
self.timeout = None
self.scan_time = 0
KS_SOCKET_FILE = "/tmp/.KS_wpa_supplicant"
if os.path.exists(KS_SOCKET_FILE):
os.remove(KS_SOCKET_FILE)
try:
self.soc = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
self.soc.bind(KS_SOCKET_FILE)
self.soc.connect("/var/run/wpa_supplicant/%s" % interface)
except Exception:
logging.info("Error connecting to wifi socket: %s" % interface)
return
self.wpa_thread = WpaSocket(self, self.queue, self.callback)
self.wpa_thread.start()
self.initialized = True
self.wpa_cli("ATTACH", False)
self.wpa_cli("SCAN", False)
GLib.idle_add(self.read_wpa_supplicant)
self.timeout = GLib.timeout_add_seconds(180, self.rescan)
def add_callback(self, name, callback):
if name in self._callbacks and callback not in self._callbacks[name]:
self._callbacks[name].append(callback)
def add_network(self, ssid, psk):
for id in list(self.supplicant_networks):
if self.supplicant_networks[id]['ssid'] == ssid:
# Modify network
return
# TODO: Add wpa_cli error checking
network_id = self.wpa_cli("ADD_NETWORK")
commands = [
'ENABLE_NETWORK %s' % (network_id),
'SET_NETWORK %s ssid "%s"' % (network_id, ssid.replace('"', '\"')),
'SET_NETWORK %s psk "%s"' % (network_id, psk.replace('"', '\"'))
]
self.wpa_cli_batch(commands)
self.read_wpa_supplicant()
id = None
for i in list(self.supplicant_networks):
if self.supplicant_networks[i]['ssid'] == ssid:
id = i
break
if id is None:
logging.info("Error adding network")
return False
self.save_wpa_conf()
return True
def callback(self, type, msg):
if type in self._callbacks:
for cb in self._callbacks[type]:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
cb,
msg)
def connect(self, ssid):
id = None
for netid, net in self.supplicant_networks.items():
if net['ssid'] == ssid:
id = netid
break
if id is None:
logging.info("Wifi network is not defined in wpa_supplicant")
return False
logging.info("Attempting to connect to wifi: %s" % id)
self.connecting_info = ["Attempting to connect to %s" % ssid]
self.wpa_cli("SELECT_NETWORK %s" % id)
self.save_wpa_conf()
def delete_network(self, ssid):
id = None
for i in list(self.supplicant_networks):
if self.supplicant_networks[i]['ssid'] == ssid:
id = i
break
if id is None:
logging.debug("Unable to find network in wpa_supplicant")
return
self.wpa_cli("REMOVE_NETWORK %s" % id)
for id in list(self.supplicant_networks):
if self.supplicant_networks[id]['ssid'] == ssid:
del self.supplicant_networks[id]
break
self.save_wpa_conf()
def get_connected_ssid(self):
return self.connected_ssid
def get_current_wifi(self, interface="wlan0"):
con_ssid = os.popen("sudo iwgetid -r").read().strip()
con_bssid = os.popen("sudo iwgetid -r -a").read().strip()
# wpa_cli status output is unstable use it as backup only
status = self.wpa_cli("STATUS").split('\n')
vars = {}
for line in status:
arr = line.split('=')
vars[arr[0]] = "=".join(arr[1:])
prev_ssid = self.connected_ssid
if con_ssid != "":
self.connected = True
self.connected_ssid = con_ssid
for ssid, val in self.networks.items():
if ssid == con_ssid:
self.networks[ssid]['connected'] = True
else:
self.networks[ssid]['connected'] = False
if prev_ssid != self.connected_ssid:
for cb in self._callbacks['connected']:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
cb, self.connected_ssid, prev_ssid)
return [con_ssid, con_bssid]
elif "ssid" in vars and "bssid" in vars:
self.connected = True
self.connected_ssid = vars['ssid']
for ssid, val in self.networks.items():
if ssid == vars['ssid']:
self.networks[ssid]['connected'] = True
else:
self.networks[ssid]['connected'] = False
if prev_ssid != self.connected_ssid:
for cb in self._callbacks['connected']:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
cb, self.connected_ssid, prev_ssid)
return [vars['ssid'], vars['bssid']]
else:
logging.info("Resetting connected_ssid")
self.connected = False
self.connected_ssid = None
for ssid, val in self.networks.items():
self.networks[ssid]['connected'] = False
if prev_ssid != self.connected_ssid:
for cb in self._callbacks['connected']:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
cb, self.connected_ssid, prev_ssid)
return None
def get_current_wifi_idle_add(self):
self.get_current_wifi()
return False
def get_network_info(self, ssid=None, mac=None):
if ssid is not None and ssid in self.networks:
return self.networks[ssid]
if mac is not None and ssid is None:
for net in self.networks:
if mac == net['mac']:
return net
return None
def get_networks(self):
return list(self.networks)
def get_supplicant_networks(self):
return self.supplicant_networks
def is_connected(self):
return self.connected
def is_initialized(self):
return self.initialized
def read_wpa_supplicant(self):
results = self.wpa_cli("LIST_NETWORKS").split('\n')
results.pop(0)
self.supplicant_networks = {}
self.networks_in_supplicant = []
for net in [n.split('\t') for n in results]:
self.supplicant_networks[net[0]] = {
"ssid": net[1],
"bssid": net[2],
"flags": net[3] if len(net) == 4 else ""
}
self.networks_in_supplicant.append(self.supplicant_networks[net[0]])
def remove_callback(self, name, callback):
if name in self._callbacks and callback in self._callbacks[name]:
self._callbacks[name].remove(callback)
def rescan(self):
self.wpa_cli("SCAN", False)
return True
def save_wpa_conf(self):
logging.info("Saving WPA config")
self.wpa_cli("SAVE_CONFIG")
def scan_results(self, interface='wlan0'):
new_networks = []
deleted_networks = list(self.networks)
results = self.wpa_cli("SCAN_RESULTS").split('\n')
results.pop(0)
aps = []
for res in results:
match = re.match("^([a-f0-9:]+)\\s+([0-9]+)\\s+([\\-0-9]+)\\s+(\\S+)\\s+(.+)?", res)
if match:
net = {
"mac": match.group(1),
"channel": WifiChannels.lookup(match.group(2))[1],
"connected": False,
"configured": False,
"frequency": match.group(2),
"flags": match.group(4),
"signal_level_dBm": match.group(3),
"ssid": match.group(5)
}
if "WPA2" in net['flags']:
net['encryption'] = "WPA2"
elif "WPA" in net['flags']:
net['encryption'] = "WPA"
elif "WEP" in net['flags']:
net['encryption'] = "WEP"
else:
net['encryption'] = "off"
aps.append(net)
cur_info = self.get_current_wifi()
self.networks = {}
for ap in aps:
self.networks[ap['ssid']] = ap
if cur_info is not None and cur_info[0] == ap['ssid'] and cur_info[1].lower() == ap['mac'].lower():
self.networks[ap['ssid']]['connected'] = True
for net in list(self.networks):
if net in deleted_networks:
deleted_networks.remove(net)
else:
new_networks.append(net)
if len(new_networks) > 0 or len(deleted_networks) > 0:
for cb in self._callbacks['scan_results']:
Gdk.threads_add_idle(
GLib.PRIORITY_DEFAULT_IDLE,
cb, new_networks, deleted_networks)
def wpa_cli(self, command, wait=True):
if wait is False:
self.wpa_thread.skip_command()
self.soc.send(command.encode())
if wait is True:
resp = self.queue.get()
return resp
def wpa_cli_batch(self, commands):
for cmd in commands:
self.wpa_cli(cmd)
class WpaSocket(Thread):
def __init__(self, wm, queue, callback):
super().__init__()
self.queue = queue
self.callback = callback
self.soc = wm.soc
self._stop_loop = False
self.skip_commands = 0
self.wm = wm
def run(self):
event = threading.Event()
logging.debug("Setting up wifi event loop")
while self._stop_loop is False:
try:
msg = self.soc.recv(4096).decode().strip()
except Exception:
# TODO: Socket error
continue
if msg.startswith("<"):
if "CTRL-EVENT-SCAN-RESULTS" in msg:
Gdk.threads_add_idle(GLib.PRIORITY_DEFAULT_IDLE, self.wm.scan_results)
elif "CTRL-EVENT-DISCONNECTED" in msg:
self.callback("connecting_status", msg)
match = re.match('<3>CTRL-EVENT-DISCONNECTED bssid=(\\S+) reason=3 locally_generated=1', msg)
if match:
for net in self.wm.networks:
if self.wm.networks[net]['mac'] == match.group(1):
self.wm.networks[net]['connected'] = False
break
elif "Trying to associate" in msg:
self.callback("connecting_status", msg)
elif "CTRL-EVENT-REGDOM-CHANGE" in msg:
self.callback("connecting_status", msg)
elif "CTRL-EVENT-CONNECTED" in msg:
Gdk.threads_add_idle(GLib.PRIORITY_DEFAULT_IDLE, self.wm.get_current_wifi_idle_add)
self.callback("connecting_status", msg)
else:
if self.skip_commands > 0:
self.skip_commands = self.skip_commands - 1
else:
self.queue.put(msg)
logging.info("Wifi event loop ended")
def skip_command(self):
self.skip_commands = self.skip_commands + 1
def stop(self):
self._stop_loop = True
class WifiChannels:
@staticmethod
def lookup(freq):
if freq == "2412":
return ("2.4", "1")
if freq == "2417":
return ("2.4", "2")
if freq == "2422":
return ("2.4", "3")
if freq == "2427":
return ("2.4", "4")
if freq == "2432":
return ("2.4", "5")
if freq == "2437":
return ("2.4", "6")
if freq == "2442":
return ("2.4", "7")
if freq == "2447":
return ("2.4", "8")
if freq == "2452":
return ("2.4", "9")
if freq == "2457":
return ("2.4", "10")
if freq == "2462":
return ("2.4", "11")
if freq == "2467":
return ("2.4", "12")
if freq == "2472":
return ("2.4", "13")
if freq == "2484":
return ("2.4", "14")
if freq == "5035":
return ("5", "7")
if freq == "5040":
return ("5", "8")
if freq == "5045":
return ("5", "9")
if freq == "5055":
return ("5", "11")
if freq == "5060":
return ("5", "12")
if freq == "5080":
return ("5", "16")
if freq == "5170":
return ("5", "34")
if freq == "5180":
return ("5", "36")
if freq == "5190":
return ("5", "38")
if freq == "5200":
return ("5", "40")
if freq == "5210":
return ("5", "42")
if freq == "5220":
return ("5", "44")
if freq == "5230":
return ("5", "46")
if freq == "5240":
return ("5", "48")
if freq == "5260":
return ("5", "52")
if freq == "5280":
return ("5", "56")
if freq == "5300":
return ("5", "60")
if freq == "5320":
return ("5", "64")
if freq == "5500":
return ("5", "100")
if freq == "5520":
return ("5", "104")
if freq == "5540":
return ("5", "108")
if freq == "5560":
return ("5", "112")
if freq == "5580":
return ("5", "116")
if freq == "5600":
return ("5", "120")
if freq == "5620":
return ("5", "124")
if freq == "5640":
return ("5", "128")
if freq == "5660":
return ("5", "132")
if freq == "5680":
return ("5", "136")
if freq == "5700":
return ("5", "140")
if freq == "5720":
return ("5", "144")
if freq == "5745":
return ("5", "149")
if freq == "5765":
return ("5", "153")
if freq == "5785":
return ("5", "157")
if freq == "5805":
return ("5", "161")
if freq == "5825":
return ("5", "165")
if freq == "4915":
return ("5", "183")
if freq == "4920":
return ("5", "184")
if freq == "4925":
return ("5", "185")
if freq == "4935":
return ("5", "187")
if freq == "4940":
return ("5", "188")
if freq == "4945":
return ("5", "189")
if freq == "4960":
return ("5", "192")
if freq == "4980":
return ("5", "196")
return None
+16
View File
@@ -0,0 +1,16 @@
site_name: KlipperScreen
nav:
- Hardware.md
- Installation.md
- Configuration.md
- Quicktips.md
- Theming.md
- Troubleshooting.md
- Translations.md
- Changelog.md
- Panels.md
- Contact.md
theme: readthedocs
repo_url: https://github.com/jordanruthe/KlipperScreen/
plugins:
- search
+400
View File
@@ -0,0 +1,400 @@
# -*- coding: utf-8 -*-
import datetime
import gi
import logging
gi.require_version("Gtk", "3.0")
from gi.repository import GLib, Gtk, Pango
from jinja2 import Environment
from ks_includes.screen_panel import ScreenPanel
class BasePanel(ScreenPanel):
def __init__(self, screen, title, back=True, action_bar=True, printer_name=True):
super().__init__(screen, title, back, action_bar, printer_name)
self.current_panel = None
self.time_min = -1
self.time_format = self._config.get_main_config_option("24htime")
self.title_spacing = self._gtk.font_size * 2
self.time_update = None
self.titlebar_name_type = None
self.buttons_showing = {
'back': False if back else True,
'macros_shortcut': False,
'printer_select': False
}
self.layout = Gtk.Layout()
self.layout.set_size(self._screen.width, self._screen.height)
action_bar_width = self._gtk.get_action_bar_width() if action_bar is True else 0
action_bar_height = self._gtk.get_action_bar_height() if action_bar is True else 0
self.control_grid = self._gtk.HomogeneousGrid()
self.control_grid.set_size_request(action_bar_width, action_bar_height)
self.control_grid.get_style_context().add_class('action_bar')
self.control['back'] = self._gtk.ButtonImage('back', None, None, 1)
self.control['back'].connect("clicked", self.back)
self.control['home'] = self._gtk.ButtonImage('main', None, None, 1)
self.control['home'].connect("clicked", self.menu_return, True)
if len(self._config.get_printers()) > 1:
self.control['printer_select'] = self._gtk.ButtonImage('shuffle', None, None, 1)
self.control['printer_select'].connect("clicked", self._screen.show_printer_select)
self.control['macro_shortcut'] = self._gtk.ButtonImage('custom-script', None, None, 1)
self.control['macro_shortcut'].connect("clicked", self.menu_item_clicked, "gcode_macros", {
"name": "Macros",
"panel": "gcode_macros"
})
self.control['estop'] = self._gtk.ButtonImage('emergency', None, None, 1)
self.control['estop'].connect("clicked", self.emergency_stop)
self.locations = {
'macro_shortcut': 2,
'printer_select': 2
}
button_range = 3
if len(self._config.get_printers()) > 1:
self.locations['macro_shortcut'] = 3
if self._config.get_main_config_option('side_macro_shortcut') == "True":
button_range = 4
for i in range(button_range):
self.control['space%s' % i] = Gtk.Label("")
if self._screen.vertical_mode:
self.control_grid.attach(self.control['space%s' % i], i, 0, 1, 1)
else:
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
if self._screen.vertical_mode:
self.control_grid.attach(self.control['estop'], 4, 0, 1, 1)
else:
self.control_grid.attach(self.control['estop'], 0, 4, 1, 1)
try:
env = Environment(extensions=["jinja2.ext.i18n"])
env.install_gettext_translations(self.lang)
j2_temp = env.from_string(title)
title = j2_temp.render()
except Exception:
logging.debug("Error parsing jinja for title: %s" % title)
self.titlelbl = Gtk.Label()
self.titlelbl.set_hexpand(True)
self.titlelbl.set_vexpand(True)
self.titlelbl.set_halign(Gtk.Align.CENTER)
self.titlelbl.set_ellipsize(True)
self.titlelbl.set_ellipsize(Pango.EllipsizeMode.END)
self.set_title(title)
self.hmargin = 5
self.content = Gtk.VBox(spacing=0)
if self._screen.vertical_mode:
self.content.set_size_request(self._screen.width - self.hmargin * 2,
self._screen.height - self.title_spacing - action_bar_height)
else:
self.content.set_size_request(self._screen.width - action_bar_width - self.hmargin,
self._screen.height - self.title_spacing)
if action_bar is True:
if self._screen.vertical_mode:
self.layout.put(self.control_grid, 0, self._screen.height - action_bar_height)
else:
self.layout.put(self.control_grid, 0, 0)
self.control['time_box'] = Gtk.Box()
self.control['time_box'].set_halign(Gtk.Align.END)
self.control['time'] = Gtk.Label("00:00 AM")
self.control['time_box'].pack_end(self.control['time'], True, True, self.hmargin)
self.control['temp_box'] = Gtk.Box()
self.titlebar = Gtk.Grid()
self.titlebar.set_valign(Gtk.Align.CENTER)
self.titlebar.set_property("column-spacing", 5)
if self._screen.vertical_mode:
self.titlebar.set_size_request(self._screen.width, self.title_spacing)
else:
self.titlebar.set_size_request(self._screen.width - action_bar_width, self.title_spacing)
self.titlebar.attach(self.control['temp_box'], 0, 0, 1, 1)
self.titlebar.attach(self.titlelbl, 1, 0, 1, 1)
self.titlebar.attach(self.control['time_box'], 2, 0, 1, 1)
if self._screen.vertical_mode:
self.layout.put(self.titlebar, 0, 0)
self.layout.put(self.content, self.hmargin, self.title_spacing)
else:
self.layout.put(self.titlebar, action_bar_width, 0)
self.layout.put(self.content, action_bar_width + self.hmargin, self.title_spacing)
def initialize(self, panel_name):
self.update_time()
return
def show_heaters(self, show=True):
for child in self.control['temp_box'].get_children():
self.control['temp_box'].remove(child)
if (not show or self._screen.printer.get_temp_store_devices() is None):
return
for device in self._screen.printer.get_temp_store_devices():
logging.info(device)
self.labels[device + '_box'] = Gtk.Box(spacing=0)
self.labels[device] = Gtk.Label(label="100º")
self.labels[device].set_ellipsize(True)
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
if device.startswith("extruder"):
if self._screen.printer.extrudercount > 1:
if device == "extruder":
ext_img = self._gtk.Image("extruder-0", .5)
else:
ext_img = self._gtk.Image("extruder-%s" % device[8:], .5)
else:
ext_img = self._gtk.Image("extruder", .5)
self.labels[device + '_box'].pack_start(ext_img, True, True, 3)
elif device.startswith("heater_bed"):
bed_img = self._gtk.Image("bed", .5)
self.labels[device + '_box'].pack_start(bed_img, True, True, 3)
elif device.startswith("temperature_fan"):
fan_img = self._gtk.Image("fan", .5)
self.labels[device + '_box'].pack_start(fan_img, True, True, 3)
elif device.startswith("heater_generic"):
heat_img = self._gtk.Image("heater", .5)
self.labels[device + '_box'].pack_start(heat_img, True, True, 3)
else:
temp_img = self._gtk.Image("heat-up", .5)
self.labels[device + '_box'].pack_start(temp_img, True, True, 3)
self.labels[device + '_box'].pack_start(self.labels[device], True, True, 0)
if self._screen.width <= 480:
nlimit = 3
elif self._screen.width <= 800:
nlimit = 4
else:
nlimit = 5
n = 0
if self._screen.printer.get_tools():
self.current_extruder = self._screen.printer.get_stat("toolhead", "extruder")
self.control['temp_box'].pack_start(self.labels["%s_box" % self.current_extruder], True, True, 3)
n += 1
if self._screen.printer.has_heated_bed():
self.control['temp_box'].pack_start(self.labels['heater_bed_box'], True, True, 3)
n += 1
# Options in the config have priority
printer_cfg = self._config.get_printer_config(self._screen.connected_printer)
if printer_cfg is not None:
titlebar_items = printer_cfg.get("titlebar_items", "")
if titlebar_items is not None:
titlebar_items = [str(i.strip()) for i in titlebar_items.split(',')]
logging.info("Titlebar items: %s", titlebar_items)
self.titlebar_name_type = printer_cfg.get("titlebar_name_type", None)
logging.info("Titlebar name type: %s", self.titlebar_name_type)
for device in self._screen.printer.get_temp_store_devices():
# Users can fill the bar if they want
if n >= nlimit + 1:
break
if not (device.startswith("extruder") or device.startswith("heater_bed")):
name = device.split(" ")[1:][0]
else:
name = device
for item in titlebar_items:
if name == item:
self.control['temp_box'].pack_start(self.labels["%s_box" % device], True, True, 3)
n += 1
break
# If there is enough space fill with heater_generic
for device in self._screen.printer.get_temp_store_devices():
if n >= nlimit:
break
if device.startswith("heater_generic"):
self.control['temp_box'].pack_start(self.labels["%s_box" % device], True, True, 3)
n += 1
self.control['temp_box'].show_all()
def activate(self):
if self.time_update is None:
self.time_update = GLib.timeout_add_seconds(1, self.update_time)
def add_content(self, panel):
self.current_panel = panel
self.set_title(panel.get_title())
self.content.add(panel.get_content())
def back(self, widget):
if self.current_panel is None:
return
if self._screen.is_keyboard_showing():
self._screen.remove_keyboard()
if hasattr(self.current_panel, "back"):
if not self.current_panel.back():
self._screen._menu_go_back()
else:
self._screen._menu_go_back()
def get(self):
return self.layout
def process_update(self, action, data):
if action != "notify_status_update" or self._screen.printer is None:
return
devices = self._screen.printer.get_temp_store_devices()
if devices is not None:
for device in devices:
name = ""
if not (device.startswith("extruder") or device.startswith("heater_bed")):
if self.titlebar_name_type == "full":
name = device.split(" ")[1:][0].capitalize().replace("_", " ") + ": "
elif self.titlebar_name_type == "short":
name = device.split(" ")[1:][0][:1].upper() + ": "
temp = self._screen.printer.get_dev_stat(device, "temperature")
if temp is not None:
self.labels[device].set_label("%s%d°" % (name, round(temp)))
if "toolhead" in data and "extruder" in data["toolhead"]:
if data["toolhead"]["extruder"] != self.current_extruder:
self.control['temp_box'].remove(self.labels["%s_box" % self.current_extruder])
self.current_extruder = data["toolhead"]["extruder"]
self.control['temp_box'].pack_start(self.labels["%s_box" % self.current_extruder], True, True, 3)
self.control['temp_box'].reorder_child(self.labels["%s_box" % self.current_extruder], 0)
self.control['temp_box'].show_all()
def remove(self, widget):
self.content.remove(widget)
def show_back(self, show=True):
if show is True and self.buttons_showing['back'] is False:
self.control_grid.remove(self.control_grid.get_child_at(0, 0))
self.control_grid.attach(self.control['back'], 0, 0, 1, 1)
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(1, 0))
self.control_grid.attach(self.control['home'], 1, 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, 1))
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
self.buttons_showing['back'] = True
elif show is False and self.buttons_showing['back'] is True:
for i in range(0, 2):
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(i, 0))
self.control_grid.attach(self.control['space%s' % i], i, 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, i))
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
self.buttons_showing['back'] = False
self.control_grid.show()
def show_macro_shortcut(self, show=True, mod_row=False):
if show == "True":
show = True
if show is True and self.buttons_showing['macros_shortcut'] is False:
if len(self._config.get_printers()) > 1 and mod_row is True:
if self._screen.vertical_mode:
self.control_grid.insert_column(self.locations['macro_shortcut'])
else:
self.control_grid.insert_row(self.locations['macro_shortcut'])
else:
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['macro_shortcut'], 0))
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
if 'space%s' % self.locations['macro_shortcut'] in self.control:
self.control_grid.remove(self.control['space%s' % self.locations['macro_shortcut']])
if self._screen.vertical_mode:
self.control_grid.attach(self.control['macro_shortcut'], self.locations['macro_shortcut'], 0, 1, 1)
else:
self.control_grid.attach(self.control['macro_shortcut'], 0, self.locations['macro_shortcut'], 1, 1)
self.buttons_showing['macros_shortcut'] = True
elif show is not True and self.buttons_showing['macros_shortcut'] is True:
if ('space%s' % self.locations['macro_shortcut']) not in self.control:
self.control['space%s' % self.locations['macro_shortcut']] = Gtk.Label("")
if len(self._config.get_printers()) > 1 and mod_row is True:
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['macro_shortcut'], 0))
self.control_grid.remove_column(self.locations['macro_shortcut'])
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
self.control_grid.remove_row(self.locations['macro_shortcut'])
self.control_grid.remove(self.control['macro_shortcut'])
else:
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['macro_shortcut'], 0))
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['macro_shortcut']))
if ('space%s' % self.locations['macro_shortcut']) not in self.control:
self.control['space%s' % self.locations['macro_shortcut']] = Gtk.Label("")
if self._screen.vertical_mode:
self.control_grid.attach(self.control['space%s' % self.locations['macro_shortcut']],
self.locations['macro_shortcut'], 0, 1, 1)
else:
self.control_grid.attach(self.control['space%s' % self.locations['macro_shortcut']],
0, self.locations['macro_shortcut'], 1, 1)
self.buttons_showing['macros_shortcut'] = False
self._screen.show_all()
def show_printer_select(self, show=True):
if len(self._config.get_printers()) <= 1:
return
if show and self.buttons_showing['printer_select'] is False:
logging.info("Turning on printer_select button")
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['printer_select'], 0))
self.control_grid.attach(self.control['printer_select'], self.locations['printer_select'], 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['printer_select']))
self.control_grid.attach(self.control['printer_select'], 0, self.locations['printer_select'], 1, 1)
self.buttons_showing['printer_select'] = True
elif show is False and self.buttons_showing['printer_select']:
logging.info("Turning off printer_select button")
if self._screen.vertical_mode:
self.control_grid.remove(self.control_grid.get_child_at(self.locations['printer_select'], 0))
self.control_grid.attach(self.control['space%s' % self.locations['printer_select']],
self.locations['printer_select'], 0, 1, 1)
else:
self.control_grid.remove(self.control_grid.get_child_at(0, self.locations['printer_select']))
self.control_grid.attach(self.control['space%s' % self.locations['printer_select']],
0, self.locations['printer_select'], 1, 1)
self.buttons_showing['printer_select'] = False
self._screen.show_all()
def set_title(self, title):
try:
env = Environment(extensions=["jinja2.ext.i18n"])
env.install_gettext_translations(self.lang)
j2_temp = env.from_string(title)
title = j2_temp.render()
except Exception:
logging.debug("Error parsing jinja for title: %s" % title)
self.titlelbl.set_label("%s | %s" % (self._screen.connecting_to_printer, title))
def show_back_buttons(self):
self.control_grid.attach(self.control['back'], 0, 0, 1, 1)
if self._screen.vertical_mode:
self.control_grid.attach(self.control['home'], 1, 0, 1, 1)
else:
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
def update_time(self):
now = datetime.datetime.now()
confopt = self._config.get_main_config_option("24htime")
if now.minute != self.time_min or self.time_format != confopt:
if confopt == "True":
self.control['time'].set_text(now.strftime("%H:%M"))
else:
self.control['time'].set_text(now.strftime("%I:%M %p"))
return True
+281 -67
View File
@@ -3,94 +3,273 @@ import logging
import re
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Gdk, GLib
from gi.repository import Gtk
from KlippyGcodes import KlippyGcodes
from KlippyGtk import KlippyGtk
from panels.screen_panel import ScreenPanel
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
logger = logging.getLogger("KlipperScreen.BedLevelPanel")
def create_panel(*args):
return BedLevelPanel(*args)
class BedLevelPanel(ScreenPanel):
def initialize(self, menu):
x_offset = 0
y_offset = 0
def initialize(self, panel_name):
_ = self.lang.gettext
self.panel_name = panel_name
self.screws = None
self.panel = KlippyGtk.HomogeneousGrid()
self.disabled_motors = False
grid = self._gtk.HomogeneousGrid()
screws = []
if "bed_screws" in self._screen.printer.get_config_section_list():
bed_screws = self._screen.printer.get_config_section("bed_screws")
for item in bed_screws:
if re.match(r"^[0-9\.]+,[0-9\.]+$", bed_screws[item]):
screws.append(bed_screws[item].split(","))
config_section_name = None
if "screws_tilt_adjust" in self._screen.printer.get_config_section_list():
config_section_name = "screws_tilt_adjust"
elif "bed_screws" in self._screen.printer.get_config_section_list():
config_section_name = "bed_screws"
if config_section_name is not None:
config_section = self._screen.printer.get_config_section(config_section_name)
for item in config_section:
logging.debug("Screws section: %s" % config_section[item])
result = re.match(r"([\-0-9\.]+)\s*,\s*([\-0-9\.]+)", config_section[item])
if result:
screws.append([
round(float(result.group(1)), 2),
round(float(result.group(2)), 2)
])
screws = sorted(screws, key=lambda x: (float(x[1]), float(x[0])))
logger.debug("Bed screw locations [x,y]: %s", screws)
if "bltouch" in self._screen.printer.get_config_section_list():
x_offset = 0
y_offset = 0
bltouch = self._screen.printer.get_config_section("bltouch")
if "x_offset" in bltouch:
x_offset = float(bltouch['x_offset'])
if "y_offset" in bltouch:
y_offset = float(bltouch['y_offset'])
new_screws = []
for screw in screws:
new_screws.append([float(screw[0]) + x_offset, float(screw[1]) + y_offset])
screws = new_screws
self.screws = screws
if len(screws) < 4:
logger.debug("bed_screws not configured, calculating locations")
supported = [4, 6, 8]
nscrews = len(screws)
if nscrews not in supported:
logging.debug("%d bed_screws not supported: calculating 4 locations", nscrews)
xconf = self._screen.printer.get_config_section("stepper_x")
yconf = self._screen.printer.get_config_section("stepper_y")
x = int(int(xconf['position_max'])/4)
y = int(int(yconf['position_max'])/4)
screws = [
self.screws = [
[x, y],
[x*3, y],
[x, y*3],
[x*3, y*3],
]
logger.debug("Calculated screw locations [x,y]: %s", screws)
else:
logger.debug("Configured screw locations [x,y]: %s", screws)
self.screws = screws
if (("bltouch" in self._screen.printer.get_config_section_list() or
"probe" in self._screen.printer.get_config_section_list()) and
config_section_name == "screws_tilt_adjust"):
if "bltouch" in self._screen.printer.get_config_section_list():
bltouch = self._screen.printer.get_config_section("bltouch")
if "x_offset" in bltouch:
self.x_offset = float(bltouch['x_offset'])
if "y_offset" in bltouch:
self.y_offset = float(bltouch['y_offset'])
logging.debug("Bltouch found substracted offset X: %.0f Y: %.0f", self.x_offset, self.y_offset)
self._screen.show_popup_message(_("Bltouch found applied offset"), level=1)
elif "probe" in self._screen.printer.get_config_section_list():
probe = self._screen.printer.get_config_section("probe")
if "x_offset" in probe:
self.x_offset = float(probe['x_offset'])
if "y_offset" in probe:
self.y_offset = float(probe['y_offset'])
logging.debug("Probe found substracting offset X: %.0f Y: %.0f", self.x_offset, self.y_offset)
self._screen.show_popup_message(_("Probe found applied offset"), level=1)
new_screws = []
for screw in self.screws:
new_screws.append([
self.apply_offset(screw[0], self.x_offset),
self.apply_offset(screw[1], self.y_offset)
])
self.screws = new_screws
self.labels['tl'] = KlippyGtk.ButtonImage("bed-level-t-l")
self.labels['tl'].connect("clicked", self.go_to_position, self.screws[2])
self.labels['tr'] = KlippyGtk.ButtonImage("bed-level-t-r")
self.labels['tr'].connect("clicked", self.go_to_position, self.screws[3])
self.labels['bl'] = KlippyGtk.ButtonImage("bed-level-b-l")
self.labels['bl'].connect("clicked", self.go_to_position, self.screws[0])
self.labels['br'] = KlippyGtk.ButtonImage("bed-level-b-r")
self.labels['br'].connect("clicked", self.go_to_position, self.screws[1])
# get dimensions
self.x_cnt = len(list(dict.fromkeys([int(x[0]) for x in self.screws])))
self.y_cnt = len(list(dict.fromkeys([int(x[1]) for x in self.screws])))
self.panel.attach(self.labels['tl'], 1, 0, 1, 1)
self.panel.attach(self.labels['tr'], 2, 0, 1, 1)
self.panel.attach(self.labels['bl'], 1, 1, 1, 1)
self.panel.attach(self.labels['br'], 2, 1, 1, 1)
min_x = min(dict(self.screws).keys())
max_x = max(dict(self.screws).keys())
min_y = min(dict(self.screws[::-1]).values())
max_y = max(dict(self.screws).values())
self.labels['home'] = KlippyGtk.ButtonImage("home","Home All","color2")
self.labels['home'].connect("clicked", self.home)
fl = [min_x, min_y]
bl = [min_x, max_y]
br = [max_x, max_y]
fr = [max_x, min_y]
self.labels['dm'] = KlippyGtk.ButtonImage("motor-off", "Disable XY", "color3")
if self.x_cnt == 3:
mid_x = [x for x in list(zip(*self.screws))[0] if x not in (min_x, max_x)][0]
fm = [mid_x, min_y]
bm = [mid_x, max_y]
else:
fm = bm = None
if self.y_cnt == 3:
mid_y = [y for y in list(zip(*self.screws))[1] if y not in (min_y, max_y)][0]
lm = [min_x, mid_y]
rm = [max_x, mid_y]
else:
lm = rm = None
logging.debug("Using %d-screw locations [x,y] [%dx%d]", len(self.screws), self.x_cnt, self.y_cnt)
self.labels['bl'] = self._gtk.ButtonImage("bed-level-t-l", None, None, 2.5)
self.labels['br'] = self._gtk.ButtonImage("bed-level-t-r", None, None, 2.5)
self.labels['fl'] = self._gtk.ButtonImage("bed-level-b-l", None, None, 2.5)
self.labels['fr'] = self._gtk.ButtonImage("bed-level-b-r", None, None, 2.5)
self.labels['lm'] = self._gtk.ButtonImage("bed-level-l-m", None, None, 2.5)
self.labels['rm'] = self._gtk.ButtonImage("bed-level-r-m", None, None, 2.5)
self.labels['fm'] = self._gtk.ButtonImage("bed-level-b-m", None, None, 2.5)
self.labels['bm'] = self._gtk.ButtonImage("bed-level-t-m", None, None, 2.5)
bedgrid = Gtk.Grid()
bedgrid.attach(self.labels['bl'], 1, 0, 1, 1)
bedgrid.attach(self.labels['fl'], 1, 2, 1, 1)
bedgrid.attach(self.labels['fr'], 3, 2, 1, 1)
bedgrid.attach(self.labels['br'], 3, 0, 1, 1)
rotation = 0
if 'bed_screws' in self._config.get_config():
rotation = self._config.get_config()['bed_screws'].getint("rotation", 0)
logging.debug("Rotation: %d", rotation)
if rotation == 90:
# fl lm bl
# fm bm
# fr rm br
if self.y_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.x_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
self.labels['bl'].connect("clicked", self.go_to_position, fl)
self.labels['bm'].connect("clicked", self.go_to_position, lm)
self.labels['br'].connect("clicked", self.go_to_position, bl)
self.labels['rm'].connect("clicked", self.go_to_position, bm)
self.labels['fr'].connect("clicked", self.go_to_position, br)
self.labels['fm'].connect("clicked", self.go_to_position, rm)
self.labels['fl'].connect("clicked", self.go_to_position, fr)
self.labels['lm'].connect("clicked", self.go_to_position, fm)
self.screw_dict = {
'bl': fl,
'bm': lm,
'br': bl,
'rm': bm,
'fr': br,
'fm': rm,
'fl': fr,
'lm': fm
}
elif rotation == 180:
# fr fm fl
# rm lm
# br bm bl
if self.x_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.y_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
self.labels['bl'].connect("clicked", self.go_to_position, fr)
self.labels['bm'].connect("clicked", self.go_to_position, fm)
self.labels['br'].connect("clicked", self.go_to_position, fl)
self.labels['rm'].connect("clicked", self.go_to_position, lm)
self.labels['fr'].connect("clicked", self.go_to_position, bl)
self.labels['fm'].connect("clicked", self.go_to_position, bm)
self.labels['fl'].connect("clicked", self.go_to_position, br)
self.labels['lm'].connect("clicked", self.go_to_position, rm)
self.screw_dict = {
'bl': fr,
'bm': fm,
'br': fl,
'rm': lm,
'fr': bl,
'fm': bm,
'fl': br,
'lm': rm
}
elif rotation == 270:
# br rm fr
# bm fm
# bl lm fl
if self.y_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.x_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
self.labels['bl'].connect("clicked", self.go_to_position, br)
self.labels['bm'].connect("clicked", self.go_to_position, rm)
self.labels['br'].connect("clicked", self.go_to_position, fr)
self.labels['rm'].connect("clicked", self.go_to_position, fm)
self.labels['fr'].connect("clicked", self.go_to_position, fl)
self.labels['fm'].connect("clicked", self.go_to_position, lm)
self.labels['fl'].connect("clicked", self.go_to_position, bl)
self.labels['lm'].connect("clicked", self.go_to_position, bm)
self.screw_dict = {
'bl': br,
'bm': rm,
'br': fr,
'rm': fm,
'fr': fl,
'fm': lm,
'fl': bl,
'lm': bm
}
else:
# bl bm br
# lm rm
# fl fm fr
self.labels['bl'].connect("clicked", self.go_to_position, bl)
self.labels['bm'].connect("clicked", self.go_to_position, bm)
self.labels['br'].connect("clicked", self.go_to_position, br)
self.labels['rm'].connect("clicked", self.go_to_position, rm)
self.labels['fr'].connect("clicked", self.go_to_position, fr)
self.labels['fm'].connect("clicked", self.go_to_position, fm)
self.labels['fl'].connect("clicked", self.go_to_position, fl)
self.labels['lm'].connect("clicked", self.go_to_position, lm)
self.screw_dict = {
'bl': bl,
'bm': bm,
'br': br,
'rm': rm,
'fr': fr,
'fm': fm,
'fl': fl,
'lm': lm
}
if self.x_cnt == 3:
bedgrid.attach(self.labels['bm'], 2, 0, 1, 1)
bedgrid.attach(self.labels['fm'], 2, 2, 1, 1)
if self.y_cnt == 3:
bedgrid.attach(self.labels['lm'], 1, 1, 1, 1)
bedgrid.attach(self.labels['rm'], 3, 1, 1, 1)
grid.attach(bedgrid, 1, 0, 3, 2)
self.labels['dm'] = self._gtk.ButtonImage("motor-off", _("Disable XY"), "color3")
self.labels['dm'].connect("clicked", self.disable_motors)
self.panel.attach(self.labels['home'], 0, 0, 1, 1)
self.panel.attach(self.labels['dm'], 0, 1, 1, 1)
grid.attach(self.labels['dm'], 0, 0, 1, 1)
self.labels['estop'] = KlippyGtk.ButtonImage("decrease","Emergency Stop","color4")
self.labels['estop'].connect("clicked", self.emergency_stop)
self.panel.attach(self.labels['estop'], 3, 0, 1, 1)
if self._printer.config_section_exists("screws_tilt_adjust"):
self.labels['screws'] = self._gtk.ButtonImage("refresh", _("Screws Adjust"), "color4")
self.labels['screws'].connect("clicked", self.screws_tilt_calculate)
grid.attach(self.labels['screws'], 0, 1, 1, 1)
b = KlippyGtk.ButtonImage('back', 'Back')
b.connect("clicked", self._screen._menu_go_back)
self.panel.attach(b, 3, 1, 1, 1)
self.content.add(grid)
def activate(self):
for key, value in self.screw_dict.items():
self.labels[key].set_label(str(value))
if self._printer.config_section_exists("screws_tilt_adjust"):
self.labels['screws'].set_sensitive(True)
def go_to_position(self, widget, position):
logger.debug("Going to position: %s", position)
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
logging.debug("Going to position: %s", position)
script = [
"%s" % KlippyGcodes.MOVE_ABSOLUTE,
"G1 Z7 F800\n",
@@ -98,23 +277,58 @@ class BedLevelPanel(ScreenPanel):
"G1 Z.1 F300\n"
]
if self.disabled_motors:
self.disabled_motors = False
script.insert(0, "G28")
self._screen._ws.klippy.gcode_script(
"\n".join(script)
)
def disable_motors(self, widget):
self._screen._ws.klippy.gcode_script(
"M18" # Disable motors
"M18" # Disable motors
)
def process_update(self, action, data):
_ = self.lang.gettext
if action == "notify_gcode_response":
if data.startswith('!!'):
self.response_count = 0
self.labels['screws'].set_sensitive(True)
return
result = re.match(
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]+ :" +
" (Adjust ->|adjust) ([CW]+ [0-9:]+)",
data
)
if result:
x = self.apply_offset(result.group(2), self.x_offset)
y = self.apply_offset(result.group(3), self.y_offset)
for key, value in self.screw_dict.items():
if value and x == value[0] and y == value[1]:
logging.debug("X: %s Y: %s Adjust: %s Pos: %s" % (x, y, result.group(5), key))
self.labels[key].set_label(result.group(5))
break
self.response_count += 1
if self.response_count >= len(self.screws)-1:
self.labels['screws'].set_sensitive(True)
else:
result = re.match(
"^// (.*) : [xX= ]+([\\-0-9\\.]+), [yY= ]+([\\-0-9\\.]+), [zZ= ]+[\\-0-9\\.]",
data
)
if result and re.search('base', result.group(1)):
x = self.apply_offset(result.group(2), self.x_offset)
y = self.apply_offset(result.group(3), self.y_offset)
logging.debug("X: %s Y: %s is the reference" % (x, y))
for key, value in self.screw_dict.items():
if value and x == value[0] and y == value[1]:
logging.debug("X: %s Y: %s Pos: %s" % (x, y, key))
self.labels[key].set_label(_("Reference"))
def apply_offset(self, pos, offset):
return max(0, int(float(pos) - offset))
#for screw in screws:
# sorted(screws.items(), key=lambda x: (float(x[1].split(",")[0]), float(x[1].split(",")[1])))
def screws_tilt_calculate(self, widget):
if self._screen.printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
self.response_count = 0
self.labels['screws'].set_sensitive(False)
self._screen._ws.klippy.gcode_script("SCREWS_TILT_CALCULATE")
Loaded 100 of 557 files, more files were not shown because too many files have changed in this diff. Show more