Compare commits

..
59 Commits
Author SHA1 Message Date
Vasilyev_Andreyandalfrix 87d09036ee Led light control, close #991 (#1106)
* feature: add leds panel

* Various refactors and improvements

* lint fixes

* led: use more columns for the selector

* leds: name in the title

* mainsail presets

* change sliders to horizontal to avoid visual bug, simplify defaults

* led: add a color preview and simplify methods to fix some issues

* simplify presets move all the logic to the panel

* led: change presets from names to previews

* preview label shows color, add vertical mode

* led: colored previews as rectangles instead of circles

---------

Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-09-24 17:44:29 -03:00
alfrix 584e4fe902 popups: do not auto-close on menu back and do auto-close on screensaver trigger 2023-09-21 16:55:48 -03:00
Alfredo Monclus 8b08176cce Create codeql.yml 2023-09-19 00:10:31 -03:00
alfrix b25e17e9cd move: fix for max_z velocity too low for the gtk adjustment 2023-09-18 23:11:43 -03:00
alfrix aa1dfabd40 docs: close #1120 and other minor updates 2023-09-16 19:02:07 -03:00
Anna d1632ef9d0 Docs: Update Touch_issues (#1119)
Improved wording on changes to the DSI driver / bug
Remove an empty possibility on touch matrix
Add extra sources / help on touch matrix
Some Markdown compliance fixes (spacing etc)
2023-09-16 18:05:06 -03:00
alfrix ad3255b16a screen: dialogs should call fullscreen too for for use inside DEs 2023-09-16 13:45:44 -03:00
alfrix 77ecae70b2 fix locales fusion conflict 2023-09-13 15:20:44 -03:00
alfrix cfb38405c6 screen: exception info now includes a traceback 2023-09-12 12:28:33 -03:00
alfrix 79f4b45713 locales: dialog change continue to accept
this is also used as test for weblate
2023-09-12 08:18:09 -03:00
alfrix 1c2ca8eec9 docs: add g2d_23 log meesage since it's a common source of questions 2023-09-12 07:56:03 -03:00
alfrix edc0f0c9ed shaper: fixup for 42c33d1 2023-09-12 07:33:12 -03:00
alfrix 42c33d1b43 shaper: fix issue with re 2023-09-12 01:02:12 -03:00
alfrix d5bf8c21cb docs: update to try avoid a common missuses of the docs 2023-09-12 00:25:10 -03:00
alfrix 75ee5c4740 macros: fix possible issue when loading macro
apararently according to the log gcode was not defined in a macro, which should not be possible
this handles this cases by not loading the macro and dumping it in the console for debug analysis
2023-09-10 18:31:34 -03:00
alfrix 40365346b4 printer_init: dump config to help debug issues 2023-09-10 18:31:30 -03:00
alfrix ed7f266735 screen: revert preload, as it may cause unexpected issues 2023-09-10 18:31:30 -03:00
alfrix f8da43c379 docs lots of updates 2023-09-09 11:44:29 -03:00
Daviteusz 14d3fca31c locale(pl): Update Polish translations (#1115) 2023-09-06 17:45:16 -03:00
alfrix 0fdbc9b484 docs: note about lite argument 2023-09-06 17:39:22 -03:00
alfrix edf79ead59 docs: add another possible fix 2023-09-06 17:39:22 -03:00
Samuel Wang da9fda25ea locales: Update zh_CN (#1114) 2023-09-05 13:17:02 -03:00
alfrix 530d6f4fd7 locales update to add auto open extrude option translation 2023-09-04 22:18:35 -03:00
alfrix e5d1ff0270 fix option for not opening extrude 2023-09-04 22:16:52 -03:00
alfrix 09c94540b0 docs: add title to the preheat note 2023-09-04 22:06:14 -03:00
alfrix 2a842839ea make extrude panel on pause optional
close #1113
2023-09-04 22:06:14 -03:00
alfrix ed0dbaea9e screen: fix typo in error message fixes #1110 2023-09-03 22:49:57 -03:00
alfrix 001c1cb009 rest: add timeout parameter for system update refresh 2023-09-03 22:39:29 -03:00
alfrix e2068cf2c9 dialogs: remove steppers since they cause issues 2023-09-03 22:39:29 -03:00
ツ 31a118ad7e Updated Translation de and de_formal (#1111) 2023-09-03 19:55:08 -03:00
Daviteusz 2a66ee618d locale(pl): Update Polish translations (#1112) 2023-09-03 19:47:58 -03:00
Andriy a24ff8aeb6 locales: Ukrainian update (#1109) 2023-09-03 19:41:23 -03:00
alfrix 6ada62730c screen: fix screensaver shows even when disabled when not using dpms 2023-09-03 13:35:47 -03:00
alfrix 1044d13952 locales(es): update spanish 2023-09-03 11:54:26 -03:00
alfrix c9f0c3bd52 Update translation files 2023-09-03 11:49:59 -03:00
alfrix 9a215306b7 job_status: fix E225 2023-09-03 11:49:22 -03:00
Daviteusz 5a34fd367a locale(pl): Update Polish translations (#1105)
Polish translation has been updated

Signed-off-by: Daviteusz <daviteusz0@gmail.com>
2023-09-03 11:48:11 -03:00
alfrix f02b0c3a6b camera: fix camera not showing during printing
close #1107
2023-09-03 11:43:07 -03:00
alfrix 6dc2df25f7 job_status: patch print_time estimating too early 2023-09-02 17:37:56 -03:00
alfrix a6866e8a0f pause will auto-open extrude
most (maybe all pauses) are done for filament swaps this should make it quicker
2023-09-01 12:23:41 -03:00
alfrix e01b6e5f26 macros: hide the panel if there are no elegible macros 2023-08-31 22:27:12 -03:00
alfrix e80ef7eff5 dialogs: simplify dialog calls, fix layout issue 2023-08-30 01:21:17 -03:00
alfrix 6be0a2931f spoolman: change initialization to be equal to the rest of components 2023-08-30 00:19:23 -03:00
Blonďákandalfrix 71b0ace83c Spoolman: clear filter buton (#1096)
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-29 16:52:16 -03:00
alfrix d658bad1d7 Update issue templates 2023-08-29 11:48:40 -03:00
alfrix 0f8fe9abe1 main: temp: heater list smaller slider 2023-08-28 17:15:10 -03:00
alfrix a2ad8e6ade klippygtk: button find box with find_widget 2023-08-28 15:43:51 -03:00
alfrix 8209dbabf4 job_status: click thumbnail for fullscreen thumbnail 2023-08-28 15:08:34 -03:00
alfrix 9c2f927e72 wayland: do not run xset, wayland needs another solution 2023-08-27 23:30:58 -03:00
alfrix fba15bd766 bed_mesh: fixup for df6a4ea4da 2023-08-26 18:38:51 -03:00
alfrix f77e382252 klippyGtk: fixup possible issues with spinner and busy state 2023-08-26 13:05:44 -03:00
alfrix 7f00a37244 macros: hide load and unload (use them in the extrude panel) 2023-08-26 13:05:44 -03:00
alfrix 8391fdf83e macros: hide macros with rename_existing (equal to Mainsail) 2023-08-26 13:05:44 -03:00
alfrix 35e2a46852 menu: fit 4 rows
needs to be better
create all the items on activate?
2023-08-26 13:05:44 -03:00
alfrix f3c2736f9f refactor temp updates for devices fix extruder_stepper icon error 2023-08-26 13:05:44 -03:00
alfrix df6a4ea4da Revert "bed_mesh: load default if no mesh have been loaded"
This reverts commit cb1793836c.
2023-08-26 13:05:44 -03:00
Michael Jäger c10e414014 Update Installation.md: Fix changes from env to virtualenv (#1100) 2023-08-26 12:04:23 -03:00
alfrix 10e9e169e2 log popup messages for debugging 2023-08-21 16:11:56 -03:00
alfrix d5e55f8aad PEP E721 2023-08-21 16:11:56 -03:00
89 changed files with 1942 additions and 646 deletions

No files matched your search

+3 -3
View File
@@ -8,9 +8,9 @@ body:
value: >-
## Thank you for choosing KlipperScreen
This is a bug report, If you need general support, please visit us on [Discord](https://discord.gg/klipper)
This is a bug report, If you need general support, please visit us on [Discord](https://discord.klipper3d.org/)
#### The LOG file is REQUIRED
#### The LOG file is REQUIRED. Without the logfile your issue will be closed
if you need help to find the log file:
Read the [Documentation](https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/)
@@ -48,7 +48,7 @@ body:
id: logs
attributes:
label: Log output
description: Please copy and paste or attach the klipperscreen.log or xorg.log or the tail of journalctl.
description: Please attach the FULL klipperscreen.log and if needed xorg.log or the tail of journalctl.
render: shell
validations:
required: true
+4 -1
View File
@@ -1,5 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Klipper Discord Server
url: https://discord.gg/klipper
url: https://discord.klipper3d.org/
about: If you have questions or need general support.
- name: KlipperScreen Discussions
url: https://github.com/KlipperScreen/KlipperScreen/discussions
about: If you have questions or need general support.
@@ -9,6 +9,8 @@ body:
This form is for feature requests of KlipperScreen
Requesting a feature does not mean it will be worked on, it's taken as a suggestion.
#### This is an Open Source project developed voluntarily, there are no Warranties, or ETA.
[License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE)
+82
View File
@@ -0,0 +1,82 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '32 21 * * 5'
jobs:
analyze:
name: Analyze
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
+6 -3
View File
@@ -2,9 +2,12 @@
This article describes how to use KlipperScreen from an android device
!!! important
The experience may not be equal to run KlipperScreen natively,
depending on the device there maybe performance degradation or other issues
!!! warning
The experience may not be equal to run KlipperScreen natively.
Depending on the device or the network you may encounter performance degradation or other issues.
!!! bug
Some [users have found](https://github.com/KlipperScreen/KlipperScreen/issues/862) that using this method causes memory-leaks
1. [First installl KlipperScreen on the Pi](Installation.md)
2. Install [XServer-XSDL](https://play.google.com/store/apps/details?id=x.org.server) on the android device
+11 -10
View File
@@ -13,7 +13,7 @@ Write in the file only the options that need to be changed, and restart KlipperS
## Include files
```py
```ini
[include conf.d/*.conf]
# Include another configuration file. Wildcards (*) will expand to match anything.
```
@@ -21,7 +21,7 @@ Write in the file only the options that need to be changed, and restart KlipperS
## Main Options
The options listed here are not changeable from within the ui.
```py
```ini
[main]
# Time in seconds before the Job Status page closes itself after a successful job/print
# 0 means disabled
@@ -47,7 +47,7 @@ screen_off_devices: example1, example2
## Printer Options
Multiple printers can be defined
```py
```ini
# 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
@@ -88,7 +88,8 @@ calibrate_y_position: 100
# define the screw positons required for odd number of screws in a comma separated list
# possible values are: bl, br, bm, fl, fr, fm, lm, rm, center
# they correspond to back-left, back-right, back-middle, front-left, front-right, front-middle, left-middle, right-middle
screw_positions: ""
# example:
screw_positions: bl, br, fm
# Rotation is useful if the screen is not directly in front of the machine.
# Valid values are 0 90 180 270
@@ -104,11 +105,11 @@ extrude_speeds: 1, 2, 5, 25
## Preheat Options
!!! question
!!! question "Added one the others disappeared, Is this normal?"
Adding a custom preheat section will cause the defaults to not load, this is
the intended behaviour.
```py
```ini
[preheat my_temp_setting]
extruder: 195
extruder1: 60
@@ -127,7 +128,7 @@ gcode: MY_HEATSOAK_MACRO
There is a special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
for example:
```py
```ini
[preheat cooldown]
gcode: M107
```
@@ -142,7 +143,7 @@ printer is idle. The __print menu is accessible from the printing status page.
A predefined set of menus is already provided and it's recommended to be used
A menu item is configured as follows:
```py
```ini
[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
@@ -167,7 +168,7 @@ 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:
```py
```ini
printer.extruders.count # Number of extruders
printer.temperature_devices.count # Number of temperature related devices that are not extruders
printer.fans.count # Number of fans
@@ -193,7 +194,7 @@ printer.pause_resume # Pause resume section of Klipper
A sample configuration of a main menu would be as follows:
```py
```ini
[menu __main homing]
name: Homing
icon: home
+16 -4
View File
@@ -1,11 +1,23 @@
# 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.
There are several ways to contact people who can assist with issues.
Discord is probably going to provide the quickest response as there are 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
[Look for the channel `#klipper-screen`](https://discord.klipper3d.org/)
## Issues or improvements to the docs or the application
You may submit a GitHub issue request for any bugs you encounter.
or a Pull Request with translations, features, doc fixes.
or open an issue describing the changes.
or even provide ideas for a feature.
[Github repository](https://github.com/KlipperScreen/KlipperScreen/)
+1 -64
View File
@@ -123,68 +123,5 @@ here are some examples:
## 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, on a terminal run:
```sh
DISPLAY=:0 xinput
```
Output:
```sh
⎡ 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:
```sh
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:
```sh
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:
```sh
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
```
As an alternative if the above doesn't work:
edit /usr/share/X11/xorg.conf.d/40-libinput.conf
for example:
```sh
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
EndSection
```
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)
[Moved to Touch issues](./Troubleshooting/Touch_issues.md)
+21 -16
View File
@@ -3,20 +3,23 @@
## First steps
Install the screen, following the instructions provided by the manufacturer, Some screens don't neeed extra software but some need to be installed with a script.
It's strongly recommended to test it and ensure your hardware is working with Raspbian, Ubuntu or any distro you like.
It's strongly recommended to test it and ensure your hardware is working with RaspberryOS, Ubuntu or any distro you like.
Once you have established that the screen is working, then proceed installing KlipperScreen.
## Setup
This install process is meant for a non-desktop version of the OS for example Raspbian Lite, but it should work on other versions.
This install process is meant for a non-desktop version of the OS for example RaspberryOS Lite, but it should work on other debian derivatives.
If you want to use it on a desktop (GUI version), then do `sudo systemctl set-default multi-user.target`
if it's a Raspberry Pi, you can use `sudo raspi-config` to set boot to console by choosing the following options in order:
```sh
1System Options
└──S5 Boot / Auto Login
└──B1 Console
If you installed a desktop (GUI version) of the OS and want to run KlipperScreen exclusively then do:
```sh title="Boot to console / KlipperScreen"
sudo systemctl set-default multi-user.target
sudo reboot
```
to undo and go back to the desktop environment:
```sh title="Boot to the desktop"
sudo systemctl set-default graphical.target
sudo reboot
```
## Auto install
@@ -51,27 +54,29 @@ At this point KlipperScreen should be working, if it doesn't start then go to th
## Moonraker configuration
In moonraker.conf ensure that 127.0.0.1 is a trusted client:
In moonraker.conf ensure that the IP of the device is a trusted client:
```py
```ini title="moonraker.conf"
[authorization]
trusted_clients:
127.0.0.1
```
!!! warning
`force_logins: true` requires the moonraker api key in [KlipperScreen.conf](Configuration.md)
having `force_logins: true` in this section or if you don't want to use `trusted_clients`
Will require the [moonraker api key](https://moonraker.readthedocs.io/en/latest/installation/#retrieving-the-api-key) in [KlipperScreen.conf](Configuration.md)
If you wish to use the update manager feature of moonraker for KlipperScreen, add the following block to the moonraker.conf:
```py
```ini title="moonraker.conf"
[update_manager KlipperScreen]
type: git_repo
path: ~/KlipperScreen
origin: https://github.com/KlipperScreen/KlipperScreen.git
virtualenv: ~/.KlipperScreen-env/bin/python
virtualenv: ~/.KlipperScreen-env
requirements: scripts/KlipperScreen-requirements.txt
system_dependencies: scripts/system-dependencies.json
managed_services: KlipperScreen
```
!!! note
If you see warnings in other UIs ignore them until KlipperScreen finishes installing.
!!! tip
If you see warnings in other UIs ignore them until KlipperScreen finishes installing, and Moonraker is restarted.
+11 -28
View File
@@ -3,25 +3,12 @@ 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.
```py
[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:
You can also hide devices by prefixing the name with an underscore.
Lets hide a temperature_fan:
```py
```ini
[temperature_fan fan1]
[temperature_fan _fan2]
```
@@ -29,18 +16,15 @@ Lets hide a temperature_fan:
fan1 will show in the interface, but _fan2 will be hidden.
## Thumbnails
Moved to [Thumbnails](Thumbnails.md)
## Layer Progress
Accurate layer progress as a message below the status:
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode
`M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}`
```ini
M117 Layer {layer_num+1}/[total_layer_count] : {filament_settings_id[0]}
```
![Layer_progress](img/quicktips/PS_SS_Layer_progress.png)
@@ -55,11 +39,10 @@ PrusaSlicer/SuperSlicer:
Printer Settings > Custom Gcode > Start Gcode
`SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]`
```ini
SET_PRINT_STATS_INFO TOTAL_LAYER=[total_layer_count]
```
Printer Settings > Custom Gcode > After layer change Gcode
`SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}`
## Supported Macros
[Macros](macros.md)
```ini
SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
```
+58 -25
View File
@@ -1,54 +1,81 @@
# First Steps
# Troubleshooting
## First Steps
The first step to troubleshooting any problem is getting the cause of the error.
* Find KlipperScreen.log:
!!! important
!!! warning "Important"
This log file should be provided if you ask for support.
Depending on your setup the file could be accessible from the web interface alongside other logs
Mainsail | Fluidd
:-:|:-:
![m_logs](img/troubleshooting/logs_mainsail.png) | ![f_logs](img/troubleshooting/logs_fluidd.png)
![mainsail_logs](img/troubleshooting/logs_mainsail.png) | ![fluidd_logs](img/troubleshooting/logs_fluidd.png)
if you can't find it in the web interface, use sftp to grab the log (for example Filezilla, WinSCP)
Located at `~/printer_data/logs`or in `/tmp/` if the former doesn't exist.
If KlipperScreen.log doesn't exist, run `systemctl status KlipperScreen`<br>
(or `journalctl -xe -u KlipperScreen`)
## System logs
Check the file `/var/log/Xorg.0.log` where you can find issues with the X server.
If [KlipperScreen.log](#first-steps) doesn't exist:
```sh
systemctl status KlipperScreen
```
or
```sh
journalctl -xe -u KlipperScreen
```
Also the Xorg log where you can find issues with the X server:
```sh
cat /var/log/Xorg.0.log
```
## Screen shows console instead of KlipperScreen
If you see this line in the logs (`systemctl status KlipperScreen`):
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
[Follow this steps](Troubleshooting/VC_ERROR.md)
![boot](img/troubleshooting/boot.png)
If you see this line in the logs (`systemctl status KlipperScreen`):
```sh
KlipperScreen-start.sh: (EE) no screens found(EE)
```
[First check the screen](Troubleshooting/Physical_Install.md)
!!! abstract "If you see this line in the [system logs](#system-logs):"
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
[Follow this steps](Troubleshooting/VC_ERROR.md)
[If it's not any of the above follow this steps](Troubleshooting/Showing_console.md)
!!! abstract "If you see this line in the [system logs](#system-logs):"
```sh
xinit[948]: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePackedWeak
```
[Follow this steps](Troubleshooting/FBturbo.md)
## Screen is all white or blank or no signal
!!! abstract "If you see this line in the [system logs](#system-logs):"
```sh
KlipperScreen-start.sh: (EE) no screens found(EE)
```
This is usually not the main cause of the error. [Start by checking the screen](Troubleshooting/Physical_Install.md)
If the screen never shows the console even during startup, Then it's typically an improperly installed screen,
Drivers not installed or misconfigured can cause this too, continue looking the logs for more clues.
You may see this line in the logs (`systemctl status KlipperScreen`):
!!! abstract "If you see this line in the [system logs](#system-logs):"
```sh
modprobe: FATAL: Module g2d_23 not found in directory /lib/modules/6.1.21-v8+
```
This error is common on RaspberryOS when using FBturbo and it's not a related issue.
```sh
KlipperScreen-start.sh: (EE) no screens found(EE)
```
[Maybe it's the wrong framebuffer](Troubleshooting/Framebuffer.md)
If you can't fix it, [try using a desktop distro as described here.](Troubleshooting/Last_resort.md)
If you want to contribute a solution: [Contact](Contact.md)
## Screen is always ***white*** / ***black*** or ***`No signal`***
If the screen never shows the console even during startup, Then it's typically an improperly installed screen.
[Follow this steps](Troubleshooting/Physical_Install.md)
@@ -56,7 +83,13 @@ KlipperScreen-start.sh: (EE) no screens found(EE)
## The screen shows colors or 'No signal' when idle
In KliperScreen settings find 'Screen DPMS' and turn it off.
Your screen doesn't seem to support turning off via software, the best you can do is to turn it all black.
![dpms](img/troubleshooting/dpms.gif)
Your screen doesn't seem to support turning off via software.
KlipperScreen will enable an internal screensaver to make it all black, and hopefully avoid burn-in.
If you find a way of turning it off and you want to share it: [Contact](Contact.md)
## Touch issues
@@ -74,4 +107,4 @@ KlipperScreen was never intended to be used with OctoPrint, and there is no supp
## 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.
a description of your hw, and a description of the issue when [asking for support](Contact.md)
+16
View File
@@ -0,0 +1,16 @@
# FBturbo failing with undefined symbol
in the system [log](../Troubleshooting.md) this appears:
!!! abstract "Log"
```sh
xinit[948]: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePackedWeak
```
Your system doesn't seem compatible with the FBturbo driver that you have installed
Remove the fbturbo driver
```sh
sudo apt purge xserver-xorg-video-fbturbo
```
+60
View File
@@ -0,0 +1,60 @@
# Screen is using the wrong framebuffer
## LCD-show
when using [Waveshare-LCD-show](https://github.com/waveshare/LCD-show) to install screens add `lite` at the end
to properly install the screen on the lite version of the OS. this will typically change the framebuffer
for example:
```
sudo ./LCD35-show lite
```
## Manually change the framebuffer
If you have multiple framebuffers, you may need to fix the X11 configuration,
list the available framebuffers and check the current one:
```sh
ls /dev/fb*
```
!!! example "Output example"
```
pi@raspberrypi ~ $ ls /dev/fb*
/dev/fb0 /dev/fb1
```
!!! failure "Critical"
if you only see one, for example `/dev/fb0` then this is not the issue. Go to [Troubleshooting](../Troubleshooting.md)
the file specifying the framebuffer could be:
- 99-fbturbo.conf
- 99-fbusb.conf
- 99-fbdev.conf
check if one of those or similar exist with:
```sh
ls /usr/share/X11/xorg.conf.d/
```
!!! failure "Critical"
***DO NOT CREATE A FILE***, and only edit if there is more than 1 framebuffer
!!! example
you found 99-fbturbo.conf:
```sh
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
```
and the file specifies `/dev/fb0`
since `ls /dev/fb*` returned `/dev/fb0 /dev/fb1` change it to `/dev/fb1`
Save the file, restart KlipperScreen.
```sh
sudo service KlipperScreen restart
```
+21
View File
@@ -0,0 +1,21 @@
# Last resort to make the screen work
If the screen never shows the console or bootup text during startup, Then it's typically an improperly installed screen
See [Physical install issues](Physical_Install.md)
![boot](../img/troubleshooting/boot.png)
If the screen shows the bootup text, but ends in a blinking cursor or login prompt,
and no matter what you tried in [Troubleshooting](../Troubleshooting.md) you can't make it work, then do this:
1. Install a distro with a desktop enviromenment
2. Ensure that the screen is working properly (display and touch)
3. Install KlipperScreen
4. Run `sudo systemctl set-default multi-user.target`
5. Reboot
If it still doesn't work, or you did something else to make it work and want to share:
[Contact us](../Contact.md)
Remember to share the logs, as those aid a lot in the troubleshooting.
+12 -7
View File
@@ -1,29 +1,34 @@
# Wi-Fi networks not listed
!!! tip "First start"
The initial scan may take a couple of minutes, first be patient before assuming it's an issue
Check if network-manager is installed:
```
dpkg -s network-manager
```bash
dpkg -s network-manager
```
if the response is the following:
```
dpkg-query: the package `network-manager' is not installed
```bash
dpkg-query: the package 'network-manager' is not installed
```
go to [wpa_supplicant](wpa_supplicant.md)
if the response is the following:
```
```sh
Package: network-manager
Status: install ok installed
```
this line may appear in KlipperScreen.log:
`[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized`
!!! abstract "Log"
```sh
[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized
```
in order to fix this polkit needs to be configured or disabled:
+3 -5
View File
@@ -8,8 +8,9 @@ If the screen never shows the console even during startup, Then it's typically a
## Cable issues
* Check that the cable is inserted properly:
it shouldn't be loose, and in the case of DSI make sure the contacts face the right way
* If the touchscreen is connected via USB, try another port if available, if you are using a HUB try connecting the touch directly without the HUB.
it shouldn't be loose, and in the case of ribbon cables like DSI make sure the contacts face the right way
* If the touchscreen is connected via USB, try another port if available,
if you are using a HUB try connecting the touch directly without the HUB.
* If the board has more than one HDMI try the other port
## Driver issues
@@ -23,6 +24,3 @@ Some screens need drivers installed the most common cases are:
### Goodtft (generic/clones)
* [Goodtft Wiki](http://www.lcdwiki.com)
* [repo LCD-show](https://github.com/goodtft/LCD-show)
!!! critical
remember to add `lite` when installing. See [LCD-SHOW](Showing_console.md#lcd-show)
-62
View File
@@ -1,62 +0,0 @@
# Screen shows console instead of KlipperScreen
If the screen is connected via HDMI and the board has more than one HDMI try the other port
## LCD-show
when using LCD-show repos to install screens add `lite` at the end to properly install the screen on the lite version of the os.
for example:
```
sudo ./LCD35-show lite
```
## Using wrong framebuffer
This is usually the result of not adding `lite` at the end of the command when installing a screen that requires LCD-show.
Follow [above](LCD-show) first if this is the case.
If you have multiple framebuffers, you may need to fix the X11 configuration,
list the available framebuffers and check the current one:
```sh
ls /dev/fb*
```
If you more than one, try changing it:
the file could be:
- 99-fbturbo.conf
- 99-fbusb.conf
- 99-fbdev.conf
check if one of those or similar exist with:
```sh
ls /usr/share/X11/xorg.conf.d/
```
For example if 99-fbturbo.conf is there then edit it:
```sh
sudo nano /usr/share/X11/xorg.conf.d/99-fbturbo.conf
```
for example: change `/dev/fb0` to `/dev/fb1`
!!! important
do `ls /dev/fb*` as said before to check if the other fb exists do not change it blindly
Once you have saved that file, restart KlipperScreen.
```sh
sudo service KlipperScreen restart
```
## FBturbo failing
in the system log (`sudo systemctl status KlipperScreen`) this appears:
`xinit[948]: /usr/lib/xorg/Xorg: symbol lookup error: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: shadowUpdatePackedWeak`
Fix it by removing fbturbo driver
`sudo apt purge xserver-xorg-video-fbturbo`
+66 -55
View File
@@ -1,51 +1,58 @@
# Touchscreen issues
If the screen is connected over USB, issues with the cable may cause similar symptoms. For that, please see [this guide](Physical_Install.md#cable-issues).
## Touch not working
Some DSI screens have issues where touch doesn't work with Debian Bullseye, or even in Debian Buster after an update, the current fix
(at least until upstream is fixed) consist in changing the driver:
Some DSI screens have issues where touch doesn't work with Debian Bullseye, or even in Debian Buster after an update. There is currently (September 2023) still no fix in upstream Debian.
manually edit `/boot/config.txt` and change:
The current workaround/temporary fix involves changing the kernel driver module used for these displays.
To apply this fix:
Edit `/boot/config.txt` and change
```sh
dtoverlay=vc4-kms-v3d
```
to:
to
```sh
dtoverlay=vc4-fkms-v3d
```
reboot to apply changes.
if that doesn't fix it, try removing the line or comment it out
**Reboot** to apply changes.
```
#dtoverlay=vc4-kms-v3d
#max_framebuffers=2
If that doesn't fix it, you can try commenting these lines out:
```sh
# dtoverlay=vc4-kms-v3d
# max_framebuffers=2
```
reboot to apply changes
If the screen is connected via USB It maybe a cable issue [See this section](Physical_Install.md#cable-issues)
**Reboot** to apply changes.
## Touch rotation and matrix
If the touch works but it's not in the right place, it may need a transformation matrix.
First you will need your device name, on a terminal run:
If the touch works but registers touch input in a different location from the input, then you may need to apply an input transformation matrix.
First you will need your device name. On a terminal, run:
```sh
DISPLAY=:0 xinput
```
Output:
```sh
```text
⎡ 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:
@@ -56,46 +63,50 @@ DISPLAY=:0 xinput set-prop "<device name>" 'Coordinate Transformation Matrix' <m
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`
* expand to twice the size horizontally: `0.5 0 0 0 1 0 0 0 1`
* compress horizontally:
it has been reported that the touch expands with non-hdmi screens because composite out is enabled when hdmi is unplugged.
if this is the case try adding `enable_tvout=0` to `/boot/config.txt` and reboot.
| Rotation | Matrix |
| - | - |
| 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` |
| expand to twice the size horizontally | `0.5 0 0 0 1 0 0 0 1` |
For example:
```sh
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:
```sh
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
```
As an alternative if the above doesn't work:
edit /usr/share/X11/xorg.conf.d/40-libinput.conf
for example:
```sh
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
EndSection
```
More info about input transformation can be found in:
For more in-depth guidance on using Coordinate Transformation Matrices:
* [Ubuntu wiki InputCoordinateTransformation](https://wiki.ubuntu.com/X/InputCoordinateTransformation)
* [Libinput docs](https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html)
It has been reported that the touch expands with screens that don't use HDMI. This is due to the composite output,
which enables automatically as a fallback when no HDMI device is plugged in.
If this is the case, adding `enable_tvout=0` to `/boot/config.txt` and reboot.
!!! example
```sh
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:
```sh
ACTION=="add", ATTRS{name}=="<device name>", ENV{LIBINPUT_CALIBRATION_MATRIX}="<matrix>"
```
---
As an alternative **if the above doesn't work**:
edit `/usr/share/X11/xorg.conf.d/40-libinput.conf`
for example:
```sh
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "TransformationMatrix" "0 -1 1 1 0 0 0 0 1"
EndSection
```
+14 -6
View File
@@ -1,9 +1,10 @@
# Cannot open virtual Console
If you see this line in the logs:
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
If you see this line in the [log](../Troubleshooting.md):
!!! abstract "Log"
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
* Run `cat /etc/X11/Xwrapper.config`
@@ -23,9 +24,16 @@ Restart KlipperScreen:
sudo service KlipperScreen restart
```
If it's still failing as a last resort add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
If it's still failing:
add `needs_root_rights=yes` to `/etc/X11/Xwrapper.config`:
```sh
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
```
restart KS.
Restart KlipperScreen:
```sh
sudo service KlipperScreen restart
```
+2 -2
View File
@@ -3,8 +3,8 @@
This article describes how to use KlipperScreen through a remote connection.
!!! warning
The experience may not be equal to run KlipperScreen natively,
depending on the device and network there maybe performance degradation or other issues
The experience may not be equal to run KlipperScreen natively.
Depending on the device or the network you may encounter performance degradation or other issues.
## On the Host device (for example a Raspberry Pi):
Binary file not shown.

After

Width:  |  Height:  |  Size: 413 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

+25 -6
View File
@@ -1,13 +1,32 @@
# Supported Macros
# Macros
## Hide Macros
Macros can be completely hidden in the interface by prefixing the name with an underscore.
```ini
[gcode_macro MY_AWESOME_GCODE]
gcode:
_MY_HELPER_CODE
[gcode_macro _MY_HELPER_CODE]
gcode:
M300
```
`MY_AWESOME_GCODE` appears in your interface settings, but `_MY_HELPER_CODE` does not.
## 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.
```jinja
This macros are used in the Extrude panel `Load` and `Unload` buttons.
The selected speed in the panel is transferred as a parameter.
The following examples show how this can be used:
```ini
[gcode_macro LOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
@@ -23,7 +42,7 @@ gcode:
RESTORE_GCODE_STATE NAME=load_state
```
```jinja
```ini
[gcode_macro UNLOAD_FILAMENT]
gcode:
{% set speed = params.SPEED|default(300) %}
+8
View File
@@ -39,3 +39,11 @@ class KlippyGcodes:
@staticmethod
def bed_mesh_save(profile):
return f"BED_MESH_PROFILE SAVE='{profile}'"
@staticmethod
def set_led_color(led, color):
return (
f'SET_LED LED="{led}" '
f'RED={color[0]} GREEN={color[1]} BLUE={color[2]} WHITE={color[3]} '
f'SYNC=0 TRANSMIT=1'
)
+41 -28
View File
@@ -8,18 +8,24 @@ gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango
def format_label(widget, lines=2):
if type(widget) == Gtk.Label:
def find_widget(widget, wanted_type):
# Returns a widget of wanted_type or None
if isinstance(widget, wanted_type):
return widget
if type(widget) in (Gtk.Container, Gtk.Bin, Gtk.Button, Gtk.Alignment, Gtk.Box):
if isinstance(widget, (Gtk.Container, Gtk.Bin, Gtk.Button, Gtk.Alignment, Gtk.Box)):
for _ in widget.get_children():
lbl = format_label(_)
if lbl is not None:
lbl.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
lbl.set_line_wrap(True)
lbl.set_ellipsize(True)
lbl.set_ellipsize(Pango.EllipsizeMode.END)
lbl.set_lines(lines)
result = find_widget(_, wanted_type)
if result is not None:
return result
def format_label(widget, lines=2):
label = find_widget(widget, Gtk.Label)
if label is not None:
label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
label.set_line_wrap(True)
label.set_ellipsize(Pango.EllipsizeMode.END)
label.set_lines(lines)
class KlippyGtk:
@@ -171,7 +177,9 @@ class KlippyGtk:
spinner.set_no_show_all(True)
spinner.set_size_request(width, height)
spinner.hide()
b.get_child().get_child().add(spinner)
box = find_widget(b, Gtk.Box)
if box:
box.add(spinner)
if label is not None:
format_label(b, lines)
@@ -182,33 +190,38 @@ class KlippyGtk:
@staticmethod
def Button_busy(widget, busy):
box = widget.get_child().get_child()
spinner = find_widget(widget, Gtk.Spinner)
image = find_widget(widget, Gtk.Image)
if busy:
widget.set_sensitive(False)
widget.set_always_show_image(False)
box.get_children()[0].hide()
if type(box.get_children()[1]) == Gtk.Spinner:
box.get_children()[1].start()
box.get_children()[1].show()
if image:
widget.set_always_show_image(False)
image.hide()
if spinner:
spinner.start()
spinner.show()
else:
box.get_children()[0].show()
if type(box.get_children()[1]) == Gtk.Spinner:
box.get_children()[1].stop()
box.get_children()[1].hide()
widget.set_always_show_image(True)
if image:
widget.set_always_show_image(True)
image.show()
if spinner:
spinner.stop()
spinner.hide()
widget.set_sensitive(True)
def Dialog(self, screen, buttons, content, callback=None, *args):
dialog = Gtk.Dialog()
dialog.set_default_size(screen.width, screen.height)
def Dialog(self, title, buttons, content, callback=None, *args):
dialog = Gtk.Dialog(title=title)
dialog.set_default_size(self.width, self.height)
dialog.set_resizable(False)
dialog.set_transient_for(screen)
dialog.set_transient_for(self.screen)
dialog.set_modal(True)
if not self.screen.windowed:
dialog.fullscreen()
for button in buttons:
dialog.add_button(button['name'], button['response'])
button = dialog.get_widget_for_response(button['response'])
button.set_size_request((screen.width - 30) / 3, screen.height / 5)
button.set_size_request((self.width - 30) / 3, self.height / 5)
format_label(button, 3)
dialog.connect("response", self.screen.reset_screensaver_timeout)
@@ -232,7 +245,7 @@ class KlippyGtk:
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.BLANK_CURSOR))
self.screen.dialogs.append(dialog)
logging.info(f"Showing dialog {dialog}")
logging.info(f"Showing dialog {dialog.get_title()} {dialog.get_size()}")
return dialog
def remove_dialog(self, dialog, *args):
+4 -4
View File
@@ -35,13 +35,13 @@ class KlippyRest:
def get_thumbnail_stream(self, thumbnail):
return self.send_request(f"server/files/gcodes/{thumbnail}", json=False)
def _do_request(self, method, request_method, data=None, json=None, json_response=True):
def _do_request(self, method, request_method, data=None, json=None, json_response=True, timeout=3):
url = f"{self.endpoint}/{method}"
headers = {} if self.api_key is False else {"x-api-key": self.api_key}
response_data = False
try:
callee = getattr(requests, request_method)
response = callee(url, json=json, data=data, headers=headers, timeout=3)
response = callee(url, json=json, data=data, headers=headers, timeout=timeout)
response.raise_for_status()
if json_response:
logging.debug(f"Sending request to {url}")
@@ -69,8 +69,8 @@ class KlippyRest:
def post_request(self, method, data=None, json=None, json_response=True):
return self._do_request(method, "post", data, json, json_response)
def send_request(self, method, json=True):
return self._do_request(method, "get", json_response=json)
def send_request(self, method, json=True, timeout=3):
return self._do_request(method, "get", json_response=json, timeout=timeout)
@staticmethod
def format_status(status):
+3 -1
View File
@@ -156,7 +156,7 @@ class KlipperScreenConfig:
bools = (
'invert_x', 'invert_y', 'invert_z', '24htime', 'only_heaters', 'show_cursor', 'confirm_estop',
'autoclose_popups', 'use_dpms', 'use_default_menu', 'side_macro_shortcut', 'use-matchbox-keyboard',
'show_heater_power', "show_scroll_steppers",
'show_heater_power', "show_scroll_steppers", "auto_open_extrude"
)
strs = (
'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size',
@@ -282,6 +282,8 @@ class KlipperScreenConfig:
"value": "False", "callback": screen.reload_panels}},
{"show_scroll_steppers": {"section": "main", "name": _("Show Scrollbars Buttons"), "type": "binary",
"value": "False", "callback": screen.reload_panels}},
{"auto_open_extrude": {"section": "main", "name": _("Auto-open Extrude On Pause"), "type": "binary",
"value": "True", "callback": screen.reload_panels}},
# {"": {"section": "main", "name": _(""), "type": ""}}
]
+13 -1
View File
@@ -125,6 +125,12 @@ icon: fan
panel: fan
enable: {{ printer.fans.count > 0 }}
[menu __main more led]
name: {{ gettext('Leds') }}
icon: light
panel: led
enable: {{ printer.leds.count > 0 }}
[menu __main more macros]
name: {{ gettext('Macros') }}
icon: custom-script
@@ -218,6 +224,12 @@ icon: shutdown
panel: power
enable: {{ printer.power_devices.count > 0 }}
[menu __print led]
name: {{ gettext('Leds') }}
icon: light
panel: led
enable: {{ printer.leds.count > 0 }}
[menu __print macros]
name: {{ gettext('Macros') }}
icon: custom-script
@@ -229,7 +241,7 @@ enable: {{ printer.gcode_macros.count > 0 }}
name: {{ gettext('Camera') }}
icon: camera
panel: camera
enable: {{ camera_configured }}
enable: {{ printer.cameras.count > 0 }}
[menu __print console]
name: {{ gettext('Console') }}
+38 -4
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-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"
@@ -46,6 +46,9 @@ msgstr ""
msgid "Add profile"
msgstr ""
msgid "All"
msgstr ""
msgid "Apply"
msgstr ""
@@ -57,6 +60,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
@@ -84,6 +90,9 @@ msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr ""
@@ -157,9 +166,6 @@ msgstr ""
msgid "Console"
msgstr ""
msgid "Continue"
msgstr ""
msgid "Cooldown"
msgstr ""
@@ -236,6 +242,9 @@ msgstr ""
msgid "File:"
msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr ""
@@ -302,6 +311,9 @@ msgstr ""
msgid "Hostname"
msgstr ""
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr ""
@@ -356,12 +368,19 @@ msgstr ""
msgid "KlipperScreen will reboot"
msgstr ""
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr ""
msgid "Large"
msgstr ""
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr ""
@@ -386,6 +405,9 @@ msgstr ""
msgid "Main Menu"
msgstr ""
msgid "Material"
msgstr ""
msgid "Max"
msgstr ""
@@ -446,6 +468,9 @@ msgstr ""
msgid "New"
msgstr ""
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -620,6 +645,9 @@ msgstr ""
msgid "Show Heater Power"
msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr ""
@@ -744,6 +772,12 @@ msgid_plural "hours"
msgstr[0] ""
msgstr[1] ""
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Czech\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-01-29 09:27-0600\n"
"Last-Translator: \n"
"Language-Team: Jan Stanka (stanky@email.cz)\n"
@@ -46,6 +46,9 @@ msgstr "Přijmout"
msgid "Add profile"
msgstr "Přidat profil"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "Použít"
@@ -57,6 +60,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "Opravdu chceš vyjmout objekt?"
@@ -84,6 +90,9 @@ msgstr "Auto-kalibrace"
msgid "Auto-close notifications"
msgstr "Automaticky zavřít upozornění"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto posun"
@@ -157,9 +166,6 @@ msgstr "Připojování k %s"
msgid "Console"
msgstr "Konsole"
msgid "Continue"
msgstr "Pokračuj"
msgid "Cooldown"
msgstr "Zchladit"
@@ -236,6 +242,9 @@ msgstr "Soubor"
msgid "File:"
msgstr "Soubor:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "Hledání ADXL"
@@ -302,6 +311,9 @@ msgstr "Host"
msgid "Hostname"
msgstr "Hostname"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Sada ikon"
@@ -356,12 +368,19 @@ msgstr "Klipper se restartuje"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen se restartuje"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Jazyk"
msgid "Large"
msgstr "Velký"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "Vrstva:"
@@ -386,6 +405,9 @@ msgstr "Makra"
msgid "Main Menu"
msgstr "Hlavní menu"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "Max"
@@ -446,6 +468,9 @@ msgstr "Nikdy"
msgid "New"
msgstr "Nový"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -621,6 +646,9 @@ msgstr "Ukaž"
msgid "Show Heater Power"
msgstr "Ukaž odběr topení"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "Shutdown"
@@ -747,6 +775,12 @@ msgstr[0] "hodina"
msgstr[1] "hodiny"
msgstr[2] "hodin"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
@@ -765,6 +799,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Pokračuj"
#~ msgid "Actions"
#~ msgstr "Akce"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: SRBJ\n"
"Language-Team: \n"
@@ -41,6 +41,9 @@ msgstr "OK"
msgid "Add profile"
msgstr ""
msgid "All"
msgstr ""
msgid "Apply"
msgstr ""
@@ -52,6 +55,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
@@ -79,6 +85,9 @@ msgstr "Automatisk kalibrering"
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -152,9 +161,6 @@ msgstr "Forbinder til %s"
msgid "Console"
msgstr "Terminal"
msgid "Continue"
msgstr "Fortsæt"
msgid "Cooldown"
msgstr "Afkøling"
@@ -231,6 +237,9 @@ msgstr "Fil"
msgid "File:"
msgstr "Fil:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "At finde ADXL"
@@ -297,6 +306,9 @@ msgstr ""
msgid "Hostname"
msgstr "Værtsnavn"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Ikon-tema"
@@ -351,12 +363,19 @@ msgstr "Klipper vil genstarte"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen vil genstarte"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Sprog"
msgid "Large"
msgstr "Stor"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr ""
@@ -381,6 +400,9 @@ msgstr "Makroer"
msgid "Main Menu"
msgstr "Hovedmenu"
msgid "Material"
msgstr ""
msgid "Max"
msgstr ""
@@ -441,6 +463,9 @@ msgstr ""
msgid "New"
msgstr "Ny"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -615,6 +640,9 @@ msgstr "At vise"
msgid "Show Heater Power"
msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr ""
@@ -739,6 +767,12 @@ msgid_plural "hours"
msgstr[0] "time"
msgstr[1] "timer"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
@@ -756,6 +790,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Continue"
#~ msgstr "Fortsæt"
#~ msgid "Actions"
#~ msgstr "Muligheder"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
"Last-Translator: livinhack\n"
"Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "OK"
msgid "Add profile"
msgstr "Profil hinzufügen"
msgid "All"
msgstr "Alle"
msgid "Apply"
msgstr "Anwenden"
@@ -57,6 +60,9 @@ msgstr "%s%.3f Offset auf Endstop anwenden"
msgid "Apply %s%.3f offset to Probe?"
msgstr "%s%.3f Offset auf Probe anwenden"
msgid "Archived"
msgstr "Archiviert"
msgid "Are you sure do you want to exclude the object?"
msgstr "Möchtest du das Objekt wirklich ausschließen?"
@@ -84,6 +90,9 @@ msgstr "Automatisch kalibrieren"
msgid "Auto-close notifications"
msgstr "Benachrichtigungen automatisch schließen"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -157,9 +166,6 @@ msgstr "Verbinden zu %s"
msgid "Console"
msgstr "Konsole"
msgid "Continue"
msgstr "Fortsetzen"
msgid "Cooldown"
msgstr "Abkühlen"
@@ -204,13 +210,13 @@ msgid "Extra Large"
msgstr "Extra groß"
msgid "Extrude"
msgstr "Fördern"
msgstr "Extrudieren"
msgid "Extrusion +"
msgstr "Fördern +"
msgstr "Extrudieren +"
msgid "Extrusion -"
msgstr "Fördern -"
msgstr "Extrudieren -"
msgid "Failed, adjust position first"
msgstr "Fehlgeschlagen, Position zuerst anpassen"
@@ -236,6 +242,9 @@ msgstr "Datei"
msgid "File:"
msgstr "Datei:"
msgid "Filter"
msgstr "Filter"
msgid "Finding ADXL"
msgstr "ADXL finden"
@@ -302,6 +311,9 @@ msgstr "Host"
msgid "Hostname"
msgstr "Hostname"
msgid "ID"
msgstr "ID"
msgid "Icon Theme"
msgstr "Icon Theme"
@@ -356,12 +368,21 @@ msgstr "Klipper startet neu"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen startet neu"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
"Filament_Laden/Filament_Entladen sind versteckt und sollten von extrudieren "
"aus verwendet werden"
msgid "Language"
msgstr "Sprache"
msgid "Large"
msgstr "Groß"
msgid "Last Used"
msgstr "Zuletzt verwendet"
msgid "Layer:"
msgstr "Schicht:"
@@ -386,6 +407,9 @@ msgstr "Makros"
msgid "Main Menu"
msgstr "Hauptmenü"
msgid "Material"
msgstr "Material"
msgid "Max"
msgstr "Max"
@@ -446,6 +470,9 @@ msgstr "Niemals"
msgid "New"
msgstr "Neu"
msgid "No elegible macros:"
msgstr "Keine wählbaren Makros:"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -622,6 +649,9 @@ msgstr "Zeigen"
msgid "Show Heater Power"
msgstr "Heizleistung anzeigen"
msgid "Show Scrollbars Buttons"
msgstr "Zeige Scrollbar Schaltfläche"
msgid "Shutdown"
msgstr "Ausschalten"
@@ -748,6 +778,12 @@ msgid_plural "hours"
msgstr[0] "Stunde"
msgstr[1] "Stunden"
msgid "macros that use 'rename_existing' are hidden"
msgstr "Makros, die 'rename_existing' verwenden, sind ausgeblendet"
msgid "macros with a name starting with '_' are hidden"
msgstr "Makros mit einem Namen, der mit '_' beginnt, sind ausgeblendet"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "Minute"
@@ -765,6 +801,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Fortsetzen"
#~ msgid "Fullscreen"
#~ msgstr "Vollbild"
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
"Last-Translator: livinhack\n"
"Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "OK"
msgid "Add profile"
msgstr "Profil hinzufügen"
msgid "All"
msgstr "Alle"
msgid "Apply"
msgstr "Anwenden"
@@ -57,6 +60,9 @@ msgstr "%s%.3f Offset auf Endstop anwenden"
msgid "Apply %s%.3f offset to Probe?"
msgstr "%s%.3f Offset auf Probe anwenden"
msgid "Archived"
msgstr "Archiviert"
msgid "Are you sure do you want to exclude the object?"
msgstr "Möchten Sie das Objekt wirklich ausschließen?"
@@ -84,6 +90,9 @@ msgstr "Automatisch kalibrieren"
msgid "Auto-close notifications"
msgstr "Benachrichtigungen automatisch schließen"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -157,9 +166,6 @@ msgstr "Verbinden zu %s"
msgid "Console"
msgstr "Konsole"
msgid "Continue"
msgstr "Fortsetzen"
msgid "Cooldown"
msgstr "Abkühlen"
@@ -204,13 +210,13 @@ msgid "Extra Large"
msgstr "Extra groß"
msgid "Extrude"
msgstr "Fördern"
msgstr "Extrudieren"
msgid "Extrusion +"
msgstr "Fördern +"
msgstr "Extrudieren +"
msgid "Extrusion -"
msgstr "Fördern -"
msgstr "Extrudieren -"
msgid "Failed, adjust position first"
msgstr "Fehlgeschlagen, Position zuerst anpassen"
@@ -236,6 +242,9 @@ msgstr "Datei"
msgid "File:"
msgstr "Datei:"
msgid "Filter"
msgstr "Filter"
msgid "Finding ADXL"
msgstr "ADXL finden"
@@ -302,6 +311,9 @@ msgstr "Host"
msgid "Hostname"
msgstr "Hostname"
msgid "ID"
msgstr "ID"
msgid "Icon Theme"
msgstr "Icon Theme"
@@ -356,12 +368,21 @@ msgstr "Klipper startet neu"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen startet neu"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
"Filament_Laden/Filament_Entladen sind versteckt und sollten von extrudieren "
"aus verwendet werden"
msgid "Language"
msgstr "Sprache"
msgid "Large"
msgstr "Groß"
msgid "Last Used"
msgstr "Zuletzt verwendet"
msgid "Layer:"
msgstr "Schicht:"
@@ -386,6 +407,9 @@ msgstr "Makros"
msgid "Main Menu"
msgstr "Hauptmenü"
msgid "Material"
msgstr "Material"
msgid "Max"
msgstr "Max"
@@ -446,6 +470,9 @@ msgstr "Niemals"
msgid "New"
msgstr "Neu"
msgid "No elegible macros:"
msgstr "Keine wählbaren Makros:"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -623,6 +650,9 @@ msgstr "Zeigen"
msgid "Show Heater Power"
msgstr "Heizleistung anzeigen"
msgid "Show Scrollbars Buttons"
msgstr "Zeige Scrollbar Schaltfläche"
msgid "Shutdown"
msgstr "Ausschalten"
@@ -749,6 +779,12 @@ msgid_plural "hours"
msgstr[0] "Stunde"
msgstr[1] "Stunden"
msgid "macros that use 'rename_existing' are hidden"
msgstr "Makros, die 'rename_existing' verwenden, sind ausgeblendet"
msgid "macros with a name starting with '_' are hidden"
msgstr "Makros mit einem Namen, der mit '_' beginnt, sind ausgeblendet"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "Minute"
@@ -766,6 +802,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Fortsetzen"
#~ msgid "Fullscreen"
#~ msgstr "Vollbild"
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -41,6 +41,9 @@ msgstr ""
msgid "Add profile"
msgstr ""
msgid "All"
msgstr ""
msgid "Apply"
msgstr ""
@@ -52,6 +55,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
@@ -79,6 +85,9 @@ msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr ""
@@ -152,9 +161,6 @@ msgstr ""
msgid "Console"
msgstr ""
msgid "Continue"
msgstr ""
msgid "Cooldown"
msgstr ""
@@ -231,6 +237,9 @@ msgstr ""
msgid "File:"
msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr ""
@@ -297,6 +306,9 @@ msgstr ""
msgid "Hostname"
msgstr ""
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr ""
@@ -351,12 +363,19 @@ msgstr ""
msgid "KlipperScreen will reboot"
msgstr ""
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr ""
msgid "Large"
msgstr ""
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr ""
@@ -381,6 +400,9 @@ msgstr ""
msgid "Main Menu"
msgstr ""
msgid "Material"
msgstr ""
msgid "Max"
msgstr ""
@@ -441,6 +463,9 @@ msgstr ""
msgid "New"
msgstr ""
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -615,6 +640,9 @@ msgstr ""
msgid "Show Heater Power"
msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr ""
@@ -739,6 +767,12 @@ msgid_plural "hours"
msgstr[0] ""
msgstr[1] ""
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
Binary file not shown.
@@ -7,16 +7,16 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"PO-Revision-Date: 2023-07-25 21:05-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-09-03 11:53-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.3.2\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.0.1-dev\n"
#, python-format
msgid "%s will be updated to version"
@@ -46,6 +46,9 @@ msgstr "Aceptar"
msgid "Add profile"
msgstr "Agregar perfil"
msgid "All"
msgstr "Todos"
msgid "Apply"
msgstr "Aplicar"
@@ -57,6 +60,9 @@ msgstr "Aplicar %s%.3f al fin de carrera?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "Aplicar %s%.3f al sensor?"
msgid "Archived"
msgstr "Archivados"
msgid "Are you sure do you want to exclude the object?"
msgstr "¿Está seguro de excluir este objeto?"
@@ -84,6 +90,9 @@ msgstr "Auto-Calibrar"
msgid "Auto-close notifications"
msgstr "Auto-cerrar notificaciones"
msgid "Auto-open Extrude On Pause"
msgstr "Auto-abrir Extruir al pausar"
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -157,9 +166,6 @@ msgstr "Conectando a %s"
msgid "Console"
msgstr "Consola"
msgid "Continue"
msgstr "Continuar"
msgid "Cooldown"
msgstr "Enfriar"
@@ -236,6 +242,9 @@ msgstr "Archivo"
msgid "File:"
msgstr "Archivo:"
msgid "Filter"
msgstr "Filtro"
msgid "Finding ADXL"
msgstr "Buscando ADXL"
@@ -243,7 +252,7 @@ msgid "Fine Tuning"
msgstr "Ajuste Fino"
msgid "Finish"
msgstr "Cerrar"
msgstr "Finalizar"
msgid "Firmware Restart"
msgstr "Reiniciar Firmware"
@@ -252,7 +261,7 @@ msgid "Flow:"
msgstr "Flujo:"
msgid "Flowrate:"
msgstr "Flujo:"
msgstr "Tasa de Flujo:"
msgid "Font Size"
msgstr "Tamaño del texto"
@@ -302,6 +311,9 @@ msgstr "Anfitrión"
msgid "Hostname"
msgstr "Hostname"
msgid "ID"
msgstr "ID"
msgid "Icon Theme"
msgstr "Tema de Iconos"
@@ -357,12 +369,21 @@ msgstr "Klipper se reiniciará"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen se reiniciará"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
"LOAD_FILAMENT/UNLOAD_FILAMENT están ocultos y deberían ser usados desde "
"extruir"
msgid "Language"
msgstr "Idioma"
msgid "Large"
msgstr "Grande"
msgid "Last Used"
msgstr "Ultimo usado"
msgid "Layer:"
msgstr "Capa:"
@@ -385,7 +406,10 @@ msgid "Macros"
msgstr "Macros"
msgid "Main Menu"
msgstr "Menú"
msgstr "Menú Principal"
msgid "Material"
msgstr "Material"
msgid "Max"
msgstr "Max"
@@ -447,6 +471,9 @@ msgstr "Nunca"
msgid "New"
msgstr "Nuevo"
msgid "No elegible macros:"
msgstr "No hay macros elegibles:"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -548,7 +575,7 @@ msgid "Reference"
msgstr "Referencia"
msgid "Refresh"
msgstr "Actualizar"
msgstr "Recargar"
msgid "Rename/Move:"
msgstr "Renombrar/Mover:"
@@ -623,6 +650,9 @@ msgstr "Mostrar"
msgid "Show Heater Power"
msgstr "Mostrar potencia del calentador"
msgid "Show Scrollbars Buttons"
msgstr "Mostrar botones de desplazamiento"
msgid "Shutdown"
msgstr "Apagar"
@@ -723,7 +753,7 @@ msgid "Z Calibrate"
msgstr "Calibrar Z"
msgid "Z Move Speed (mm/s)"
msgstr "Velocidad Z (mm/s)"
msgstr "Velocidad Z (mm/s)"
msgid "Z Speed (mm/s)"
msgstr "Z Velocidad (mm/s)"
@@ -747,6 +777,12 @@ msgid_plural "hours"
msgstr[0] "hora"
msgstr[1] "horas"
msgid "macros that use 'rename_existing' are hidden"
msgstr "los macros que usan 'rename_existing' están ocultos"
msgid "macros with a name starting with '_' are hidden"
msgstr "los macros con nombre comenzando en '_' están ocultos"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuto"
@@ -764,6 +800,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Continuar"
#~ msgid "Fullscreen"
#~ msgstr "Pantalla Completa"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:11-0300\n"
"Last-Translator: O. Robardet\n"
"Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "Accepter"
msgid "Add profile"
msgstr "Ajouter un profil"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "Appliquer"
@@ -57,6 +60,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "Êtes-vous sûr de vouloir exclure l’objet ?"
@@ -84,6 +90,9 @@ msgstr "Calibration Automatique"
msgid "Auto-close notifications"
msgstr "Fermeture automatique des notifications"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Défilement automatique"
@@ -157,9 +166,6 @@ msgstr "Connexion à %s"
msgid "Console"
msgstr "Console"
msgid "Continue"
msgstr "Continuer"
msgid "Cooldown"
msgstr "Refroidir"
@@ -236,6 +242,9 @@ msgstr "Fichier"
msgid "File:"
msgstr "Fichier:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "Recherche de l’ADXL"
@@ -302,6 +311,9 @@ msgstr "Hôte"
msgid "Hostname"
msgstr "Nom d’hôte"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Thème"
@@ -356,12 +368,19 @@ msgstr "Klipper va redémarrer"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen va redémarrer"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Langue"
msgid "Large"
msgstr "Grande"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "Couche:"
@@ -386,6 +405,9 @@ msgstr "Macros"
msgid "Main Menu"
msgstr "Menu principal"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "Max"
@@ -446,6 +468,9 @@ msgstr "Jamais"
msgid "New"
msgstr "Nouveau"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -622,6 +647,9 @@ msgstr "Afficher"
msgid "Show Heater Power"
msgstr "Afficher la puissance de chauffe"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "Arrêter"
@@ -746,6 +774,12 @@ msgid_plural "hours"
msgstr[0] "heure"
msgstr[1] "heures"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
@@ -763,6 +797,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Continuer"
#~ msgid "Actions"
#~ msgstr "Actions"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Klipperscreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:11-0300\n"
"Last-Translator: Tal Rahav <talrhv1@gmail.com>\n"
"Language-Team: \n"
@@ -48,6 +48,9 @@ msgstr "אשר"
msgid "Add profile"
msgstr "הוסף פרופיל"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "החל"
@@ -59,6 +62,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
@@ -86,6 +92,9 @@ msgstr "כיול אוטומטי"
msgid "Auto-close notifications"
msgstr "סגירת התראות אוטומטית"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "גלילה אוטומטית"
@@ -159,9 +168,6 @@ msgstr "מתחבר ל- %s"
msgid "Console"
msgstr "קונסול"
msgid "Continue"
msgstr "המשך"
msgid "Cooldown"
msgstr "הפעל קירור"
@@ -238,6 +244,9 @@ msgstr "קובץ"
msgid "File:"
msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "מחפש ADXL"
@@ -304,6 +313,9 @@ msgstr "שרת"
msgid "Hostname"
msgstr "שם שרת"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "ערכת נושא"
@@ -358,12 +370,19 @@ msgstr "קליפר יבצע אתחול"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen יאתחל מחדש"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "שפה"
msgid "Large"
msgstr "גדול"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "שכבה"
@@ -388,6 +407,9 @@ msgstr "מקרואים"
msgid "Main Menu"
msgstr "תפריט ראשי"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "מקסימום"
@@ -448,6 +470,9 @@ msgstr ""
msgid "New"
msgstr "חדש"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -624,6 +649,9 @@ msgstr "הצג"
msgid "Show Heater Power"
msgstr "הצג זרם מיטה"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "כיבוי"
@@ -752,6 +780,12 @@ msgstr[1] "שעות"
msgstr[2] "שעות"
msgstr[3] "שעות"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
@@ -771,6 +805,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Continue"
#~ msgstr "המשך"
#~ msgid "Actions"
#~ msgstr "פעולות"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-05 16:43-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: AntoszHUN\n"
"Language-Team: \n"
@@ -41,6 +41,9 @@ msgstr "Elfogad"
msgid "Add profile"
msgstr "Profil hozzáadása"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "Alkalmaz"
@@ -52,6 +55,9 @@ msgstr "Alkalmazod a %s%.3f végpont eltolást?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "Alkalmazod a %s%.3f szonda eltolást?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "Biztosan kizárod az objektumot?"
@@ -79,6 +85,9 @@ msgstr "Automatikus kalibrálás"
msgid "Auto-close notifications"
msgstr "Értesítések automatikus bezárása"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Automatikus görgetés"
@@ -152,9 +161,6 @@ msgstr "Csatlakozás %s"
msgid "Console"
msgstr "Konzol"
msgid "Continue"
msgstr "Folytat"
msgid "Cooldown"
msgstr "Lehűtés"
@@ -231,6 +237,9 @@ msgstr "Fájl"
msgid "File:"
msgstr "Fájl:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "ADXL keresése"
@@ -297,6 +306,9 @@ msgstr "Gazdagép"
msgid "Hostname"
msgstr "Gazdanév"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Ikon téma"
@@ -351,12 +363,19 @@ msgstr "A Klipper újraindul"
msgid "KlipperScreen will reboot"
msgstr "A KlipperScreen újraindul"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Nyelv"
msgid "Large"
msgstr "Nagy"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "Réteg:"
@@ -381,6 +400,9 @@ msgstr "Makrók"
msgid "Main Menu"
msgstr "Főmenü"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "Max"
@@ -441,6 +463,9 @@ msgstr "Soha"
msgid "New"
msgstr "Új"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -617,6 +642,9 @@ msgstr "Mutat"
msgid "Show Heater Power"
msgstr "A fűtésteljesítmény megjelenítése"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "Leállítás"
@@ -741,6 +769,12 @@ msgid_plural "hours"
msgstr[0] "óra"
msgstr[1] "órák"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] "perc"
@@ -758,6 +792,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Folytat"
#~ msgid "Fullscreen"
#~ msgstr "Teljes képernyő"
Binary file not shown.
@@ -1,8 +1,8 @@
msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: Pappicio\n"
"Language-Team: \n"
@@ -10,9 +10,8 @@ msgstr ""
"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 2.2\n"
"Project-Id-Version: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 5.0.1-dev\n"
#, python-format
msgid "%s will be updated to version"
@@ -42,6 +41,9 @@ msgstr "Accetta"
msgid "Add profile"
msgstr "Aggiungi profilo"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "Applica"
@@ -53,6 +55,9 @@ msgstr "Applicare l'offset %s%.3f a Endstop?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "Applicare l'offset %s%.3f a Probe?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "Sei sicuro di voler escludere l'oggetto?"
@@ -80,6 +85,9 @@ msgstr "Calibrazione automatica"
msgid "Auto-close notifications"
msgstr "Chiusura automatica notifiche"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Scorrimento automatico"
@@ -153,9 +161,6 @@ msgstr "Connessione a %s"
msgid "Console"
msgstr "Consolle"
msgid "Continue"
msgstr "Continua"
msgid "Cooldown"
msgstr "Raffreddare"
@@ -232,6 +237,9 @@ msgstr ""
msgid "File:"
msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "ricerca ADXL..."
@@ -298,6 +306,9 @@ msgstr "Host"
msgid "Hostname"
msgstr "Hostname"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Tema icone"
@@ -329,7 +340,8 @@ msgid "Invert Z"
msgstr "Inverti Z"
msgid "It may take more than 5 minutes depending on the heater power."
msgstr "Potrebbero volerci più di 5 min., dipende della potenza del riscaldatore."
msgstr ""
"Potrebbero volerci più di 5 min., dipende della potenza del riscaldatore."
msgid "Klipper Restart"
msgstr "Riavvio Klipper"
@@ -352,12 +364,19 @@ msgstr "Klipper si riavvierà"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen si riavvierà"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Lingua"
msgid "Large"
msgstr "Grande"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "Layer:"
@@ -382,6 +401,9 @@ msgstr "Macros"
msgid "Main Menu"
msgstr "Menu principale"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "Max"
@@ -442,8 +464,15 @@ msgstr "Mai"
msgid "New"
msgstr "Nuovo"
msgid "Not supported for auto-detection, it needs to be configured in klipperscreen.conf"
msgstr "Non supportato per il rilevamento automatico, configurarlo in klipperscreen.conf"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
msgstr ""
"Non supportato per il rilevamento automatico, configurarlo in klipperscreen."
"conf"
msgid "Nothing selected"
msgstr "Nessuna selezione"
@@ -527,7 +556,7 @@ msgid "Raise Nozzle"
msgstr "Alza ugello"
msgid "Recover"
msgstr "Ripristino "
msgstr "Ripristino"
msgid "Recover Hard"
msgstr "Ripristino Hard"
@@ -614,6 +643,9 @@ msgstr "Mostra"
msgid "Show Heater Power"
msgstr "Mostra potenza riscaldatore"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "Spegnimento"
@@ -738,6 +770,12 @@ msgid_plural "hours"
msgstr[0] "ora"
msgstr[1] "ore"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuto"
@@ -755,6 +793,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Continua"
#~ msgid "Actions"
#~ msgstr "Azioni"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: boyon\n"
"Language-Team: \n"
@@ -41,6 +41,9 @@ msgstr "承諾する"
msgid "Add profile"
msgstr "プロファイルの追加"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "適用する"
@@ -52,6 +55,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "対象を除外しますか?"
@@ -79,6 +85,9 @@ msgstr "自動校正"
msgid "Auto-close notifications"
msgstr "自動終了通知"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "自動スクロール"
@@ -152,9 +161,6 @@ msgstr "%s へ接続中・・・"
msgid "Console"
msgstr "コンソール"
msgid "Continue"
msgstr "継続"
msgid "Cooldown"
msgstr "クールダウン"
@@ -231,6 +237,9 @@ msgstr "ファイル"
msgid "File:"
msgstr "ファイル:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "ADXLを検索中"
@@ -297,6 +306,9 @@ msgstr ""
msgid "Hostname"
msgstr "Hostname"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "アイコンテーマ"
@@ -351,12 +363,19 @@ msgstr "Klipperは再起動します"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreenは再起動します"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "言語"
msgid "Large"
msgstr "大"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "レイヤー:"
@@ -381,6 +400,9 @@ msgstr "マクロ"
msgid "Main Menu"
msgstr "メインメニュー"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "最大"
@@ -441,6 +463,9 @@ msgstr "未"
msgid "New"
msgstr "新"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -614,6 +639,9 @@ msgstr "表示"
msgid "Show Heater Power"
msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "シャットダウン"
@@ -736,6 +764,12 @@ msgid "hour"
msgid_plural "hours"
msgstr[0] ""
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
@@ -752,6 +786,9 @@ msgstr ""
msgid "mm³/s"
msgstr ""
#~ msgid "Continue"
#~ msgstr "継続"
#~ msgid "Actions"
#~ msgstr "操作"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n"
"Last-Translator: NSteven\n"
"Language-Team: NSteven\n"
@@ -41,6 +41,9 @@ msgstr "확인"
msgid "Add profile"
msgstr ""
msgid "All"
msgstr ""
msgid "Apply"
msgstr "확인"
@@ -52,6 +55,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
@@ -79,6 +85,9 @@ msgstr "자동 교정"
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "오토 스크롤"
@@ -152,9 +161,6 @@ msgstr "%s에 연결 중.."
msgid "Console"
msgstr "콘솔 제어 명령"
msgid "Continue"
msgstr "계속"
msgid "Cooldown"
msgstr "가열 중단"
@@ -231,6 +237,9 @@ msgstr "파일"
msgid "File:"
msgstr "파일:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "가속도계 찾는 중.."
@@ -297,6 +306,9 @@ msgstr ""
msgid "Hostname"
msgstr "호스트 이름"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "아이콘 테마"
@@ -351,12 +363,19 @@ msgstr "Klipper가 재부팅됩니다"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen가 재부팅됩니다"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "언어"
msgid "Large"
msgstr "크게"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "레이어:"
@@ -381,6 +400,9 @@ msgstr "매크로"
msgid "Main Menu"
msgstr "메인 메뉴"
msgid "Material"
msgstr ""
msgid "Max"
msgstr ""
@@ -441,6 +463,9 @@ msgstr ""
msgid "New"
msgstr "신규"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -614,6 +639,9 @@ msgstr "보기"
msgid "Show Heater Power"
msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr ""
@@ -736,6 +764,12 @@ msgid "hour"
msgid_plural "hours"
msgstr[0] "시간"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
@@ -752,6 +786,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Continue"
#~ msgstr "계속"
#~ msgid "Actions"
#~ msgstr "툴 헤드 제어"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-05-07 18:50+0200\n"
"Last-Translator: Thijs Triemstra <info@collab.nl>\n"
"Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "Accepteer"
msgid "Add profile"
msgstr "Profiel toevoegen"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "Toepassen"
@@ -57,6 +60,9 @@ msgstr "Gebruik %s%.3f offset voor Eindstop?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "Gebruik %s%.3f offset voor Probe?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "Weet je zeker dat je het object wilt uitsluiten?"
@@ -84,6 +90,9 @@ msgstr "Auto-kalibreren"
msgid "Auto-close notifications"
msgstr "Auto-sluit notificaties"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -157,9 +166,6 @@ msgstr "Verbinden met %s"
msgid "Console"
msgstr "Console"
msgid "Continue"
msgstr "Doorgaan"
msgid "Cooldown"
msgstr "Afkoelen"
@@ -236,6 +242,9 @@ msgstr "Bestand"
msgid "File:"
msgstr "Bestand:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "Zoekt ADXL"
@@ -302,6 +311,9 @@ msgstr "Host"
msgid "Hostname"
msgstr "Hostnaam"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Icoon Thema"
@@ -356,12 +368,19 @@ msgstr "Klipper zal herstarten"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen zal herstarten"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Taal"
msgid "Large"
msgstr "Groot"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "Laag:"
@@ -386,6 +405,9 @@ msgstr "Macros"
msgid "Main Menu"
msgstr "Hoofd Menu"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "Max"
@@ -446,6 +468,9 @@ msgstr "Nooit"
msgid "New"
msgstr "Nieuw"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -622,6 +647,9 @@ msgstr "Toon"
msgid "Show Heater Power"
msgstr "Toon Heater Stroom"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "Afsluiten"
@@ -746,6 +774,12 @@ msgid_plural "hours"
msgstr[0] "uur"
msgstr[1] "uren"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuut"
@@ -763,6 +797,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Doorgaan"
#~ msgid "Fullscreen"
#~ msgstr "Volledig Scherm"
Binary file not shown.
@@ -3,8 +3,8 @@ msgid ""
msgstr ""
"Project-Id-Version: Polish (KlipperScreen)\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"PO-Revision-Date: 2023-07-31 22:13+0000\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-09-06 08:40+0000\n"
"Last-Translator: Daviteusz <daviteusz0@gmail.com>\n"
"Language-Team: Polish\n"
"Language: pl\n"
@@ -13,7 +13,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.18.2\n"
"X-Generator: Weblate 5.0\n"
#, python-format
msgid "%s will be updated to version"
@@ -43,6 +43,9 @@ msgstr "Akceptuj"
msgid "Add profile"
msgstr "Dodaj profil"
msgid "All"
msgstr "Wszystkie"
msgid "Apply"
msgstr "Zastosuj"
@@ -54,6 +57,9 @@ msgstr "Zastosować przesunięcie %s%.3f do krańcówki?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "Zastosować przesunięcie %s%.3f do sondy?"
msgid "Archived"
msgstr "Zarchiwizowane"
msgid "Are you sure do you want to exclude the object?"
msgstr "Czy na pewno chcesz wykluczyć obiekt?"
@@ -81,6 +87,9 @@ msgstr "Automatyczna kalibracja"
msgid "Auto-close notifications"
msgstr "Automatycznie zamykaj powiadomienia"
msgid "Auto-open Extrude On Pause"
msgstr "Otwieraj menu wytłaczania podczas wstrzymania"
msgid "Auto-scroll"
msgstr "Automatyczne przewijanie"
@@ -154,9 +163,6 @@ msgstr "Łączenie z %s"
msgid "Console"
msgstr "Konsola"
msgid "Continue"
msgstr "Kontynuuj"
msgid "Cooldown"
msgstr "Studzenie"
@@ -233,6 +239,9 @@ msgstr "Plik"
msgid "File:"
msgstr "Plik:"
msgid "Filter"
msgstr "Filtruj"
msgid "Finding ADXL"
msgstr "Wyszukiwanie ADXL"
@@ -294,11 +303,14 @@ msgid "Home Z"
msgstr "Bazuj Z"
msgid "Host"
msgstr "Gospodarz"
msgstr "Host"
msgid "Hostname"
msgstr "Nazwa hosta"
msgid "ID"
msgstr "ID"
msgid "Icon Theme"
msgstr "Motyw ikon"
@@ -353,12 +365,21 @@ msgstr "Klipper uruchomi się ponownie"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen uruchomi się ponownie"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
"LOAD_FILAMENT/UNLOAD_FILAMENT są ukryte i powinny być używane z menu "
"wytłaczania"
msgid "Language"
msgstr "Język"
msgid "Large"
msgstr "Duży"
msgid "Last Used"
msgstr "Ostatnie użycie"
msgid "Layer:"
msgstr "Warstwa:"
@@ -383,6 +404,9 @@ msgstr "Makra"
msgid "Main Menu"
msgstr "Menu główne"
msgid "Material"
msgstr "Materiał"
msgid "Max"
msgstr "Maks"
@@ -443,6 +467,9 @@ msgstr "Nigdy"
msgid "New"
msgstr "Nowe"
msgid "No elegible macros:"
msgstr "Brak odpowiednich makr:"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -620,6 +647,9 @@ msgstr "Pokaż"
msgid "Show Heater Power"
msgstr "Pokaż moc grzałki"
msgid "Show Scrollbars Buttons"
msgstr "Pokaż przyciski pasków przewijania"
msgid "Shutdown"
msgstr "Wyłącz"
@@ -733,9 +763,9 @@ msgstr "Przesunięcie Z:"
msgid "commit"
msgid_plural "commits"
msgstr[0] "zmianę"
msgstr[1] "zmiany"
msgstr[2] "zmian"
msgstr[0] "zatwierdzenie"
msgstr[1] "zatwierdzenia"
msgstr[2] "zatwierdzeń"
msgid "dBm"
msgstr "dBm"
@@ -746,6 +776,12 @@ msgstr[0] "godzina"
msgstr[1] "godziny"
msgstr[2] "godzin"
msgid "macros that use 'rename_existing' are hidden"
msgstr "makra używające \"rename_existing\" są ukryte"
msgid "macros with a name starting with '_' are hidden"
msgstr "makra z nazwą zaczynającą się od \"_\" są ukryte"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuta"
@@ -764,6 +800,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Kontynuuj"
#~ msgid "Fullscreen"
#~ msgstr "Pełny ekran"
Binary file not shown.
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:14-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -50,6 +50,9 @@ msgstr "Aceitar"
msgid "Add profile"
msgstr "Adicionar perfil"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "Aplicar"
@@ -61,6 +64,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "Tem certeza de que deseja excluir o objeto?"
@@ -88,6 +94,9 @@ msgstr "Calibrar automaticamente"
msgid "Auto-close notifications"
msgstr "Notificações de fechamento automático"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scroll"
@@ -161,9 +170,6 @@ msgstr "Conectando %s"
msgid "Console"
msgstr "Terminal"
msgid "Continue"
msgstr "Continuar"
msgid "Cooldown"
msgstr "Resfriar"
@@ -240,6 +246,9 @@ msgstr "Arquivo"
msgid "File:"
msgstr "Arquivo:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "Encontrar ADXL"
@@ -306,6 +315,9 @@ msgstr "Host"
msgid "Hostname"
msgstr "Nome do Host"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Tema"
@@ -360,12 +372,19 @@ msgstr "Klipper será reiniciado"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen será reiniciado"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Idioma"
msgid "Large"
msgstr "Grande"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "Camada:"
@@ -390,6 +409,9 @@ msgstr "Macros"
msgid "Main Menu"
msgstr "Menu principal"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "Max"
@@ -450,6 +472,9 @@ msgstr "Nunca"
msgid "New"
msgstr "Novo"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -626,6 +651,9 @@ msgstr "Mostrar"
msgid "Show Heater Power"
msgstr "Mostrar Potência do Aquecedor"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "Desligar"
@@ -750,6 +778,12 @@ msgid_plural "hours"
msgstr[0] "hora"
msgstr[1] "horas"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
@@ -767,6 +801,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Continue"
#~ msgstr "Continuar"
#~ msgid "Actions"
#~ msgstr "Ações"
Binary file not shown.
@@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-08-16 09:53-0300\n"
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
"Language-Team: \n"
@@ -47,6 +47,9 @@ msgstr "Применить"
msgid "Add profile"
msgstr "Добавить профиль"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "Применить"
@@ -58,6 +61,9 @@ msgstr "Применить смещение %s%.3f к Endstop?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "Применить смещение %s%.3f к зонду?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "Вы уверены, что хотите исключить объект?"
@@ -85,6 +91,9 @@ msgstr "Автоматическая калибровка"
msgid "Auto-close notifications"
msgstr "Автоматическое закрытие уведомлений"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Автоматическая прокрутка"
@@ -158,9 +167,6 @@ msgstr "Соединенный с %s"
msgid "Console"
msgstr "Консоль"
msgid "Continue"
msgstr "Продолжить"
msgid "Cooldown"
msgstr "Остудить"
@@ -237,6 +243,9 @@ msgstr "Файл"
msgid "File:"
msgstr "Файл:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "Поиск ADXL"
@@ -303,6 +312,9 @@ msgstr "Хост"
msgid "Hostname"
msgstr "Имя хоста"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Темы"
@@ -357,12 +369,19 @@ msgstr "Klipper перезагружается"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen перезагружается"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Язык"
msgid "Large"
msgstr "Большой"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "Слой:"
@@ -387,6 +406,9 @@ msgstr "Макросы"
msgid "Main Menu"
msgstr "Главное меню"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "Максимум"
@@ -447,6 +469,9 @@ msgstr "Никогда"
msgid "New"
msgstr "Новый"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -624,6 +649,9 @@ msgstr "Показывать"
msgid "Show Heater Power"
msgstr "Показать мощность нагрева"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "Выключить"
@@ -750,6 +778,12 @@ msgstr[0] "час"
msgstr[1] "часа"
msgstr[2] "часа"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] "минута"
@@ -768,6 +802,9 @@ msgstr "мм/с²"
msgid "mm³/s"
msgstr "мм/с³"
#~ msgid "Continue"
#~ msgstr "Продолжить"
#~ msgid "Fullscreen"
#~ msgstr "Полный экран"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-21 21:31-0300\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "Godkänn"
msgid "Add profile"
msgstr ""
msgid "All"
msgstr ""
msgid "Apply"
msgstr ""
@@ -57,6 +60,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?"
msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr ""
@@ -84,6 +90,9 @@ msgstr ""
msgid "Auto-close notifications"
msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Auto-scrolla"
@@ -157,9 +166,6 @@ msgstr "Ansluter till %s"
msgid "Console"
msgstr "Konsol"
msgid "Continue"
msgstr "Fortsätt"
msgid "Cooldown"
msgstr "Nedkylning"
@@ -236,6 +242,9 @@ msgstr "Fil"
msgid "File:"
msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr ""
@@ -302,6 +311,9 @@ msgstr ""
msgid "Hostname"
msgstr "Värdnamn"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Ikon tema"
@@ -356,12 +368,19 @@ msgstr "Klipper kommer att starta om"
msgid "KlipperScreen will reboot"
msgstr ""
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Språk"
msgid "Large"
msgstr "Stor"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr ""
@@ -386,6 +405,9 @@ msgstr "Makron"
msgid "Main Menu"
msgstr "Huvudmeny"
msgid "Material"
msgstr ""
msgid "Max"
msgstr ""
@@ -446,6 +468,9 @@ msgstr ""
msgid "New"
msgstr ""
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -620,6 +645,9 @@ msgstr "Visa"
msgid "Show Heater Power"
msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr ""
@@ -744,6 +772,12 @@ msgid_plural "hours"
msgstr[0] "timme"
msgstr[1] "timmar"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
@@ -761,6 +795,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr ""
#~ msgid "Continue"
#~ msgstr "Fortsätt"
#~ msgid "Actions"
#~ msgstr "Åtgärder"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-07-23 17:27+0300\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "Kabul et"
msgid "Add profile"
msgstr "Profil ekle"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "Uygula"
@@ -57,6 +60,9 @@ msgstr "Endstop'a %s%.3f ofset uygulansın mı?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "Prob'a %s%.3f ofset uygulansın mı?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "Nesneyi hariç tutmak istediğinizden emin misiniz?"
@@ -84,6 +90,9 @@ msgstr "Otomatik-Kalibrasyon"
msgid "Auto-close notifications"
msgstr "Bildirimleri otomatik kapat"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Otomatik kaydırma"
@@ -157,9 +166,6 @@ msgstr "%s'e Bağlanılıyor"
msgid "Console"
msgstr "Konsol"
msgid "Continue"
msgstr "Devam et"
msgid "Cooldown"
msgstr "Soğutma"
@@ -236,6 +242,9 @@ msgstr "Dosya"
msgid "File:"
msgstr "Dosya:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "ADXL Bulunuyor"
@@ -302,6 +311,9 @@ msgstr "Sunucu"
msgid "Hostname"
msgstr "Ana bilgisayar adı"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "Simge Teması"
@@ -356,12 +368,19 @@ msgstr "Klipper yeniden başlayacak"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen yeniden başlayacak"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "Dil"
msgid "Large"
msgstr "Büyük"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "Katman:"
@@ -386,6 +405,9 @@ msgstr "Makrolar"
msgid "Main Menu"
msgstr "Ana Menü"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "Maks"
@@ -446,6 +468,9 @@ msgstr "Asla"
msgid "New"
msgstr "Yeni"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -622,6 +647,9 @@ msgstr "Göster"
msgid "Show Heater Power"
msgstr "Isıtıcı Gücünü Göster"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "Kapat"
@@ -746,6 +774,12 @@ msgid_plural "hours"
msgstr[0] "saat"
msgstr[1] "saatler"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] "dakika"
@@ -763,6 +797,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Devam et"
#~ msgid "Fullscreen"
#~ msgstr "Tam Ekran"
Binary file not shown.
@@ -5,10 +5,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: 2023-07-31 15:31\n"
"Project-Id-Version: 2023-09-03 20:36\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"PO-Revision-Date: 2023-07-31 15:32+0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-09-03 20:57+0300\n"
"Last-Translator: Andrii Komarovskyi\n"
"Language-Team: Andrii Komarovskyi\n"
"Language: uk\n"
@@ -47,6 +47,9 @@ msgstr "Прийняти"
msgid "Add profile"
msgstr "Додати профіль"
msgid "All"
msgstr "Всі"
msgid "Apply"
msgstr "Застосувати"
@@ -58,6 +61,9 @@ msgstr "Застосувати зміщення %s%.3f до кінцевика?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "Застосувати зміщення %s%.3f до зонда?"
msgid "Archived"
msgstr "Архівовано"
msgid "Are you sure do you want to exclude the object?"
msgstr "Ви впевнені, що бажаєте виключити об’єкт?"
@@ -85,6 +91,9 @@ msgstr "Автоматичне калібрування"
msgid "Auto-close notifications"
msgstr "Автоматичне закриття сповіщень"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "Автоматична прокрутка"
@@ -158,9 +167,6 @@ msgstr "Підключення до %s"
msgid "Console"
msgstr "Консоль"
msgid "Continue"
msgstr "Продовжити"
msgid "Cooldown"
msgstr "Охолодження"
@@ -239,6 +245,9 @@ msgstr "Файл"
msgid "File:"
msgstr "Файл:"
msgid "Filter"
msgstr "Фільтр"
msgid "Finding ADXL"
msgstr "Знаходження ADXL"
@@ -307,6 +316,9 @@ msgstr "Хост"
msgid "Hostname"
msgstr "Ім'я хоста"
msgid "ID"
msgstr "ID"
msgid "Icon Theme"
msgstr "Тема оформлення"
@@ -363,12 +375,21 @@ msgstr "Klipper перезавантажиться"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen перезавантажиться"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
"LOAD_FILAMENT/UNLOAD_FILAMENT приховані, і їх слід використовувати з меню "
"Заміна пластику"
msgid "Language"
msgstr "Мова"
msgid "Large"
msgstr "Великий"
msgid "Last Used"
msgstr "Останнє Використання"
msgid "Layer:"
msgstr "Шар:"
@@ -393,6 +414,9 @@ msgstr "Макрос"
msgid "Main Menu"
msgstr "Головне Меню"
msgid "Material"
msgstr "Матеріал"
msgid "Max"
msgstr "Макс"
@@ -453,6 +477,9 @@ msgstr "Ніколи"
msgid "New"
msgstr "Новий"
msgid "No elegible macros:"
msgstr "Непридатний макрос:"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -636,6 +663,9 @@ msgstr "Показати"
msgid "Show Heater Power"
msgstr "Показати Потужність Нагрівача"
msgid "Show Scrollbars Buttons"
msgstr "Показати кнопку смуги прокрутки"
msgid "Shutdown"
msgstr "Вимкнути"
@@ -764,6 +794,12 @@ msgstr[0] "година"
msgstr[1] "годин"
msgstr[2] "години"
msgid "macros that use 'rename_existing' are hidden"
msgstr "макроси, які використовують 'rename_existing', приховані"
msgid "macros with a name starting with '_' are hidden"
msgstr "макроси з назвою, що починається на '_', приховані"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "хвилина"
@@ -782,6 +818,9 @@ msgstr "мм/с²"
msgid "mm³/s"
msgstr "мм/с³"
#~ msgid "Continue"
#~ msgstr "Продовжити"
#~ msgid "Fullscreen"
#~ msgstr "Повноекранний режим"
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"PO-Revision-Date: 2023-08-03 17:57+0800\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-09-05 23:45+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: zh_CN\n"
@@ -46,6 +46,9 @@ msgstr "接受"
msgid "Add profile"
msgstr "添加配置文件"
msgid "All"
msgstr "全部"
msgid "Apply"
msgstr "应用"
@@ -57,6 +60,9 @@ msgstr "将 %s%.3f 偏移量应用于限位?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "将 %s%.3f 偏移量应用于探针?"
msgid "Archived"
msgstr "已存档"
msgid "Are you sure do you want to exclude the object?"
msgstr "你确定要排除该对象吗?"
@@ -84,6 +90,9 @@ msgstr "自动校准"
msgid "Auto-close notifications"
msgstr "自动关闭通知"
msgid "Auto-open Extrude On Pause"
msgstr "暂停打印时自动打开挤出控制界面"
msgid "Auto-scroll"
msgstr "自动滚屏"
@@ -157,9 +166,6 @@ msgstr "连接到 %s"
msgid "Console"
msgstr "控制台"
msgid "Continue"
msgstr "继续"
msgid "Cooldown"
msgstr "冷却"
@@ -236,6 +242,9 @@ msgstr "文件"
msgid "File:"
msgstr "文件:"
msgid "Filter"
msgstr "筛选"
msgid "Finding ADXL"
msgstr "查找ADXL"
@@ -302,6 +311,9 @@ msgstr "主机"
msgid "Hostname"
msgstr "主机名"
msgid "ID"
msgstr "ID"
msgid "Icon Theme"
msgstr "主题"
@@ -356,12 +368,19 @@ msgstr "Klipper将重新启动"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen将重新启动"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr "LOAD_FILAMENT/UNLOAD_FILAMENT 被隐藏,应在挤出控制界面使用"
msgid "Language"
msgstr "界面语言"
msgid "Large"
msgstr "大"
msgid "Last Used"
msgstr "上次使用"
msgid "Layer:"
msgstr "层:"
@@ -386,6 +405,9 @@ msgstr "宏"
msgid "Main Menu"
msgstr "主菜单"
msgid "Material"
msgstr "材料"
msgid "Max"
msgstr "最大"
@@ -446,6 +468,9 @@ msgstr "从不"
msgid "New"
msgstr "新的值"
msgid "No elegible macros:"
msgstr "无可用宏:"
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -484,7 +509,7 @@ msgid "Pins"
msgstr "引脚"
msgid "Please recompile and flash the micro-controller."
msgstr "请重新编译并烧录微控制器。"
msgstr "请重新编译并更新微控制器固件。"
msgid "Power"
msgstr "电源"
@@ -508,7 +533,7 @@ msgid "Printer"
msgstr "打印机"
msgid "Printer Connections"
msgstr "打印机连接"
msgstr "已连接的打印机"
msgid "Printer Select"
msgstr "打印机选择"
@@ -619,6 +644,9 @@ msgstr "显示"
msgid "Show Heater Power"
msgstr "显示加热器功率"
msgid "Show Scrollbars Buttons"
msgstr "显示滚动条按钮"
msgid "Shutdown"
msgstr "关闭"
@@ -741,6 +769,12 @@ msgid "hour"
msgid_plural "hours"
msgstr[0] "小时"
msgid "macros that use 'rename_existing' are hidden"
msgstr "使用 \"rename_existing \"的宏将被隐藏"
msgid "macros with a name starting with '_' are hidden"
msgstr "名称以\"_\"开头的宏将被隐藏"
msgid "minute"
msgid_plural "minutes"
msgstr[0] "分"
@@ -757,6 +791,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "继续"
#~ msgid "Fullscreen"
#~ msgstr "全屏"
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
"POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-07-07 16:44+0800\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "接受"
msgid "Add profile"
msgstr "新增設定檔案"
msgid "All"
msgstr ""
msgid "Apply"
msgstr "應用"
@@ -57,6 +60,9 @@ msgstr "將 %s%.3f 偏移量應用於限位?"
msgid "Apply %s%.3f offset to Probe?"
msgstr "將 %s%.3f 偏移量應用於探針?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?"
msgstr "你確定要排除該目標嗎?"
@@ -84,6 +90,9 @@ msgstr "自動校準"
msgid "Auto-close notifications"
msgstr "自動關閉通知"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll"
msgstr "自動滾屏"
@@ -157,9 +166,6 @@ msgstr "連線到 %s"
msgid "Console"
msgstr "控制台"
msgid "Continue"
msgstr "繼續"
msgid "Cooldown"
msgstr "冷卻"
@@ -236,6 +242,9 @@ msgstr "檔案"
msgid "File:"
msgstr "檔案:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL"
msgstr "查詢ADXL"
@@ -302,6 +311,9 @@ msgstr "主機"
msgid "Hostname"
msgstr "主機名"
msgid "ID"
msgstr ""
msgid "Icon Theme"
msgstr "主題"
@@ -356,12 +368,19 @@ msgstr "Klipper將重新啟動"
msgid "KlipperScreen will reboot"
msgstr "KlipperScreen將重新啟動"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language"
msgstr "介面語言"
msgid "Large"
msgstr "大"
msgid "Last Used"
msgstr ""
msgid "Layer:"
msgstr "層:"
@@ -386,6 +405,9 @@ msgstr "巨集"
msgid "Main Menu"
msgstr "主選單"
msgid "Material"
msgstr ""
msgid "Max"
msgstr "最大"
@@ -446,6 +468,9 @@ msgstr "從不"
msgid "New"
msgstr "新的值"
msgid "No elegible macros:"
msgstr ""
msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf"
@@ -619,6 +644,9 @@ msgstr "顯示"
msgid "Show Heater Power"
msgstr "顯示加熱器功率"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown"
msgstr "關閉"
@@ -741,6 +769,12 @@ msgid "hour"
msgid_plural "hours"
msgstr[0] "小時"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute"
msgid_plural "minutes"
msgstr[0] "分"
@@ -757,6 +791,9 @@ msgstr "mm/s²"
msgid "mm³/s"
msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "繼續"
#~ msgid "Fullscreen"
#~ msgstr "全螢幕"
+58 -9
View File
@@ -18,6 +18,7 @@ class Printer:
self.extrudercount = 0
self.tempdevcount = 0
self.fancount = 0
self.ledcount = 0
self.output_pin_count = 0
self.store_timeout = None
self.tempstore = {}
@@ -36,9 +37,9 @@ class Printer:
self.extrudercount = 0
self.tempdevcount = 0
self.fancount = 0
self.ledcount = 0
self.output_pin_count = 0
self.tempstore = {}
self.spoolman = False
self.busy = False
if not self.store_timeout:
self.store_timeout = GLib.timeout_add_seconds(1, self._update_temp_store)
@@ -89,6 +90,14 @@ class Printer:
r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")]
except KeyError:
logging.debug(f"Couldn't load mesh {x}: {self.config[x]}")
if x.startswith('led') \
or x.startswith('neopixel ') \
or x.startswith('dotstar ') \
or x.startswith('pca9533 ') \
or x.startswith('pca9632 '):
name = x.split()[1] if len(x.split()) > 1 else x
if not name.startswith("_"):
self.ledcount += 1
self.process_update(data)
logging.info(f"Klipper version: {printer_info['software_version']}")
@@ -96,11 +105,12 @@ class Printer:
logging.info(f"# Temperature devices: {self.tempdevcount}")
logging.info(f"# Fans: {self.fancount}")
logging.info(f"# Output pins: {self.output_pin_count}")
logging.info(f"# Leds: {self.ledcount}")
def process_update(self, data):
if self.data is None:
return
for x in (self.get_tools() + self.get_heaters() + self.get_filament_sensors()):
for x in (self.get_temp_devices() + self.get_filament_sensors()):
if x in data:
for i in data[x]:
self.set_dev_stat(x, i, data[x][i])
@@ -202,11 +212,19 @@ class Printer:
return output_pins
def get_gcode_macros(self):
return self.get_config_section_list("gcode_macro ")
macros = []
for macro in self.get_config_section_list("gcode_macro "):
macro = macro[12:].strip()
if macro.startswith("_") or macro.upper() in ('LOAD_FILAMENT', 'UNLOAD_FILAMENT'):
continue
if self.get_macro(macro) and "rename_existing" in self.get_macro(macro):
continue
macros.append(macro)
return macros
def get_heaters(self):
heaters = []
if self.has_heated_bed():
if "heater_bed" in self.devices:
heaters.append("heater_bed")
heaters.extend(iter(self.get_config_section_list("heater_generic ")))
heaters.extend(iter(self.get_config_section_list("temperature_sensor ")))
@@ -238,7 +256,8 @@ class Printer:
"pause_resume": {"is_paused": self.state == "paused"},
"power_devices": {"count": len(self.get_power_devices())},
"cameras": {"count": len(self.cameras)},
"spoolman": self.spoolman
"spoolman": self.spoolman,
"leds": {"count": self.ledcount},
}
}
@@ -253,6 +272,32 @@ class Printer:
return data
def get_leds(self):
leds = []
led_types = ["dotstar", "led", "neopixel", "pca9533", "pca9632"]
for led_type in led_types:
leds.extend(iter(self.get_config_section_list(f"{led_type} ")))
return leds
def get_led_color_order(self, led):
if led not in self.config or led not in self.data:
logging.debug(f"Error getting {led} config")
return None
elif "color_order" in self.config[led]:
return self.config[led]["color_order"]
colors = ''
for option in self.config[led]:
if option in ("red_pin", 'initial_RED') and 'R' not in colors:
colors += 'R'
elif option in ("green_pin", 'initial_GREEN') and 'G' not in colors:
colors += 'G'
elif option in ("blue_pin", 'initial_BLUE') and 'B' not in colors:
colors += 'B'
elif option in ("white_pin", 'initial_WHITE') and 'W' not in colors:
colors += 'W'
logging.debug(f"Colors in led: {colors}")
return colors
def get_power_devices(self):
return list(self.power_devices)
@@ -322,16 +367,20 @@ class Printer:
temp[section] = self.tempstore[device][section][-results:]
return temp
def get_temp_devices(self):
devices = [
device
for device in self.tools
if not device.startswith('extruder_stepper')
]
return devices + self.get_heaters()
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, tempstore):
if self.tempstore and list(self.tempstore) != list(tempstore):
logging.debug("Tempstore has changed")
+4 -3
View File
@@ -3,7 +3,7 @@ site_url: https://klipperscreen.readthedocs.io
site_description: >-
KlipperScreen documentation.
repo_name: jordanruthe/KlipperScreen/
repo_name: KlipperScreen/KlipperScreen/
repo_url: https://github.com/KlipperScreen/KlipperScreen/
nav:
- Home: index.md
@@ -21,9 +21,11 @@ nav:
- First Steps/Log: Troubleshooting.md
- Network: Troubleshooting/Network.md
- Physical install: Troubleshooting/Physical_Install.md
- Showing Console: Troubleshooting/Showing_console.md
- Wrong Framebuffer: Troubleshooting/Framebuffer.md
- Touch: Troubleshooting/Touch_issues.md
- Virtual Console Error: Troubleshooting/VC_ERROR.md
- FBturbo: Troubleshooting/FBturbo.md
- Last resort: Troubleshooting/Last_resort.md
- Screenshots: Panels.md
- Panels:
- Bed Level/Screws: Panels/Screws.md
@@ -34,7 +36,6 @@ nav:
- Translations.md
- Breaking Changes: Changelog.md
- Developers.md
- Contact.md
theme:
name: material
+17 -15
View File
@@ -109,7 +109,7 @@ class BasePanel(ScreenPanel):
try:
for child in self.control['temp_box'].get_children():
self.control['temp_box'].remove(child)
devices = (self._printer.get_tools() + self._printer.get_heaters())
devices = self._printer.get_temp_devices()
if not show or not devices:
return
@@ -128,18 +128,16 @@ class BasePanel(ScreenPanel):
nlimit = int(round(log(self._screen.width, 10) * 5 - 10.5))
n = 0
if self._printer.get_tools():
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
if self.current_extruder and f"{self.current_extruder}_box" in self.labels:
self.control['temp_box'].add(self.labels[f"{self.current_extruder}_box"])
n += 1
if self._printer.has_heated_bed():
self.control['temp_box'].add(self.labels['heater_bed_box'])
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
if self.current_extruder and f"{self.current_extruder}_box" in self.labels:
self.control['temp_box'].add(self.labels[f"{self.current_extruder}_box"])
n += 1
# Options in the config have priority
for device in devices:
if device == 'heater_bed':
self.control['temp_box'].add(self.labels['heater_bed_box'])
n += 1
continue
# Users can fill the bar if they want
if n >= nlimit + 1:
break
@@ -187,7 +185,7 @@ class BasePanel(ScreenPanel):
def add_content(self, panel):
show = self._printer is not None and self._printer.state not in ('disconnected', 'startup', 'shutdown', 'error')
self.show_shortcut(show and self._config.get_main_config().getboolean('side_macro_shortcut', True))
self.show_shortcut(show)
self.show_heaters(show)
self.set_control_sensitive(show, control='estop')
for control in ('back', 'home'):
@@ -228,7 +226,7 @@ class BasePanel(ScreenPanel):
if action != "notify_status_update" or self._screen.printer is None:
return
devices = (self._printer.get_tools() + self._printer.get_heaters())
devices = (self._printer.get_temp_devices())
if devices is not None:
for device in devices:
temp = self._printer.get_dev_stat(device, "temperature")
@@ -260,6 +258,11 @@ class BasePanel(ScreenPanel):
self.control[control].set_sensitive(value)
def show_shortcut(self, show=True):
show = (
show
and self._config.get_main_config().getboolean('side_macro_shortcut', True)
and self._printer.get_printer_status_data()["printer"]["gcode_macros"]["count"] > 0
)
self.control['shortcut'].set_visible(show)
self.set_control_sensitive(self._screen._cur_panels[-1] != self.shorcut['panel'])
@@ -311,15 +314,14 @@ class BasePanel(ScreenPanel):
self.labels['update_progress'].set_halign(Gtk.Align.START)
self.labels['update_progress'].set_valign(Gtk.Align.START)
self.labels['update_progress'].set_ellipsize(Pango.EllipsizeMode.END)
self.labels['update_scroll'] = self._gtk.ScrolledWindow()
self.labels['update_scroll'] = self._gtk.ScrolledWindow(steppers=False)
self.labels['update_scroll'].set_property("overlay-scrolling", True)
self.labels['update_scroll'].add(self.labels['update_progress'])
self.labels['update_scroll'].connect("size-allocate", self._autoscroll)
dialog = self._gtk.Dialog(self._screen, button, self.labels['update_scroll'], self.finish_updating)
dialog = self._gtk.Dialog(_("Updating"), button, self.labels['update_scroll'], self.finish_updating)
dialog.connect("delete-event", self.close_update_dialog)
dialog.set_response_sensitive(Gtk.ResponseType.OK, False)
dialog.get_widget_for_response(Gtk.ResponseType.OK).hide()
dialog.set_title(_("Updating"))
self.update_dialog = dialog
self._screen.updating = True
+3 -2
View File
@@ -1,3 +1,4 @@
import contextlib
import logging
import gi
@@ -60,8 +61,8 @@ class Panel(ScreenPanel):
def activate(self):
self.load_meshes()
if not self._printer.get_stat('bed_mesh', 'profile_name') and 'default' in self.profiles:
self.send_load_mesh(None, 'default') # this is not the default behaviour of klipper anymore
with contextlib.suppress(KeyError):
self.activate_mesh(self._printer.get_stat("bed_mesh", "profile_name"))
def activate_mesh(self, profile):
if self.active_mesh is not None:
+10 -10
View File
@@ -13,7 +13,7 @@ class Panel(ScreenPanel):
def __init__(self, screen, title):
super().__init__(screen, title)
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
macros = self._printer.get_gcode_macros()
macros = self._printer.get_config_section_list("gcode_macro ")
self.load_filament = any("LOAD_FILAMENT" in macro.upper() for macro in macros)
self.unload_filament = any("UNLOAD_FILAMENT" in macro.upper() for macro in macros)
@@ -59,10 +59,9 @@ class Panel(ScreenPanel):
for extruder in self._printer.get_tools():
if self._printer.extrudercount > 1:
self.labels[extruder] = self._gtk.Button(f"extruder-{i}", f"T{self._printer.get_tool_number(extruder)}")
self.labels[extruder].connect("clicked", self.change_extruder, extruder)
else:
self.labels[extruder] = self._gtk.Button("extruder", "")
if len(self._printer.get_tools()) > 1:
self.labels[extruder].connect("clicked", self.change_extruder, extruder)
if extruder == self.current_extruder:
self.labels[extruder].get_style_context().add_class("button_active")
if i < limit:
@@ -187,13 +186,14 @@ class Panel(ScreenPanel):
if action != "notify_status_update":
return
for x in self._printer.get_tools():
self.update_temp(
x,
self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"),
lines=2,
)
if x in data:
self.update_temp(
x,
self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"),
lines=2,
)
if ("toolhead" in data and "extruder" in data["toolhead"] and
data["toolhead"]["extruder"] != self.current_extruder):
+11 -12
View File
@@ -49,10 +49,18 @@ class Panel(ScreenPanel):
self.reload_macros()
def add_gcode_macro(self, macro):
# Support for hiding macros by name
if macro.startswith("_"):
section = self._printer.get_macro(macro)
if section:
if "rename_existing" in section:
return
if "gcode" in section:
gcode = section["gcode"].split("\n")
else:
logging.error(f"gcode not found in {macro}\n{section}")
return
else:
logging.debug(f"Couldn't load {macro}\n{section}")
return
name = Gtk.Label()
name.set_markup(f"<big><b>{macro}</b></big>")
name.set_hexpand(True)
@@ -80,12 +88,6 @@ class Panel(ScreenPanel):
"params": {},
}
pattern = r'params\.(?P<param>..*)\|default\((?P<default>..*)\).*'
gcode = self._printer.get_macro(macro)
if gcode and "gcode" in gcode:
gcode = gcode["gcode"].split("\n")
else:
logging.debug(f"Couldn't load {macro}\n{gcode}")
return
i = 0
for line in gcode:
if line.startswith("{") and "params." in line:
@@ -131,9 +133,6 @@ class Panel(ScreenPanel):
def load_gcode_macros(self):
for macro in self._printer.get_gcode_macros():
macro = macro[12:].strip()
if macro.startswith("_"): # Support for hiding macros by name
continue
self.options[macro] = {
"name": macro,
"section": f"displayed_macros {self._screen.connected_printer}",
+8 -4
View File
@@ -166,7 +166,9 @@ class Panel(ScreenPanel):
# Recommended shaper_type_y = ei, shaper_freq_y = 48.4 Hz
if 'recommended shaper_type_' in data:
results = re.search(r'shaper_type_(?P<axis>[xy])\s*=\s*(?P<shaper_type>.*?), shaper_freq_.\s*=\s*('
r'?P<shaper_freq>[0-9.]+)', data).groupdict()
r'?P<shaper_freq>[0-9.]+)', data)
if results:
results.groupdict()
self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq']))
self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type']))
if self.calibrating_axis == results['axis'] or (self.calibrating_axis == "both" and results['axis'] == 'y'):
@@ -176,6 +178,8 @@ class Panel(ScreenPanel):
# shaper_type_y:ei shaper_freq_y:48.400 damping_ratio_y:0.100000
if 'shaper_type_' in data:
results = re.search(r'shaper_type_(?P<axis>[xy]):(?P<shaper_type>.*?) shaper_freq_.:('
r'?P<shaper_freq>[0-9.]+)', data).groupdict()
self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq']))
self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type']))
r'?P<shaper_freq>[0-9.]+)', data)
if results:
results = results.groupdict()
self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq']))
self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type']))
+52 -39
View File
@@ -10,6 +10,7 @@ from math import pi, sqrt
from statistics import median
from time import time
from ks_includes.screen_panel import ScreenPanel
from ks_includes.KlippyGtk import find_widget
class Panel(ScreenPanel):
@@ -25,7 +26,7 @@ class Panel(ScreenPanel):
self.f_layer_h = self.layer_h = 1
self.oheight = 0.0
self.current_extruder = None
self.fila_section = 0.0
self.fila_section = pi * ((1.75 / 2) ** 2)
self.filename_label = self.filename = self.prev_pos = self.prev_gpos = None
self.can_close = False
self.flow_timeout = self.animation_timeout = None
@@ -115,11 +116,13 @@ class Panel(ScreenPanel):
overlay.add_overlay(box)
self.grid.attach(overlay, 0, 0, 1, 1)
self.labels['thumbnail'] = self._gtk.Image()
self.labels['thumbnail'] = self._gtk.Button("file")
self.labels['thumbnail'].connect("clicked", self.show_fullscreen_thumbnail)
self.labels['thumbnail'].set_hexpand(False)
self.labels['info_grid'] = Gtk.Grid()
self.labels['info_grid'].attach(self.labels['thumbnail'], 0, 0, 1, 1)
if self._printer.get_tools():
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
if self.current_extruder:
diameter = float(self._printer.get_config_section(self.current_extruder)['filament_diameter'])
self.fila_section = pi * ((diameter / 2) ** 2)
@@ -155,8 +158,8 @@ class Panel(ScreenPanel):
nlimit = 2 if self._screen.width <= 500 else 3
n = 0
self.buttons['extruder'] = {}
if self._printer.get_tools():
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
if self.current_extruder:
for i, extruder in enumerate(self._printer.get_tools()):
self.labels[extruder] = Gtk.Label(label="-")
self.buttons['extruder'][extruder] = self._gtk.Button(f"extruder-{i}", "", None, self.bts,
@@ -168,23 +171,22 @@ class Panel(ScreenPanel):
self.buttons['extruder'][extruder].set_halign(Gtk.Align.START)
self.labels['temp_grid'].attach(self.buttons['extruder'][self.current_extruder], n, 0, 1, 1)
n += 1
else:
self.current_extruder = None
self.buttons['heater'] = {}
if self._printer.has_heated_bed():
self.buttons['heater']['heater_bed'] = self._gtk.Button("bed", "", None, self.bts, Gtk.PositionType.LEFT, 1)
self.labels['heater_bed'] = Gtk.Label(label="-")
self.buttons['heater']['heater_bed'].set_label(self.labels['heater_bed'].get_text())
self.buttons['heater']['heater_bed'].connect("clicked", self.menu_item_clicked,
{"panel": "temperature", "name": _("Temperature"),
'extra': 'heater_bed'})
self.buttons['heater']['heater_bed'].set_halign(Gtk.Align.START)
self.labels['temp_grid'].attach(self.buttons['heater']['heater_bed'], n, 0, 1, 1)
n += 1
for dev in self._printer.get_heaters():
if n >= nlimit:
break
if dev.startswith("heater_generic"):
if dev == "heater_bed":
self.buttons['heater']['heater_bed'] = self._gtk.Button("bed", "", None, self.bts,
Gtk.PositionType.LEFT, 1)
self.labels['heater_bed'] = Gtk.Label(label="-")
self.buttons['heater']['heater_bed'].set_label(self.labels['heater_bed'].get_text())
self.buttons['heater']['heater_bed'].connect("clicked", self.menu_item_clicked,
{"panel": "temperature", "name": _("Temperature"),
'extra': 'heater_bed'})
self.buttons['heater']['heater_bed'].set_halign(Gtk.Align.START)
self.labels['temp_grid'].attach(self.buttons['heater']['heater_bed'], n, 0, 1, 1)
n += 1
elif dev.startswith("heater_generic"):
self.buttons['heater'][dev] = self._gtk.Button("heater", "", None, self.bts, Gtk.PositionType.LEFT, 1)
self.labels[dev] = Gtk.Label(label="-")
self.buttons['heater'][dev].set_label(self.labels[dev].get_text())
@@ -403,8 +405,7 @@ class Panel(ScreenPanel):
{"name": _("Apply"), "response": Gtk.ResponseType.APPLY},
{"name": _("Cancel"), "response": Gtk.ResponseType.CANCEL}
]
dialog = self._gtk.Dialog(self._screen, buttons, grid, self.save_confirm, device)
dialog.set_title(_("Save Z"))
self._gtk.Dialog(_("Save Z"), buttons, grid, self.save_confirm, device)
def save_confirm(self, dialog, response_id, device):
self._gtk.remove_dialog(dialog)
@@ -450,9 +451,7 @@ class Panel(ScreenPanel):
label.set_valign(Gtk.Align.CENTER)
label.set_line_wrap(True)
label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
dialog = self._gtk.Dialog(self._screen, buttons, label, self.cancel_confirm)
dialog.set_title(_("Cancel"))
self._gtk.Dialog(_("Cancel"), buttons, label, self.cancel_confirm)
def cancel_confirm(self, dialog, response_id):
self._gtk.remove_dialog(dialog)
@@ -501,24 +500,18 @@ class Panel(ScreenPanel):
elif action != "notify_status_update":
return
for x in self._printer.get_tools():
if x in self.buttons['extruder']:
for x in self._printer.get_temp_devices():
if x in data:
self.update_temp(
x,
self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"),
)
self.buttons['extruder'][x].set_label(self.labels[x].get_text())
for x in self._printer.get_heaters():
if x in self.buttons['heater']:
self.update_temp(
x,
self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"),
)
self.buttons['heater'][x].set_label(self.labels[x].get_text())
if x in self.buttons['extruder']:
self.buttons['extruder'][x].set_label(self.labels[x].get_text())
elif x in self.buttons['heater']:
self.buttons['heater'][x].set_label(self.labels[x].get_text())
if "display_status" in data and "message" in data["display_status"]:
self.labels['lcdmessage'].set_label(
@@ -668,6 +661,7 @@ class Panel(ScreenPanel):
else:
# At the begining file and filament are innacurate
estimated = slicer_time
if estimated < 1:
if file_time is None:
return
@@ -676,12 +670,16 @@ class Panel(ScreenPanel):
estimated = file_time
if estimated < 1:
return
progress = min(max(print_duration / estimated, 0), 1)
if progress >= 1:
estimated = file_time
progress = min(max(print_duration / estimated, 0), 1)
self.labels["est_time"].set_label(self.format_time(estimated))
self.labels["time_left"].set_label(self.format_eta(estimated, print_duration))
remaining_label = f"{self.labels['left'].get_text()} {self.labels['time_left'].get_text()}"
self.buttons['left'].set_label(remaining_label)
self.update_progress(min(max(print_duration / estimated, 0), 1))
self.update_progress(progress)
def update_progress(self, progress: float):
self.progress = progress
@@ -773,8 +771,23 @@ class Panel(ScreenPanel):
logging.debug(self.filename)
if pixbuf is None:
logging.debug("no pixbuf")
pixbuf = self._gtk.PixbufFromIcon("file", width / 2, height / 2)
self.labels['thumbnail'].set_from_pixbuf(pixbuf)
return
image = find_widget(self.labels['thumbnail'], Gtk.Image)
if image:
image.set_from_pixbuf(pixbuf)
def show_fullscreen_thumbnail(self, widget):
buttons = [
{"name": _("Close"), "response": Gtk.ResponseType.CANCEL}
]
pixbuf = self.get_file_image(self.filename, self._screen.width * .9, self._screen.height * .5)
if pixbuf is None:
return
image = Gtk.Image.new_from_pixbuf(pixbuf)
self._gtk.Dialog(self.filename, buttons, image, self.close_fullscreen_thumbnail)
def close_fullscreen_thumbnail(self, dialog, response_id):
self._gtk.remove_dialog(dialog)
def update_filename(self, filename):
if not filename:
+207
View File
@@ -0,0 +1,207 @@
import logging
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib
from math import pi
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel
class Panel(ScreenPanel):
def __init__(self, screen, title):
super().__init__(screen, title)
self.preview = Gtk.DrawingArea()
self.preview.connect("draw", self.on_draw)
self.preview_label = Gtk.Label(label='')
self.preset_list = self._gtk.HomogeneousGrid()
self.color_data = [0, 0, 0, 0]
self.color_order = 'RGBW'
self.presets = {
"on": [1.0, 1.0, 1.0, 1.0],
"off": [0.0, 0.0, 0.0, 0.0]
}
self.scales = {}
self.buttons = []
self.leds = self._printer.get_leds()
self.current_led = self.leds[0] if len(self.leds) == 1 else None
self.open_selector(None, self.current_led)
def color_available(self, idx):
return (
(idx == 0 and 'R' in self.color_order)
or (idx == 1 and 'G' in self.color_order)
or (idx == 2 and 'B' in self.color_order)
or (idx == 3 and 'W' in self.color_order)
)
def activate(self):
if self.current_led is not None:
self.set_title(f"{self.current_led}")
def set_title(self, title):
self._screen.base_panel.set_title(self.prettify(title))
def back(self):
if len(self.leds) > 1 and self.current_led:
self.set_title(self._screen.panels[self._screen._cur_panels[-1]].title)
self.open_selector(led=None)
return True
return False
def open_selector(self, widget=None, led=None):
for child in self.content.get_children():
self.content.remove(child)
if led is None:
self.content.add(self.led_selector())
else:
self.content.add(self.color_selector(led))
self.content.show_all()
def led_selector(self):
self.current_led = None
columns = 3 if self._screen.vertical_mode else 4
grid = self._gtk.HomogeneousGrid()
for i, led in enumerate(self.leds):
name = led.split()[1] if len(led.split()) > 1 else led
button = self._gtk.Button(None, name.upper(), style=f"color{(i % 4) + 1}")
button.connect("clicked", self.open_selector, led)
grid.attach(button, (i % columns), int(i / columns), 1, 1)
scroll = self._gtk.ScrolledWindow()
scroll.add(grid)
return scroll
def color_selector(self, led):
logging.info(led)
self.current_led = led
self.set_title(f"{self.current_led}")
grid = self._gtk.HomogeneousGrid()
self.color_order = self._printer.get_led_color_order(led)
if self.color_order is None:
self.back()
return
scale_grid = self._gtk.HomogeneousGrid()
da_size = self._gtk.img_scale * 2.75
for idx, col_value in enumerate(self.color_data):
if not self.color_available(idx):
continue
color = [0, 0, 0, 0]
color[idx] = 1
button = self._gtk.Button()
preview = Gtk.DrawingArea(width_request=da_size, height_request=da_size)
preview.connect("draw", self.on_draw, color)
button.set_image(preview)
button.connect("clicked", self.apply_preset, color)
button.set_hexpand(False)
scale = Gtk.Scale.new_with_range(orientation=Gtk.Orientation.HORIZONTAL, min=0, max=255, step=1)
scale.set_value(round(col_value * 255))
scale.set_digits(0)
scale.set_hexpand(True)
scale.set_has_origin(True)
scale.get_style_context().add_class("fan_slider")
scale.connect("button-release-event", self.apply_scales)
scale.connect("value_changed", self.update_preview)
self.scales[idx] = scale
scale_grid.attach(button, 1, idx, 1, 1)
scale_grid.attach(scale, 2, idx, 3, 1)
grid.attach(scale_grid, 0, 0, 2, 1)
columns = 3 if self._screen.vertical_mode else 2
self.preset_list.attach(self.preview_label, 0, 0, 1, 1)
self.preset_list.attach(self.preview, 1, 0, columns - 1, 1)
data_misc = self._screen.apiclient.send_request(
"server/database/item?namespace=mainsail&key=miscellaneous.entries")
if data_misc:
presets_data = data_misc['result']['value'][next(iter(data_misc["result"]["value"]))]['presets']
if presets_data:
self.presets.update(self.parse_presets(presets_data))
for i, key in enumerate(self.presets):
logging.info(f'Adding preset: {key}')
preview = Gtk.DrawingArea(width_request=da_size, height_request=da_size)
preview.connect("draw", self.on_draw, self.presets[key])
button = self._gtk.Button()
button.set_image(preview)
button.connect("clicked", self.apply_preset, self.presets[key])
self.preset_list.attach(button, i % columns, int(i / columns) + 1, 1, 1)
scroll = self._gtk.ScrolledWindow()
scroll.add(self.preset_list)
if self._screen.vertical_mode:
grid.attach(scroll, 0, 1, 2, 1)
else:
grid.attach(scroll, 2, 0, 1, 1)
return grid
def on_draw(self, da, ctx, color=None):
if color is None:
color = self.color_data
ctx.set_source_rgb(color[0], color[1], color[2])
# Set the size of the rectangle
width = height = da.get_allocated_width() * .9
x = da.get_allocated_width() * .05
# Set the radius of the corners
radius = width / 2 * 0.2
ctx.arc(x + radius, radius, radius, pi, 3 * pi / 2)
ctx.arc(x + width - radius, radius, radius, 3 * pi / 2, 0)
ctx.arc(x + width - radius, height - radius, radius, 0, pi / 2)
ctx.arc(x + radius, height - radius, radius, pi / 2, pi)
ctx.close_path()
ctx.fill()
def update_preview(self, args):
self.update_color_data()
self.preview.queue_draw()
self.preview_label.set_label(self.rgbw_to_hex(self.color_data))
def process_update(self, action, data):
if action != 'notify_status_update':
return
if self.current_led in data and "color_data" in data[self.current_led]:
self.update_scales(data[self.current_led]["color_data"][0])
self.preview.queue_draw()
def update_scales(self, color_data):
for idx in self.scales:
self.scales[idx].set_value(int(color_data[idx] * 255))
self.color_data[idx] = color_data[idx]
def update_color_data(self):
for idx in self.scales:
self.color_data[idx] = round(self.scales[idx].get_value() / 255, 4)
def apply_preset(self, widget, color_data):
self.update_scales(color_data)
self.apply_scales()
def apply_scales(self, *args):
self.update_color_data()
self.set_led_color(self.color_data)
def set_led_color(self, color_data):
name = self.current_led.split()[1] if len(self.current_led.split()) > 1 else self.current_led
self._screen._send_action(None, "printer.gcode.script",
{"script": KlippyGcodes.set_led_color(name, color_data)})
@staticmethod
def parse_presets(presets_data) -> {}:
parsed = {}
for i, preset in enumerate(presets_data.values()):
name = i if preset["name"] == '' else preset["name"].lower()
parsed[name] = []
for color in ["red", "green", "blue", "white"]:
if color not in preset or preset[color] is None:
parsed[name].append(0)
continue
parsed[name].append(round(preset[color] / 255, 4))
return parsed
@staticmethod
def rgbw_to_hex(color):
hex_color = '#'
for value in color[:3]:
int_value = round(value * 255)
hex_color += hex(int_value)[2:].zfill(2)
alpha = round(color[3] * 255)
hex_color += hex(alpha)[2:].zfill(2)
return hex_color.upper()
+10 -9
View File
@@ -231,12 +231,13 @@ class Panel(MenuPanel):
scroll = self._gtk.ScrolledWindow(steppers=False)
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
scroll.get_style_context().add_class('heater-list')
scroll.add(self.labels['devices'])
self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
self.left_panel.add(scroll)
for d in (self._printer.get_tools() + self._printer.get_heaters()):
for d in self._printer.get_temp_devices():
self.add_device(d)
return self.left_panel
@@ -258,14 +259,14 @@ class Panel(MenuPanel):
def process_update(self, action, data):
if action != "notify_status_update":
return
for x in (self._printer.get_tools() + self._printer.get_heaters()):
self.update_temp(
x,
self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"),
)
return False
for x in self._printer.get_temp_devices():
if x in data:
self.update_temp(
x,
self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"),
)
def show_numpad(self, widget, device):
+5 -1
View File
@@ -64,10 +64,14 @@ class Panel(ScreenPanel):
return self.grid
def create_menu_items(self):
count = 0
for i in self.items:
if self.evaluate_enable(i[next(iter(i))]['enable']):
count += 1
scale = 1.1 if 12 < count <= 16 else None # hack to fit a 4th row
for i in range(len(self.items)):
key = list(self.items[i])[0]
item = self.items[i][key]
scale = 1.1 if 12 < len(self.items) <= 16 else None # hack to fit a 4th row
printer = self._printer.get_printer_status_data()
+1 -1
View File
@@ -113,7 +113,7 @@ class Panel(ScreenPanel):
logging.error(f"Error getting max_velocity\n{printer_cfg}")
max_velocity = 50
if "max_z_velocity" in printer_cfg:
max_z_velocity = int(float(printer_cfg["max_z_velocity"]))
max_z_velocity = max(int(float(printer_cfg["max_z_velocity"])), 10)
else:
max_z_velocity = max_velocity
+1 -2
View File
@@ -282,8 +282,7 @@ class Panel(ScreenPanel):
self.labels['connecting_info'].set_halign(Gtk.Align.START)
self.labels['connecting_info'].set_valign(Gtk.Align.START)
scroll.add(self.labels['connecting_info'])
dialog = self._gtk.Dialog(self._screen, buttons, scroll, self._gtk.remove_dialog)
dialog.set_title(_("Starting WiFi Association"))
self._gtk.Dialog(_("Starting WiFi Association"), buttons, scroll, self._gtk.remove_dialog)
self._screen.show_all()
if ssid in list(self.networks):
+5 -8
View File
@@ -310,21 +310,18 @@ class Panel(ScreenPanel):
grid.set_valign(Gtk.Align.CENTER)
grid.add(label)
pixbuf = self.get_file_image(filename, self._screen.width * .9, self._screen.height * .6)
pixbuf = self.get_file_image(filename, self._screen.width * .9, self._screen.height * .5)
if pixbuf is not None:
image = Gtk.Image.new_from_pixbuf(pixbuf)
image.set_vexpand(False)
grid.attach_next_to(image, label, Gtk.PositionType.BOTTOM, 1, 1)
dialog = self._gtk.Dialog(self._screen, buttons, grid, self.confirm_print_response, filename)
dialog.set_title(_("Print"))
self._gtk.Dialog(_("Print") + f' {filename}', buttons, grid, self.confirm_print_response, filename)
def confirm_print_response(self, dialog, response_id, filename):
self._gtk.remove_dialog(dialog)
if response_id == Gtk.ResponseType.CANCEL:
return
logging.info(f"Starting print: {filename}")
self._screen._ws.klippy.print_start(filename)
if response_id == Gtk.ResponseType.OK:
logging.info(f"Starting print: {filename}")
self._screen._ws.klippy.print_start(filename)
def delete_file(self, filename):
directory = os.path.join("gcodes", os.path.dirname(filename)) if os.path.dirname(filename) else "gcodes"
+16 -5
View File
@@ -133,6 +133,12 @@ class Panel(ScreenPanel):
return 1 if (spool1.last_used or datetime.min).replace(tzinfo=None) > \
(spool2.last_used or datetime.min).replace(tzinfo=None) else -1
def _on_material_filter_clear(self, sender, combobox):
self._filters["material"] = None
self._filterable.refilter()
self._filter_expander.set_expanded(False)
combobox.set_active_iter(self._materials.get_iter_first())
def _on_material_filter_changed(self, sender):
treeiter = sender.get_active_iter()
if treeiter is not None:
@@ -210,30 +216,35 @@ class Panel(ScreenPanel):
filter_box = Gtk.ListBox()
filter_box.set_selection_mode(Gtk.SelectionMode.NONE)
_filter = Gtk.Expander(label=_("Filter"))
_filter.add(filter_box)
self._filter_expander = Gtk.Expander(label=_("Filter"))
self._filter_expander.add(filter_box)
row = Gtk.ListBoxRow()
hbox = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
row.add(hbox)
label = Gtk.Label(_("Material"))
_material_filter = Gtk.ComboBox()
_material_filter.set_model(self._materials)
_material_filter = Gtk.ComboBox.new_with_model(self._materials)
_material_filter.connect("changed", self._on_material_filter_changed)
cellrenderertext = Gtk.CellRendererText()
_material_filter.pack_start(cellrenderertext, True)
_material_filter.add_attribute(cellrenderertext, "text", 1)
_material_filter.set_hexpand(True)
_material_reset_filter = self._gtk.Button("cancel", _("Clear"), "color2", self.bts, Gtk.PositionType.LEFT, 1)
_material_reset_filter.get_style_context().add_class("buttons_slim")
_material_reset_filter.connect('clicked', self._on_material_filter_clear, _material_filter)
hbox.pack_start(label, False, True, 0)
hbox.pack_start(_material_filter, True, True, 0)
hbox.pack_end(_material_reset_filter, False, True, 0)
filter_box.add(row)
self.main = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
self.main.set_vexpand(True)
self.main.pack_start(sbox, False, False, 0)
self.main.pack_start(_filter, False, True, 0)
self.main.pack_start(self._filter_expander, False, True, 0)
self.main.pack_start(self.scroll, True, True, 0)
self.load_spools()
+7 -9
View File
@@ -97,7 +97,7 @@ class Panel(ScreenPanel):
GLib.timeout_add_seconds(1, self.get_updates, "true")
def get_updates(self, refresh="false"):
update_resp = self._screen.apiclient.send_request(f"machine/update/status?refresh={refresh}")
update_resp = self._screen.apiclient.send_request(f"machine/update/status?refresh={refresh}", timeout=60)
if not update_resp:
self.update_status = {}
logging.info("No update manager configured")
@@ -120,7 +120,7 @@ class Panel(ScreenPanel):
def show_update_info(self, widget, program):
info = self.update_status['version_info'][program] if program in self.update_status['version_info'] else {}
scroll = self._gtk.ScrolledWindow()
scroll = self._gtk.ScrolledWindow(steppers=False)
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
vbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
@@ -142,8 +142,7 @@ class Panel(ScreenPanel):
{"name": _("Recover Soft"), "response": Gtk.ResponseType.APPLY},
{"name": _("Cancel"), "response": Gtk.ResponseType.CANCEL}
]
dialog = self._gtk.Dialog(self._screen, recoverybuttons, scroll, self.reset_confirm, program)
dialog.set_title(_("Recover"))
self._gtk.Dialog(_("Recover"), recoverybuttons, scroll, self.reset_confirm, program)
return
else:
if info['version'] == info['remote_version']:
@@ -207,8 +206,7 @@ class Panel(ScreenPanel):
{"name": _("Update"), "response": Gtk.ResponseType.OK},
{"name": _("Cancel"), "response": Gtk.ResponseType.CANCEL}
]
dialog = self._gtk.Dialog(self._screen, buttons, scroll, self.update_confirm, program)
dialog.set_title(_("Update"))
self._gtk.Dialog(_("Update"), buttons, scroll, self.update_confirm, program)
def update_confirm(self, dialog, response_id, program):
self._gtk.remove_dialog(dialog)
@@ -324,11 +322,11 @@ class Panel(ScreenPanel):
{"name": _("Printer"), "response": Gtk.ResponseType.APPLY},
{"name": _("Cancel"), "response": Gtk.ResponseType.CANCEL}
]
dialog = self._gtk.Dialog(self._screen, buttons, scroll, self.reboot_poweroff_confirm, method)
if method == "reboot":
dialog.set_title(_("Restart"))
title = _("Restart")
else:
dialog.set_title(_("Shutdown"))
title = _("Shutdown")
self._gtk.Dialog(title, buttons, scroll, self.reboot_poweroff_confirm, method)
def reboot_poweroff_confirm(self, dialog, response_id, method):
self._gtk.remove_dialog(dialog)
+11 -10
View File
@@ -30,9 +30,8 @@ class Panel(ScreenPanel):
# When printing start in temp_delta mode and only select tools
selection = []
if self._printer.state not in ["printing", "paused"]:
selection.extend(iter(self._printer.get_tools()))
self.show_preheat = True
selection.extend(self._printer.get_heaters())
selection.extend(self._printer.get_temp_devices())
elif extra:
selection.append(extra)
@@ -448,6 +447,7 @@ class Panel(ScreenPanel):
scroll = self._gtk.ScrolledWindow(steppers=False)
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
scroll.get_style_context().add_class('heater-list')
scroll.add(self.labels['devices'])
self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
@@ -467,7 +467,7 @@ class Panel(ScreenPanel):
popover.connect('closed', self.popover_closed)
self.labels['popover'] = popover
for d in (self._printer.get_tools() + self._printer.get_heaters()):
for d in self._printer.get_temp_devices():
self.add_device(d)
return self.left_panel
@@ -513,13 +513,14 @@ class Panel(ScreenPanel):
def process_update(self, action, data):
if action != "notify_status_update":
return
for x in (self._printer.get_tools() + self._printer.get_heaters()):
self.update_temp(
x,
self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"),
)
for x in self._printer.get_temp_devices():
if x in data:
self.update_temp(
x,
self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"),
)
def show_numpad(self, widget, device=None):
for d in self.active_heaters:
+66 -55
View File
@@ -91,12 +91,14 @@ class KlipperScreen(Gtk.Window):
max_retries = 4
initialized = initializing = False
popup_timeout = None
wayland = False
windowed = False
def __init__(self, args, version):
try:
super().__init__(title="KlipperScreen")
except Exception as e:
logging.exception(e)
logging.exception(f"{e}\n\n{traceback.format_exc()}")
raise RuntimeError from e
self.blanking_time = 600
self.use_dpms = True
@@ -117,15 +119,20 @@ class KlipperScreen(Gtk.Window):
self.connect("configure_event", self.update_size)
monitor = Gdk.Display.get_default().get_primary_monitor()
if monitor is None:
self.wayland = True
monitor = Gdk.Display.get_default().get_monitor(0)
if monitor is None:
raise RuntimeError("Couldn't get default monitor")
self.width = self._config.get_main_config().getint("width", monitor.get_geometry().width)
self.height = self._config.get_main_config().getint("height", monitor.get_geometry().height)
self.set_default_size(self.width, self.height)
self.set_resizable(True)
if not (self._config.get_main_config().get("width") or self._config.get_main_config().get("height")):
self.width = self._config.get_main_config().getint("width", None)
self.height = self._config.get_main_config().getint("height", None)
if self.width or self.height:
self.set_resizable(True)
self.windowed = True
else:
self.width = monitor.get_geometry().width
self.height = monitor.get_geometry().height
self.fullscreen()
self.set_default_size(self.width, self.height)
self.aspect_ratio = self.width / self.height
self.vertical_mode = self.aspect_ratio < 1.0
logging.info(f"Screen resolution: {self.width}x{self.height}")
@@ -160,7 +167,7 @@ class KlipperScreen(Gtk.Window):
state_callbacks = {
"disconnected": self.state_disconnected,
"error": self.state_error,
"paused": self.state_printing,
"paused": self.state_paused,
"printing": self.state_printing,
"ready": self.state_ready,
"startup": self.state_startup,
@@ -254,15 +261,11 @@ class KlipperScreen(Gtk.Window):
requested_updates['objects'][f] = ["enabled", "filament_detected"]
for p in self.printer.get_output_pins():
requested_updates['objects'][p] = ["value"]
for led in self.printer.get_leds():
requested_updates['objects'][led] = ["color_data"]
self._ws.klippy.object_subscription(requested_updates)
def preload(self):
logging.debug("Preloading panels")
for panel in ['move', 'temperature', 'extrude', 'job_status']:
self.panels[panel] = self._load_panel(panel).Panel(self, title='')
self.panels_reinit.append(panel)
@staticmethod
def _load_panel(panel):
logging.debug(f"Loading panel: {panel}")
@@ -285,7 +288,7 @@ class KlipperScreen(Gtk.Window):
try:
self.panels[panel_name] = self._load_panel(panel).Panel(self, title, **kwargs)
except Exception as e:
self.show_error_modal(f"Unable to load panel {panel}", f"{e}")
self.show_error_modal(f"Unable to load panel {panel}", f"{e}\n\n{traceback.format_exc()}")
return
elif panel_name in self.panels_reinit:
logging.info("Reinitializing panel")
@@ -294,7 +297,7 @@ class KlipperScreen(Gtk.Window):
self._cur_panels.append(panel_name)
self.attach_panel(panel_name)
except Exception as e:
logging.exception(f"Error attaching panel:\n{e}")
logging.exception(f"Error attaching panel:\n{e}\n\n{traceback.format_exc()}")
def attach_panel(self, panel):
self.base_panel.add_content(self.panels[panel])
@@ -321,10 +324,13 @@ class KlipperScreen(Gtk.Window):
msg.get_style_context().add_class("message_popup")
if level == 1:
msg.get_style_context().add_class("message_popup_echo")
logging.info(f'echo: {message}')
elif level == 2:
msg.get_style_context().add_class("message_popup_warning")
logging.info(f'warning: {message}')
else:
msg.get_style_context().add_class("message_popup_error")
logging.info(f'error: {message}')
popup = Gtk.Popover.new(self.base_panel.titlebar)
popup.get_style_context().add_class("message_popup_popover")
@@ -366,7 +372,7 @@ class KlipperScreen(Gtk.Window):
message = Gtk.Label(label=f"{e}")
message.set_line_wrap(True)
scroll = self.gtk.ScrolledWindow()
scroll = self.gtk.ScrolledWindow(steppers=False)
scroll.set_vexpand(True)
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
scroll.add(message)
@@ -386,8 +392,7 @@ class KlipperScreen(Gtk.Window):
buttons = [
{"name": _("Go Back"), "response": Gtk.ResponseType.CANCEL}
]
dialog = self.gtk.Dialog(self, buttons, grid, self.error_modal_response)
dialog.set_title(_("Error"))
self.gtk.Dialog(_("Error"), buttons, grid, self.error_modal_response)
def error_modal_response(self, dialog, response_id):
self.gtk.remove_dialog(dialog)
@@ -419,7 +424,7 @@ class KlipperScreen(Gtk.Window):
with open(theme_style_conf) as f:
style_options.update(json.load(f))
except Exception as e:
logging.error(f"Unable to parse custom template conf file:\n{e}")
logging.error(f"Unable to parse custom template conf file:\n{e}\n\n{traceback.format_exc()}")
self.gtk.color_list = style_options['graph_colors']
@@ -493,8 +498,6 @@ class KlipperScreen(Gtk.Window):
def _menu_go_back(self, widget=None, home=False):
logging.info(f"#### Menu go {'home' if home else 'back'}")
self.remove_keyboard()
if self._config.get_main_config().getboolean('autoclose_popups', True):
self.close_popup_message()
while len(self._cur_panels) > 1:
self._remove_current_panel()
del self._cur_panels[-1]
@@ -509,7 +512,7 @@ class KlipperScreen(Gtk.Window):
if self.screensaver_timeout is not None:
GLib.source_remove(self.screensaver_timeout)
self.screensaver_timeout = None
if not self.use_dpms:
if not self.use_dpms and self._config.get_main_config().get('screen_blanking') != "off":
self.screensaver_timeout = GLib.timeout_add_seconds(self.blanking_time, self.show_screensaver)
def show_screensaver(self):
@@ -517,6 +520,7 @@ class KlipperScreen(Gtk.Window):
if self.screensaver is not None:
self.close_screensaver()
self.remove_keyboard()
self.close_popup_message()
for dialog in self.dialogs:
logging.debug("Hiding dialog")
dialog.hide()
@@ -576,7 +580,8 @@ class KlipperScreen(Gtk.Window):
# Wake the screen (it will go to standby as configured)
if self._config.get_main_config().get('screen_blanking') != "off":
logging.debug("Screen wake up")
os.system("xset -display :0 dpms force on")
if not self.wayland:
os.system("xset -display :0 dpms force on")
def set_dpms(self, use_dpms):
self.use_dpms = use_dpms
@@ -584,8 +589,8 @@ class KlipperScreen(Gtk.Window):
self.set_screenblanking_timeout(self._config.get_main_config().get('screen_blanking'))
def set_screenblanking_timeout(self, time):
os.system("xset -display :0 s blank")
os.system("xset -display :0 s off")
if not self.wayland:
os.system("xset -display :0 s off")
self.use_dpms = self._config.get_main_config().getboolean("use_dpms", fallback=True)
if time == "off":
@@ -593,13 +598,15 @@ class KlipperScreen(Gtk.Window):
if self.screensaver_timeout is not None:
GLib.source_remove(self.screensaver_timeout)
self.screensaver_timeout = None
os.system("xset -display :0 dpms 0 0 0")
if not self.wayland:
os.system("xset -display :0 dpms 0 0 0")
return
self.blanking_time = abs(int(time))
logging.debug(f"Changing screen blanking to: {self.blanking_time}")
if self.use_dpms and functions.dpms_loaded is True:
os.system("xset -display :0 +dpms")
if not self.wayland:
os.system("xset -display :0 +dpms")
if functions.get_DPMS_state() == functions.DPMS_State.Fail:
logging.info("DPMS State FAIL")
self.show_popup_message(_("DPMS has failed to load and has been disabled"))
@@ -607,13 +614,14 @@ class KlipperScreen(Gtk.Window):
self._config.save_user_config_options()
else:
logging.debug("Using DPMS")
os.system("xset -display :0 s off")
os.system(f"xset -display :0 dpms 0 {self.blanking_time} 0")
if not self.wayland:
os.system(f"xset -display :0 dpms 0 {self.blanking_time} 0")
GLib.timeout_add_seconds(1, self.check_dpms_state)
return
# Without dpms just blank the screen
logging.debug("Not using DPMS")
os.system("xset -display :0 dpms 0 0 0")
if not self.wayland:
os.system("xset -display :0 dpms 0 0 0")
self.reset_screensaver_timeout()
return
@@ -652,6 +660,11 @@ class KlipperScreen(Gtk.Window):
msg += _("Please recompile and flash the micro-controller.") + "\n"
self.printer_initializing(msg + "\n" + state, remove=True)
def state_paused(self):
self.state_printing()
if self._config.get_main_config().getboolean("auto_open_extrude", fallback=True):
self.show_panel("extrude", _("Extrude"))
def state_printing(self):
self.close_screensaver()
for dialog in self.dialogs:
@@ -677,8 +690,15 @@ class KlipperScreen(Gtk.Window):
msg = msg if "ready" not in msg else ""
self.printer_initializing(_("Klipper has shutdown") + "\n\n" + msg, remove=True)
def toggle_shortcut(self, value):
self.base_panel.show_shortcut(value)
def toggle_shortcut(self, show):
if show and not self.printer.get_printer_status_data()["printer"]["gcode_macros"]["count"] > 0:
self.show_popup_message(
_("No elegible macros:") + "\n"
+ _("macros with a name starting with '_' are hidden") + "\n"
+ _("macros that use 'rename_existing' are hidden") + "\n"
+ _("LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude") + "\n"
)
self.base_panel.show_shortcut(show)
def change_language(self, widget, lang):
self._config.install_language(lang)
@@ -755,7 +775,7 @@ class KlipperScreen(Gtk.Window):
def _confirm_send_action(self, widget, text, method, params=None):
buttons = [
{"name": _("Continue"), "response": Gtk.ResponseType.OK},
{"name": _("Accept"), "response": Gtk.ResponseType.OK},
{"name": _("Cancel"), "response": Gtk.ResponseType.CANCEL}
]
@@ -763,7 +783,7 @@ class KlipperScreen(Gtk.Window):
j2_temp = self.env.from_string(text)
text = j2_temp.render()
except Exception as e:
logging.debug(f"Error parsing jinja for confirm_send_action\n{e}")
logging.debug(f"Error parsing jinja for confirm_send_action\n{e}\n\n{traceback.format_exc()}")
label = Gtk.Label()
label.set_markup(text)
@@ -776,8 +796,9 @@ class KlipperScreen(Gtk.Window):
if self.confirm is not None:
self.gtk.remove_dialog(self.confirm)
self.confirm = self.gtk.Dialog(self, buttons, label, self._confirm_send_action_response, method, params)
self.confirm.set_title("KlipperScreen")
self.confirm = self.gtk.Dialog(
"KlipperScreen", buttons, label, self._confirm_send_action_response, method, params
)
def _confirm_send_action_response(self, dialog, response_id, method, params):
self.gtk.remove_dialog(dialog)
@@ -788,7 +809,7 @@ class KlipperScreen(Gtk.Window):
def _send_action(self, widget, method, params):
logging.info(f"{method}: {params}")
if type(widget) == Gtk.Button:
if isinstance(widget, Gtk.Button):
self.gtk.Button_busy(widget, True)
self._ws.send_method(method, params, self.enable_widget, widget)
else:
@@ -796,7 +817,7 @@ class KlipperScreen(Gtk.Window):
def enable_widget(self, *args):
for x in args:
if type(x) == Gtk.Button:
if isinstance(x, Gtk.Button):
GLib.timeout_add(150, self.gtk.Button_busy, x, False)
def printer_initializing(self, msg, remove=False):
@@ -858,6 +879,8 @@ class KlipperScreen(Gtk.Window):
cameras = self.apiclient.send_request("server/webcams/list")
if cameras is not False:
self.printer.configure_cameras(cameras['result']['webcams'])
if "spoolman" in server_info["components"]:
self.printer.enable_spoolman()
if state['result']['klippy_connected'] is False:
logging.info("Klipper not connected")
@@ -872,6 +895,7 @@ class KlipperScreen(Gtk.Window):
config = self.apiclient.send_request("printer/objects/query?configfile")
if config is False:
return self._init_printer("Error getting printer configuration")
logging.debug(config['result']['status'])
# Reinitialize printer, in case the printer was shut down and anything has changed.
self.printer.reinit(printer_info['result'], config['result']['status'])
self.printer.available_commands = self.apiclient.get_gcode_help()['result']
@@ -882,26 +906,24 @@ class KlipperScreen(Gtk.Window):
+ self.printer.get_fans()
+ self.printer.get_filament_sensors()
+ self.printer.get_output_pins()
+ self.printer.get_leds()
)
data = self.apiclient.send_request("printer/objects/query?" + "&".join(PRINTER_BASE_STATUS_OBJECTS +
extra_items))
if data is False:
return self._init_printer("Error getting printer object data with extra items")
if len(self.printer.get_tools() + self.printer.get_heaters()) > 0:
if len(self.printer.get_temp_devices()) > 0:
self.init_tempstore()
self.files.initialize()
self.files.refresh_files()
self.init_spoolman()
logging.info("Printer initialized")
self.initialized = True
self.reinit_count = 0
self.initializing = False
self.printer.process_update(data['result']['status'])
self.preload()
return False
def init_tempstore(self):
@@ -923,17 +945,6 @@ class KlipperScreen(Gtk.Window):
logging.error("Couldn't get the temperature store size")
return False
def init_spoolman(self):
server_config = self.apiclient.send_request("server/config")
if server_config:
try:
server_config["result"]["config"]["spoolman"]
self.printer.enable_spoolman()
except KeyError:
logging.warning("Not using Spoolman")
return False
def show_keyboard(self, entry=None, event=None):
if self.keyboard is not None:
return
@@ -1047,7 +1058,7 @@ def main():
try:
win = KlipperScreen(args, version)
except Exception as e:
logging.exception("Failed to initialize window")
logging.exception(f"Failed to initialize window\n{e}\n\n{traceback.format_exc()}")
raise RuntimeError from e
win.connect("destroy", Gtk.main_quit)
win.show_all()
@@ -1058,5 +1069,5 @@ if __name__ == "__main__":
try:
main()
except Exception as ex:
logging.exception(f"Fatal error in main loop:\n{ex}")
logging.exception(f"Fatal error in main loop:\n{ex}\n\n{traceback.format_exc()}")
sys.exit(1)
+4
View File
@@ -332,6 +332,10 @@ trough {
min-height: 350px;
}
.heater-list scrollbar slider{
min-width: 1.5em;
}
.heater-grid {
margin-right: .1em;
}