Compare commits

...
109 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
pappicio 2f4f28af1c locales: Updated Italian Translation (#1091) 2023-08-21 15:16:07 -03:00
Blonďák 8b93ba07d9 Spoolman: Added extra padding to expanders (#1090) 2023-08-21 15:14:02 -03:00
alfrix 51682be329 print and spoolman: fix arrows 2023-08-21 15:09:40 -03:00
alfrix 353bdc730f base_panel: fix printer select fixes #1093 2023-08-21 14:09:07 -03:00
Alfredo Monclus c3ef1dd789 camera: relative url support close #1086 (#1088)
close #1092
2023-08-21 13:57:39 -03:00
alfrix 2b7ad19d7f docs: add spoolman 2023-08-19 21:36:31 -03:00
alfrix 367d1244e8 docs: update screenshots 2023-08-19 21:25:36 -03:00
alfrix 95d3d46b8c docs: update about camera 2023-08-19 21:17:13 -03:00
Blonďákandalfrix af1de12f28 Spoolman support close #1060
Refactor post_requrest
Switching to TreeView
More spool info
redesign toggle buttons
Allow spoolman while printing
Styling checkbox as switch
render Toggle switch-like
Fixed wrong timezones
Filtering spools
Removed translations of Spoolman
Spool image can be overided in theme
Added switch-on/off symbols to toggle
rename iter to i to avoid shadowing built-in function
remove redundant parenthesis
convert spoolcompare to static
merge check and treeview shared props
reduce spacing of buttons very useful for vertical/portrait
fix issue with remainings
add spoolman shortcut to extrude
Using backports.zoneinfo for python < 3.9
use decorators for properties
extract format_date function
change top row
last used sort
rebase on upstream
Fix for never used spools


Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-19 18:43:45 -03:00
Vasilyev81andalfrix 65c4b172e8 Add butttons for vertical scrollbars fixes
Co-authored-by: alfrix <alfredomonclus@gmail.com>
2023-08-18 11:57:07 -03:00
alfrix dcad47bb51 bed_level: lint fix 2023-08-18 11:48:37 -03:00
alfrix 925f30f44a Update Translation files 2023-08-18 11:48:37 -03:00
alfrix 3780aa0c8d bed_level: fix center button not reporting rotation and reduce icon size fixes #1084 2023-08-18 11:48:37 -03:00
alfrix da3d17adbf menu: rename KS settings to KlipperScreen 2023-08-18 11:48:37 -03:00
alfrix 93bb6aeb65 tempstore initialization fixup 2023-08-18 11:48:37 -03:00
alfrix adb150a2c7 define a minimum python version 2023-08-18 11:48:37 -03:00
alfrix d9a6d0caa6 job_status: fixup progress initialization if restarted during print 2023-08-18 11:48:37 -03:00
alfrix e3cbc1ea8c extrude: show during printing but disable buttons during printing, this allows disabling and checking the filament sensor 2023-08-18 11:48:37 -03:00
alfrix 1c06e55442 move: settings button relocation for vertical mode 2023-08-18 11:48:37 -03:00
alfrix 35007af482 system and splash: add ignore inhibitors to reboot and shutdown 2023-08-18 11:48:37 -03:00
alfrix 4800b56492 refactor tempstore initialization
fixes #1074
2023-08-18 11:48:37 -03:00
alfrix bd98e758ec base_panel improvements
* generalize macro shortcut to allow changing it in the future
* action_bar functionality is now handled in one place for better maintainability
2023-08-18 11:48:37 -03:00
alfrix aa25a96f2b remove __main__ it makes duplicates of searchs and it's annoying 2023-08-18 11:48:37 -03:00
alfrix 90fc3288d7 Use callbacks to disable and enable buttons to improve user feedback
buttons now show a spinner if watiting for callback
2023-08-18 11:48:37 -03:00
alfrix e7b58edfbf klippygcodes: simplify and remove some alias that are irrelevant 2023-08-18 11:48:37 -03:00
alfrix 9ba8d04861 printer: save and use available commands 2023-08-18 11:48:37 -03:00
alfrix dd497d592d docs: developer basic guide 2023-08-18 11:48:37 -03:00
alfrix 2e5da0125f docs: update repo links 2023-08-18 11:48:37 -03:00
alfrix 5fa1e44f16 main_menu: allow closing the keypad with the back button 2023-08-18 11:48:37 -03:00
alfrix 189df7921f screen: reinit if necessary, it does make a noticeable difference in slow hw 2023-08-18 11:48:37 -03:00
alfrix 37e71e17f9 moonraker compat: create system-dependencies 2023-08-18 11:48:37 -03:00
alfrix 7dbe11e0b5 screen: preload most used panels 2023-08-18 11:48:37 -03:00
alfrix 168e75059a camera: requirements fix for debian bookworm
this is an indirect fix the correct approach would be checking the version of libmpv and if libmpv 0.33 or above install the newer version, meh
2023-08-18 11:48:37 -03:00
alfrix 8053e97d10 camera: add support for moonraker cameras, deprecates camera_url
this also adds support for flipping and rotation (configured in moonraker)
close #976
2023-08-18 11:48:37 -03:00
alfrix 77a24ec809 docs: add readthedocs yaml 2023-08-18 11:39:20 -03:00
alfrix fb0d0bb909 css: simplify graph_labels 2023-08-18 11:39:20 -03:00
AntoszHUN 06b2246db1 Hungarian Language Update (#1076) 2023-08-15 01:37:23 -03:00
alfrix 0a3dfbeb10 style: reduce the opacity of disabled buttons (better feedback) 2023-08-03 22:50:23 -03:00
Samuel-0-0 462b3eff96 Add files via upload (#1069) 2023-08-03 22:48:52 -03:00
ツ 4cbd48bc97 Translation Update de_DE (#1068)
Updated de and de_formal
2023-08-03 22:48:31 -03:00
Daviteusz a18df245e3 locale(pl): Update Polish translations (#1065)
Polish translation has been updated

Signed-off-by: Daviteusz <daviteusz0@gmail.com>
2023-08-03 22:48:06 -03:00
Andriy 7a64682d6e Ukrainian localisation update (#1064)
Ukrainian localisation update
2023-08-03 22:47:41 -03:00
alfrix bd87737467 keypad: fix calibrate pid not showing sometimes 2023-08-03 22:46:07 -03:00
alfrix 365b9bde4f job_status: fixup remaining times 2023-08-03 02:08:46 -03:00
alfrix 5b5b1f0485 network: fix #1067 2023-08-01 12:33:04 -03:00
alfrix 520ba44c96 fix back button not returning in custom menus fixes #1063 2023-07-31 21:48:19 -03:00
alfrix b7d1086c15 update translation files 2023-07-31 02:01:11 -03:00
alfrix 1fc23d30cb format the issue_templates a little nicer 2023-07-31 02:00:41 -03:00
alfrix 5a5fe7a609 docs: VNC add image for config 2023-07-31 01:50:16 -03:00
alfrix 32d853472e fixup issue_templates 2023-07-31 01:50:02 -03:00
125 changed files with 4072 additions and 1249 deletions

No files matched your search

-12
View File
@@ -1,12 +0,0 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: klipperscreen
open_collective: # Replace with a single Open Collective username
ko_fi: klipperscreen
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
+7 -7
View File
@@ -1,22 +1,22 @@
name: Bug report name: Bug report
about: Create a report to help us improve description: Create a report to help us improve
title: "[BUG] <title>" title: "[BUG] <title>"
labels: 'bug' labels: 'bug'
assignees: ''
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: >- value: >-
## Thank you for choosing KlipperScreen ## Thank you for choosing KlipperScreen
#### 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, if you need help to find the log file: #### The LOG file is REQUIRED. Without the logfile your issue will be closed
#### Read the [Documentation](https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/) if you need help to find the log file:
Read the [Documentation](https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/)
#### This is an Open Source project developed voluntarily, there are no Warranties, or ETA. #### This is an Open Source project developed voluntarily, there are no Warranties, or ETA.
#### [License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE) [License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE)
- type: textarea - type: textarea
id: what-happened id: what-happened
@@ -48,7 +48,7 @@ body:
id: logs id: logs
attributes: attributes:
label: Log output 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 render: shell
validations: validations:
required: true required: true
+4 -1
View File
@@ -1,5 +1,8 @@
blank_issues_enabled: false blank_issues_enabled: false
contact_links: contact_links:
- name: Klipper Discord Server - 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. about: If you have questions or need general support.
+6 -6
View File
@@ -1,18 +1,18 @@
name: Feature request name: Feature request
about: Suggest an idea for this project description: Suggest an idea for this project
title: "[FR] <title>" title: "[FR] <title>"
labels: ''
assignees: ''
body: body:
- type: markdown - type: markdown
attributes: attributes:
value: >- value: >-
## Thank you for choosing KlipperScreen ## Thank you for choosing KlipperScreen
#### This form is for feature request of KlipperScreen 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. #### This is an Open Source project developed voluntarily, there are no Warranties, or ETA.
#### [LICENSE](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE) [License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE)
- type: textarea - type: textarea
id: solution id: solution
@@ -31,7 +31,7 @@ body:
- type: textarea - type: textarea
id: alternative id: alternative
attributes: attributes:
label: 'Describe alternatives you've considered' label: 'Describe alternatives you have considered'
description: A clear and concise description of any alternative solutions or features you've considered. description: A clear and concise description of any alternative solutions or features you've considered.
validations: validations:
required: false required: false
+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}}"
+15
View File
@@ -0,0 +1,15 @@
# Read the Docs configuration file for MkDocs projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
mkdocs:
configuration: mkdocs.yml
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
-1
View File
@@ -1 +0,0 @@
screen.py
+6 -3
View File
@@ -2,9 +2,12 @@
This article describes how to use KlipperScreen from an android device This article describes how to use KlipperScreen from an android device
!!! important !!! warning
The experience may not be equal to run KlipperScreen natively, The experience may not be equal to run KlipperScreen natively.
depending on the device there maybe performance degradation or other issues 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) 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 2. Install [XServer-XSDL](https://play.google.com/store/apps/details?id=x.org.server) on the android device
+13 -12
View File
@@ -13,7 +13,7 @@ Write in the file only the options that need to be changed, and restart KlipperS
## Include files ## Include files
```py ```ini
[include conf.d/*.conf] [include conf.d/*.conf]
# Include another configuration file. Wildcards (*) will expand to match anything. # 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 ## Main Options
The options listed here are not changeable from within the ui. The options listed here are not changeable from within the ui.
```py ```ini
[main] [main]
# Time in seconds before the Job Status page closes itself after a successful job/print # Time in seconds before the Job Status page closes itself after a successful job/print
# 0 means disabled # 0 means disabled
@@ -47,7 +47,7 @@ screen_off_devices: example1, example2
## Printer Options ## Printer Options
Multiple printers can be defined Multiple printers can be defined
```py ```ini
# Define printer and name. Name is anything after the first printer word # Define printer and name. Name is anything after the first printer word
[printer Ender 3 Pro] [printer Ender 3 Pro]
# Define the moonraker host/port if different from 127.0.0.1 and 7125 # 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 # 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 # 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 # 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. # Rotation is useful if the screen is not directly in front of the machine.
# Valid values are 0 90 180 270 # Valid values are 0 90 180 270
@@ -98,17 +99,17 @@ screw_rotation: 0
extrude_distances: 5, 10, 15, 25 extrude_distances: 5, 10, 15, 25
extrude_speeds: 1, 2, 5, 25 extrude_speeds: 1, 2, 5, 25
# Camera configuration # Camera needs to be configured in moonraker:
camera_url: http://127.0.0.1/webcam/?action=stream # https://moonraker.readthedocs.io/en/latest/configuration/#webcam
``` ```
## Preheat Options ## 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 Adding a custom preheat section will cause the defaults to not load, this is
the intended behaviour. the intended behaviour.
```py ```ini
[preheat my_temp_setting] [preheat my_temp_setting]
extruder: 195 extruder: 195
extruder1: 60 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 There is a special preheat setting named cooldown to do additional things when the _cooldown_ button is pressed
for example: for example:
```py ```ini
[preheat cooldown] [preheat cooldown]
gcode: M107 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 predefined set of menus is already provided and it's recommended to be used
A menu item is configured as follows: A menu item is configured as follows:
```py ```ini
[menu __main my_menu_item] [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] # To build a sub-menu of this menu item, you would next use [menu __main my_menu_item sub_menu_item]
name: Item Name name: Item Name
@@ -167,7 +168,7 @@ enable: {{ printer.power_devices.count > 0 }}
Available panels are listed here: [docs/panels.md](Panels.md) Available panels are listed here: [docs/panels.md](Panels.md)
Certain variables are available for conditional testing of the enable statement: Certain variables are available for conditional testing of the enable statement:
```py ```ini
printer.extruders.count # Number of extruders printer.extruders.count # Number of extruders
printer.temperature_devices.count # Number of temperature related devices that are not extruders printer.temperature_devices.count # Number of temperature related devices that are not extruders
printer.fans.count # Number of fans 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: A sample configuration of a main menu would be as follows:
```py ```ini
[menu __main homing] [menu __main homing]
name: Homing name: Homing
icon: home icon: home
+16 -4
View File
@@ -1,11 +1,23 @@
# Contact # Contact
There are several ways to contact people who can assist with issues. Discord is going to be the quickest response as There are several ways to contact people who can assist with issues.
there will be more people in the chat who can help.
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 ## Klipper Community Discord
[Look for the channel `#klipper-screen`](https://discord.klipper3d.org/) [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/)
+59
View File
@@ -0,0 +1,59 @@
# Developer Guide
Basic setup for an enviroment to do development of KlipperScreen.
!!! note "Alfrix Note:"
I use a standard Linux distro with a desktop enviroment.
## Clone the repo
Clone your fork, for example:
```
cd ~
git clone https://github.com/klipperscreen/klipperscreen.git
```
## Install the dependencies on the host
The X11 or Wayland dependencies should not be needed if you are running a desktop GNU/Linux distro.
See [scripts/system-dependencies.json](https://github.com/KlipperScreen/KlipperScreen/blob/master/scripts/system-dependencies.json)
## Create a virtual environment
For example:
```bash
virtualenv -p /usr/bin/python3 ~/.KlipperScreen-env
source ~/.KlipperScreen-env/bin/activate
cd ~/KlipperScreen
pip install -r scripts/klipperscreen-requirements.txt
```
# Set configurations
Create klipperscreen.conf and place it on the repo folder
```
[main]
show_cursor=True
# disable screen timeouts
use_dpms=False
screen_blanking=off
# disable Fullscreen and start in a specified size
# 480 x 320 is the minimum size to target
width=480
height=320
# setting width or height will disable fullscreen and it's the intended behavior
```
At this point you can add your actual printer section with the IP (and port of needed) to the config or/and add a virtual printer
# Optional: Virtual printer
You may use a virtual printer like it's described in the [klipper docs](https://www.klipper3d.org/Debugging.html#testing-with-simulavr),
or it's [alternative that uses docker](https://github.com/mainsail-crew/virtual-klipper-printer)
Using a Virtual printer will need klipper and moonraker need to be installed in the machine too.
!!! note
The virtual printer has various limitations,
like constant temperature and limited availability of pins,
it's not a limitation of klipperscreen
## Optional: Configure the IDE
* Set interpreter to the virtual environment created
* Set the run configuration to `KlipperScreen/screen.py`
+1 -64
View File
@@ -123,68 +123,5 @@ here are some examples:
## Touchscreen touch rotation ## 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: [Moved to Touch issues](./Troubleshooting/Touch_issues.md)
```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)
+22 -17
View File
@@ -3,20 +3,23 @@
## First steps ## 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. 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. Once you have established that the screen is working, then proceed installing KlipperScreen.
## Setup ## 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 you installed a desktop (GUI version) of the OS and want to run KlipperScreen exclusively then do:
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 title="Boot to console / KlipperScreen"
sudo systemctl set-default multi-user.target
```sh sudo reboot
1System Options
└──S5 Boot / Auto Login
└──B1 Console
``` ```
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 ## Auto install
@@ -51,27 +54,29 @@ At this point KlipperScreen should be working, if it doesn't start then go to th
## Moonraker configuration ## 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] [authorization]
trusted_clients: trusted_clients:
127.0.0.1 127.0.0.1
``` ```
!!! warning !!! 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: 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] [update_manager KlipperScreen]
type: git_repo type: git_repo
path: ~/KlipperScreen path: ~/KlipperScreen
origin: https://github.com/KlipperScreen/KlipperScreen.git origin: https://github.com/KlipperScreen/KlipperScreen.git
env: ~/.KlipperScreen-env/bin/python virtualenv: ~/.KlipperScreen-env
requirements: scripts/KlipperScreen-requirements.txt requirements: scripts/KlipperScreen-requirements.txt
install_script: scripts/KlipperScreen-install.sh system_dependencies: scripts/system-dependencies.json
managed_services: KlipperScreen managed_services: KlipperScreen
``` ```
!!! note !!! tip
If you see warnings in other UIs ignore them until KlipperScreen finishes installing. If you see warnings in other UIs ignore them until KlipperScreen finishes installing, and Moonraker is restarted.
+6
View File
@@ -108,6 +108,12 @@ panel: system
``` ```
![System Panel](img/panels/system.png) ![System Panel](img/panels/system.png)
### Spoolman
```py
panel: spoolman
```
![Spoolman](img/panels/spoolman.png)
### [Temperature](Panels/Temperature.md) ### [Temperature](Panels/Temperature.md)
```py ```py
panel: temperature panel: temperature
+11 -28
View File
@@ -3,25 +3,12 @@ quick tips, without much explanation
## Hide macros, outputs or fans ## 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 You can also hide devices by prefixing the name with an underscore.
[gcode_macro MY_AWESOME_GCODE]
gcode:
_MY_HELPER_CODE
[gcode_macro _MY_HELPER_CODE]
gcode:
M300
```
MY_AWESOME_GCODE appears in your interface settings, _MY_HELPER_CODE not.
Another example:
Lets hide a temperature_fan: Lets hide a temperature_fan:
```py ```ini
[temperature_fan fan1] [temperature_fan fan1]
[temperature_fan _fan2] [temperature_fan _fan2]
``` ```
@@ -29,18 +16,15 @@ Lets hide a temperature_fan:
fan1 will show in the interface, but _fan2 will be hidden. fan1 will show in the interface, but _fan2 will be hidden.
## Thumbnails
Moved to [Thumbnails](Thumbnails.md)
## Layer Progress ## Layer Progress
Accurate layer progress as a message below the status: Accurate layer progress as a message below the status:
PrusaSlicer/SuperSlicer > Printer Settings > Custom Gcode > After layer change Gcode 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) ![Layer_progress](img/quicktips/PS_SS_Layer_progress.png)
@@ -55,11 +39,10 @@ PrusaSlicer/SuperSlicer:
Printer Settings > Custom Gcode > Start Gcode 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 Printer Settings > Custom Gcode > After layer change Gcode
```ini
`SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}` SET_PRINT_STATS_INFO CURRENT_LAYER={layer_num + 1}
```
## Supported Macros
[Macros](macros.md)
+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. The first step to troubleshooting any problem is getting the cause of the error.
* Find KlipperScreen.log: * Find KlipperScreen.log:
!!! important !!! warning "Important"
This log file should be provided if you ask for support. 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 Depending on your setup the file could be accessible from the web interface alongside other logs
Mainsail | Fluidd 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) 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. 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> ## System logs
(or `journalctl -xe -u KlipperScreen`)
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 ## Screen shows console instead of KlipperScreen
If you see this line in the logs (`systemctl status KlipperScreen`): ![boot](img/troubleshooting/boot.png)
```sh
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
[Follow this steps](Troubleshooting/VC_ERROR.md)
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 [Maybe it's the wrong framebuffer](Troubleshooting/Framebuffer.md)
KlipperScreen-start.sh: (EE) no screens found(EE)
``` 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) [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 ## The screen shows colors or 'No signal' when idle
In KliperScreen settings find 'Screen DPMS' and turn it off. 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 ## Touch issues
@@ -74,4 +107,4 @@ KlipperScreen was never intended to be used with OctoPrint, and there is no supp
## Other issues ## Other issues
If you found an issue not listed here, or can't make it work, please provide all the log files 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 # 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: Check if network-manager is installed:
``` ```bash
dpkg -s network-manager dpkg -s network-manager
``` ```
if the response is the following: if the response is the following:
``` ```bash
dpkg-query: the package `network-manager' is not installed dpkg-query: the package 'network-manager' is not installed
``` ```
go to [wpa_supplicant](wpa_supplicant.md) go to [wpa_supplicant](wpa_supplicant.md)
if the response is the following: if the response is the following:
``` ```sh
Package: network-manager Package: network-manager
Status: install ok installed Status: install ok installed
``` ```
this line may appear in KlipperScreen.log: this line may appear in KlipperScreen.log:
!!! abstract "Log"
`[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized` ```sh
[wifi_nm.py:rescan()] [...] NetworkManager.wifi.scan request failed: not authorized
```
in order to fix this polkit needs to be configured or disabled: 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 ## Cable issues
* Check that the cable is inserted properly: * 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 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 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 * If the board has more than one HDMI try the other port
## Driver issues ## Driver issues
@@ -23,6 +24,3 @@ Some screens need drivers installed the most common cases are:
### Goodtft (generic/clones) ### Goodtft (generic/clones)
* [Goodtft Wiki](http://www.lcdwiki.com) * [Goodtft Wiki](http://www.lcdwiki.com)
* [repo LCD-show](https://github.com/goodtft/LCD-show) * [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 # 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 ## 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 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.
(at least until upstream is fixed) consist in changing the driver:
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 ```sh
dtoverlay=vc4-kms-v3d dtoverlay=vc4-kms-v3d
``` ```
to: to
```sh ```sh
dtoverlay=vc4-fkms-v3d 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.
``` If that doesn't fix it, you can try commenting these lines out:
#dtoverlay=vc4-kms-v3d
#max_framebuffers=2 ```sh
# dtoverlay=vc4-kms-v3d
# max_framebuffers=2
``` ```
reboot to apply changes **Reboot** to apply changes.
If the screen is connected via USB It maybe a cable issue [See this section](Physical_Install.md#cable-issues)
## Touch rotation and matrix ## 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 ```sh
DISPLAY=:0 xinput DISPLAY=:0 xinput
``` ```
Output: Output:
```sh
```text
⎡ Virtual core pointer id=2 [master pointer (3)] ⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)] ⎜ ↳ ADS7846 Touchscreen id=6 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
``` ```
In this case the device is the ADS7846 Touchscreen, yours may be different In this case the device is the ADS7846 Touchscreen, yours may be different
You can test a change by running: 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: Where the matrix can be one of the following options:
* 0°: `1 0 0 0 1 0 0 0 1` | Rotation | Matrix |
* 90° Clockwise: `0 -1 1 1 0 0 0 0 1` | - | - |
* 90° Counter-Clockwise: `0 1 0 -1 0 1 0 0 1` | 0° | `1 0 0 0 1 0 0 0 1` |
* 180° (Inverts X and Y): `-1 0 1 0 -1 1 0 0 1` | 90° Clockwise | `0 -1 1 1 0 0 0 0 1` |
* invert Y: `-1 0 1 1 1 0 0 0 1` | 90° Counter-Clockwise | `0 1 0 -1 0 1 0 0 1` |
* invert X: `-1 0 1 0 1 0 0 0 1` | 180° (Inverts X and Y) | `-1 0 1 0 -1 1 0 0 1` |
* expand to twice the size horizontally: `0.5 0 0 0 1 0 0 0 1` | invert Y | `-1 0 1 1 1 0 0 0 1` |
* compress horizontally: | invert X | `-1 0 1 0 1 0 0 0 1` |
it has been reported that the touch expands with non-hdmi screens because composite out is enabled when hdmi is unplugged. | expand to twice the size horizontally | `0.5 0 0 0 1 0 0 0 1` |
if this is the case try adding `enable_tvout=0` to `/boot/config.txt` and reboot.
For more in-depth guidance on using Coordinate Transformation Matrices:
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) * [Ubuntu wiki InputCoordinateTransformation](https://wiki.ubuntu.com/X/InputCoordinateTransformation)
* [Libinput docs](https://wayland.freedesktop.org/libinput/doc/1.9.0/absolute_axes.html) * [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 # Cannot open virtual Console
If you see this line in the logs: If you see this line in the [log](../Troubleshooting.md):
```sh !!! abstract "Log"
xf86OpenConsole: Cannot open virtual console 2 (Permission denied) ```sh
``` xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
```
* Run `cat /etc/X11/Xwrapper.config` * Run `cat /etc/X11/Xwrapper.config`
@@ -23,9 +24,16 @@ Restart KlipperScreen:
sudo service KlipperScreen restart 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 ```sh
sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config" sudo bash -c "echo needs_root_rights=yes>>/etc/X11/Xwrapper.config"
``` ```
restart KS. Restart KlipperScreen:
```sh
sudo service KlipperScreen restart
```
+5 -4
View File
@@ -3,8 +3,8 @@
This article describes how to use KlipperScreen through a remote connection. This article describes how to use KlipperScreen through a remote connection.
!!! warning !!! warning
The experience may not be equal to run KlipperScreen natively, The experience may not be equal to run KlipperScreen natively.
depending on the device and network there maybe performance degradation or other issues Depending on the device or the network you may encounter performance degradation or other issues.
## On the Host device (for example a Raspberry Pi): ## On the Host device (for example a Raspberry Pi):
@@ -30,10 +30,11 @@ sudo systemctl service KlipperScreen restart
``` ```
5. On KlipperScreen set the following configuration: 5. On KlipperScreen set the following configuration:
DPMS: off
Display timeout: off Display timeout: off
![disable_dpms_poweroff](img/disable_dpms_poweroff.png)
DPMS: off
## On the remote device: ## On the remote device:
Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

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 ## Extrude Panel
### LOAD_FILAMENT / UNLOAD_FILAMENT ### 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_macro LOAD_FILAMENT]
gcode: gcode:
{% set speed = params.SPEED|default(300) %} {% set speed = params.SPEED|default(300) %}
@@ -23,7 +42,7 @@ gcode:
RESTORE_GCODE_STATE NAME=load_state RESTORE_GCODE_STATE NAME=load_state
``` ```
```jinja ```ini
[gcode_macro UNLOAD_FILAMENT] [gcode_macro UNLOAD_FILAMENT]
gcode: gcode:
{% set speed = params.SPEED|default(300) %} {% set speed = params.SPEED|default(300) %}
+12 -36
View File
@@ -1,36 +1,16 @@
class KlippyGcodes: class KlippyGcodes:
HOME = "G28"
HOME_XY = "G28 X Y"
Z_TILT = "Z_TILT_ADJUST"
QUAD_GANTRY_LEVEL = "QUAD_GANTRY_LEVEL"
MOVE = "G1"
MOVE_ABSOLUTE = "G90" MOVE_ABSOLUTE = "G90"
MOVE_RELATIVE = "G91" MOVE_RELATIVE = "G91"
EXTRUDE_ABS = "M82" EXTRUDE_ABS = "M82"
EXTRUDE_REL = "M83" EXTRUDE_REL = "M83"
SET_EXT_TEMP = "M104"
SET_BED_TEMP = "M140"
SET_EXT_FACTOR = "M221"
SET_FAN_SPEED = "M106"
SET_SPD_FACTOR = "M220"
PROBE_CALIBRATE = "PROBE_CALIBRATE"
Z_ENDSTOP_CALIBRATE = "Z_ENDSTOP_CALIBRATE"
TESTZ = "TESTZ Z="
ABORT = "ABORT"
ACCEPT = "ACCEPT"
@staticmethod @staticmethod
def set_bed_temp(temp): def set_bed_temp(temp):
return f"{KlippyGcodes.SET_BED_TEMP} S{temp}" return f"M140 S{temp}"
@staticmethod @staticmethod
def set_ext_temp(temp, tool=0): def set_ext_temp(temp, tool=0):
return f"{KlippyGcodes.SET_EXT_TEMP} T{tool} S{temp}" return f"M104 T{tool} S{temp}"
@staticmethod @staticmethod
def set_heater_temp(heater, temp): def set_heater_temp(heater, temp):
@@ -40,25 +20,13 @@ class KlippyGcodes:
def set_temp_fan_temp(temp_fan, temp): def set_temp_fan_temp(temp_fan, temp):
return f'SET_TEMPERATURE_FAN_TARGET temperature_fan="{temp_fan}" target={temp}' return f'SET_TEMPERATURE_FAN_TARGET temperature_fan="{temp_fan}" target={temp}'
@staticmethod
def set_fan_speed(speed):
return f"{KlippyGcodes.SET_FAN_SPEED} S{speed * 2.55:.0f}"
@staticmethod @staticmethod
def set_extrusion_rate(rate): def set_extrusion_rate(rate):
return f"{KlippyGcodes.SET_EXT_FACTOR} S{rate}" return f"M221 S{rate}"
@staticmethod @staticmethod
def set_speed_rate(rate): def set_speed_rate(rate):
return f"{KlippyGcodes.SET_SPD_FACTOR} S{rate}" return f"M220 S{rate}"
@staticmethod
def testz_move(dist):
return KlippyGcodes.TESTZ + dist
@staticmethod
def extrude(dist, speed=500):
return f"{KlippyGcodes.MOVE} E{dist} F{speed}"
@staticmethod @staticmethod
def bed_mesh_load(profile): def bed_mesh_load(profile):
@@ -71,3 +39,11 @@ class KlippyGcodes:
@staticmethod @staticmethod
def bed_mesh_save(profile): def bed_mesh_save(profile):
return f"BED_MESH_PROFILE 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'
)
+57 -20
View File
@@ -8,18 +8,24 @@ gi.require_version("Gtk", "3.0")
from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango from gi.repository import Gdk, GdkPixbuf, Gio, Gtk, Pango
def format_label(widget, lines=2): def find_widget(widget, wanted_type):
if type(widget) == Gtk.Label: # Returns a widget of wanted_type or None
if isinstance(widget, wanted_type):
return widget 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(): for _ in widget.get_children():
lbl = format_label(_) result = find_widget(_, wanted_type)
if lbl is not None: if result is not None:
lbl.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR) return result
lbl.set_line_wrap(True)
lbl.set_ellipsize(True)
lbl.set_ellipsize(Pango.EllipsizeMode.END) def format_label(widget, lines=2):
lbl.set_lines(lines) 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: class KlippyGtk:
@@ -158,6 +164,8 @@ class KlippyGtk:
b.set_hexpand(True) b.set_hexpand(True)
b.set_vexpand(True) b.set_vexpand(True)
b.set_can_focus(False) b.set_can_focus(False)
b.set_image_position(position)
b.set_always_show_image(True)
if image_name is not None: if image_name is not None:
if scale is None: if scale is None:
scale = self.button_image_scale scale = self.button_image_scale
@@ -165,8 +173,13 @@ class KlippyGtk:
scale = scale * 1.4 scale = scale * 1.4
width = height = self.img_scale * scale width = height = self.img_scale * scale
b.set_image(self.Image(image_name, width, height)) b.set_image(self.Image(image_name, width, height))
b.set_image_position(position) spinner = Gtk.Spinner.new()
b.set_always_show_image(True) spinner.set_no_show_all(True)
spinner.set_size_request(width, height)
spinner.hide()
box = find_widget(b, Gtk.Box)
if box:
box.add(spinner)
if label is not None: if label is not None:
format_label(b, lines) format_label(b, lines)
@@ -175,17 +188,40 @@ class KlippyGtk:
b.connect("clicked", self.screen.reset_screensaver_timeout) b.connect("clicked", self.screen.reset_screensaver_timeout)
return b return b
def Dialog(self, screen, buttons, content, callback=None, *args): @staticmethod
dialog = Gtk.Dialog() def Button_busy(widget, busy):
dialog.set_default_size(screen.width, screen.height) spinner = find_widget(widget, Gtk.Spinner)
image = find_widget(widget, Gtk.Image)
if busy:
widget.set_sensitive(False)
if image:
widget.set_always_show_image(False)
image.hide()
if spinner:
spinner.start()
spinner.show()
else:
if image:
widget.set_always_show_image(True)
image.show()
if spinner:
spinner.stop()
spinner.hide()
widget.set_sensitive(True)
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_resizable(False)
dialog.set_transient_for(screen) dialog.set_transient_for(self.screen)
dialog.set_modal(True) dialog.set_modal(True)
if not self.screen.windowed:
dialog.fullscreen()
for button in buttons: for button in buttons:
dialog.add_button(button['name'], button['response']) dialog.add_button(button['name'], button['response'])
button = dialog.get_widget_for_response(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) format_label(button, 3)
dialog.connect("response", self.screen.reset_screensaver_timeout) dialog.connect("response", self.screen.reset_screensaver_timeout)
@@ -209,7 +245,7 @@ class KlippyGtk:
Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.BLANK_CURSOR)) Gdk.Cursor.new_for_display(Gdk.Display.get_default(), Gdk.CursorType.BLANK_CURSOR))
self.screen.dialogs.append(dialog) self.screen.dialogs.append(dialog)
logging.info(f"Showing dialog {dialog}") logging.info(f"Showing dialog {dialog.get_title()} {dialog.get_size()}")
return dialog return dialog
def remove_dialog(self, dialog, *args): def remove_dialog(self, dialog, *args):
@@ -239,8 +275,7 @@ class KlippyGtk:
b.connect("clicked", self.screen.reset_screensaver_timeout) b.connect("clicked", self.screen.reset_screensaver_timeout)
return b return b
@staticmethod def ScrolledWindow(self, steppers=True):
def ScrolledWindow():
scroll = Gtk.ScrolledWindow() scroll = Gtk.ScrolledWindow()
scroll.set_property("overlay-scrolling", False) scroll.set_property("overlay-scrolling", False)
scroll.set_vexpand(True) scroll.set_vexpand(True)
@@ -248,4 +283,6 @@ class KlippyGtk:
Gdk.EventMask.TOUCH_MASK | Gdk.EventMask.TOUCH_MASK |
Gdk.EventMask.BUTTON_RELEASE_MASK) Gdk.EventMask.BUTTON_RELEASE_MASK)
scroll.set_kinetic_scrolling(True) scroll.set_kinetic_scrolling(True)
if self.screen._config.get_main_config().getboolean("show_scroll_steppers", fallback=False) and steppers:
scroll.get_vscrollbar().get_style_context().add_class("with-steppers")
return scroll return scroll
+18 -8
View File
@@ -29,21 +29,25 @@ class KlippyRest:
def get_printer_info(self): def get_printer_info(self):
return self.send_request("printer/info") return self.send_request("printer/info")
def get_gcode_help(self):
return self.send_request("printer/gcode/help")
def get_thumbnail_stream(self, thumbnail): def get_thumbnail_stream(self, thumbnail):
return self.send_request(f"server/files/gcodes/{thumbnail}", json=False) return self.send_request(f"server/files/gcodes/{thumbnail}", json=False)
def send_request(self, method, json=True): def _do_request(self, method, request_method, data=None, json=None, json_response=True, timeout=3):
url = f"{self.endpoint}/{method}" url = f"{self.endpoint}/{method}"
headers = {} if self.api_key is False else {"x-api-key": self.api_key} headers = {} if self.api_key is False else {"x-api-key": self.api_key}
data = False response_data = False
try: try:
response = requests.get(url, headers=headers, timeout=3) callee = getattr(requests, request_method)
response = callee(url, json=json, data=data, headers=headers, timeout=timeout)
response.raise_for_status() response.raise_for_status()
if json: if json_response:
logging.debug(f"Sending request to {url}") logging.debug(f"Sending request to {url}")
data = response.json() response_data = response.json()
else: else:
data = response.content response_data = response.content
except requests.exceptions.HTTPError as h: except requests.exceptions.HTTPError as h:
self.status = self.format_status(h) self.status = self.format_status(h)
except requests.exceptions.ConnectionError as c: except requests.exceptions.ConnectionError as c:
@@ -56,11 +60,17 @@ class KlippyRest:
self.status = self.format_status(r) self.status = self.format_status(r)
except Exception as e: except Exception as e:
self.status = self.format_status(e) self.status = self.format_status(e)
if data: if response_data:
self.status = '' self.status = ''
else: else:
logging.error(self.status.replace('\n', '>>')) logging.error(self.status.replace('\n', '>>'))
return data return response_data
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, timeout=3):
return self._do_request(method, "get", json_response=json, timeout=timeout)
@staticmethod @staticmethod
def format_status(status): def format_status(status):
+14 -4
View File
@@ -156,7 +156,7 @@ class KlipperScreenConfig:
bools = ( bools = (
'invert_x', 'invert_y', 'invert_z', '24htime', 'only_heaters', 'show_cursor', 'confirm_estop', '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', 'autoclose_popups', 'use_dpms', 'use_default_menu', 'side_macro_shortcut', 'use-matchbox-keyboard',
'show_heater_power' 'show_heater_power', "show_scroll_steppers", "auto_open_extrude"
) )
strs = ( strs = (
'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size', 'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size',
@@ -173,7 +173,7 @@ class KlipperScreenConfig:
strs = ( strs = (
'moonraker_api_key', 'moonraker_host', 'titlebar_name_type', 'moonraker_api_key', 'moonraker_host', 'titlebar_name_type',
'screw_positions', 'power_devices', 'titlebar_items', 'z_babystep_values', 'screw_positions', 'power_devices', 'titlebar_items', 'z_babystep_values',
'extrude_distances', "extrude_speeds", "camera_url", 'extrude_distances', "extrude_speeds", "camera_url", "spoolman",
) )
numbers = ( numbers = (
'moonraker_port', 'move_speed_xy', 'move_speed_z', 'moonraker_port', 'move_speed_xy', 'move_speed_z',
@@ -188,7 +188,9 @@ class KlipperScreenConfig:
# This section may be deprecated in favor of moving this options under the printer section # This section may be deprecated in favor of moving this options under the printer section
numbers = ('rotation', '') numbers = ('rotation', '')
strs = ('screw_positions', '') strs = ('screw_positions', '')
elif section.startswith('graph') or section.startswith('displayed_macros'): elif section.startswith('graph')\
or section.startswith('displayed_macros')\
or section.startswith('spoolman'):
bools = [f'{option}' for option in config[section]] bools = [f'{option}' for option in config[section]]
elif section.startswith('z_calibrate_position'): elif section.startswith('z_calibrate_position'):
# This section may be deprecated in favor of moving this options under the printer section # This section may be deprecated in favor of moving this options under the printer section
@@ -199,6 +201,9 @@ class KlipperScreenConfig:
for key in config[section]: for key in config[section]:
if key not in bools and key not in strs and key not in numbers: if key not in bools and key not in strs and key not in numbers:
msg = f'Option "{key}" not recognized for section "[{section}]"' msg = f'Option "{key}" not recognized for section "[{section}]"'
if key == "camera_url":
msg = "camera_url has been deprecated in favor of moonraker cameras"
msg += "\n\n https://moonraker.readthedocs.io/en/latest/configuration/#webcam"
if remove: if remove:
# This should only be called for the auto-generated section # This should only be called for the auto-generated section
self.config.remove_option(section, key) self.config.remove_option(section, key)
@@ -256,7 +261,7 @@ class KlipperScreenConfig:
{"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary", "value": "True"}}, {"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary", "value": "True"}},
{"side_macro_shortcut": { {"side_macro_shortcut": {
"section": "main", "name": _("Macro shortcut on sidebar"), "type": "binary", "section": "main", "name": _("Macro shortcut on sidebar"), "type": "binary",
"value": "True", "callback": screen.toggle_macro_shortcut}}, "value": "True", "callback": screen.toggle_shortcut}},
{"font_size": { {"font_size": {
"section": "main", "name": _("Font Size"), "type": "dropdown", "section": "main", "name": _("Font Size"), "type": "dropdown",
"value": "medium", "callback": screen.restart_ks, "options": [ "value": "medium", "callback": screen.restart_ks, "options": [
@@ -275,6 +280,10 @@ class KlipperScreenConfig:
"value": "True"}}, "value": "True"}},
{"show_heater_power": {"section": "main", "name": _("Show Heater Power"), "type": "binary", {"show_heater_power": {"section": "main", "name": _("Show Heater Power"), "type": "binary",
"value": "False", "callback": screen.reload_panels}}, "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": ""}} # {"": {"section": "main", "name": _(""), "type": ""}}
] ]
@@ -482,6 +491,7 @@ class KlipperScreenConfig:
extra_sections = [i for i in self.config.sections() if i.startswith("displayed_macros")] extra_sections = [i for i in self.config.sections() if i.startswith("displayed_macros")]
extra_sections.extend([i for i in self.config.sections() if i.startswith("graph")]) extra_sections.extend([i for i in self.config.sections() if i.startswith("graph")])
extra_sections.extend([i for i in self.config.sections() if i.startswith("spoolman")])
for section in extra_sections: for section in extra_sections:
for item in self.config.options(section): for item in self.config.options(section):
value = self.config[section].getboolean(item, fallback=True) value = self.config[section].getboolean(item, fallback=True)
+29 -5
View File
@@ -125,6 +125,12 @@ icon: fan
panel: fan panel: fan
enable: {{ printer.fans.count > 0 }} 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] [menu __main more macros]
name: {{ gettext('Macros') }} name: {{ gettext('Macros') }}
icon: custom-script icon: custom-script
@@ -147,7 +153,7 @@ enable: {{ printer.power_devices.count > 0 }}
name: {{ gettext('Camera') }} name: {{ gettext('Camera') }}
icon: camera icon: camera
panel: camera panel: camera
enable: {{ camera_configured }} enable: {{ printer.cameras.count > 0 }}
[menu __main more console] [menu __main more console]
name: {{ gettext('Console') }} name: {{ gettext('Console') }}
@@ -208,9 +214,9 @@ enable: {{ (printer.pause_resume.is_paused == True) }}
[menu __print extrude] [menu __print extrude]
name: {{ gettext('Extrude') }} name: {{ gettext('Extrude') }}
icon: filament icon: extrude
panel: extrude panel: extrude
enable: {{ (printer.pause_resume.is_paused == True) and (printer.extruders.count > 0) }} enable: {{ printer.extruders.count > 0 }}
[menu __print power] [menu __print power]
name: {{ gettext('Power') }} name: {{ gettext('Power') }}
@@ -218,6 +224,12 @@ icon: shutdown
panel: power panel: power
enable: {{ printer.power_devices.count > 0 }} enable: {{ printer.power_devices.count > 0 }}
[menu __print led]
name: {{ gettext('Leds') }}
icon: light
panel: led
enable: {{ printer.leds.count > 0 }}
[menu __print macros] [menu __print macros]
name: {{ gettext('Macros') }} name: {{ gettext('Macros') }}
icon: custom-script icon: custom-script
@@ -229,7 +241,7 @@ enable: {{ printer.gcode_macros.count > 0 }}
name: {{ gettext('Camera') }} name: {{ gettext('Camera') }}
icon: camera icon: camera
panel: camera panel: camera
enable: {{ camera_configured }} enable: {{ printer.cameras.count > 0 }}
[menu __print console] [menu __print console]
name: {{ gettext('Console') }} name: {{ gettext('Console') }}
@@ -253,7 +265,7 @@ panel: retraction
enable: {{ printer.firmware_retraction }} enable: {{ printer.firmware_retraction }}
[menu __print settings] [menu __print settings]
name: {{ gettext('Settings') }} name: KlipperScreen
icon: settings icon: settings
panel: settings panel: settings
@@ -281,3 +293,15 @@ enable: {{ moonraker_connected }}
name: KlipperScreen name: KlipperScreen
icon: settings icon: settings
panel: settings panel: settings
[menu __main more spoolman]
name: Spoolman
icon: spoolman
panel: spoolman
enable: {{ printer.spoolman }}
[menu __print spoolman]
name: Spoolman
icon: spoolman
panel: spoolman
enable: {{ printer.spoolman }}
+43 -6
View File
@@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -46,6 +46,9 @@ msgstr ""
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
@@ -57,6 +60,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "" msgstr ""
@@ -84,6 +90,9 @@ msgstr ""
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "" msgstr ""
@@ -157,10 +166,10 @@ msgstr ""
msgid "Console" msgid "Console"
msgstr "" msgstr ""
msgid "Continue" msgid "Cooldown"
msgstr "" msgstr ""
msgid "Cooldown" msgid "DPMS has failed to load and has been disabled"
msgstr "" msgstr ""
msgid "Date" msgid "Date"
@@ -233,6 +242,9 @@ msgstr ""
msgid "File:" msgid "File:"
msgstr "" msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "" msgstr ""
@@ -257,9 +269,6 @@ msgstr ""
msgid "Full Update" msgid "Full Update"
msgstr "" msgstr ""
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "" msgstr ""
@@ -302,6 +311,9 @@ msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "" msgstr ""
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "" msgstr ""
@@ -356,12 +368,19 @@ msgstr ""
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "" msgstr ""
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "" msgstr ""
msgid "Large" msgid "Large"
msgstr "" msgstr ""
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "" msgstr ""
@@ -386,6 +405,9 @@ msgstr ""
msgid "Main Menu" msgid "Main Menu"
msgstr "" msgstr ""
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "" msgstr ""
@@ -446,6 +468,9 @@ msgstr ""
msgid "New" msgid "New"
msgstr "" msgstr ""
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -620,6 +645,9 @@ msgstr ""
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "" msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "" msgstr ""
@@ -650,6 +678,9 @@ msgstr ""
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "" msgstr ""
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "" msgstr ""
@@ -741,6 +772,12 @@ msgid_plural "hours"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute" msgid "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Czech\n" "Project-Id-Version: Czech\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-01-29 09:27-0600\n" "PO-Revision-Date: 2023-01-29 09:27-0600\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: Jan Stanka (stanky@email.cz)\n" "Language-Team: Jan Stanka (stanky@email.cz)\n"
@@ -46,6 +46,9 @@ msgstr "Přijmout"
msgid "Add profile" msgid "Add profile"
msgstr "Přidat profil" msgstr "Přidat profil"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "Použít" msgstr "Použít"
@@ -57,6 +60,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Opravdu chceš vyjmout objekt?" msgstr "Opravdu chceš vyjmout objekt?"
@@ -84,6 +90,9 @@ msgstr "Auto-kalibrace"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Automaticky zavřít upozornění" msgstr "Automaticky zavřít upozornění"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto posun" msgstr "Auto posun"
@@ -157,12 +166,12 @@ msgstr "Připojování k %s"
msgid "Console" msgid "Console"
msgstr "Konsole" msgstr "Konsole"
msgid "Continue"
msgstr "Pokračuj"
msgid "Cooldown" msgid "Cooldown"
msgstr "Zchladit" msgstr "Zchladit"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "Datum" msgstr "Datum"
@@ -233,6 +242,9 @@ msgstr "Soubor"
msgid "File:" msgid "File:"
msgstr "Soubor:" msgstr "Soubor:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "Hledání ADXL" msgstr "Hledání ADXL"
@@ -257,9 +269,6 @@ msgstr "Velikost fontu"
msgid "Full Update" msgid "Full Update"
msgstr "Úplný update" msgstr "Úplný update"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "Zpět" msgstr "Zpět"
@@ -302,6 +311,9 @@ msgstr "Host"
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Hostname"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Sada ikon" msgstr "Sada ikon"
@@ -356,12 +368,19 @@ msgstr "Klipper se restartuje"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen se restartuje" msgstr "KlipperScreen se restartuje"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Jazyk" msgstr "Jazyk"
msgid "Large" msgid "Large"
msgstr "Velký" msgstr "Velký"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "Vrstva:" msgstr "Vrstva:"
@@ -386,6 +405,9 @@ msgstr "Makra"
msgid "Main Menu" msgid "Main Menu"
msgstr "Hlavní menu" msgstr "Hlavní menu"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "Max" msgstr "Max"
@@ -446,6 +468,9 @@ msgstr "Nikdy"
msgid "New" msgid "New"
msgstr "Nový" msgstr "Nový"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -621,6 +646,9 @@ msgstr "Ukaž"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Ukaž odběr topení" msgstr "Ukaž odběr topení"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "Shutdown" msgstr "Shutdown"
@@ -651,6 +679,9 @@ msgstr "Rychlost:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "" msgstr ""
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "Start" msgstr "Start"
@@ -744,6 +775,12 @@ msgstr[0] "hodina"
msgstr[1] "hodiny" msgstr[1] "hodiny"
msgstr[2] "hodin" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
@@ -762,6 +799,9 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Pokračuj"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Akce" #~ msgstr "Akce"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: SRBJ\n" "Last-Translator: SRBJ\n"
"Language-Team: \n" "Language-Team: \n"
@@ -41,6 +41,9 @@ msgstr "OK"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
@@ -52,6 +55,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "" msgstr ""
@@ -79,6 +85,9 @@ msgstr "Automatisk kalibrering"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Auto-scroll"
@@ -152,12 +161,12 @@ msgstr "Forbinder til %s"
msgid "Console" msgid "Console"
msgstr "Terminal" msgstr "Terminal"
msgid "Continue"
msgstr "Fortsæt"
msgid "Cooldown" msgid "Cooldown"
msgstr "Afkøling" msgstr "Afkøling"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "Dato" msgstr "Dato"
@@ -228,6 +237,9 @@ msgstr "Fil"
msgid "File:" msgid "File:"
msgstr "Fil:" msgstr "Fil:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "At finde ADXL" msgstr "At finde ADXL"
@@ -252,9 +264,6 @@ msgstr "Skriftstørrelse"
msgid "Full Update" msgid "Full Update"
msgstr "Fuld Opdatering" msgstr "Fuld Opdatering"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "Gå tilbage" msgstr "Gå tilbage"
@@ -297,6 +306,9 @@ msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "Værtsnavn" msgstr "Værtsnavn"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Ikon-tema" msgstr "Ikon-tema"
@@ -351,12 +363,19 @@ msgstr "Klipper vil genstarte"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen vil genstarte" msgstr "KlipperScreen vil genstarte"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Sprog" msgstr "Sprog"
msgid "Large" msgid "Large"
msgstr "Stor" msgstr "Stor"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "" msgstr ""
@@ -381,6 +400,9 @@ msgstr "Makroer"
msgid "Main Menu" msgid "Main Menu"
msgstr "Hovedmenu" msgstr "Hovedmenu"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "" msgstr ""
@@ -441,6 +463,9 @@ msgstr ""
msgid "New" msgid "New"
msgstr "Ny" msgstr "Ny"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -615,6 +640,9 @@ msgstr "At vise"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "" msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "" msgstr ""
@@ -645,6 +673,9 @@ msgstr "Hastighed:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Hastighed for 90° hjørne" msgstr "Hastighed for 90° hjørne"
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "Start" msgstr "Start"
@@ -736,6 +767,12 @@ msgid_plural "hours"
msgstr[0] "time" msgstr[0] "time"
msgstr[1] "timer" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
@@ -753,6 +790,9 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "" msgstr ""
#~ msgid "Continue"
#~ msgstr "Fortsæt"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Muligheder" #~ msgstr "Muligheder"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:10-0300\n" "PO-Revision-Date: 2022-11-30 18:10-0300\n"
"Last-Translator: livinhack\n" "Last-Translator: livinhack\n"
"Language-Team: \n" "Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "OK"
msgid "Add profile" msgid "Add profile"
msgstr "Profil hinzufügen" msgstr "Profil hinzufügen"
msgid "All"
msgstr "Alle"
msgid "Apply" msgid "Apply"
msgstr "Anwenden" msgstr "Anwenden"
@@ -57,6 +60,9 @@ msgstr "%s%.3f Offset auf Endstop anwenden"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "%s%.3f Offset auf Probe anwenden" msgstr "%s%.3f Offset auf Probe anwenden"
msgid "Archived"
msgstr "Archiviert"
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Möchtest du das Objekt wirklich ausschließen?" msgstr "Möchtest du das Objekt wirklich ausschließen?"
@@ -84,6 +90,9 @@ msgstr "Automatisch kalibrieren"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Benachrichtigungen automatisch schließen" msgstr "Benachrichtigungen automatisch schließen"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Auto-scroll"
@@ -157,12 +166,12 @@ msgstr "Verbinden zu %s"
msgid "Console" msgid "Console"
msgstr "Konsole" msgstr "Konsole"
msgid "Continue"
msgstr "Fortsetzen"
msgid "Cooldown" msgid "Cooldown"
msgstr "Abkühlen" msgstr "Abkühlen"
msgid "DPMS has failed to load and has been disabled"
msgstr "DPMS konnte nicht geladen werden und wurde deaktiviert"
msgid "Date" msgid "Date"
msgstr "Datum" msgstr "Datum"
@@ -201,13 +210,13 @@ msgid "Extra Large"
msgstr "Extra groß" msgstr "Extra groß"
msgid "Extrude" msgid "Extrude"
msgstr "Fördern" msgstr "Extrudieren"
msgid "Extrusion +" msgid "Extrusion +"
msgstr "Fördern +" msgstr "Extrudieren +"
msgid "Extrusion -" msgid "Extrusion -"
msgstr "Fördern -" msgstr "Extrudieren -"
msgid "Failed, adjust position first" msgid "Failed, adjust position first"
msgstr "Fehlgeschlagen, Position zuerst anpassen" msgstr "Fehlgeschlagen, Position zuerst anpassen"
@@ -233,6 +242,9 @@ msgstr "Datei"
msgid "File:" msgid "File:"
msgstr "Datei:" msgstr "Datei:"
msgid "Filter"
msgstr "Filter"
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "ADXL finden" msgstr "ADXL finden"
@@ -257,9 +269,6 @@ msgstr "Schriftgröße"
msgid "Full Update" msgid "Full Update"
msgstr "Vollständige Aktualisierung" msgstr "Vollständige Aktualisierung"
msgid "Fullscreen"
msgstr "Vollbild"
msgid "Go Back" msgid "Go Back"
msgstr "Zurück" msgstr "Zurück"
@@ -302,6 +311,9 @@ msgstr "Host"
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Hostname"
msgid "ID"
msgstr "ID"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Icon Theme" msgstr "Icon Theme"
@@ -309,7 +321,7 @@ msgid "Initializing printer..."
msgstr "Drucker wird initialisiert..." msgstr "Drucker wird initialisiert..."
msgid "Initiate a PID calibration for:" msgid "Initiate a PID calibration for:"
msgstr "" msgstr "Initiieren einer PID-Kalibrierung für:"
msgid "Input Shaper" msgid "Input Shaper"
msgstr "Input Shaper" msgstr "Input Shaper"
@@ -333,7 +345,7 @@ msgid "Invert Z"
msgstr "Achse Z invertieren" msgstr "Achse Z invertieren"
msgid "It may take more than 5 minutes depending on the heater power." msgid "It may take more than 5 minutes depending on the heater power."
msgstr "" msgstr "Je nach Leistung der Heizung kann dies mehr als 5 Minuten dauern."
msgid "Klipper Restart" msgid "Klipper Restart"
msgstr "Klipper Neustart" msgstr "Klipper Neustart"
@@ -356,12 +368,21 @@ msgstr "Klipper startet neu"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen startet neu" 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" msgid "Language"
msgstr "Sprache" msgstr "Sprache"
msgid "Large" msgid "Large"
msgstr "Groß" msgstr "Groß"
msgid "Last Used"
msgstr "Zuletzt verwendet"
msgid "Layer:" msgid "Layer:"
msgstr "Schicht:" msgstr "Schicht:"
@@ -386,6 +407,9 @@ msgstr "Makros"
msgid "Main Menu" msgid "Main Menu"
msgstr "Hauptmenü" msgstr "Hauptmenü"
msgid "Material"
msgstr "Material"
msgid "Max" msgid "Max"
msgstr "Max" msgstr "Max"
@@ -426,7 +450,7 @@ msgid "Moonraker: connected"
msgstr "Moonraker: Verbunden" msgstr "Moonraker: Verbunden"
msgid "More" msgid "More"
msgstr "" msgstr "Mehr"
msgid "Move" msgid "Move"
msgstr "Bewegen" msgstr "Bewegen"
@@ -446,6 +470,9 @@ msgstr "Niemals"
msgid "New" msgid "New"
msgstr "Neu" msgstr "Neu"
msgid "No elegible macros:"
msgstr "Keine wählbaren Makros:"
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -622,6 +649,9 @@ msgstr "Zeigen"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Heizleistung anzeigen" msgstr "Heizleistung anzeigen"
msgid "Show Scrollbars Buttons"
msgstr "Zeige Scrollbar Schaltfläche"
msgid "Shutdown" msgid "Shutdown"
msgstr "Ausschalten" msgstr "Ausschalten"
@@ -652,6 +682,9 @@ msgstr "Geschwindigkeit:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Eckgeschwindigkeit" msgstr "Eckgeschwindigkeit"
msgid "Standby"
msgstr "Standby"
msgid "Start" msgid "Start"
msgstr "Starten" msgstr "Starten"
@@ -745,6 +778,12 @@ msgid_plural "hours"
msgstr[0] "Stunde" msgstr[0] "Stunde"
msgstr[1] "Stunden" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "Minute" msgstr[0] "Minute"
@@ -762,6 +801,12 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Fortsetzen"
#~ msgid "Fullscreen"
#~ msgstr "Vollbild"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Aktionen" #~ msgstr "Aktionen"
@@ -7,11 +7,11 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:10-0300\n" "PO-Revision-Date: 2022-11-30 18:10-0300\n"
"Last-Translator: livinhack\n" "Last-Translator: livinhack\n"
"Language-Team: \n" "Language-Team: \n"
"Language: de\n" "Language: de_formal\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@@ -46,6 +46,9 @@ msgstr "OK"
msgid "Add profile" msgid "Add profile"
msgstr "Profil hinzufügen" msgstr "Profil hinzufügen"
msgid "All"
msgstr "Alle"
msgid "Apply" msgid "Apply"
msgstr "Anwenden" msgstr "Anwenden"
@@ -57,6 +60,9 @@ msgstr "%s%.3f Offset auf Endstop anwenden"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "%s%.3f Offset auf Probe anwenden" msgstr "%s%.3f Offset auf Probe anwenden"
msgid "Archived"
msgstr "Archiviert"
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Möchten Sie das Objekt wirklich ausschließen?" msgstr "Möchten Sie das Objekt wirklich ausschließen?"
@@ -84,6 +90,9 @@ msgstr "Automatisch kalibrieren"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Benachrichtigungen automatisch schließen" msgstr "Benachrichtigungen automatisch schließen"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Auto-scroll"
@@ -157,12 +166,12 @@ msgstr "Verbinden zu %s"
msgid "Console" msgid "Console"
msgstr "Konsole" msgstr "Konsole"
msgid "Continue"
msgstr "Fortsetzen"
msgid "Cooldown" msgid "Cooldown"
msgstr "Abkühlen" msgstr "Abkühlen"
msgid "DPMS has failed to load and has been disabled"
msgstr "DPMS konnte nicht geladen werden und wurde deaktiviert"
msgid "Date" msgid "Date"
msgstr "Datum" msgstr "Datum"
@@ -201,13 +210,13 @@ msgid "Extra Large"
msgstr "Extra groß" msgstr "Extra groß"
msgid "Extrude" msgid "Extrude"
msgstr "Fördern" msgstr "Extrudieren"
msgid "Extrusion +" msgid "Extrusion +"
msgstr "Fördern +" msgstr "Extrudieren +"
msgid "Extrusion -" msgid "Extrusion -"
msgstr "Fördern -" msgstr "Extrudieren -"
msgid "Failed, adjust position first" msgid "Failed, adjust position first"
msgstr "Fehlgeschlagen, Position zuerst anpassen" msgstr "Fehlgeschlagen, Position zuerst anpassen"
@@ -233,6 +242,9 @@ msgstr "Datei"
msgid "File:" msgid "File:"
msgstr "Datei:" msgstr "Datei:"
msgid "Filter"
msgstr "Filter"
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "ADXL finden" msgstr "ADXL finden"
@@ -257,9 +269,6 @@ msgstr "Schriftgröße"
msgid "Full Update" msgid "Full Update"
msgstr "Vollständige Aktualisierung" msgstr "Vollständige Aktualisierung"
msgid "Fullscreen"
msgstr "Vollbild"
msgid "Go Back" msgid "Go Back"
msgstr "Zurück" msgstr "Zurück"
@@ -302,6 +311,9 @@ msgstr "Host"
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Hostname"
msgid "ID"
msgstr "ID"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Icon Theme" msgstr "Icon Theme"
@@ -309,7 +321,7 @@ msgid "Initializing printer..."
msgstr "Drucker wird initialisiert..." msgstr "Drucker wird initialisiert..."
msgid "Initiate a PID calibration for:" msgid "Initiate a PID calibration for:"
msgstr "" msgstr "Initiieren einer PID-Kalibrierung für:"
msgid "Input Shaper" msgid "Input Shaper"
msgstr "Input Shaper" msgstr "Input Shaper"
@@ -333,7 +345,7 @@ msgid "Invert Z"
msgstr "Achse Z invertieren" msgstr "Achse Z invertieren"
msgid "It may take more than 5 minutes depending on the heater power." msgid "It may take more than 5 minutes depending on the heater power."
msgstr "" msgstr "Je nach Leistung der Heizung kann dies mehr als 5 Minuten dauern."
msgid "Klipper Restart" msgid "Klipper Restart"
msgstr "Klipper Neustart" msgstr "Klipper Neustart"
@@ -356,12 +368,21 @@ msgstr "Klipper startet neu"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen startet neu" 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" msgid "Language"
msgstr "Sprache" msgstr "Sprache"
msgid "Large" msgid "Large"
msgstr "Groß" msgstr "Groß"
msgid "Last Used"
msgstr "Zuletzt verwendet"
msgid "Layer:" msgid "Layer:"
msgstr "Schicht:" msgstr "Schicht:"
@@ -386,6 +407,9 @@ msgstr "Makros"
msgid "Main Menu" msgid "Main Menu"
msgstr "Hauptmenü" msgstr "Hauptmenü"
msgid "Material"
msgstr "Material"
msgid "Max" msgid "Max"
msgstr "Max" msgstr "Max"
@@ -426,7 +450,7 @@ msgid "Moonraker: connected"
msgstr "Moonraker: Verbunden" msgstr "Moonraker: Verbunden"
msgid "More" msgid "More"
msgstr "" msgstr "Mehr"
msgid "Move" msgid "Move"
msgstr "Bewegen" msgstr "Bewegen"
@@ -446,6 +470,9 @@ msgstr "Niemals"
msgid "New" msgid "New"
msgstr "Neu" msgstr "Neu"
msgid "No elegible macros:"
msgstr "Keine wählbaren Makros:"
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -623,6 +650,9 @@ msgstr "Zeigen"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Heizleistung anzeigen" msgstr "Heizleistung anzeigen"
msgid "Show Scrollbars Buttons"
msgstr "Zeige Scrollbar Schaltfläche"
msgid "Shutdown" msgid "Shutdown"
msgstr "Ausschalten" msgstr "Ausschalten"
@@ -653,6 +683,9 @@ msgstr "Geschwindigkeit:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Eckgeschwindigkeit" msgstr "Eckgeschwindigkeit"
msgid "Standby"
msgstr "Standby"
msgid "Start" msgid "Start"
msgstr "Starten" msgstr "Starten"
@@ -746,6 +779,12 @@ msgid_plural "hours"
msgstr[0] "Stunde" msgstr[0] "Stunde"
msgstr[1] "Stunden" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "Minute" msgstr[0] "Minute"
@@ -763,6 +802,12 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Fortsetzen"
#~ msgid "Fullscreen"
#~ msgstr "Vollbild"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Aktionen" #~ msgstr "Aktionen"
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@@ -41,6 +41,9 @@ msgstr ""
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
@@ -52,6 +55,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "" msgstr ""
@@ -79,6 +85,9 @@ msgstr ""
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "" msgstr ""
@@ -152,10 +161,10 @@ msgstr ""
msgid "Console" msgid "Console"
msgstr "" msgstr ""
msgid "Continue" msgid "Cooldown"
msgstr "" msgstr ""
msgid "Cooldown" msgid "DPMS has failed to load and has been disabled"
msgstr "" msgstr ""
msgid "Date" msgid "Date"
@@ -228,6 +237,9 @@ msgstr ""
msgid "File:" msgid "File:"
msgstr "" msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "" msgstr ""
@@ -252,9 +264,6 @@ msgstr ""
msgid "Full Update" msgid "Full Update"
msgstr "" msgstr ""
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "" msgstr ""
@@ -297,6 +306,9 @@ msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "" msgstr ""
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "" msgstr ""
@@ -351,12 +363,19 @@ msgstr ""
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "" msgstr ""
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "" msgstr ""
msgid "Large" msgid "Large"
msgstr "" msgstr ""
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "" msgstr ""
@@ -381,6 +400,9 @@ msgstr ""
msgid "Main Menu" msgid "Main Menu"
msgstr "" msgstr ""
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "" msgstr ""
@@ -441,6 +463,9 @@ msgstr ""
msgid "New" msgid "New"
msgstr "" msgstr ""
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -615,6 +640,9 @@ msgstr ""
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "" msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "" msgstr ""
@@ -645,6 +673,9 @@ msgstr ""
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "" msgstr ""
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "" msgstr ""
@@ -736,6 +767,12 @@ msgid_plural "hours"
msgstr[0] "" msgstr[0] ""
msgstr[1] "" msgstr[1] ""
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute" msgid "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
Binary file not shown.
@@ -7,16 +7,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-25 21:04-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-07-25 21:05-0300\n" "PO-Revision-Date: 2023-09-03 11:53-0300\n"
"Last-Translator: alfrix\n" "Last-Translator: alfrix\n"
"Language-Team: \n" "Language-Team: \n"
"Language: es\n" "Language: es\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Poedit 3.3.2\n" "X-Generator: Weblate 5.0.1-dev\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -46,6 +46,9 @@ msgstr "Aceptar"
msgid "Add profile" msgid "Add profile"
msgstr "Agregar perfil" msgstr "Agregar perfil"
msgid "All"
msgstr "Todos"
msgid "Apply" msgid "Apply"
msgstr "Aplicar" msgstr "Aplicar"
@@ -57,6 +60,9 @@ msgstr "Aplicar %s%.3f al fin de carrera?"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "Aplicar %s%.3f al sensor?" msgstr "Aplicar %s%.3f al sensor?"
msgid "Archived"
msgstr "Archivados"
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "¿Está seguro de excluir este objeto?" msgstr "¿Está seguro de excluir este objeto?"
@@ -84,6 +90,9 @@ msgstr "Auto-Calibrar"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Auto-cerrar notificaciones" msgstr "Auto-cerrar notificaciones"
msgid "Auto-open Extrude On Pause"
msgstr "Auto-abrir Extruir al pausar"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Auto-scroll"
@@ -157,9 +166,6 @@ msgstr "Conectando a %s"
msgid "Console" msgid "Console"
msgstr "Consola" msgstr "Consola"
msgid "Continue"
msgstr "Continuar"
msgid "Cooldown" msgid "Cooldown"
msgstr "Enfriar" msgstr "Enfriar"
@@ -236,6 +242,9 @@ msgstr "Archivo"
msgid "File:" msgid "File:"
msgstr "Archivo:" msgstr "Archivo:"
msgid "Filter"
msgstr "Filtro"
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "Buscando ADXL" msgstr "Buscando ADXL"
@@ -243,7 +252,7 @@ msgid "Fine Tuning"
msgstr "Ajuste Fino" msgstr "Ajuste Fino"
msgid "Finish" msgid "Finish"
msgstr "Cerrar" msgstr "Finalizar"
msgid "Firmware Restart" msgid "Firmware Restart"
msgstr "Reiniciar Firmware" msgstr "Reiniciar Firmware"
@@ -252,7 +261,7 @@ msgid "Flow:"
msgstr "Flujo:" msgstr "Flujo:"
msgid "Flowrate:" msgid "Flowrate:"
msgstr "Flujo:" msgstr "Tasa de Flujo:"
msgid "Font Size" msgid "Font Size"
msgstr "Tamaño del texto" msgstr "Tamaño del texto"
@@ -260,9 +269,6 @@ msgstr "Tamaño del texto"
msgid "Full Update" msgid "Full Update"
msgstr "Actualizar Todo" msgstr "Actualizar Todo"
msgid "Fullscreen"
msgstr "Pantalla Completa"
msgid "Go Back" msgid "Go Back"
msgstr "Volver" msgstr "Volver"
@@ -305,6 +311,9 @@ msgstr "Anfitrión"
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Hostname"
msgid "ID"
msgstr "ID"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Tema de Iconos" msgstr "Tema de Iconos"
@@ -360,12 +369,21 @@ msgstr "Klipper se reiniciará"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen se reiniciará" 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" msgid "Language"
msgstr "Idioma" msgstr "Idioma"
msgid "Large" msgid "Large"
msgstr "Grande" msgstr "Grande"
msgid "Last Used"
msgstr "Ultimo usado"
msgid "Layer:" msgid "Layer:"
msgstr "Capa:" msgstr "Capa:"
@@ -388,7 +406,10 @@ msgid "Macros"
msgstr "Macros" msgstr "Macros"
msgid "Main Menu" msgid "Main Menu"
msgstr "Menú" msgstr "Menú Principal"
msgid "Material"
msgstr "Material"
msgid "Max" msgid "Max"
msgstr "Max" msgstr "Max"
@@ -450,6 +471,9 @@ msgstr "Nunca"
msgid "New" msgid "New"
msgstr "Nuevo" msgstr "Nuevo"
msgid "No elegible macros:"
msgstr "No hay macros elegibles:"
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -551,7 +575,7 @@ msgid "Reference"
msgstr "Referencia" msgstr "Referencia"
msgid "Refresh" msgid "Refresh"
msgstr "Actualizar" msgstr "Recargar"
msgid "Rename/Move:" msgid "Rename/Move:"
msgstr "Renombrar/Mover:" msgstr "Renombrar/Mover:"
@@ -626,6 +650,9 @@ msgstr "Mostrar"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Mostrar potencia del calentador" msgstr "Mostrar potencia del calentador"
msgid "Show Scrollbars Buttons"
msgstr "Mostrar botones de desplazamiento"
msgid "Shutdown" msgid "Shutdown"
msgstr "Apagar" msgstr "Apagar"
@@ -726,7 +753,7 @@ msgid "Z Calibrate"
msgstr "Calibrar Z" msgstr "Calibrar Z"
msgid "Z Move Speed (mm/s)" msgid "Z Move Speed (mm/s)"
msgstr "Velocidad Z (mm/s)" msgstr "Velocidad Z (mm/s)"
msgid "Z Speed (mm/s)" msgid "Z Speed (mm/s)"
msgstr "Z Velocidad (mm/s)" msgstr "Z Velocidad (mm/s)"
@@ -750,6 +777,12 @@ msgid_plural "hours"
msgstr[0] "hora" msgstr[0] "hora"
msgstr[1] "horas" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "minuto" msgstr[0] "minuto"
@@ -767,6 +800,12 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Continuar"
#~ msgid "Fullscreen"
#~ msgstr "Pantalla Completa"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Acciones" #~ msgstr "Acciones"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:11-0300\n" "PO-Revision-Date: 2022-11-30 18:11-0300\n"
"Last-Translator: O. Robardet\n" "Last-Translator: O. Robardet\n"
"Language-Team: \n" "Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "Accepter"
msgid "Add profile" msgid "Add profile"
msgstr "Ajouter un profil" msgstr "Ajouter un profil"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "Appliquer" msgstr "Appliquer"
@@ -57,6 +60,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Êtes-vous sûr de vouloir exclure l’objet ?" msgstr "Êtes-vous sûr de vouloir exclure l’objet ?"
@@ -84,6 +90,9 @@ msgstr "Calibration Automatique"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Fermeture automatique des notifications" msgstr "Fermeture automatique des notifications"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Défilement automatique" msgstr "Défilement automatique"
@@ -157,12 +166,12 @@ msgstr "Connexion à %s"
msgid "Console" msgid "Console"
msgstr "Console" msgstr "Console"
msgid "Continue"
msgstr "Continuer"
msgid "Cooldown" msgid "Cooldown"
msgstr "Refroidir" msgstr "Refroidir"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "Date" msgstr "Date"
@@ -233,6 +242,9 @@ msgstr "Fichier"
msgid "File:" msgid "File:"
msgstr "Fichier:" msgstr "Fichier:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "Recherche de l’ADXL" msgstr "Recherche de l’ADXL"
@@ -257,9 +269,6 @@ msgstr "Taille de la police"
msgid "Full Update" msgid "Full Update"
msgstr "Mettre à jour" msgstr "Mettre à jour"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "Retour" msgstr "Retour"
@@ -302,6 +311,9 @@ msgstr "Hôte"
msgid "Hostname" msgid "Hostname"
msgstr "Nom d’hôte" msgstr "Nom d’hôte"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Thème" msgstr "Thème"
@@ -356,12 +368,19 @@ msgstr "Klipper va redémarrer"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen va redémarrer" msgstr "KlipperScreen va redémarrer"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Langue" msgstr "Langue"
msgid "Large" msgid "Large"
msgstr "Grande" msgstr "Grande"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "Couche:" msgstr "Couche:"
@@ -386,6 +405,9 @@ msgstr "Macros"
msgid "Main Menu" msgid "Main Menu"
msgstr "Menu principal" msgstr "Menu principal"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "Max" msgstr "Max"
@@ -446,6 +468,9 @@ msgstr "Jamais"
msgid "New" msgid "New"
msgstr "Nouveau" msgstr "Nouveau"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -622,6 +647,9 @@ msgstr "Afficher"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Afficher la puissance de chauffe" msgstr "Afficher la puissance de chauffe"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "Arrêter" msgstr "Arrêter"
@@ -652,6 +680,9 @@ msgstr "Vitesse:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Vélocité des angles droits" msgstr "Vélocité des angles droits"
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "Démarrer" msgstr "Démarrer"
@@ -743,6 +774,12 @@ msgid_plural "hours"
msgstr[0] "heure" msgstr[0] "heure"
msgstr[1] "heures" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
@@ -760,6 +797,9 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Continuer"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Actions" #~ msgstr "Actions"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Klipperscreen\n" "Project-Id-Version: Klipperscreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:11-0300\n" "PO-Revision-Date: 2022-11-30 18:11-0300\n"
"Last-Translator: Tal Rahav <talrhv1@gmail.com>\n" "Last-Translator: Tal Rahav <talrhv1@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
@@ -48,6 +48,9 @@ msgstr "אשר"
msgid "Add profile" msgid "Add profile"
msgstr "הוסף פרופיל" msgstr "הוסף פרופיל"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "החל" msgstr "החל"
@@ -59,6 +62,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "" msgstr ""
@@ -86,6 +92,9 @@ msgstr "כיול אוטומטי"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "סגירת התראות אוטומטית" msgstr "סגירת התראות אוטומטית"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "גלילה אוטומטית" msgstr "גלילה אוטומטית"
@@ -159,12 +168,12 @@ msgstr "מתחבר ל- %s"
msgid "Console" msgid "Console"
msgstr "קונסול" msgstr "קונסול"
msgid "Continue"
msgstr "המשך"
msgid "Cooldown" msgid "Cooldown"
msgstr "הפעל קירור" msgstr "הפעל קירור"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "תאריך" msgstr "תאריך"
@@ -235,6 +244,9 @@ msgstr "קובץ"
msgid "File:" msgid "File:"
msgstr "" msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "מחפש ADXL" msgstr "מחפש ADXL"
@@ -259,9 +271,6 @@ msgstr "גודל טקסט"
msgid "Full Update" msgid "Full Update"
msgstr "עדכון מלא" msgstr "עדכון מלא"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "חזרה" msgstr "חזרה"
@@ -304,6 +313,9 @@ msgstr "שרת"
msgid "Hostname" msgid "Hostname"
msgstr "שם שרת" msgstr "שם שרת"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "ערכת נושא" msgstr "ערכת נושא"
@@ -358,12 +370,19 @@ msgstr "קליפר יבצע אתחול"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen יאתחל מחדש" msgstr "KlipperScreen יאתחל מחדש"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "שפה" msgstr "שפה"
msgid "Large" msgid "Large"
msgstr "גדול" msgstr "גדול"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "שכבה" msgstr "שכבה"
@@ -388,6 +407,9 @@ msgstr "מקרואים"
msgid "Main Menu" msgid "Main Menu"
msgstr "תפריט ראשי" msgstr "תפריט ראשי"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "מקסימום" msgstr "מקסימום"
@@ -448,6 +470,9 @@ msgstr ""
msgid "New" msgid "New"
msgstr "חדש" msgstr "חדש"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -624,6 +649,9 @@ msgstr "הצג"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "הצג זרם מיטה" msgstr "הצג זרם מיטה"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "כיבוי" msgstr "כיבוי"
@@ -654,6 +682,9 @@ msgstr "מהירות"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "מהירות פינה מרובעת" msgstr "מהירות פינה מרובעת"
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "התחל" msgstr "התחל"
@@ -749,6 +780,12 @@ msgstr[1] "שעות"
msgstr[2] "שעות" msgstr[2] "שעות"
msgstr[3] "שעות" msgstr[3] "שעות"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute" msgid "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
@@ -768,6 +805,9 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "" msgstr ""
#~ msgid "Continue"
#~ msgstr "המשך"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "פעולות" #~ msgstr "פעולות"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-12 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: AntoszHUN\n" "Last-Translator: AntoszHUN\n"
"Language-Team: \n" "Language-Team: \n"
@@ -41,6 +41,9 @@ msgstr "Elfogad"
msgid "Add profile" msgid "Add profile"
msgstr "Profil hozzáadása" msgstr "Profil hozzáadása"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "Alkalmaz" msgstr "Alkalmaz"
@@ -52,6 +55,9 @@ msgstr "Alkalmazod a %s%.3f végpont eltolást?"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "Alkalmazod a %s%.3f szonda eltolást?" msgstr "Alkalmazod a %s%.3f szonda eltolást?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Biztosan kizárod az objektumot?" msgstr "Biztosan kizárod az objektumot?"
@@ -79,6 +85,9 @@ msgstr "Automatikus kalibrálás"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Értesítések automatikus bezárása" msgstr "Értesítések automatikus bezárása"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Automatikus görgetés" msgstr "Automatikus görgetés"
@@ -152,12 +161,12 @@ msgstr "Csatlakozás %s"
msgid "Console" msgid "Console"
msgstr "Konzol" msgstr "Konzol"
msgid "Continue"
msgstr "Folytat"
msgid "Cooldown" msgid "Cooldown"
msgstr "Lehűtés" msgstr "Lehűtés"
msgid "DPMS has failed to load and has been disabled"
msgstr "DPMS betöltése nem sikerült, ezért le van tiltva"
msgid "Date" msgid "Date"
msgstr "Dátum" msgstr "Dátum"
@@ -228,6 +237,9 @@ msgstr "Fájl"
msgid "File:" msgid "File:"
msgstr "Fájl:" msgstr "Fájl:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "ADXL keresése" msgstr "ADXL keresése"
@@ -252,9 +264,6 @@ msgstr "Betűméret"
msgid "Full Update" msgid "Full Update"
msgstr "Teljes Frissítés" msgstr "Teljes Frissítés"
msgid "Fullscreen"
msgstr "Teljes képernyő"
msgid "Go Back" msgid "Go Back"
msgstr "Visszalépés" msgstr "Visszalépés"
@@ -297,6 +306,9 @@ msgstr "Gazdagép"
msgid "Hostname" msgid "Hostname"
msgstr "Gazdanév" msgstr "Gazdanév"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Ikon téma" msgstr "Ikon téma"
@@ -351,12 +363,19 @@ msgstr "A Klipper újraindul"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "A KlipperScreen újraindul" msgstr "A KlipperScreen újraindul"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Nyelv" msgstr "Nyelv"
msgid "Large" msgid "Large"
msgstr "Nagy" msgstr "Nagy"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "Réteg:" msgstr "Réteg:"
@@ -381,6 +400,9 @@ msgstr "Makrók"
msgid "Main Menu" msgid "Main Menu"
msgstr "Főmenü" msgstr "Főmenü"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "Max" msgstr "Max"
@@ -441,12 +463,15 @@ msgstr "Soha"
msgid "New" msgid "New"
msgstr "Új" msgstr "Új"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
msgstr "" msgstr ""
"Az automatikus felismerés nem támogatott, a KlipperScreen-ben kell beállítani." "Az automatikus felismerés nem támogatott, a KlipperScreen-ben kell "
"conf" "beállítani.conf"
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Nincs kiválasztva" msgstr "Nincs kiválasztva"
@@ -617,6 +642,9 @@ msgstr "Mutat"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "A fűtésteljesítmény megjelenítése" msgstr "A fűtésteljesítmény megjelenítése"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "Leállítás" msgstr "Leállítás"
@@ -647,6 +675,9 @@ msgstr "Sebesség:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Sebesség a sarkokban" msgstr "Sebesség a sarkokban"
msgid "Standby"
msgstr "Készenlét"
msgid "Start" msgid "Start"
msgstr "Indítás" msgstr "Indítás"
@@ -738,6 +769,12 @@ msgid_plural "hours"
msgstr[0] "óra" msgstr[0] "óra"
msgstr[1] "órák" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "perc" msgstr[0] "perc"
@@ -755,6 +792,12 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Folytat"
#~ msgid "Fullscreen"
#~ msgstr "Teljes képernyő"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Műveletek" #~ msgstr "Műveletek"
Binary file not shown.
@@ -1,36 +1,36 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: pappicio\n" "Last-Translator: Pappicio\n"
"Language-Team: \n" "Language-Team: \n"
"Language: it\n" "Language: it\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Poedit 3.2.1\n" "X-Generator: Weblate 5.0.1-dev\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
msgstr "%s verrà aggiornato alla versione" msgstr "%s verrà aggiornato alla versione"
msgid "(default)" msgid "(default)"
msgstr "(predef.)" msgstr "(predefinito)"
msgid "24 Hour Time" msgid "24 Hour Time"
msgstr "24H" msgstr "24 ore"
msgid "A FIRMWARE_RESTART may fix the issue." msgid "A FIRMWARE_RESTART may fix the issue."
msgstr "Un FIRMWARE_RESTART potrebbe risolvere il problema." msgstr "un FIRMWARE_RESTART potrebbe risolvere il problema."
msgid "ADXL Not Configured" msgid "ADXL Not Configured"
msgstr "ADXL non configurato" msgstr "ADXL non configurato"
msgid "Abort" msgid "Abort"
msgstr "Annulla" msgstr "Interrompi"
msgid "Acceleration:" msgid "Acceleration:"
msgstr "Accelerazione:" msgstr "Accelerazione:"
@@ -41,15 +41,21 @@ msgstr "Accetta"
msgid "Add profile" msgid "Add profile"
msgstr "Aggiungi profilo" msgstr "Aggiungi profilo"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "Applicare" msgstr "Applica"
#, python-format #, python-format
msgid "Apply %s%.3f offset to Endstop?" msgid "Apply %s%.3f offset to Endstop?"
msgstr "" msgstr "Applicare l'offset %s%.3f a Endstop?"
#, python-format #, python-format
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "Applicare l'offset %s%.3f a Probe?"
msgid "Archived"
msgstr "" msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
@@ -59,37 +65,40 @@ msgid "Are you sure you want to run Emergency Stop?"
msgstr "Sei sicuro di voler eseguire l'arresto di emergenza?" msgstr "Sei sicuro di voler eseguire l'arresto di emergenza?"
msgid "Are you sure you wish to cancel this print?" msgid "Are you sure you wish to cancel this print?"
msgstr "Cancellare la Stampa?" msgstr "Sei sicuro di voler annullare questa stampa?"
msgid "Are you sure you wish to disable motors?" msgid "Are you sure you wish to disable motors?"
msgstr "Sei sicuro di voler disabilitare i motori?" msgstr "Sei sicuro di voler disabilitare i motori?"
msgid "Are you sure you wish to reboot the system?" msgid "Are you sure you wish to reboot the system?"
msgstr "Riavviare il Sistema?" msgstr "Sei sicuro di voler riavviare il sistema?"
msgid "Are you sure you wish to shutdown the system?" msgid "Are you sure you wish to shutdown the system?"
msgstr "Spegnere il Sistema?" msgstr "Sei sicuro di voler spegnere il sistema?"
msgid "Auto" msgid "Auto"
msgstr "Auto" msgstr "Automatico"
msgid "Auto-calibrate" msgid "Auto-calibrate"
msgstr "Calibrazione automatica" msgstr "Calibrazione automatica"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Chiudi automaticamente le notifiche" msgstr "Chiusura automatica notifiche"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Scorrimento automatico"
msgid "Bed Level" msgid "Bed Level"
msgstr "Livello del letto" msgstr "Bed-Level"
msgid "Bed Mesh" msgid "Bed Mesh"
msgstr "Rete letto" msgstr "Bed-Mesh"
msgid "Bed screw configuration:" msgid "Bed screw configuration:"
msgstr "Configurazione della vite del letto:" msgstr "configurazione Bed Screw"
msgid "Calibrate" msgid "Calibrate"
msgstr "Calibra" msgstr "Calibra"
@@ -98,19 +107,19 @@ msgid "Calibrated"
msgstr "Calibrato" msgstr "Calibrato"
msgid "Calibrating" msgid "Calibrating"
msgstr "Calibratura" msgstr "Calibrazione"
msgid "Camera" msgid "Camera"
msgstr "" msgstr "Camera"
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Impossibile impostare al di sopra del massimo:" msgstr "Impossibile impostare oltre il massimo:"
msgid "Cancel" msgid "Cancel"
msgstr "Annulla" msgstr "Annulla"
msgid "Cancel Print" msgid "Cancel Print"
msgstr "Annulla Stampa" msgstr "Annulla stampa"
msgid "Cancelled" msgid "Cancelled"
msgstr "Annullato" msgstr "Annullato"
@@ -125,13 +134,13 @@ msgid "Channel"
msgstr "Canale" msgstr "Canale"
msgid "Check ADXL Wiring" msgid "Check ADXL Wiring"
msgstr "Controllare il cablaggio ADXL" msgstr "Controllare cablaggio ADXL"
msgid "Checking for updates, please wait..." msgid "Checking for updates, please wait..."
msgstr "Controllo degli aggiornamenti in corso, attendere..." msgstr "Controllo aggiornamenti in corso, attendere..."
msgid "Clear" msgid "Clear"
msgstr "" msgstr "Clear"
msgid "Close" msgid "Close"
msgstr "Chiudi" msgstr "Chiudi"
@@ -147,38 +156,38 @@ msgstr "Connesso"
#, python-format #, python-format
msgid "Connecting to %s" msgid "Connecting to %s"
msgstr "Connetto a %s" msgstr "Connessione a %s"
msgid "Console" msgid "Console"
msgstr "Console" msgstr "Consolle"
msgid "Continue"
msgstr "Continua"
msgid "Cooldown" msgid "Cooldown"
msgstr "Raffredda" msgstr "Raffreddare"
msgid "DPMS has failed to load and has been disabled"
msgstr "DPMS non è stato caricato ed è stato disabilitato"
msgid "Date" msgid "Date"
msgstr "Data" msgstr "Data"
msgid "Delete Directory?" msgid "Delete Directory?"
msgstr "" msgstr "Eliminare Directory?"
msgid "Delete File?" msgid "Delete File?"
msgstr "Cancella il file?" msgstr "Eliminare file?"
msgid "Deselect" msgid "Deselect"
msgstr "Deseleziona" msgstr "Deseleziona"
msgid "Disable Motors" msgid "Disable Motors"
msgstr "Disab. Motori" msgstr "Disabilita motori"
msgid "Distance (mm)" msgid "Distance (mm)"
msgstr "Distanza (mm)" msgstr "Distanza (mm)"
#, python-format #, python-format
msgid "Do you want to recover %s?" msgid "Do you want to recover %s?"
msgstr "Vuoi recuperare %s?" msgstr "Vuoi ripristinare %s?"
msgid "Elapsed:" msgid "Elapsed:"
msgstr "Trascorso:" msgstr "Trascorso:"
@@ -187,76 +196,76 @@ msgid "Error"
msgstr "Errore" msgstr "Errore"
msgid "Estimated Time Method" msgid "Estimated Time Method"
msgstr "Metodo Tempo stimato" msgstr "Metodo tempo stimato"
msgid "Exclude Object" msgid "Exclude Object"
msgstr "Escludi oggetto" msgstr "Escludi oggetto"
msgid "Extra Large" msgid "Extra Large"
msgstr "Extra grande" msgstr ""
msgid "Extrude" msgid "Extrude"
msgstr "Estrudi" msgstr "Estrudi"
msgid "Extrusion +" msgid "Extrusion +"
msgstr "Estrudi +" msgstr "Estrusione +"
msgid "Extrusion -" msgid "Extrusion -"
msgstr "Estrudi -" msgstr "Estrusione -"
msgid "Failed, adjust position first" msgid "Failed, adjust position first"
msgstr "Fallito, regolare prima la posizione" msgstr "Fallito, regola prima la posizione"
msgid "Fan" msgid "Fan"
msgstr "Ventola" msgstr "Ventola"
msgid "Filament Used" msgid "Filament Used"
msgstr "Filamento Usato" msgstr "Filamento usato"
msgid "Filament total:" msgid "Filament total:"
msgstr "Filamento totale:" msgstr "Filamento totale:"
msgid "Filament used:" msgid "Filament used:"
msgstr "Filamento utilizzato:" msgstr "Filamento usato:"
msgid "Filament:" msgid "Filament:"
msgstr "Filamento:" msgstr "Filamento:"
msgid "File" msgid "File"
msgstr "File" msgstr ""
msgid "File:" msgid "File:"
msgstr "File:" msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "Alla ricerca di ADXL" msgstr "ricerca ADXL..."
msgid "Fine Tuning" msgid "Fine Tuning"
msgstr "Messa a Punto" msgstr "Messa a punto"
msgid "Finish" msgid "Finish"
msgstr "Finito" msgstr "Finito"
msgid "Firmware Restart" msgid "Firmware Restart"
msgstr "Firmware Riavvio" msgstr "Riavvio firmware"
msgid "Flow:" msgid "Flow:"
msgstr "Fluire:" msgstr "Flusso:"
msgid "Flowrate:" msgid "Flowrate:"
msgstr "Portata:" msgstr "Portata:"
msgid "Font Size" msgid "Font Size"
msgstr "Dimensione del testo" msgstr "Dimensione carattere"
msgid "Full Update" msgid "Full Update"
msgstr "Completo Aggiornare" msgstr "Aggiornamento completo"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "Indietro" msgstr "Torna indietro"
msgid "Height:" msgid "Height:"
msgstr "Altezza:" msgstr "Altezza:"
@@ -265,7 +274,7 @@ msgid "Hidden"
msgstr "Nascosto" msgstr "Nascosto"
msgid "Hide" msgid "Hide"
msgstr "Nascondere" msgstr "Nascondi"
msgid "Hide sensors in Temp." msgid "Hide sensors in Temp."
msgstr "Nascondi sensori in Temp." msgstr "Nascondi sensori in Temp."
@@ -274,7 +283,7 @@ msgid "Hide temp."
msgstr "Nascondi temp." msgstr "Nascondi temp."
msgid "Home" msgid "Home"
msgstr "Inizio" msgstr "Home"
msgid "Home All" msgid "Home All"
msgstr "Home XYZ" msgstr "Home XYZ"
@@ -292,19 +301,22 @@ msgid "Home Z"
msgstr "Home Z" msgstr "Home Z"
msgid "Host" msgid "Host"
msgstr "" msgstr "Host"
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Hostname"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Tema Icone" msgstr "Tema icone"
msgid "Initializing printer..." msgid "Initializing printer..."
msgstr "Inizializzo stampante..." msgstr "Inizializzazione stampante..."
msgid "Initiate a PID calibration for:" msgid "Initiate a PID calibration for:"
msgstr "" msgstr "Inizia una calibrazione PID per:"
msgid "Input Shaper" msgid "Input Shaper"
msgstr "" msgstr ""
@@ -316,7 +328,7 @@ msgid "Invalid"
msgstr "Non valido" msgstr "Non valido"
msgid "Invalid password" msgid "Invalid password"
msgstr "" msgstr "Password non valida"
msgid "Invert X" msgid "Invert X"
msgstr "Inverti X" msgstr "Inverti X"
@@ -329,27 +341,32 @@ msgstr "Inverti Z"
msgid "It may take more than 5 minutes depending on the heater power." msgid "It may take more than 5 minutes depending on the heater power."
msgstr "" msgstr ""
"Potrebbero volerci più di 5 min., dipende della potenza del riscaldatore."
msgid "Klipper Restart" msgid "Klipper Restart"
msgstr "Klipper Riavvio" msgstr "Riavvio Klipper"
msgid "Klipper has disconnected" msgid "Klipper has disconnected"
msgstr "Klipper è disconnesso" msgstr "Klipper si è disconnesso"
msgid "Klipper has encountered an error." msgid "Klipper has encountered an error."
msgstr "Klipper ha riscontrato un errore." msgstr "Klipper ha rilevato un errore."
msgid "Klipper has shutdown" msgid "Klipper has shutdown"
msgstr "Klipper è spento" msgstr "Klipper si è spento"
msgid "Klipper is attempting to start" msgid "Klipper is attempting to start"
msgstr "Klipper si sta avviando" msgstr "Klipper sta tentando di avviarsi"
msgid "Klipper will reboot" msgid "Klipper will reboot"
msgstr "Klipper sarà riavviato" msgstr "Klipper si riavvierà"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen sarà riavviato" msgstr "KlipperScreen si riavvierà"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Lingua" msgstr "Lingua"
@@ -357,20 +374,23 @@ msgstr "Lingua"
msgid "Large" msgid "Large"
msgstr "Grande" msgstr "Grande"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "Strato:" msgstr "Layer:"
msgid "Left:" msgid "Left:"
msgstr "Restante:" msgstr "Restante:"
msgid "Limits" msgid "Limits"
msgstr "Imp. Limiti" msgstr "Limiti"
msgid "Load" msgid "Load"
msgstr "Carica" msgstr "Carica"
msgid "Lower Nozzle" msgid "Lower Nozzle"
msgstr "Abbassa ugello" msgstr "Abbassa Ugello"
msgid "Macro shortcut on sidebar" msgid "Macro shortcut on sidebar"
msgstr "Macros sulla barra laterale" msgstr "Macros sulla barra laterale"
@@ -379,19 +399,22 @@ msgid "Macros"
msgstr "Macros" msgstr "Macros"
msgid "Main Menu" msgid "Main Menu"
msgstr "Menu Principale" msgstr "Menu principale"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "Max" msgstr "Max"
msgid "Max Acceleration" msgid "Max Acceleration"
msgstr "Accelerazione Massima" msgstr "Accel. massima"
msgid "Max Acceleration to Deceleration" msgid "Max Acceleration to Deceleration"
msgstr "Da acceleraz. Massima a Deceleraz. Massima" msgstr "Max Accel. a Decel."
msgid "Max Velocity" msgid "Max Velocity"
msgstr "Velocità Massima" msgstr "Velocità massima"
msgid "Maximum" msgid "Maximum"
msgstr "Massimo" msgstr "Massimo"
@@ -412,7 +435,7 @@ msgid "Menu"
msgstr "Menù" msgstr "Menù"
msgid "Mesh calibrate" msgid "Mesh calibrate"
msgstr "Calibrare la maglia" msgstr "Calibrazione mesh"
msgid "Modified" msgid "Modified"
msgstr "Modificato" msgstr "Modificato"
@@ -421,13 +444,13 @@ msgid "Moonraker: connected"
msgstr "Moonraker: connesso" msgstr "Moonraker: connesso"
msgid "More" msgid "More"
msgstr "" msgstr "Altro"
msgid "Move" msgid "Move"
msgstr "Muovi" msgstr "Spostamento"
msgid "Move Distance (mm)" msgid "Move Distance (mm)"
msgstr "Distanza Movimento (mm)" msgstr "Distanza spostamento (mm)"
msgid "Name" msgid "Name"
msgstr "Nome" msgstr "Nome"
@@ -441,30 +464,33 @@ msgstr "Mai"
msgid "New" msgid "New"
msgstr "Nuovo" msgstr "Nuovo"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
msgstr "" msgstr ""
"Non supportato per il rilevamento automatico, deve essere configurato in " "Non supportato per il rilevamento automatico, configurarlo in klipperscreen."
"klipperscreen.conf" "conf"
msgid "Nothing selected" msgid "Nothing selected"
msgstr "Niente selezionato" msgstr "Nessuna selezione"
#, python-format #, python-format
msgid "Outdated by %d" msgid "Outdated by %d"
msgstr "Obsoleto di %d" msgstr "obsoleto da %d"
msgid "PSK for" msgid "PSK for"
msgstr "PSK per" msgstr "PSK per"
msgid "Package will be updated" msgid "Package will be updated"
msgid_plural "Packages will be updated" msgid_plural "Packages will be updated"
msgstr[0] "Pacchetto verrà aggiornato" msgstr[0] "Il pacchetto verrà aggiornato"
msgstr[1] "I pacchetti verranno aggiornati" msgstr[1] "I pacchetti verranno aggiornati"
msgid "Part Fan" msgid "Part Fan"
msgstr "Parte Fan" msgstr "Part Fan"
msgid "Password saved" msgid "Password saved"
msgstr "Password salvata" msgstr "Password salvata"
@@ -473,79 +499,79 @@ msgid "Pause"
msgstr "Pausa" msgstr "Pausa"
msgid "Paused" msgid "Paused"
msgstr "In Pausa" msgstr "In pausa"
msgid "Perform a full upgrade?" msgid "Perform a full upgrade?"
msgstr "Eseguire un aggiornamento completo?" msgstr "Eseguire un aggiornamento completo?"
msgid "Pins" msgid "Pins"
msgstr "Perni" msgstr "Pins"
msgid "Please recompile and flash the micro-controller." msgid "Please recompile and flash the micro-controller."
msgstr "Si prega di ricompilare e flashare il microcontrollore." msgstr "Ricompila e flasha il micro-controller."
msgid "Power" msgid "Power"
msgstr "Power" msgstr "Power"
msgid "Power On Printer" msgid "Power On Printer"
msgstr "Accendi Stampante" msgstr "Accendi la stampante"
msgid "Pressure Advance:" msgid "Pressure Advance:"
msgstr "Anticipo di pressione:" msgstr "Pressure Advance:"
msgid "Print" msgid "Print"
msgstr "Stampa" msgstr "Stampa"
msgid "Print Control" msgid "Print Control"
msgstr "Controllo Stampa" msgstr "Controllo stampa"
msgid "Print Time" msgid "Print Time"
msgstr "Tempo di Stampa" msgstr "Tempo di stampa"
msgid "Printer" msgid "Printer"
msgstr "Stampante" msgstr "Stampante"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "Connessioni Stampante" msgstr "Connessioni stampante"
msgid "Printer Select" msgid "Printer Select"
msgstr "Stampante Seleziona" msgstr "Seleziona stampante"
msgid "Printing" msgid "Printing"
msgstr "In Stampa" msgstr "In stampa"
msgid "Probe Offset" msgid "Probe Offset"
msgstr "Scostamento della sonda" msgstr "Probe Offset"
msgid "Profile Name:" msgid "Profile Name:"
msgstr "Nome Profilo:" msgstr "Nome profilo:"
msgid "Provide KlipperScreen.log when asking for help.\n" msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr "" msgstr "Fornisci KlipperScreen.log quando chiedi aiuto.\n"
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Quad Gantry Level" msgstr "Quad Gantry Level"
msgid "Raise Nozzle" msgid "Raise Nozzle"
msgstr "Alza Ugello" msgstr "Alza ugello"
msgid "Recover" msgid "Recover"
msgstr "Recuperare" msgstr "Ripristino"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "Recuperare Hard" msgstr "Ripristino Hard"
msgid "Recover Soft" msgid "Recover Soft"
msgstr "Recuperare Soft" msgstr "Ripristino Soft"
msgid "Reference" msgid "Reference"
msgstr "Riferimento" msgstr "Riferimento"
msgid "Refresh" msgid "Refresh"
msgstr "Ricaricare" msgstr "Aggiorna"
msgid "Rename/Move:" msgid "Rename/Move:"
msgstr "" msgstr "Rinomina/Sposta:"
msgid "Restart" msgid "Restart"
msgstr "Riavvia" msgstr "Riavvia"
@@ -557,10 +583,10 @@ msgid "Retract"
msgstr "Ritrai" msgstr "Ritrai"
msgid "Retraction" msgid "Retraction"
msgstr "Retrazione" msgstr "Ritrazone"
msgid "Retraction Length" msgid "Retraction Length"
msgstr "Lunghezza di retrazione" msgstr "Lunghezza ritrazione"
msgid "Retraction Speed" msgid "Retraction Speed"
msgstr "Velocità di ritrazione" msgstr "Velocità di ritrazione"
@@ -578,7 +604,7 @@ msgid "Save Config"
msgstr "Salva Config" msgstr "Salva Config"
msgid "Save Z" msgid "Save Z"
msgstr "Salvo Z" msgstr "Salva Z"
msgid "Save configuration?" msgid "Save configuration?"
msgstr "Salva configurazione?" msgstr "Salva configurazione?"
@@ -594,16 +620,16 @@ msgid "Screen DPMS"
msgstr "Schermo DPMS" msgstr "Schermo DPMS"
msgid "Screen Power Off Time" msgid "Screen Power Off Time"
msgstr "Tempo Spegnim. Schermo" msgstr "Tempo spegnimento schermo"
msgid "Screws Adjust" msgid "Screws Adjust"
msgstr "Calibra Screws" msgstr "Screws Adjust"
msgid "Select" msgid "Select"
msgstr "Selezionare" msgstr "Seleziona"
msgid "Send" msgid "Send"
msgstr "Spedire" msgstr "Invia"
msgid "Set Temp" msgid "Set Temp"
msgstr "Imposta temp" msgstr "Imposta temp"
@@ -612,16 +638,19 @@ msgid "Settings"
msgstr "Impostazioni" msgstr "Impostazioni"
msgid "Show" msgid "Show"
msgstr "Mostrare" msgstr "Mostra"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Mostra la potenza del riscaldatore" msgstr "Mostra potenza riscaldatore"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "Spegnimento" msgstr "Spegnimento"
msgid "Size" msgid "Size"
msgstr "Grandezza" msgstr "Dimensioni"
msgid "Slicer" msgid "Slicer"
msgstr "Slicer" msgstr "Slicer"
@@ -630,16 +659,16 @@ msgid "Slicer:"
msgstr "Slicer:" msgstr "Slicer:"
msgid "Small" msgid "Small"
msgstr "Piccola" msgstr "Piccolo"
msgid "Speed (mm/s)" msgid "Speed (mm/s)"
msgstr "Velocità (mm/s)" msgstr "Velocità (mm/s)"
msgid "Speed +" msgid "Speed +"
msgstr "Velocità+" msgstr "Velocità +"
msgid "Speed -" msgid "Speed -"
msgstr "Velocità-" msgstr "Velocità -"
msgid "Speed:" msgid "Speed:"
msgstr "Velocità:" msgstr "Velocità:"
@@ -647,14 +676,17 @@ msgstr "Velocità:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Velocità Square Corner" msgstr "Velocità Square Corner"
msgid "Standby"
msgstr "Attesa"
msgid "Start" msgid "Start"
msgstr "Iniziare" msgstr "Inizio"
msgid "Starting WiFi Association" msgid "Starting WiFi Association"
msgstr "Avvio dell'Associazione WiFi" msgstr "Avvio associazione WiFi"
msgid "Starting recovery for" msgid "Starting recovery for"
msgstr "Inizio del recupero per" msgstr "Avvio ripristino per"
msgid "Starting update for" msgid "Starting update for"
msgstr "Avvio aggiornamento per" msgstr "Avvio aggiornamento per"
@@ -663,10 +695,10 @@ msgid "System"
msgstr "Sistema" msgstr "Sistema"
msgid "System Restart" msgid "System Restart"
msgstr "Riavvia Sistema" msgstr "Riavvio del sistema"
msgid "System Shutdown" msgid "System Shutdown"
msgstr "Spegni Sistema" msgstr "Spegnimento del sistema"
msgid "Temp (°C)" msgid "Temp (°C)"
msgstr "Temp (°C)" msgstr "Temp (°C)"
@@ -681,16 +713,16 @@ msgid "Unknown Heater"
msgstr "Riscaldatore sconosciuto" msgstr "Riscaldatore sconosciuto"
msgid "Unknown screw position" msgid "Unknown screw position"
msgstr "Posizione della vite sconosciuta" msgstr "Posizione Screw sconosciuta"
msgid "Unload" msgid "Unload"
msgstr "Scaricare" msgstr "Scarica"
msgid "Unretract Extra Length" msgid "Unretract Extra Length"
msgstr "Lunghezza extra non retratta" msgstr "Lunghezza extraRitrazione"
msgid "Unretract Speed" msgid "Unretract Speed"
msgstr "Velocità di ritiro" msgstr "Velocità ritrazione"
msgid "Up To Date" msgid "Up To Date"
msgstr "Aggiornato" msgstr "Aggiornato"
@@ -699,36 +731,36 @@ msgid "Update"
msgstr "Aggiorna" msgstr "Aggiorna"
msgid "Updating" msgid "Updating"
msgstr "In aggiornamento" msgstr "Aggiornamento"
msgid "Uploaded" msgid "Uploaded"
msgstr "Caricato" msgstr "Caricato"
msgid "XY Move Speed (mm/s)" msgid "XY Move Speed (mm/s)"
msgstr "Velocità di spostamento XY (mm/s)" msgstr "Velocità movimento XY (mm/s)"
msgid "XY Speed (mm/s)" msgid "XY Speed (mm/s)"
msgstr "Velocità XY (mm/s)" msgstr "Velocità XY (mm/s)"
msgid "Z Calibrate" msgid "Z Calibrate"
msgstr "Calibra Z" msgstr "Calibrazione Z"
msgid "Z Move Speed (mm/s)" msgid "Z Move Speed (mm/s)"
msgstr "Velocità di spostamento Z (mm/s)" msgstr "Velocità movimento Z (mm/s)"
msgid "Z Speed (mm/s)" msgid "Z Speed (mm/s)"
msgstr "Velocità Z (mm/s)" msgstr "Velocità Z(mm/s)"
msgid "Z Tilt" msgid "Z Tilt"
msgstr "Z Tilt" msgstr "Z Tilt"
msgid "Z offset:" msgid "Z offset:"
msgstr "Spostamento Z:" msgstr "Z Offset:"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "cambio" msgstr[0] "Applica"
msgstr[1] "modifiche" msgstr[1] "Applica"
msgid "dBm" msgid "dBm"
msgstr "dBm" msgstr "dBm"
@@ -738,10 +770,16 @@ msgid_plural "hours"
msgstr[0] "ora" msgstr[0] "ora"
msgstr[1] "ore" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] "minuto"
msgstr[1] "" msgstr[1] "minuti"
msgid "mm" msgid "mm"
msgstr "mm" msgstr "mm"
@@ -755,6 +793,9 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Continua"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Azioni" #~ msgstr "Azioni"
@@ -768,7 +809,7 @@ msgstr "mm³/s"
#~ msgstr "Disab. XY" #~ msgstr "Disab. XY"
#~ msgid "Slicer Time correction (%)" #~ msgid "Slicer Time correction (%)"
#~ msgstr "Affettatrice Correzione del tempo (%)" #~ msgstr "Correzione tempi Slicer (%)"
#~ msgid "Calibrated, save configuration to make it permanent" #~ msgid "Calibrated, save configuration to make it permanent"
#~ msgstr "Calibrato, salva la configurazione per renderla permanente" #~ msgstr "Calibrato, salva la configurazione per renderla permanente"
@@ -779,7 +820,6 @@ msgstr "mm³/s"
#~ msgid "Increase" #~ msgid "Increase"
#~ msgstr "Incrementa" #~ msgstr "Incrementa"
#, python-format
#~ msgid "Sending Power ON signal to: %s" #~ msgid "Sending Power ON signal to: %s"
#~ msgstr "Invio del segnale di accensione a: %s" #~ msgstr "Invio del segnale di accensione a: %s"
@@ -787,7 +827,7 @@ msgstr "mm³/s"
#~ msgstr "Ordinare:" #~ msgstr "Ordinare:"
#~ msgid "Calibrating..." #~ msgid "Calibrating..."
#~ msgstr "Calibratura..." #~ msgstr "Calibrazione..."
#~ msgid "Z+" #~ msgid "Z+"
#~ msgstr "Z+" #~ msgstr "Z+"
@@ -807,7 +847,6 @@ msgstr "mm³/s"
#~ msgid "Y-" #~ msgid "Y-"
#~ msgstr "Y-" #~ msgstr "Y-"
#, python-format
#~ msgid "Retry #%s" #~ msgid "Retry #%s"
#~ msgstr "Riprova #%s" #~ msgstr "Riprova #%s"
@@ -827,7 +866,7 @@ msgstr "mm³/s"
#~ msgstr "Visual. Mesh" #~ msgstr "Visual. Mesh"
#~ msgid "Sort by: " #~ msgid "Sort by: "
#~ msgstr "Ordine: " #~ msgstr "Ordina: "
#~ msgid "Bltouch found applied offset" #~ msgid "Bltouch found applied offset"
#~ msgstr "Bltouch ha trovato l'offset applicato" #~ msgstr "Bltouch ha trovato l'offset applicato"
@@ -871,7 +910,7 @@ msgstr "mm³/s"
#~ "Please recompile and flash." #~ "Please recompile and flash."
#~ msgstr "" #~ msgstr ""
#~ "Klipper ha riscontrato un errore con il microcontrollore.\n" #~ "Klipper ha riscontrato un errore con il microcontrollore.\n"
#~ "Si prega di ricompilare e flashare." #~ "Ricompila e flasha."
#~ msgid "" #~ msgid ""
#~ "Klipper has encountered an error.\n" #~ "Klipper has encountered an error.\n"
@@ -887,7 +926,7 @@ msgstr "mm³/s"
#~ msgstr "Mostra solo riscaldatori in temp." #~ msgstr "Mostra solo riscaldatori in temp."
#~ msgid "Target" #~ msgid "Target"
#~ msgstr "Obbiettivo" #~ msgstr "Obiettivo"
#~ msgid "Temp" #~ msgid "Temp"
#~ msgstr "Temp" #~ msgstr "Temp"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: boyon\n" "Last-Translator: boyon\n"
"Language-Team: \n" "Language-Team: \n"
@@ -41,6 +41,9 @@ msgstr "承諾する"
msgid "Add profile" msgid "Add profile"
msgstr "プロファイルの追加" msgstr "プロファイルの追加"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "適用する" msgstr "適用する"
@@ -52,6 +55,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "対象を除外しますか?" msgstr "対象を除外しますか?"
@@ -79,6 +85,9 @@ msgstr "自動校正"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "自動終了通知" msgstr "自動終了通知"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "自動スクロール" msgstr "自動スクロール"
@@ -152,12 +161,12 @@ msgstr "%s へ接続中・・・"
msgid "Console" msgid "Console"
msgstr "コンソール" msgstr "コンソール"
msgid "Continue"
msgstr "継続"
msgid "Cooldown" msgid "Cooldown"
msgstr "クールダウン" msgstr "クールダウン"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "日付" msgstr "日付"
@@ -228,6 +237,9 @@ msgstr "ファイル"
msgid "File:" msgid "File:"
msgstr "ファイル:" msgstr "ファイル:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "ADXLを検索中" msgstr "ADXLを検索中"
@@ -252,9 +264,6 @@ msgstr "フォントサイズ"
msgid "Full Update" msgid "Full Update"
msgstr "フルアップデート" msgstr "フルアップデート"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "戻る" msgstr "戻る"
@@ -297,6 +306,9 @@ msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "Hostname" msgstr "Hostname"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "アイコンテーマ" msgstr "アイコンテーマ"
@@ -351,12 +363,19 @@ msgstr "Klipperは再起動します"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreenは再起動します" msgstr "KlipperScreenは再起動します"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "言語" msgstr "言語"
msgid "Large" msgid "Large"
msgstr "大" msgstr "大"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "レイヤー:" msgstr "レイヤー:"
@@ -381,6 +400,9 @@ msgstr "マクロ"
msgid "Main Menu" msgid "Main Menu"
msgstr "メインメニュー" msgstr "メインメニュー"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "最大" msgstr "最大"
@@ -441,6 +463,9 @@ msgstr "未"
msgid "New" msgid "New"
msgstr "新" msgstr "新"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -614,6 +639,9 @@ msgstr "表示"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "" msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "シャットダウン" msgstr "シャットダウン"
@@ -644,6 +672,9 @@ msgstr ""
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "四隅の速度" msgstr "四隅の速度"
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "開始" msgstr "開始"
@@ -733,6 +764,12 @@ msgid "hour"
msgid_plural "hours" msgid_plural "hours"
msgstr[0] "" msgstr[0] ""
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute" msgid "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
@@ -749,6 +786,9 @@ msgstr ""
msgid "mm³/s" msgid "mm³/s"
msgstr "" msgstr ""
#~ msgid "Continue"
#~ msgstr "継続"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "操作" #~ msgstr "操作"
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: \n" "PO-Revision-Date: \n"
"Last-Translator: NSteven\n" "Last-Translator: NSteven\n"
"Language-Team: NSteven\n" "Language-Team: NSteven\n"
@@ -41,6 +41,9 @@ msgstr "확인"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "확인" msgstr "확인"
@@ -52,6 +55,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "" msgstr ""
@@ -79,6 +85,9 @@ msgstr "자동 교정"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "오토 스크롤" msgstr "오토 스크롤"
@@ -152,12 +161,12 @@ msgstr "%s에 연결 중.."
msgid "Console" msgid "Console"
msgstr "콘솔 제어 명령" msgstr "콘솔 제어 명령"
msgid "Continue"
msgstr "계속"
msgid "Cooldown" msgid "Cooldown"
msgstr "가열 중단" msgstr "가열 중단"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "날짜" msgstr "날짜"
@@ -228,6 +237,9 @@ msgstr "파일"
msgid "File:" msgid "File:"
msgstr "파일:" msgstr "파일:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "가속도계 찾는 중.." msgstr "가속도계 찾는 중.."
@@ -252,9 +264,6 @@ msgstr "글꼴 크기"
msgid "Full Update" msgid "Full Update"
msgstr "전체 업데이트" msgstr "전체 업데이트"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "뒤로" msgstr "뒤로"
@@ -297,6 +306,9 @@ msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "호스트 이름" msgstr "호스트 이름"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "아이콘 테마" msgstr "아이콘 테마"
@@ -351,12 +363,19 @@ msgstr "Klipper가 재부팅됩니다"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen가 재부팅됩니다" msgstr "KlipperScreen가 재부팅됩니다"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "언어" msgstr "언어"
msgid "Large" msgid "Large"
msgstr "크게" msgstr "크게"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "레이어:" msgstr "레이어:"
@@ -381,6 +400,9 @@ msgstr "매크로"
msgid "Main Menu" msgid "Main Menu"
msgstr "메인 메뉴" msgstr "메인 메뉴"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "" msgstr ""
@@ -441,6 +463,9 @@ msgstr ""
msgid "New" msgid "New"
msgstr "신규" msgstr "신규"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -614,6 +639,9 @@ msgstr "보기"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "" msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "" msgstr ""
@@ -644,6 +672,9 @@ msgstr "속도:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "모서리 통과 속도" msgstr "모서리 통과 속도"
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "시작" msgstr "시작"
@@ -733,6 +764,12 @@ msgid "hour"
msgid_plural "hours" msgid_plural "hours"
msgstr[0] "시간" msgstr[0] "시간"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute" msgid "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
@@ -749,6 +786,9 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "" msgstr ""
#~ msgid "Continue"
#~ msgstr "계속"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "툴 헤드 제어" #~ msgstr "툴 헤드 제어"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-05-07 18:50+0200\n" "PO-Revision-Date: 2023-05-07 18:50+0200\n"
"Last-Translator: Thijs Triemstra <info@collab.nl>\n" "Last-Translator: Thijs Triemstra <info@collab.nl>\n"
"Language-Team: \n" "Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "Accepteer"
msgid "Add profile" msgid "Add profile"
msgstr "Profiel toevoegen" msgstr "Profiel toevoegen"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "Toepassen" msgstr "Toepassen"
@@ -57,6 +60,9 @@ msgstr "Gebruik %s%.3f offset voor Eindstop?"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "Gebruik %s%.3f offset voor Probe?" msgstr "Gebruik %s%.3f offset voor Probe?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Weet je zeker dat je het object wilt uitsluiten?" msgstr "Weet je zeker dat je het object wilt uitsluiten?"
@@ -84,6 +90,9 @@ msgstr "Auto-kalibreren"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Auto-sluit notificaties" msgstr "Auto-sluit notificaties"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Auto-scroll"
@@ -157,12 +166,12 @@ msgstr "Verbinden met %s"
msgid "Console" msgid "Console"
msgstr "Console" msgstr "Console"
msgid "Continue"
msgstr "Doorgaan"
msgid "Cooldown" msgid "Cooldown"
msgstr "Afkoelen" msgstr "Afkoelen"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "Datum" msgstr "Datum"
@@ -233,6 +242,9 @@ msgstr "Bestand"
msgid "File:" msgid "File:"
msgstr "Bestand:" msgstr "Bestand:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "Zoekt ADXL" msgstr "Zoekt ADXL"
@@ -257,9 +269,6 @@ msgstr "Lettertype Grootte"
msgid "Full Update" msgid "Full Update"
msgstr "Volledige Update" msgstr "Volledige Update"
msgid "Fullscreen"
msgstr "Volledig Scherm"
msgid "Go Back" msgid "Go Back"
msgstr "Ga Terug" msgstr "Ga Terug"
@@ -302,6 +311,9 @@ msgstr "Host"
msgid "Hostname" msgid "Hostname"
msgstr "Hostnaam" msgstr "Hostnaam"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Icoon Thema" msgstr "Icoon Thema"
@@ -356,12 +368,19 @@ msgstr "Klipper zal herstarten"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen zal herstarten" msgstr "KlipperScreen zal herstarten"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Taal" msgstr "Taal"
msgid "Large" msgid "Large"
msgstr "Groot" msgstr "Groot"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "Laag:" msgstr "Laag:"
@@ -386,6 +405,9 @@ msgstr "Macros"
msgid "Main Menu" msgid "Main Menu"
msgstr "Hoofd Menu" msgstr "Hoofd Menu"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "Max" msgstr "Max"
@@ -446,6 +468,9 @@ msgstr "Nooit"
msgid "New" msgid "New"
msgstr "Nieuw" msgstr "Nieuw"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -622,6 +647,9 @@ msgstr "Toon"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Toon Heater Stroom" msgstr "Toon Heater Stroom"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "Afsluiten" msgstr "Afsluiten"
@@ -652,6 +680,9 @@ msgstr "Snelheid:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Square Corner Velocity" msgstr "Square Corner Velocity"
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "Start" msgstr "Start"
@@ -743,6 +774,12 @@ msgid_plural "hours"
msgstr[0] "uur" msgstr[0] "uur"
msgstr[1] "uren" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "minuut" msgstr[0] "minuut"
@@ -760,6 +797,12 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Doorgaan"
#~ msgid "Fullscreen"
#~ msgstr "Volledig Scherm"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Acties" #~ msgstr "Acties"
Binary file not shown.
@@ -3,8 +3,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Polish (KlipperScreen)\n" "Project-Id-Version: Polish (KlipperScreen)\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-07-24 22:00+0000\n" "PO-Revision-Date: 2023-09-06 08:40+0000\n"
"Last-Translator: Daviteusz <daviteusz0@gmail.com>\n" "Last-Translator: Daviteusz <daviteusz0@gmail.com>\n"
"Language-Team: Polish\n" "Language-Team: Polish\n"
"Language: pl\n" "Language: pl\n"
@@ -13,7 +13,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
"|| n%100>=20) ? 1 : 2;\n" "|| n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.18.2\n" "X-Generator: Weblate 5.0\n"
#, python-format #, python-format
msgid "%s will be updated to version" msgid "%s will be updated to version"
@@ -43,6 +43,9 @@ msgstr "Akceptuj"
msgid "Add profile" msgid "Add profile"
msgstr "Dodaj profil" msgstr "Dodaj profil"
msgid "All"
msgstr "Wszystkie"
msgid "Apply" msgid "Apply"
msgstr "Zastosuj" msgstr "Zastosuj"
@@ -54,6 +57,9 @@ msgstr "Zastosować przesunięcie %s%.3f do krańcówki?"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "Zastosować przesunięcie %s%.3f do sondy?" msgstr "Zastosować przesunięcie %s%.3f do sondy?"
msgid "Archived"
msgstr "Zarchiwizowane"
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Czy na pewno chcesz wykluczyć obiekt?" msgstr "Czy na pewno chcesz wykluczyć obiekt?"
@@ -81,6 +87,9 @@ msgstr "Automatyczna kalibracja"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Automatycznie zamykaj powiadomienia" msgstr "Automatycznie zamykaj powiadomienia"
msgid "Auto-open Extrude On Pause"
msgstr "Otwieraj menu wytłaczania podczas wstrzymania"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Automatyczne przewijanie" msgstr "Automatyczne przewijanie"
@@ -154,12 +163,12 @@ msgstr "Łączenie z %s"
msgid "Console" msgid "Console"
msgstr "Konsola" msgstr "Konsola"
msgid "Continue"
msgstr "Kontynuuj"
msgid "Cooldown" msgid "Cooldown"
msgstr "Studzenie" msgstr "Studzenie"
msgid "DPMS has failed to load and has been disabled"
msgstr "Nie udało się wczytać DPMS i został on wyłączony"
msgid "Date" msgid "Date"
msgstr "Data" msgstr "Data"
@@ -230,6 +239,9 @@ msgstr "Plik"
msgid "File:" msgid "File:"
msgstr "Plik:" msgstr "Plik:"
msgid "Filter"
msgstr "Filtruj"
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "Wyszukiwanie ADXL" msgstr "Wyszukiwanie ADXL"
@@ -254,9 +266,6 @@ msgstr "Rozmiar czcionki"
msgid "Full Update" msgid "Full Update"
msgstr "Aktualizuj wszystko" msgstr "Aktualizuj wszystko"
msgid "Fullscreen"
msgstr "Pełny ekran"
msgid "Go Back" msgid "Go Back"
msgstr "Powróć" msgstr "Powróć"
@@ -294,11 +303,14 @@ msgid "Home Z"
msgstr "Bazuj Z" msgstr "Bazuj Z"
msgid "Host" msgid "Host"
msgstr "Gospodarz" msgstr "Host"
msgid "Hostname" msgid "Hostname"
msgstr "Nazwa hosta" msgstr "Nazwa hosta"
msgid "ID"
msgstr "ID"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Motyw ikon" msgstr "Motyw ikon"
@@ -353,12 +365,21 @@ msgstr "Klipper uruchomi się ponownie"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen uruchomi się ponownie" 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" msgid "Language"
msgstr "Język" msgstr "Język"
msgid "Large" msgid "Large"
msgstr "Duży" msgstr "Duży"
msgid "Last Used"
msgstr "Ostatnie użycie"
msgid "Layer:" msgid "Layer:"
msgstr "Warstwa:" msgstr "Warstwa:"
@@ -383,6 +404,9 @@ msgstr "Makra"
msgid "Main Menu" msgid "Main Menu"
msgstr "Menu główne" msgstr "Menu główne"
msgid "Material"
msgstr "Materiał"
msgid "Max" msgid "Max"
msgstr "Maks" msgstr "Maks"
@@ -443,6 +467,9 @@ msgstr "Nigdy"
msgid "New" msgid "New"
msgstr "Nowe" msgstr "Nowe"
msgid "No elegible macros:"
msgstr "Brak odpowiednich makr:"
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -620,6 +647,9 @@ msgstr "Pokaż"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Pokaż moc grzałki" msgstr "Pokaż moc grzałki"
msgid "Show Scrollbars Buttons"
msgstr "Pokaż przyciski pasków przewijania"
msgid "Shutdown" msgid "Shutdown"
msgstr "Wyłącz" msgstr "Wyłącz"
@@ -650,6 +680,9 @@ msgstr "Prędkość:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Prędkość na rogu kwadratu" msgstr "Prędkość na rogu kwadratu"
msgid "Standby"
msgstr "Tryb gotowości"
msgid "Start" msgid "Start"
msgstr "Start" msgstr "Start"
@@ -730,9 +763,9 @@ msgstr "Przesunięcie Z:"
msgid "commit" msgid "commit"
msgid_plural "commits" msgid_plural "commits"
msgstr[0] "zmianę" msgstr[0] "zatwierdzenie"
msgstr[1] "zmiany" msgstr[1] "zatwierdzenia"
msgstr[2] "zmian" msgstr[2] "zatwierdzeń"
msgid "dBm" msgid "dBm"
msgstr "dBm" msgstr "dBm"
@@ -743,6 +776,12 @@ msgstr[0] "godzina"
msgstr[1] "godziny" msgstr[1] "godziny"
msgstr[2] "godzin" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "minuta" msgstr[0] "minuta"
@@ -761,6 +800,12 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Kontynuuj"
#~ msgid "Fullscreen"
#~ msgstr "Pełny ekran"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Akcje" #~ msgstr "Akcje"
Binary file not shown.
@@ -11,7 +11,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:14-0300\n" "PO-Revision-Date: 2022-11-30 18:14-0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@@ -50,6 +50,9 @@ msgstr "Aceitar"
msgid "Add profile" msgid "Add profile"
msgstr "Adicionar perfil" msgstr "Adicionar perfil"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "Aplicar" msgstr "Aplicar"
@@ -61,6 +64,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Tem certeza de que deseja excluir o objeto?" msgstr "Tem certeza de que deseja excluir o objeto?"
@@ -88,6 +94,9 @@ msgstr "Calibrar automaticamente"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Notificações de fechamento automático" msgstr "Notificações de fechamento automático"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scroll" msgstr "Auto-scroll"
@@ -161,12 +170,12 @@ msgstr "Conectando %s"
msgid "Console" msgid "Console"
msgstr "Terminal" msgstr "Terminal"
msgid "Continue"
msgstr "Continuar"
msgid "Cooldown" msgid "Cooldown"
msgstr "Resfriar" msgstr "Resfriar"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "Data" msgstr "Data"
@@ -237,6 +246,9 @@ msgstr "Arquivo"
msgid "File:" msgid "File:"
msgstr "Arquivo:" msgstr "Arquivo:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "Encontrar ADXL" msgstr "Encontrar ADXL"
@@ -261,9 +273,6 @@ msgstr "Tamanho da fonte"
msgid "Full Update" msgid "Full Update"
msgstr "Atualizar Tudo" msgstr "Atualizar Tudo"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "Voltar" msgstr "Voltar"
@@ -306,6 +315,9 @@ msgstr "Host"
msgid "Hostname" msgid "Hostname"
msgstr "Nome do Host" msgstr "Nome do Host"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Tema" msgstr "Tema"
@@ -360,12 +372,19 @@ msgstr "Klipper será reiniciado"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen será reiniciado" msgstr "KlipperScreen será reiniciado"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Idioma" msgstr "Idioma"
msgid "Large" msgid "Large"
msgstr "Grande" msgstr "Grande"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "Camada:" msgstr "Camada:"
@@ -390,6 +409,9 @@ msgstr "Macros"
msgid "Main Menu" msgid "Main Menu"
msgstr "Menu principal" msgstr "Menu principal"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "Max" msgstr "Max"
@@ -450,6 +472,9 @@ msgstr "Nunca"
msgid "New" msgid "New"
msgstr "Novo" msgstr "Novo"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -626,6 +651,9 @@ msgstr "Mostrar"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Mostrar Potência do Aquecedor" msgstr "Mostrar Potência do Aquecedor"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "Desligar" msgstr "Desligar"
@@ -656,6 +684,9 @@ msgstr "Velocidade:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Velocidade do Canto Reto" msgstr "Velocidade do Canto Reto"
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "Iniciar" msgstr "Iniciar"
@@ -747,6 +778,12 @@ msgid_plural "hours"
msgstr[0] "hora" msgstr[0] "hora"
msgstr[1] "horas" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
@@ -764,6 +801,9 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "" msgstr ""
#~ msgid "Continue"
#~ msgstr "Continuar"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Ações" #~ msgstr "Ações"
Binary file not shown.
@@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-30 18:15-0300\n" "PO-Revision-Date: 2023-08-16 09:53-0300\n"
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n" "Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: ru\n" "Language: ru\n"
@@ -16,7 +16,7 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && " "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" "n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"X-Generator: Poedit 3.2.1\n" "X-Generator: Poedit 3.3.2\n"
"X-Poedit-Flags-xgettext: --add-comments\n" "X-Poedit-Flags-xgettext: --add-comments\n"
#, python-format #, python-format
@@ -47,15 +47,21 @@ msgstr "Применить"
msgid "Add profile" msgid "Add profile"
msgstr "Добавить профиль" msgstr "Добавить профиль"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "Применить" msgstr "Применить"
#, python-format #, python-format
msgid "Apply %s%.3f offset to Endstop?" msgid "Apply %s%.3f offset to Endstop?"
msgstr "" msgstr "Применить смещение %s%.3f к Endstop?"
#, python-format #, python-format
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "Применить смещение %s%.3f к зонду?"
msgid "Archived"
msgstr "" msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
@@ -85,6 +91,9 @@ msgstr "Автоматическая калибровка"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Автоматическое закрытие уведомлений" msgstr "Автоматическое закрытие уведомлений"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Автоматическая прокрутка" msgstr "Автоматическая прокрутка"
@@ -107,7 +116,7 @@ msgid "Calibrating"
msgstr "Калибровка" msgstr "Калибровка"
msgid "Camera" msgid "Camera"
msgstr "" msgstr "Камера"
msgid "Can't set above the maximum:" msgid "Can't set above the maximum:"
msgstr "Невозможно установить выше максимума:" msgstr "Невозможно установить выше максимума:"
@@ -158,17 +167,17 @@ msgstr "Соединенный с %s"
msgid "Console" msgid "Console"
msgstr "Консоль" msgstr "Консоль"
msgid "Continue"
msgstr "Продолжить"
msgid "Cooldown" msgid "Cooldown"
msgstr "Остудить" msgstr "Остудить"
msgid "DPMS has failed to load and has been disabled"
msgstr "DPMS не загрузилась и была отключена"
msgid "Date" msgid "Date"
msgstr "Дата" msgstr "Дата"
msgid "Delete Directory?" msgid "Delete Directory?"
msgstr "" msgstr "Удалить каталог?"
msgid "Delete File?" msgid "Delete File?"
msgstr "Удалить Файл?" msgstr "Удалить Файл?"
@@ -234,6 +243,9 @@ msgstr "Файл"
msgid "File:" msgid "File:"
msgstr "Файл:" msgstr "Файл:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "Поиск ADXL" msgstr "Поиск ADXL"
@@ -258,9 +270,6 @@ msgstr "Размер шрифта"
msgid "Full Update" msgid "Full Update"
msgstr "Полный Обновлять" msgstr "Полный Обновлять"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "Назад" msgstr "Назад"
@@ -303,6 +312,9 @@ msgstr "Хост"
msgid "Hostname" msgid "Hostname"
msgstr "Имя хоста" msgstr "Имя хоста"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Темы" msgstr "Темы"
@@ -310,7 +322,7 @@ msgid "Initializing printer..."
msgstr "Принтер стартует..." msgstr "Принтер стартует..."
msgid "Initiate a PID calibration for:" msgid "Initiate a PID calibration for:"
msgstr "" msgstr "Запустите калибровку ПИД-регулятора для:"
msgid "Input Shaper" msgid "Input Shaper"
msgstr "Входной шейпер" msgstr "Входной шейпер"
@@ -322,7 +334,7 @@ msgid "Invalid"
msgstr "Неверный" msgstr "Неверный"
msgid "Invalid password" msgid "Invalid password"
msgstr "" msgstr "Неверный пароль"
msgid "Invert X" msgid "Invert X"
msgstr "Инверсия X" msgstr "Инверсия X"
@@ -334,7 +346,7 @@ msgid "Invert Z"
msgstr "Инверсия Z" msgstr "Инверсия Z"
msgid "It may take more than 5 minutes depending on the heater power." msgid "It may take more than 5 minutes depending on the heater power."
msgstr "" msgstr "В зависимости от мощности нагревателя это может занять более 5 минут."
msgid "Klipper Restart" msgid "Klipper Restart"
msgstr "Klipper Рестарт" msgstr "Klipper Рестарт"
@@ -357,12 +369,19 @@ msgstr "Klipper перезагружается"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen перезагружается" msgstr "KlipperScreen перезагружается"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Язык" msgstr "Язык"
msgid "Large" msgid "Large"
msgstr "Большой" msgstr "Большой"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "Слой:" msgstr "Слой:"
@@ -387,6 +406,9 @@ msgstr "Макросы"
msgid "Main Menu" msgid "Main Menu"
msgstr "Главное меню" msgstr "Главное меню"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "Максимум" msgstr "Максимум"
@@ -427,7 +449,7 @@ msgid "Moonraker: connected"
msgstr "Moonraker: подключен" msgstr "Moonraker: подключен"
msgid "More" msgid "More"
msgstr "" msgstr "Больше"
msgid "Move" msgid "Move"
msgstr "Двигать" msgstr "Двигать"
@@ -447,6 +469,9 @@ msgstr "Никогда"
msgid "New" msgid "New"
msgstr "Новый" msgstr "Новый"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -528,7 +553,7 @@ msgid "Profile Name:"
msgstr "Имя профиля:" msgstr "Имя профиля:"
msgid "Provide KlipperScreen.log when asking for help.\n" msgid "Provide KlipperScreen.log when asking for help.\n"
msgstr "" msgstr "Предоставьте KlipperScreen.log при обращении за помощью.\n"
msgid "Quad Gantry Level" msgid "Quad Gantry Level"
msgstr "Уровень Quad Gantry" msgstr "Уровень Quad Gantry"
@@ -552,7 +577,7 @@ msgid "Refresh"
msgstr "Обновить" msgstr "Обновить"
msgid "Rename/Move:" msgid "Rename/Move:"
msgstr "" msgstr "Переименовать/переместить:"
msgid "Restart" msgid "Restart"
msgstr "Перезагрузка" msgstr "Перезагрузка"
@@ -624,6 +649,9 @@ msgstr "Показывать"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Показать мощность нагрева" msgstr "Показать мощность нагрева"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "Выключить" msgstr "Выключить"
@@ -654,6 +682,9 @@ msgstr "Скорость:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Квадратная угловая скорость" msgstr "Квадратная угловая скорость"
msgid "Standby"
msgstr "Ожидание"
msgid "Start" msgid "Start"
msgstr "Hачать" msgstr "Hачать"
@@ -747,11 +778,17 @@ msgstr[0] "час"
msgstr[1] "часа" msgstr[1] "часа"
msgstr[2] "часа" msgstr[2] "часа"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute" msgid "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] "минута"
msgstr[1] "" msgstr[1] "минуты"
msgstr[2] "" msgstr[2] "минут"
msgid "mm" msgid "mm"
msgstr "мм" msgstr "мм"
@@ -765,6 +802,12 @@ msgstr "мм/с²"
msgid "mm³/s" msgid "mm³/s"
msgstr "мм/с³" msgstr "мм/с³"
#~ msgid "Continue"
#~ msgstr "Продолжить"
#~ msgid "Fullscreen"
#~ msgstr "Полный экран"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Действия" #~ msgstr "Действия"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2022-11-21 21:31-0300\n" "PO-Revision-Date: 2022-11-21 21:31-0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "Godkänn"
msgid "Add profile" msgid "Add profile"
msgstr "" msgstr ""
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "" msgstr ""
@@ -57,6 +60,9 @@ msgstr ""
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "" msgstr ""
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "" msgstr ""
@@ -84,6 +90,9 @@ msgstr ""
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "" msgstr ""
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Auto-scrolla" msgstr "Auto-scrolla"
@@ -157,12 +166,12 @@ msgstr "Ansluter till %s"
msgid "Console" msgid "Console"
msgstr "Konsol" msgstr "Konsol"
msgid "Continue"
msgstr "Fortsätt"
msgid "Cooldown" msgid "Cooldown"
msgstr "Nedkylning" msgstr "Nedkylning"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "Datum" msgstr "Datum"
@@ -233,6 +242,9 @@ msgstr "Fil"
msgid "File:" msgid "File:"
msgstr "" msgstr ""
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "" msgstr ""
@@ -257,9 +269,6 @@ msgstr "Textstorlek"
msgid "Full Update" msgid "Full Update"
msgstr "Fullständig Uppdatering" msgstr "Fullständig Uppdatering"
msgid "Fullscreen"
msgstr ""
msgid "Go Back" msgid "Go Back"
msgstr "Gå tillbaka" msgstr "Gå tillbaka"
@@ -302,6 +311,9 @@ msgstr ""
msgid "Hostname" msgid "Hostname"
msgstr "Värdnamn" msgstr "Värdnamn"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Ikon tema" msgstr "Ikon tema"
@@ -356,12 +368,19 @@ msgstr "Klipper kommer att starta om"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "" msgstr ""
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Språk" msgstr "Språk"
msgid "Large" msgid "Large"
msgstr "Stor" msgstr "Stor"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "" msgstr ""
@@ -386,6 +405,9 @@ msgstr "Makron"
msgid "Main Menu" msgid "Main Menu"
msgstr "Huvudmeny" msgstr "Huvudmeny"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "" msgstr ""
@@ -446,6 +468,9 @@ msgstr ""
msgid "New" msgid "New"
msgstr "" msgstr ""
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -620,6 +645,9 @@ msgstr "Visa"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "" msgstr ""
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "" msgstr ""
@@ -650,6 +678,9 @@ msgstr ""
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "" msgstr ""
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "Starta" msgstr "Starta"
@@ -741,6 +772,12 @@ msgid_plural "hours"
msgstr[0] "timme" msgstr[0] "timme"
msgstr[1] "timmar" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "" msgstr[0] ""
@@ -758,6 +795,9 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "" msgstr ""
#~ msgid "Continue"
#~ msgstr "Fortsätt"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Åtgärder" #~ msgstr "Åtgärder"
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-07-23 17:27+0300\n" "PO-Revision-Date: 2023-07-23 17:27+0300\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "Kabul et"
msgid "Add profile" msgid "Add profile"
msgstr "Profil ekle" msgstr "Profil ekle"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "Uygula" msgstr "Uygula"
@@ -57,6 +60,9 @@ msgstr "Endstop'a %s%.3f ofset uygulansın mı?"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "Prob'a %s%.3f ofset uygulansın mı?" msgstr "Prob'a %s%.3f ofset uygulansın mı?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Nesneyi hariç tutmak istediğinizden emin misiniz?" msgstr "Nesneyi hariç tutmak istediğinizden emin misiniz?"
@@ -84,6 +90,9 @@ msgstr "Otomatik-Kalibrasyon"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Bildirimleri otomatik kapat" msgstr "Bildirimleri otomatik kapat"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Otomatik kaydırma" msgstr "Otomatik kaydırma"
@@ -157,12 +166,12 @@ msgstr "%s'e Bağlanılıyor"
msgid "Console" msgid "Console"
msgstr "Konsol" msgstr "Konsol"
msgid "Continue"
msgstr "Devam et"
msgid "Cooldown" msgid "Cooldown"
msgstr "Soğutma" msgstr "Soğutma"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "Tarih" msgstr "Tarih"
@@ -233,6 +242,9 @@ msgstr "Dosya"
msgid "File:" msgid "File:"
msgstr "Dosya:" msgstr "Dosya:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "ADXL Bulunuyor" msgstr "ADXL Bulunuyor"
@@ -257,9 +269,6 @@ msgstr "Yazı boyutu"
msgid "Full Update" msgid "Full Update"
msgstr "Tam Güncelleme" msgstr "Tam Güncelleme"
msgid "Fullscreen"
msgstr "Tam Ekran"
msgid "Go Back" msgid "Go Back"
msgstr "Geri git" msgstr "Geri git"
@@ -302,6 +311,9 @@ msgstr "Sunucu"
msgid "Hostname" msgid "Hostname"
msgstr "Ana bilgisayar adı" msgstr "Ana bilgisayar adı"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Simge Teması" msgstr "Simge Teması"
@@ -356,12 +368,19 @@ msgstr "Klipper yeniden başlayacak"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen yeniden başlayacak" msgstr "KlipperScreen yeniden başlayacak"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "Dil" msgstr "Dil"
msgid "Large" msgid "Large"
msgstr "Büyük" msgstr "Büyük"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "Katman:" msgstr "Katman:"
@@ -386,6 +405,9 @@ msgstr "Makrolar"
msgid "Main Menu" msgid "Main Menu"
msgstr "Ana Menü" msgstr "Ana Menü"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "Maks" msgstr "Maks"
@@ -446,6 +468,9 @@ msgstr "Asla"
msgid "New" msgid "New"
msgstr "Yeni" msgstr "Yeni"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -622,6 +647,9 @@ msgstr "Göster"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Isıtıcı Gücünü Göster" msgstr "Isıtıcı Gücünü Göster"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "Kapat" msgstr "Kapat"
@@ -652,6 +680,9 @@ msgstr "Hız:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Kare Köşe Hızı" msgstr "Kare Köşe Hızı"
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "Başlat" msgstr "Başlat"
@@ -743,6 +774,12 @@ msgid_plural "hours"
msgstr[0] "saat" msgstr[0] "saat"
msgstr[1] "saatler" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "dakika" msgstr[0] "dakika"
@@ -760,6 +797,12 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "Devam et"
#~ msgid "Fullscreen"
#~ msgstr "Tam Ekran"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Eylemler" #~ msgstr "Eylemler"
Binary file not shown.
@@ -5,10 +5,10 @@
# #
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 2023-07-22 14:53-0300\n" "Project-Id-Version: 2023-09-03 20:36\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-07-22 12:41+0300\n" "PO-Revision-Date: 2023-09-03 20:57+0300\n"
"Last-Translator: Andrii Komarovskyi\n" "Last-Translator: Andrii Komarovskyi\n"
"Language-Team: Andrii Komarovskyi\n" "Language-Team: Andrii Komarovskyi\n"
"Language: uk\n" "Language: uk\n"
@@ -47,6 +47,9 @@ msgstr "Прийняти"
msgid "Add profile" msgid "Add profile"
msgstr "Додати профіль" msgstr "Додати профіль"
msgid "All"
msgstr "Всі"
msgid "Apply" msgid "Apply"
msgstr "Застосувати" msgstr "Застосувати"
@@ -58,6 +61,9 @@ msgstr "Застосувати зміщення %s%.3f до кінцевика?"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "Застосувати зміщення %s%.3f до зонда?" msgstr "Застосувати зміщення %s%.3f до зонда?"
msgid "Archived"
msgstr "Архівовано"
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "Ви впевнені, що бажаєте виключити об’єкт?" msgstr "Ви впевнені, що бажаєте виключити об’єкт?"
@@ -85,6 +91,9 @@ msgstr "Автоматичне калібрування"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "Автоматичне закриття сповіщень" msgstr "Автоматичне закриття сповіщень"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "Автоматична прокрутка" msgstr "Автоматична прокрутка"
@@ -158,12 +167,12 @@ msgstr "Підключення до %s"
msgid "Console" msgid "Console"
msgstr "Консоль" msgstr "Консоль"
msgid "Continue"
msgstr "Продовжити"
msgid "Cooldown" msgid "Cooldown"
msgstr "Охолодження" msgstr "Охолодження"
msgid "DPMS has failed to load and has been disabled"
msgstr "DPMS не вдалося завантажити, і його було вимкнено"
msgid "Date" msgid "Date"
msgstr "Дата" msgstr "Дата"
@@ -236,6 +245,9 @@ msgstr "Файл"
msgid "File:" msgid "File:"
msgstr "Файл:" msgstr "Файл:"
msgid "Filter"
msgstr "Фільтр"
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "Знаходження ADXL" msgstr "Знаходження ADXL"
@@ -262,9 +274,6 @@ msgstr ""
"Повне\n" "Повне\n"
"Оновлення" "Оновлення"
msgid "Fullscreen"
msgstr "Повноекранний режим"
msgid "Go Back" msgid "Go Back"
msgstr "Назад" msgstr "Назад"
@@ -307,6 +316,9 @@ msgstr "Хост"
msgid "Hostname" msgid "Hostname"
msgstr "Ім'я хоста" msgstr "Ім'я хоста"
msgid "ID"
msgstr "ID"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "Тема оформлення" msgstr "Тема оформлення"
@@ -363,12 +375,21 @@ msgstr "Klipper перезавантажиться"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen перезавантажиться" msgstr "KlipperScreen перезавантажиться"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
"LOAD_FILAMENT/UNLOAD_FILAMENT приховані, і їх слід використовувати з меню "
"Заміна пластику"
msgid "Language" msgid "Language"
msgstr "Мова" msgstr "Мова"
msgid "Large" msgid "Large"
msgstr "Великий" msgstr "Великий"
msgid "Last Used"
msgstr "Останнє Використання"
msgid "Layer:" msgid "Layer:"
msgstr "Шар:" msgstr "Шар:"
@@ -393,6 +414,9 @@ msgstr "Макрос"
msgid "Main Menu" msgid "Main Menu"
msgstr "Головне Меню" msgstr "Головне Меню"
msgid "Material"
msgstr "Матеріал"
msgid "Max" msgid "Max"
msgstr "Макс" msgstr "Макс"
@@ -453,6 +477,9 @@ msgstr "Ніколи"
msgid "New" msgid "New"
msgstr "Новий" msgstr "Новий"
msgid "No elegible macros:"
msgstr "Непридатний макрос:"
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -636,6 +663,9 @@ msgstr "Показати"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "Показати Потужність Нагрівача" msgstr "Показати Потужність Нагрівача"
msgid "Show Scrollbars Buttons"
msgstr "Показати кнопку смуги прокрутки"
msgid "Shutdown" msgid "Shutdown"
msgstr "Вимкнути" msgstr "Вимкнути"
@@ -666,6 +696,9 @@ msgstr "Швидкість:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "Квадратно кутова швидкість" msgstr "Квадратно кутова швидкість"
msgid "Standby"
msgstr "Очікування"
msgid "Start" msgid "Start"
msgstr "СТАРТ" msgstr "СТАРТ"
@@ -761,6 +794,12 @@ msgstr[0] "година"
msgstr[1] "годин" msgstr[1] "годин"
msgstr[2] "години" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "хвилина" msgstr[0] "хвилина"
@@ -779,6 +818,12 @@ msgstr "мм/с²"
msgid "mm³/s" msgid "mm³/s"
msgstr "мм/с³" msgstr "мм/с³"
#~ msgid "Continue"
#~ msgstr "Продовжити"
#~ msgid "Fullscreen"
#~ msgstr "Повноекранний режим"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "Дії" #~ msgstr "Дії"
@@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-07-09 22:15+0800\n" "PO-Revision-Date: 2023-09-05 23:45+0800\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
"Language: zh_CN\n" "Language: zh_CN\n"
@@ -35,17 +35,20 @@ msgid "ADXL Not Configured"
msgstr "未配置ADXL" msgstr "未配置ADXL"
msgid "Abort" msgid "Abort"
msgstr "取消" msgstr "放弃"
msgid "Acceleration:" msgid "Acceleration:"
msgstr "加速度:" msgstr "加速度:"
msgid "Accept" msgid "Accept"
msgstr "应用" msgstr "接受"
msgid "Add profile" msgid "Add profile"
msgstr "添加配置文件" msgstr "添加配置文件"
msgid "All"
msgstr "全部"
msgid "Apply" msgid "Apply"
msgstr "应用" msgstr "应用"
@@ -57,6 +60,9 @@ msgstr "将 %s%.3f 偏移量应用于限位?"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "将 %s%.3f 偏移量应用于探针?" msgstr "将 %s%.3f 偏移量应用于探针?"
msgid "Archived"
msgstr "已存档"
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "你确定要排除该对象吗?" msgstr "你确定要排除该对象吗?"
@@ -84,6 +90,9 @@ msgstr "自动校准"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "自动关闭通知" msgstr "自动关闭通知"
msgid "Auto-open Extrude On Pause"
msgstr "暂停打印时自动打开挤出控制界面"
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "自动滚屏" msgstr "自动滚屏"
@@ -157,12 +166,12 @@ msgstr "连接到 %s"
msgid "Console" msgid "Console"
msgstr "控制台" msgstr "控制台"
msgid "Continue"
msgstr "继续"
msgid "Cooldown" msgid "Cooldown"
msgstr "冷却" msgstr "冷却"
msgid "DPMS has failed to load and has been disabled"
msgstr "屏幕省电管理系统无法加载已禁用"
msgid "Date" msgid "Date"
msgstr "日期" msgstr "日期"
@@ -233,6 +242,9 @@ msgstr "文件"
msgid "File:" msgid "File:"
msgstr "文件:" msgstr "文件:"
msgid "Filter"
msgstr "筛选"
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "查找ADXL" msgstr "查找ADXL"
@@ -257,9 +269,6 @@ msgstr "字体大小"
msgid "Full Update" msgid "Full Update"
msgstr "更新全部" msgstr "更新全部"
msgid "Fullscreen"
msgstr "全屏"
msgid "Go Back" msgid "Go Back"
msgstr "返回" msgstr "返回"
@@ -273,7 +282,7 @@ msgid "Hide"
msgstr "隐藏" msgstr "隐藏"
msgid "Hide sensors in Temp." msgid "Hide sensors in Temp."
msgstr "在温度显示中隐藏其他传感器" msgstr "在温度显示中隐藏传感器"
msgid "Hide temp." msgid "Hide temp."
msgstr "隐藏温度" msgstr "隐藏温度"
@@ -302,6 +311,9 @@ msgstr "主机"
msgid "Hostname" msgid "Hostname"
msgstr "主机名" msgstr "主机名"
msgid "ID"
msgstr "ID"
msgid "Icon Theme" msgid "Icon Theme"
msgstr "主题" msgstr "主题"
@@ -356,12 +368,19 @@ msgstr "Klipper将重新启动"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen将重新启动" msgstr "KlipperScreen将重新启动"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr "LOAD_FILAMENT/UNLOAD_FILAMENT 被隐藏,应在挤出控制界面使用"
msgid "Language" msgid "Language"
msgstr "界面语言" msgstr "界面语言"
msgid "Large" msgid "Large"
msgstr "大" msgstr "大"
msgid "Last Used"
msgstr "上次使用"
msgid "Layer:" msgid "Layer:"
msgstr "层:" msgstr "层:"
@@ -386,6 +405,9 @@ msgstr "宏"
msgid "Main Menu" msgid "Main Menu"
msgstr "主菜单" msgstr "主菜单"
msgid "Material"
msgstr "材料"
msgid "Max" msgid "Max"
msgstr "最大" msgstr "最大"
@@ -446,6 +468,9 @@ msgstr "从不"
msgid "New" msgid "New"
msgstr "新的值" msgstr "新的值"
msgid "No elegible macros:"
msgstr "无可用宏:"
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -484,7 +509,7 @@ msgid "Pins"
msgstr "引脚" msgstr "引脚"
msgid "Please recompile and flash the micro-controller." msgid "Please recompile and flash the micro-controller."
msgstr "请重新编译并烧录微控制器。" msgstr "请重新编译并更新微控制器固件。"
msgid "Power" msgid "Power"
msgstr "电源" msgstr "电源"
@@ -508,7 +533,7 @@ msgid "Printer"
msgstr "打印机" msgstr "打印机"
msgid "Printer Connections" msgid "Printer Connections"
msgstr "打印机连接" msgstr "已连接的打印机"
msgid "Printer Select" msgid "Printer Select"
msgstr "打印机选择" msgstr "打印机选择"
@@ -535,10 +560,10 @@ msgid "Recover"
msgstr "恢复" msgstr "恢复"
msgid "Recover Hard" msgid "Recover Hard"
msgstr "硬恢复(git recover hard)" msgstr "版本回退(清空修改内容)"
msgid "Recover Soft" msgid "Recover Soft"
msgstr "软恢复(git reset)" msgstr "版本回退(保留修改内容)"
msgid "Reference" msgid "Reference"
msgstr "参考" msgstr "参考"
@@ -619,6 +644,9 @@ msgstr "显示"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "显示加热器功率" msgstr "显示加热器功率"
msgid "Show Scrollbars Buttons"
msgstr "显示滚动条按钮"
msgid "Shutdown" msgid "Shutdown"
msgstr "关闭" msgstr "关闭"
@@ -649,6 +677,9 @@ msgstr "速度:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "直角速度" msgstr "直角速度"
msgid "Standby"
msgstr "待机"
msgid "Start" msgid "Start"
msgstr "开始" msgstr "开始"
@@ -738,6 +769,12 @@ msgid "hour"
msgid_plural "hours" msgid_plural "hours"
msgstr[0] "小时" 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 "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "分" msgstr[0] "分"
@@ -754,6 +791,12 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "继续"
#~ msgid "Fullscreen"
#~ msgstr "全屏"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "控制" #~ msgstr "控制"
@@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: KlipperScreen\n" "Project-Id-Version: KlipperScreen\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-07-02 16:32-0300\n" "POT-Creation-Date: 2023-09-12 08:17-0300\n"
"PO-Revision-Date: 2023-07-07 16:44+0800\n" "PO-Revision-Date: 2023-07-07 16:44+0800\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@@ -46,6 +46,9 @@ msgstr "接受"
msgid "Add profile" msgid "Add profile"
msgstr "新增設定檔案" msgstr "新增設定檔案"
msgid "All"
msgstr ""
msgid "Apply" msgid "Apply"
msgstr "應用" msgstr "應用"
@@ -57,6 +60,9 @@ msgstr "將 %s%.3f 偏移量應用於限位?"
msgid "Apply %s%.3f offset to Probe?" msgid "Apply %s%.3f offset to Probe?"
msgstr "將 %s%.3f 偏移量應用於探針?" msgstr "將 %s%.3f 偏移量應用於探針?"
msgid "Archived"
msgstr ""
msgid "Are you sure do you want to exclude the object?" msgid "Are you sure do you want to exclude the object?"
msgstr "你確定要排除該目標嗎?" msgstr "你確定要排除該目標嗎?"
@@ -84,6 +90,9 @@ msgstr "自動校準"
msgid "Auto-close notifications" msgid "Auto-close notifications"
msgstr "自動關閉通知" msgstr "自動關閉通知"
msgid "Auto-open Extrude On Pause"
msgstr ""
msgid "Auto-scroll" msgid "Auto-scroll"
msgstr "自動滾屏" msgstr "自動滾屏"
@@ -157,12 +166,12 @@ msgstr "連線到 %s"
msgid "Console" msgid "Console"
msgstr "控制台" msgstr "控制台"
msgid "Continue"
msgstr "繼續"
msgid "Cooldown" msgid "Cooldown"
msgstr "冷卻" msgstr "冷卻"
msgid "DPMS has failed to load and has been disabled"
msgstr ""
msgid "Date" msgid "Date"
msgstr "日期" msgstr "日期"
@@ -233,6 +242,9 @@ msgstr "檔案"
msgid "File:" msgid "File:"
msgstr "檔案:" msgstr "檔案:"
msgid "Filter"
msgstr ""
msgid "Finding ADXL" msgid "Finding ADXL"
msgstr "查詢ADXL" msgstr "查詢ADXL"
@@ -257,9 +269,6 @@ msgstr "字型大小"
msgid "Full Update" msgid "Full Update"
msgstr "全部更新" msgstr "全部更新"
msgid "Fullscreen"
msgstr "全螢幕"
msgid "Go Back" msgid "Go Back"
msgstr "返回" msgstr "返回"
@@ -302,6 +311,9 @@ msgstr "主機"
msgid "Hostname" msgid "Hostname"
msgstr "主機名" msgstr "主機名"
msgid "ID"
msgstr ""
msgid "Icon Theme" msgid "Icon Theme"
msgstr "主題" msgstr "主題"
@@ -356,12 +368,19 @@ msgstr "Klipper將重新啟動"
msgid "KlipperScreen will reboot" msgid "KlipperScreen will reboot"
msgstr "KlipperScreen將重新啟動" msgstr "KlipperScreen將重新啟動"
msgid ""
"LOAD_FILAMENT/UNLOAD_FILAMENT are hidden and should be used from extrude"
msgstr ""
msgid "Language" msgid "Language"
msgstr "介面語言" msgstr "介面語言"
msgid "Large" msgid "Large"
msgstr "大" msgstr "大"
msgid "Last Used"
msgstr ""
msgid "Layer:" msgid "Layer:"
msgstr "層:" msgstr "層:"
@@ -386,6 +405,9 @@ msgstr "巨集"
msgid "Main Menu" msgid "Main Menu"
msgstr "主選單" msgstr "主選單"
msgid "Material"
msgstr ""
msgid "Max" msgid "Max"
msgstr "最大" msgstr "最大"
@@ -446,6 +468,9 @@ msgstr "從不"
msgid "New" msgid "New"
msgstr "新的值" msgstr "新的值"
msgid "No elegible macros:"
msgstr ""
msgid "" msgid ""
"Not supported for auto-detection, it needs to be configured in klipperscreen." "Not supported for auto-detection, it needs to be configured in klipperscreen."
"conf" "conf"
@@ -619,6 +644,9 @@ msgstr "顯示"
msgid "Show Heater Power" msgid "Show Heater Power"
msgstr "顯示加熱器功率" msgstr "顯示加熱器功率"
msgid "Show Scrollbars Buttons"
msgstr ""
msgid "Shutdown" msgid "Shutdown"
msgstr "關閉" msgstr "關閉"
@@ -649,6 +677,9 @@ msgstr "速度:"
msgid "Square Corner Velocity" msgid "Square Corner Velocity"
msgstr "直角速度" msgstr "直角速度"
msgid "Standby"
msgstr ""
msgid "Start" msgid "Start"
msgstr "開始" msgstr "開始"
@@ -738,6 +769,12 @@ msgid "hour"
msgid_plural "hours" msgid_plural "hours"
msgstr[0] "小時" msgstr[0] "小時"
msgid "macros that use 'rename_existing' are hidden"
msgstr ""
msgid "macros with a name starting with '_' are hidden"
msgstr ""
msgid "minute" msgid "minute"
msgid_plural "minutes" msgid_plural "minutes"
msgstr[0] "分" msgstr[0] "分"
@@ -754,6 +791,12 @@ msgstr "mm/s²"
msgid "mm³/s" msgid "mm³/s"
msgstr "mm³/s" msgstr "mm³/s"
#~ msgid "Continue"
#~ msgstr "繼續"
#~ msgid "Fullscreen"
#~ msgstr "全螢幕"
#~ msgid "Actions" #~ msgid "Actions"
#~ msgstr "控制" #~ msgstr "控制"
+74 -12
View File
@@ -18,12 +18,16 @@ class Printer:
self.extrudercount = 0 self.extrudercount = 0
self.tempdevcount = 0 self.tempdevcount = 0
self.fancount = 0 self.fancount = 0
self.ledcount = 0
self.output_pin_count = 0 self.output_pin_count = 0
self.store_timeout = None self.store_timeout = None
self.tempstore = {} self.tempstore = {}
self.busy_cb = busy_cb self.busy_cb = busy_cb
self.busy = False self.busy = False
self.tempstore_size = 1200 self.tempstore_size = 1200
self.cameras = []
self.available_commands = {}
self.spoolman = False
def reinit(self, printer_info, data): def reinit(self, printer_info, data):
self.config = data['configfile']['config'] self.config = data['configfile']['config']
@@ -33,12 +37,14 @@ class Printer:
self.extrudercount = 0 self.extrudercount = 0
self.tempdevcount = 0 self.tempdevcount = 0
self.fancount = 0 self.fancount = 0
self.ledcount = 0
self.output_pin_count = 0 self.output_pin_count = 0
self.tempstore = {} self.tempstore = {}
self.busy = False self.busy = False
if not self.store_timeout: if not self.store_timeout:
self.store_timeout = GLib.timeout_add_seconds(1, self._update_temp_store) self.store_timeout = GLib.timeout_add_seconds(1, self._update_temp_store)
self.tempstore_size = 1200 self.tempstore_size = 1200
self.available_commands = {}
for x in self.config.keys(): for x in self.config.keys():
if x[:8] == "extruder": if x[:8] == "extruder":
@@ -84,6 +90,14 @@ class Printer:
r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")] r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")]
except KeyError: except KeyError:
logging.debug(f"Couldn't load mesh {x}: {self.config[x]}") 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) self.process_update(data)
logging.info(f"Klipper version: {printer_info['software_version']}") logging.info(f"Klipper version: {printer_info['software_version']}")
@@ -91,11 +105,12 @@ class Printer:
logging.info(f"# Temperature devices: {self.tempdevcount}") logging.info(f"# Temperature devices: {self.tempdevcount}")
logging.info(f"# Fans: {self.fancount}") logging.info(f"# Fans: {self.fancount}")
logging.info(f"# Output pins: {self.output_pin_count}") logging.info(f"# Output pins: {self.output_pin_count}")
logging.info(f"# Leds: {self.ledcount}")
def process_update(self, data): def process_update(self, data):
if self.data is None: if self.data is None:
return 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: if x in data:
for i in data[x]: for i in data[x]:
self.set_dev_stat(x, i, data[x][i]) self.set_dev_stat(x, i, data[x][i])
@@ -160,6 +175,10 @@ class Printer:
} }
logging.debug(f"Power devices: {self.power_devices}") logging.debug(f"Power devices: {self.power_devices}")
def configure_cameras(self, data):
self.cameras = data
logging.debug(f"Cameras: {self.cameras}")
def get_config_section_list(self, search=""): def get_config_section_list(self, search=""):
if self.config is not None: if self.config is not None:
return [i for i in list(self.config) if i.startswith(search)] if hasattr(self, "config") else [] return [i for i in list(self.config) if i.startswith(search)] if hasattr(self, "config") else []
@@ -193,11 +212,19 @@ class Printer:
return output_pins return output_pins
def get_gcode_macros(self): 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): def get_heaters(self):
heaters = [] heaters = []
if self.has_heated_bed(): if "heater_bed" in self.devices:
heaters.append("heater_bed") heaters.append("heater_bed")
heaters.extend(iter(self.get_config_section_list("heater_generic "))) heaters.extend(iter(self.get_config_section_list("heater_generic ")))
heaters.extend(iter(self.get_config_section_list("temperature_sensor "))) heaters.extend(iter(self.get_config_section_list("temperature_sensor ")))
@@ -228,6 +255,9 @@ class Printer:
"idle_timeout": self.get_stat("idle_timeout").copy(), "idle_timeout": self.get_stat("idle_timeout").copy(),
"pause_resume": {"is_paused": self.state == "paused"}, "pause_resume": {"is_paused": self.state == "paused"},
"power_devices": {"count": len(self.get_power_devices())}, "power_devices": {"count": len(self.get_power_devices())},
"cameras": {"count": len(self.cameras)},
"spoolman": self.spoolman,
"leds": {"count": self.ledcount},
} }
} }
@@ -242,6 +272,32 @@ class Printer:
return data 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): def get_power_devices(self):
return list(self.power_devices) return list(self.power_devices)
@@ -311,25 +367,27 @@ class Printer:
temp[section] = self.tempstore[device][section][-results:] temp[section] = self.tempstore[device][section][-results:]
return temp 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): def get_tools(self):
return self.tools return self.tools
def get_tool_number(self, tool): def get_tool_number(self, tool):
return self.tools.index(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): def init_temp_store(self, tempstore):
if not tempstore or 'result' not in tempstore: if self.tempstore and list(self.tempstore) != list(tempstore):
return
if self.tempstore and list(self.tempstore) != list(tempstore['result']):
logging.debug("Tempstore has changed") logging.debug("Tempstore has changed")
self.tempstore = tempstore['result'] self.tempstore = tempstore
self.change_state(self.state) self.change_state(self.state)
else: else:
self.tempstore = tempstore['result'] self.tempstore = tempstore
for device in self.tempstore: for device in self.tempstore:
for x in self.tempstore[device]: for x in self.tempstore[device]:
length = len(self.tempstore[device][x]) length = len(self.tempstore[device][x])
@@ -358,3 +416,7 @@ class Printer:
temp = 0 temp = 0
self.tempstore[device][x].append(temp) self.tempstore[device][x].append(temp)
return True return True
def enable_spoolman(self):
logging.info("Enabling Spoolman")
self.spoolman = True
+3 -5
View File
@@ -52,23 +52,21 @@ class Keypad(Gtk.Box):
self.pid = self._gtk.Button('heat-up', _('Calibrate') + ' PID', None, .66, Gtk.PositionType.LEFT, 1) self.pid = self._gtk.Button('heat-up', _('Calibrate') + ' PID', None, .66, Gtk.PositionType.LEFT, 1)
self.pid.connect("clicked", self.update_entry, "PID") self.pid.connect("clicked", self.update_entry, "PID")
self.pid.set_sensitive(False) self.pid.set_sensitive(False)
self.pid.set_no_show_all(True)
b = self._gtk.Button('cancel', _('Close'), None, .66, Gtk.PositionType.LEFT, 1) b = self._gtk.Button('cancel', _('Close'), None, .66, Gtk.PositionType.LEFT, 1)
b.connect("clicked", close_function) b.connect("clicked", close_function)
self.add(self.labels['entry']) self.add(self.labels['entry'])
self.add(numpad) self.add(numpad)
self.bottom = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL) self.bottom = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
self.bottom.add(self.pid)
self.bottom.add(b) self.bottom.add(b)
self.add(self.bottom) self.add(self.bottom)
self.labels["keypad"] = numpad self.labels["keypad"] = numpad
def show_pid(self, can_pid): def show_pid(self, can_pid):
if can_pid and self.pid not in self.bottom: self.pid.set_visible(can_pid)
self.bottom.add(self.pid)
self.bottom.reorder_child(self.pid, 0)
elif self.pid in self.bottom:
self.bottom.remove(self.pid)
def clear(self): def clear(self):
self.labels['entry'].set_text("") self.labels['entry'].set_text("")
+2 -1
View File
@@ -11,6 +11,7 @@ from gi.repository import GLib
from contextlib import suppress from contextlib import suppress
from ks_includes.wifi import WifiChannels from ks_includes.wifi import WifiChannels
from ks_includes import NetworkManager from ks_includes import NetworkManager
from dbus.mainloop.glib import DBusGMainLoop
class WifiManager: class WifiManager:
@@ -18,7 +19,7 @@ class WifiManager:
def __init__(self, interface_name, *args, **kwargs): def __init__(self, interface_name, *args, **kwargs):
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) DBusGMainLoop(set_as_default=True)
self._callbacks = { self._callbacks = {
"connected": [], "connected": [],
"connecting_status": [], "connecting_status": [],
+7 -5
View File
@@ -3,8 +3,8 @@ site_url: https://klipperscreen.readthedocs.io
site_description: >- site_description: >-
KlipperScreen documentation. KlipperScreen documentation.
repo_name: jordanruthe/KlipperScreen/ repo_name: KlipperScreen/KlipperScreen/
repo_url: https://github.com/jordanruthe/KlipperScreen/ repo_url: https://github.com/KlipperScreen/KlipperScreen/
nav: nav:
- Home: index.md - Home: index.md
- Setup: - Setup:
@@ -21,9 +21,11 @@ nav:
- First Steps/Log: Troubleshooting.md - First Steps/Log: Troubleshooting.md
- Network: Troubleshooting/Network.md - Network: Troubleshooting/Network.md
- Physical install: Troubleshooting/Physical_Install.md - Physical install: Troubleshooting/Physical_Install.md
- Showing Console: Troubleshooting/Showing_console.md - Wrong Framebuffer: Troubleshooting/Framebuffer.md
- Touch: Troubleshooting/Touch_issues.md - Touch: Troubleshooting/Touch_issues.md
- Virtual Console Error: Troubleshooting/VC_ERROR.md - Virtual Console Error: Troubleshooting/VC_ERROR.md
- FBturbo: Troubleshooting/FBturbo.md
- Last resort: Troubleshooting/Last_resort.md
- Screenshots: Panels.md - Screenshots: Panels.md
- Panels: - Panels:
- Bed Level/Screws: Panels/Screws.md - Bed Level/Screws: Panels/Screws.md
@@ -33,7 +35,7 @@ nav:
- Theming.md - Theming.md
- Translations.md - Translations.md
- Breaking Changes: Changelog.md - Breaking Changes: Changelog.md
- Developers.md
- Contact.md - Contact.md
theme: theme:
name: material name: material
@@ -68,7 +70,7 @@ markdown_extensions:
extra: extra:
social: social:
- icon: fontawesome/brands/github - icon: fontawesome/brands/github
link: https://github.com/jordanruthe/klipperScreen/ link: https://github.com/KlipperScreen/KlipperScreen/
- icon: fontawesome/brands/discord - icon: fontawesome/brands/discord
link: https://discord.klipper3d.org/ link: https://discord.klipper3d.org/
- icon: fontawesome/brands/python - icon: fontawesome/brands/python
+49 -75
View File
@@ -21,10 +21,6 @@ class BasePanel(ScreenPanel):
self.time_update = None self.time_update = None
self.titlebar_items = [] self.titlebar_items = []
self.titlebar_name_type = None self.titlebar_name_type = None
self.buttons_showing = {
'macros_shortcut': False,
'printer_select': len(self._config.get_printers()) > 1,
}
self.current_extruder = None self.current_extruder = None
# Action bar buttons # Action bar buttons
abscale = self.bts * 1.1 abscale = self.bts * 1.1
@@ -32,19 +28,22 @@ class BasePanel(ScreenPanel):
self.control['back'].connect("clicked", self.back) self.control['back'].connect("clicked", self.back)
self.control['home'] = self._gtk.Button('main', scale=abscale) self.control['home'] = self._gtk.Button('main', scale=abscale)
self.control['home'].connect("clicked", self._screen._menu_go_back, True) self.control['home'].connect("clicked", self._screen._menu_go_back, True)
if len(self._config.get_printers()) > 1:
self.control['printer_select'] = self._gtk.Button('shuffle', scale=abscale)
self.control['printer_select'].connect("clicked", self._screen.show_printer_select)
self.control['macros_shortcut'] = self._gtk.Button('custom-script', scale=abscale)
self.control['macros_shortcut'].connect("clicked", self.menu_item_clicked, {
"name": "Macros",
"panel": "gcode_macros"
})
self.control['estop'] = self._gtk.Button('emergency', scale=abscale) self.control['estop'] = self._gtk.Button('emergency', scale=abscale)
self.control['estop'].connect("clicked", self.emergency_stop) self.control['estop'].connect("clicked", self.emergency_stop)
for control in self.control:
self.set_control_sensitive(False, control)
self.control['printer_select'] = self._gtk.Button('shuffle', scale=abscale)
self.control['printer_select'].connect("clicked", self._screen.show_printer_select)
self.control['printer_select'].set_no_show_all(True)
self.shorcut = {
"name": "Macros",
"panel": "gcode_macros",
"icon": "custom-script",
}
self.control['shortcut'] = self._gtk.Button(self.shorcut['icon'], scale=abscale)
self.control['shortcut'].connect("clicked", self.menu_item_clicked, self.shorcut)
self.control['shortcut'].set_no_show_all(True)
# Any action bar button should close the keyboard # Any action bar button should close the keyboard
for item in self.control: for item in self.control:
@@ -62,12 +61,10 @@ class BasePanel(ScreenPanel):
self.action_bar.set_size_request(self._gtk.action_bar_width, self._gtk.action_bar_height) self.action_bar.set_size_request(self._gtk.action_bar_width, self._gtk.action_bar_height)
self.action_bar.add(self.control['back']) self.action_bar.add(self.control['back'])
self.action_bar.add(self.control['home']) self.action_bar.add(self.control['home'])
self.show_back(False) self.action_bar.add(self.control['printer_select'])
if self.buttons_showing['printer_select']: self.action_bar.add(self.control['shortcut'])
self.action_bar.add(self.control['printer_select'])
self.show_macro_shortcut(self._config.get_main_config().getboolean('side_macro_shortcut', True))
self.action_bar.add(self.control['estop']) self.action_bar.add(self.control['estop'])
self.show_estop(False) self.show_printer_select(len(self._config.get_printers()) > 1)
# Titlebar # Titlebar
@@ -112,11 +109,12 @@ class BasePanel(ScreenPanel):
try: try:
for child in self.control['temp_box'].get_children(): for child in self.control['temp_box'].get_children():
self.control['temp_box'].remove(child) self.control['temp_box'].remove(child)
if not show or self._printer.get_temp_store_devices() is None: devices = self._printer.get_temp_devices()
if not show or not devices:
return return
img_size = self._gtk.img_scale * self.bts img_size = self._gtk.img_scale * self.bts
for device in self._printer.get_temp_store_devices(): for device in devices:
self.labels[device] = Gtk.Label() self.labels[device] = Gtk.Label()
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START) self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
@@ -130,18 +128,16 @@ class BasePanel(ScreenPanel):
nlimit = int(round(log(self._screen.width, 10) * 5 - 10.5)) nlimit = int(round(log(self._screen.width, 10) * 5 - 10.5))
n = 0 n = 0
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 and f"{self.current_extruder}_box" in self.labels:
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"])
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'])
n += 1 n += 1
# Options in the config have priority for device in devices:
for device in self._printer.get_temp_store_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 # Users can fill the bar if they want
if n >= nlimit + 1: if n >= nlimit + 1:
break break
@@ -153,7 +149,7 @@ class BasePanel(ScreenPanel):
break break
# If there is enough space fill with heater_generic # If there is enough space fill with heater_generic
for device in self._printer.get_temp_store_devices(): for device in self._printer.get_heaters():
if n >= nlimit: if n >= nlimit:
break break
if device.startswith("heater_generic"): if device.startswith("heater_generic"):
@@ -188,6 +184,12 @@ class BasePanel(ScreenPanel):
self.time_update = GLib.timeout_add_seconds(1, self.update_time) self.time_update = GLib.timeout_add_seconds(1, self.update_time)
def add_content(self, panel): 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)
self.show_heaters(show)
self.set_control_sensitive(show, control='estop')
for control in ('back', 'home'):
self.set_control_sensitive(len(self._screen._cur_panels) > 1, control=control)
self.current_panel = panel self.current_panel = panel
self.set_title(panel.title) self.set_title(panel.title)
self.content.add(panel.content) self.content.add(panel.content)
@@ -195,9 +197,7 @@ class BasePanel(ScreenPanel):
def back(self, widget=None): def back(self, widget=None):
if self.current_panel is None: if self.current_panel is None:
return return
self._screen.remove_keyboard() self._screen.remove_keyboard()
if hasattr(self.current_panel, "back") \ if hasattr(self.current_panel, "back") \
and not self.current_panel.back() \ and not self.current_panel.back() \
or not hasattr(self.current_panel, "back"): or not hasattr(self.current_panel, "back"):
@@ -226,7 +226,7 @@ class BasePanel(ScreenPanel):
if action != "notify_status_update" or self._screen.printer is None: if action != "notify_status_update" or self._screen.printer is None:
return return
devices = self._printer.get_temp_store_devices() devices = (self._printer.get_temp_devices())
if devices is not None: if devices is not None:
for device in devices: for device in devices:
temp = self._printer.get_dev_stat(device, "temperature") temp = self._printer.get_dev_stat(device, "temperature")
@@ -254,39 +254,20 @@ class BasePanel(ScreenPanel):
def remove(self, widget): def remove(self, widget):
self.content.remove(widget) self.content.remove(widget)
def show_back(self, show=True): def set_control_sensitive(self, value=True, control='shortcut'):
if show: self.control[control].set_sensitive(value)
self.control['back'].set_sensitive(True)
self.control['home'].set_sensitive(True)
return
self.control['back'].set_sensitive(False)
self.control['home'].set_sensitive(False)
def show_macro_shortcut(self, show=True): def show_shortcut(self, show=True):
if show is True and self.buttons_showing['macros_shortcut'] is False: show = (
self.action_bar.add(self.control['macros_shortcut']) show
if self.buttons_showing['printer_select'] is False: and self._config.get_main_config().getboolean('side_macro_shortcut', True)
self.action_bar.reorder_child(self.control['macros_shortcut'], 2) and self._printer.get_printer_status_data()["printer"]["gcode_macros"]["count"] > 0
else: )
self.action_bar.reorder_child(self.control['macros_shortcut'], 3) self.control['shortcut'].set_visible(show)
self.control['macros_shortcut'].show() self.set_control_sensitive(self._screen._cur_panels[-1] != self.shorcut['panel'])
self.buttons_showing['macros_shortcut'] = True
elif show is False and self.buttons_showing['macros_shortcut'] is True:
self.action_bar.remove(self.control['macros_shortcut'])
self.buttons_showing['macros_shortcut'] = False
def toggle_macro_shorcut_sensitive(self, value=True):
self.control['macros_shortcut'].set_sensitive(value)
def show_printer_select(self, show=True): def show_printer_select(self, show=True):
if show and self.buttons_showing['printer_select'] is False: self.control['printer_select'].set_visible(show)
self.action_bar.add(self.control['printer_select'])
self.action_bar.reorder_child(self.control['printer_select'], 2)
self.buttons_showing['printer_select'] = True
self.control['printer_select'].show()
elif show is False and self.buttons_showing['printer_select']:
self.action_bar.remove(self.control['printer_select'])
self.buttons_showing['printer_select'] = False
def set_title(self, title): def set_title(self, title):
if not title: if not title:
@@ -314,12 +295,6 @@ class BasePanel(ScreenPanel):
self.time_format = confopt self.time_format = confopt
return True return True
def show_estop(self, show=True):
if show:
self.control['estop'].set_sensitive(True)
return
self.control['estop'].set_sensitive(False)
def set_ks_printer_cfg(self, printer): def set_ks_printer_cfg(self, printer):
ScreenPanel.ks_printer_cfg = self._config.get_printer_config(printer) ScreenPanel.ks_printer_cfg = self._config.get_printer_config(printer)
if self.ks_printer_cfg is not None: if self.ks_printer_cfg is not None:
@@ -339,15 +314,14 @@ class BasePanel(ScreenPanel):
self.labels['update_progress'].set_halign(Gtk.Align.START) self.labels['update_progress'].set_halign(Gtk.Align.START)
self.labels['update_progress'].set_valign(Gtk.Align.START) self.labels['update_progress'].set_valign(Gtk.Align.START)
self.labels['update_progress'].set_ellipsize(Pango.EllipsizeMode.END) 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'].set_property("overlay-scrolling", True)
self.labels['update_scroll'].add(self.labels['update_progress']) self.labels['update_scroll'].add(self.labels['update_progress'])
self.labels['update_scroll'].connect("size-allocate", self._autoscroll) 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.connect("delete-event", self.close_update_dialog)
dialog.set_response_sensitive(Gtk.ResponseType.OK, False) dialog.set_response_sensitive(Gtk.ResponseType.OK, False)
dialog.get_widget_for_response(Gtk.ResponseType.OK).hide() dialog.get_widget_for_response(Gtk.ResponseType.OK).hide()
dialog.set_title(_("Updating"))
self.update_dialog = dialog self.update_dialog = dialog
self._screen.updating = True self._screen.updating = True
+15 -15
View File
@@ -165,7 +165,7 @@ class Panel(ScreenPanel):
self.buttons['rm'] = self._gtk.Button("bed-level-r-m", scale=button_scale) self.buttons['rm'] = self._gtk.Button("bed-level-r-m", scale=button_scale)
self.buttons['fm'] = self._gtk.Button("bed-level-b-m", scale=button_scale) self.buttons['fm'] = self._gtk.Button("bed-level-b-m", scale=button_scale)
self.buttons['bm'] = self._gtk.Button("bed-level-t-m", scale=button_scale) self.buttons['bm'] = self._gtk.Button("bed-level-t-m", scale=button_scale)
self.buttons['center'] = self._gtk.Button("increase", scale=button_scale) self.buttons['center'] = self._gtk.Button("increase", scale=button_scale / 2)
bedgrid = Gtk.Grid() bedgrid = Gtk.Grid()
@@ -290,22 +290,26 @@ class Panel(ScreenPanel):
'lm': lm 'lm': lm
} }
self.screw_dict['center'] = center self.screw_dict['center'] = center
remove_list = []
for screw in self.screw_dict:
if screw not in screw_positions:
remove_list.append(screw)
for screw in remove_list:
self.screw_dict.pop(screw)
grid.attach(bedgrid, 1, 0, 3, 2) grid.attach(bedgrid, 1, 0, 3, 2)
self.content.add(grid) self.content.add(grid)
def activate(self):
for key, value in self.screw_dict.items():
self.buttons[key].set_label(f"{value}")
def home(self): def home(self):
# Test if all axes have been homed. Home if necessary. # Test if all axes have been homed. Home if necessary.
if self._printer.get_stat("toolhead", "homed_axes") != "xyz": if self._printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME) self._screen._ws.klippy.gcode_script("G28")
# do Z_TILT_CALIBRATE if applicable. # do Z_TILT_CALIBRATE if applicable.
if self._printer.config_section_exists("z_tilt"): if self._printer.config_section_exists("z_tilt"):
self._screen._ws.klippy.gcode_script(KlippyGcodes.Z_TILT) self._screen._ws.klippy.gcode_script("Z_TILT_ADJUST")
def go_to_position(self, widget, position): def go_to_position(self, widget, position):
widget.set_sensitive(False)
self.home() self.home()
logging.debug(f"Going to position: {position}") logging.debug(f"Going to position: {position}")
script = [ script = [
@@ -314,15 +318,10 @@ class Panel(ScreenPanel):
f"G1 X{position[0]} Y{position[1]} F{self.horizontal_speed * 60}\n", f"G1 X{position[0]} Y{position[1]} F{self.horizontal_speed * 60}\n",
f"G1 Z{self.probe_z_height} F{self.lift_speed * 60}\n" f"G1 Z{self.probe_z_height} F{self.lift_speed * 60}\n"
] ]
self._screen._send_action(widget, "printer.gcode.script", {"script": "\n".join(script)})
self._screen._ws.klippy.gcode_script(
"\n".join(script)
)
def disable_motors(self, widget): def disable_motors(self, widget):
self._screen._ws.klippy.gcode_script( self._screen._send_action(widget, "printer.gcode.script", {"script": "M18"})
"M18" # Disable motors
)
def process_busy(self, busy): def process_busy(self, busy):
for button in self.buttons: for button in self.buttons:
@@ -401,7 +400,8 @@ class Panel(ScreenPanel):
return sorted(screws, key=lambda s: (float(s[1]), float(s[0]))) return sorted(screws, key=lambda s: (float(s[1]), float(s[0])))
def screws_tilt_calculate(self, widget): def screws_tilt_calculate(self, widget):
widget.set_sensitive(False)
self.home() self.home()
self.response_count = 0 self.response_count = 0
self.buttons['screws'].set_sensitive(False) self.buttons['screws'].set_sensitive(False)
self._screen._ws.klippy.gcode_script("SCREWS_TILT_CALCULATE") self._screen._send_action(widget, "printer.gcode.script", {"script": "SCREWS_TILT_CALCULATE"})
+11 -22
View File
@@ -1,3 +1,4 @@
import contextlib
import logging import logging
import gi import gi
@@ -60,8 +61,8 @@ class Panel(ScreenPanel):
def activate(self): def activate(self):
self.load_meshes() self.load_meshes()
if not self._printer.get_stat('bed_mesh', 'profile_name') and 'default' in self.profiles: with contextlib.suppress(KeyError):
self.send_load_mesh(None, 'default') # this is not the default behaviour of klipper anymore self.activate_mesh(self._printer.get_stat("bed_mesh", "profile_name"))
def activate_mesh(self, profile): def activate_mesh(self, profile):
if self.active_mesh is not None: if self.active_mesh is not None:
@@ -172,20 +173,7 @@ class Panel(ScreenPanel):
if prof not in bm_profiles: if prof not in bm_profiles:
self.remove_profile(prof) self.remove_profile(prof)
def process_busy(self, busy):
for button in self.buttons:
if button == 'clear':
self.buttons[button].set_sensitive(self.active_mesh is not None)
continue
self.buttons[button].set_sensitive((not busy))
for profile in self.profiles:
self.profiles[profile]["save"].set_sensitive((not busy))
self.profiles[profile]["delete"].set_sensitive((not busy))
def process_update(self, action, data): def process_update(self, action, data):
if action == "notify_busy":
self.process_busy(data)
return
if action != "notify_status_update": if action != "notify_status_update":
return return
if 'bed_mesh' in data and 'profile_name' in data['bed_mesh']: if 'bed_mesh' in data and 'profile_name' in data['bed_mesh']:
@@ -257,29 +245,30 @@ class Panel(ScreenPanel):
if self.active_mesh is None: if self.active_mesh is None:
self.calibrate_mesh(None) self.calibrate_mesh(None)
self._screen._ws.klippy.gcode_script(f"BED_MESH_PROFILE SAVE={name}") self._screen._send_action(widget, "printer.gcode.script", {"script": f"BED_MESH_PROFILE SAVE={name}"})
self.remove_create() self.remove_create()
def calibrate_mesh(self, widget): def calibrate_mesh(self, widget):
widget.set_sensitive(False)
self._screen.show_popup_message(_("Calibrating"), level=1) self._screen.show_popup_message(_("Calibrating"), level=1)
if self._printer.get_stat("toolhead", "homed_axes") != "xyz": if self._printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME) self._screen._ws.klippy.gcode_script("G28")
self._screen._ws.klippy.gcode_script("BED_MESH_CALIBRATE") self._screen._send_action(widget, "printer.gcode.script", {"script": "BED_MESH_CALIBRATE"})
# Load zcalibrate to do a manual mesh # Load zcalibrate to do a manual mesh
if not self._printer.get_probe(): if not self._printer.get_probe():
self.menu_item_clicked(widget, {"name": _("Mesh calibrate"), "panel": "zcalibrate"}) self.menu_item_clicked(widget, {"name": _("Mesh calibrate"), "panel": "zcalibrate"})
def send_clear_mesh(self, widget): def send_clear_mesh(self, widget):
self._screen._ws.klippy.gcode_script("BED_MESH_CLEAR") self._screen._send_action(widget, "printer.gcode.script", {"script": "BED_MESH_CLEAR"})
def send_load_mesh(self, widget, profile): def send_load_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script(KlippyGcodes.bed_mesh_load(profile)) self._screen._send_action(widget, "printer.gcode.script", {"script": KlippyGcodes.bed_mesh_load(profile)})
def send_save_mesh(self, widget, profile): def send_save_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script(KlippyGcodes.bed_mesh_save(profile)) self._screen._send_action(widget, "printer.gcode.script", {"script": KlippyGcodes.bed_mesh_save(profile)})
def send_remove_mesh(self, widget, profile): def send_remove_mesh(self, widget, profile):
self._screen._ws.klippy.gcode_script(KlippyGcodes.bed_mesh_remove(profile)) self._screen._send_action(widget, "printer.gcode.script", {"script": KlippyGcodes.bed_mesh_remove(profile)})
self.remove_profile(profile) self.remove_profile(profile)
+48 -33
View File
@@ -12,35 +12,57 @@ class Panel(ScreenPanel):
def __init__(self, screen, title): def __init__(self, screen, title):
super().__init__(screen, title) super().__init__(screen, title)
self.mpv = None self.mpv = None
self.da = Gtk.DrawingArea()
self.da.set_hexpand(True)
self.da.set_vexpand(True)
fs = self._gtk.Button("move", _("Fullscreen"), None, self.bts, Gtk.PositionType.LEFT, 1)
fs.connect("clicked", self.play)
fs.set_hexpand(True)
fs.set_vexpand(False)
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
box.add(self.da) for i, cam in enumerate(self._printer.cameras):
box.add(fs) if not cam["enabled"]:
self.content.add(box) continue
logging.info(cam)
cam[cam["name"]] = self._gtk.Button(
image_name="camera", label=cam["name"], style=f"color{i % 4 + 1}",
scale=self.bts, position=Gtk.PositionType.LEFT, lines=1
)
cam[cam["name"]].set_hexpand(True)
cam[cam["name"]].set_vexpand(True)
cam[cam["name"]].connect("clicked", self.play, cam)
box.add(cam[cam["name"]])
self.scroll = self._gtk.ScrolledWindow()
self.scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
self.scroll.add(box)
self.content.add(self.scroll)
self.content.show_all() self.content.show_all()
self.url = self.ks_printer_cfg.get("camera_url", "http://127.0.0.1/webcam/?action=stream").replace('"', '')
logging.debug(f"Camera URL: {self.url}")
def activate(self): def activate(self):
self.play() # if only 1 cam start playing fullscreen
if len(self._printer.cameras) == 1:
cam = next(iter(self._printer.cameras))
if cam['enabled']:
self.play(None, cam)
def deactivate(self): def deactivate(self):
if self.mpv: if self.mpv:
self.mpv.terminate() self.mpv.terminate()
self.mpv = None self.mpv = None
def play(self, fs=None): def play(self, widget, cam):
url = cam['stream_url']
if url.startswith('/'):
logging.info("camera URL is relative")
endpoint = self._screen.apiclient.endpoint.split(':')
url = f"{endpoint[0]}:{endpoint[1]}{url}"
vf = ""
if cam["flip_horizontal"]:
vf += "hflip,"
if cam["flip_vertical"]:
vf += "vflip,"
vf += f"rotate:{cam['rotation']*3.14159/180}"
logging.info(f"video filters: {vf}")
if self.mpv: if self.mpv:
self.mpv.terminate() self.mpv.terminate()
self.mpv = None self.mpv = mpv.MPV(fullscreen=True, log_handler=self.log, vo='gpu,wlshm,xv,x11')
# Create mpv after show or the 'window' property will be None
self.mpv = mpv.MPV(log_handler=self.log, vo='gpu,wlshm,xv,x11') self.mpv.vf = vf
with suppress(Exception): with suppress(Exception):
self.mpv.profile = 'sw-fast' self.mpv.profile = 'sw-fast'
@@ -51,22 +73,13 @@ class Panel(ScreenPanel):
self.mpv.untimed = True self.mpv.untimed = True
self.mpv.audio = 'no' self.mpv.audio = 'no'
# On wayland mpv cannot be embedded at least for now
# https://github.com/mpv-player/mpv/issues/9654
# if fs:
self.mpv.fullscreen = True
@self.mpv.on_key_press('MBTN_LEFT' or 'MBTN_LEFT_DBL') @self.mpv.on_key_press('MBTN_LEFT' or 'MBTN_LEFT_DBL')
def clicked(): def clicked():
self.mpv.quit(0) self.mpv.quit(0)
# else:
# self.mpv.wid = f'{self.da.get_property("window").get_xid()}' logging.debug(f"Camera URL: {url}")
# self.mpv.play(url)
# @self.mpv.on_key_press('MBTN_LEFT' or 'MBTN_LEFT_DBL')
# def clicked():
# self._screen.show_popup_message(self.url, level=1)
self.mpv.play(self.url)
# if fs:
try: try:
self.mpv.wait_for_playback() self.mpv.wait_for_playback()
except mpv.ShutdownError: except mpv.ShutdownError:
@@ -75,8 +88,10 @@ class Panel(ScreenPanel):
logging.exception(e) logging.exception(e)
self.mpv.terminate() self.mpv.terminate()
self.mpv = None self.mpv = None
self._screen._menu_go_back() if len(self._printer.cameras) == 1:
self._screen._menu_go_back()
@staticmethod def log(self, loglevel, component, message):
def log(loglevel, component, message):
logging.debug(f'[{loglevel}] {component}: {message}') logging.debug(f'[{loglevel}] {component}: {message}')
if loglevel == 'error' and 'No Xvideo support found' not in message:
self._screen.show_popup_message(f'{message}')
+37 -21
View File
@@ -13,7 +13,7 @@ class Panel(ScreenPanel):
def __init__(self, screen, title): def __init__(self, screen, title):
super().__init__(screen, title) super().__init__(screen, title)
self.current_extruder = self._printer.get_stat("toolhead", "extruder") 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.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) self.unload_filament = any("UNLOAD_FILAMENT" in macro.upper() for macro in macros)
@@ -39,6 +39,7 @@ class Panel(ScreenPanel):
'unload': self._gtk.Button("arrow-up", _("Unload"), "color2"), 'unload': self._gtk.Button("arrow-up", _("Unload"), "color2"),
'retract': self._gtk.Button("retract", _("Retract"), "color1"), 'retract': self._gtk.Button("retract", _("Retract"), "color1"),
'temperature': self._gtk.Button("heat-up", _("Temperature"), "color4"), 'temperature': self._gtk.Button("heat-up", _("Temperature"), "color4"),
'spoolman': self._gtk.Button("spoolman", "Spoolman", "color3"),
} }
self.buttons['extrude'].connect("clicked", self.extrude, "+") self.buttons['extrude'].connect("clicked", self.extrude, "+")
self.buttons['load'].connect("clicked", self.load_unload, "+") self.buttons['load'].connect("clicked", self.load_unload, "+")
@@ -48,17 +49,19 @@ class Panel(ScreenPanel):
"name": "Temperature", "name": "Temperature",
"panel": "temperature" "panel": "temperature"
}) })
self.buttons['spoolman'].connect("clicked", self.menu_item_clicked, {
"name": "Spoolman",
"panel": "spoolman"
})
extgrid = self._gtk.HomogeneousGrid() extgrid = self._gtk.HomogeneousGrid()
limit = 5 limit = 5
i = 0 i = 0
for extruder in self._printer.get_tools(): for extruder in self._printer.get_tools():
if self._printer.extrudercount > 1: 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] = self._gtk.Button(f"extruder-{i}", f"T{self._printer.get_tool_number(extruder)}")
self.labels[extruder].connect("clicked", self.change_extruder, extruder)
else: else:
self.labels[extruder] = self._gtk.Button("extruder", "") 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: if extruder == self.current_extruder:
self.labels[extruder].get_style_context().add_class("button_active") self.labels[extruder].get_style_context().add_class("button_active")
if i < limit: if i < limit:
@@ -66,6 +69,8 @@ class Panel(ScreenPanel):
i += 1 i += 1
if i < (limit - 1): if i < (limit - 1):
extgrid.attach(self.buttons['temperature'], i + 1, 0, 1, 1) extgrid.attach(self.buttons['temperature'], i + 1, 0, 1, 1)
if i < (limit - 2) and self._printer.spoolman:
extgrid.attach(self.buttons['spoolman'], i + 2, 0, 1, 1)
distgrid = Gtk.Grid() distgrid = Gtk.Grid()
for j, i in enumerate(self.distances): for j, i in enumerate(self.distances):
@@ -161,26 +166,34 @@ class Panel(ScreenPanel):
self.content.add(grid) self.content.add(grid)
def process_busy(self, busy): def enable_buttons(self, enable):
for button in self.buttons: for button in self.buttons:
if button == "temperature": if button in ("temperature", "spoolman"):
continue continue
self.buttons[button].set_sensitive((not busy)) self.buttons[button].set_sensitive(enable)
def activate(self):
if self._printer.state == "printing":
self.enable_buttons(False)
def process_update(self, action, data): def process_update(self, action, data):
if action == "notify_busy": if action == "notify_gcode_response":
self.process_busy(data) if "action:cancel" in data or "action:paused" in data:
self.enable_buttons(True)
elif "action:resumed" in data:
self.enable_buttons(False)
return return
if action != "notify_status_update": if action != "notify_status_update":
return return
for x in self._printer.get_tools(): for x in self._printer.get_tools():
self.update_temp( if x in data:
x, self.update_temp(
self._printer.get_dev_stat(x, "temperature"), x,
self._printer.get_dev_stat(x, "target"), self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "power"), self._printer.get_dev_stat(x, "target"),
lines=2, self._printer.get_dev_stat(x, "power"),
) lines=2,
)
if ("toolhead" in data and "extruder" in data["toolhead"] and if ("toolhead" in data and "extruder" in data["toolhead"] and
data["toolhead"]["extruder"] != self.current_extruder): data["toolhead"]["extruder"] != self.current_extruder):
@@ -216,8 +229,8 @@ class Panel(ScreenPanel):
for tool in self._printer.get_tools(): for tool in self._printer.get_tools():
self.labels[tool].get_style_context().remove_class("button_active") self.labels[tool].get_style_context().remove_class("button_active")
self.labels[extruder].get_style_context().add_class("button_active") self.labels[extruder].get_style_context().add_class("button_active")
self._screen._send_action(widget, "printer.gcode.script",
self._screen._ws.klippy.gcode_script(f"T{self._printer.get_tool_number(extruder)}") {"script": f"T{self._printer.get_tool_number(extruder)}"})
def change_speed(self, widget, speed): def change_speed(self, widget, speed):
logging.info(f"### Speed {speed}") logging.info(f"### Speed {speed}")
@@ -227,19 +240,22 @@ class Panel(ScreenPanel):
def extrude(self, widget, direction): def extrude(self, widget, direction):
self._screen._ws.klippy.gcode_script(KlippyGcodes.EXTRUDE_REL) self._screen._ws.klippy.gcode_script(KlippyGcodes.EXTRUDE_REL)
self._screen._ws.klippy.gcode_script(KlippyGcodes.extrude(f"{direction}{self.distance}", f"{self.speed * 60}")) self._screen._send_action(widget, "printer.gcode.script",
{"script": f"G1 E{direction}{self.distance} F{self.speed * 60}"})
def load_unload(self, widget, direction): def load_unload(self, widget, direction):
if direction == "-": if direction == "-":
if not self.unload_filament: if not self.unload_filament:
self._screen.show_popup_message("Macro UNLOAD_FILAMENT not found") self._screen.show_popup_message("Macro UNLOAD_FILAMENT not found")
else: else:
self._screen._ws.klippy.gcode_script(f"UNLOAD_FILAMENT SPEED={self.speed * 60}") self._screen._send_action(widget, "printer.gcode.script",
{"script": f"UNLOAD_FILAMENT SPEED={self.speed * 60}"})
if direction == "+": if direction == "+":
if not self.load_filament: if not self.load_filament:
self._screen.show_popup_message("Macro LOAD_FILAMENT not found") self._screen.show_popup_message("Macro LOAD_FILAMENT not found")
else: else:
self._screen._ws.klippy.gcode_script(f"LOAD_FILAMENT SPEED={self.speed * 60}") self._screen._send_action(widget, "printer.gcode.script",
{"script": f"LOAD_FILAMENT SPEED={self.speed * 60}"})
def enable_disable_fs(self, switch, gparams, name, x): def enable_disable_fs(self, switch, gparams, name, x):
if switch.get_active(): if switch.get_active():
+1 -2
View File
@@ -3,7 +3,6 @@ import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Pango from gi.repository import Gtk, GLib, Pango
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel from ks_includes.screen_panel import ScreenPanel
@@ -129,7 +128,7 @@ class Panel(ScreenPanel):
value = self.devices[fan]['scale'].get_value() value = self.devices[fan]['scale'].get_value()
if fan == "fan": if fan == "fan":
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_fan_speed(value)) self._screen._ws.klippy.gcode_script(f"M106 S{value * 2.55:.0f}")
else: else:
self._screen._ws.klippy.gcode_script(f"SET_FAN_SPEED FAN={fan.split()[1]} SPEED={float(value) / 100}") self._screen._ws.klippy.gcode_script(f"SET_FAN_SPEED FAN={fan.split()[1]} SPEED={float(value) / 100}")
# Check the speed in case it wasn't applied # Check the speed in case it wasn't applied
+6 -4
View File
@@ -144,14 +144,15 @@ class Panel(ScreenPanel):
def change_babystepping(self, widget, direction): def change_babystepping(self, widget, direction):
if direction == "reset": if direction == "reset":
self.labels['zoffset'].set_label(' 0.00mm') self.labels['zoffset'].set_label(' 0.00mm')
self._screen._ws.klippy.gcode_script("SET_GCODE_OFFSET Z=0 MOVE=1") self._screen._send_action(widget, "printer.gcode.script", {"script": "SET_GCODE_OFFSET Z=0 MOVE=1"})
return return
elif direction == "+": elif direction == "+":
self.z_offset += float(self.z_delta) self.z_offset += float(self.z_delta)
elif direction == "-": elif direction == "-":
self.z_offset -= float(self.z_delta) self.z_offset -= float(self.z_delta)
self.labels['zoffset'].set_label(f' {self.z_offset:.3f}mm') self.labels['zoffset'].set_label(f' {self.z_offset:.3f}mm')
self._screen._ws.klippy.gcode_script(f"SET_GCODE_OFFSET Z_ADJUST={direction}{self.z_delta} MOVE=1") self._screen._send_action(widget, "printer.gcode.script",
{"script": f"SET_GCODE_OFFSET Z_ADJUST={direction}{self.z_delta} MOVE=1"})
def change_extrusion(self, widget, direction): def change_extrusion(self, widget, direction):
if direction == "+": if direction == "+":
@@ -162,7 +163,8 @@ class Panel(ScreenPanel):
self.extrusion = 100 self.extrusion = 100
self.extrusion = max(self.extrusion, 1) self.extrusion = max(self.extrusion, 1)
self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%") self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%")
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_extrusion_rate(self.extrusion)) self._screen._send_action(widget, "printer.gcode.script",
{"script": KlippyGcodes.set_extrusion_rate(self.extrusion)})
def change_speed(self, widget, direction): def change_speed(self, widget, direction):
if direction == "+": if direction == "+":
@@ -174,7 +176,7 @@ class Panel(ScreenPanel):
self.speed = max(self.speed, 1) self.speed = max(self.speed, 1)
self.labels['speedfactor'].set_label(f" {self.speed:3}%") self.labels['speedfactor'].set_label(f" {self.speed:3}%")
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_speed_rate(self.speed)) self._screen._send_action(widget, "printer.gcode.script", {"script": KlippyGcodes.set_speed_rate(self.speed)})
def change_percent_delta(self, widget, array, delta): def change_percent_delta(self, widget, array, delta):
logging.info(f"### Delta {delta}") logging.info(f"### Delta {delta}")
+13 -18
View File
@@ -47,16 +47,20 @@ class Panel(ScreenPanel):
while len(self.menu) > 1: while len(self.menu) > 1:
self.unload_menu() self.unload_menu()
self.reload_macros() self.reload_macros()
self._screen.base_panel.toggle_macro_shorcut_sensitive(False)
def deactivate(self):
self._screen.base_panel.toggle_macro_shorcut_sensitive(True)
def add_gcode_macro(self, macro): def add_gcode_macro(self, macro):
# Support for hiding macros by name section = self._printer.get_macro(macro)
if macro.startswith("_"): 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 return
name = Gtk.Label() name = Gtk.Label()
name.set_markup(f"<big><b>{macro}</b></big>") name.set_markup(f"<big><b>{macro}</b></big>")
name.set_hexpand(True) name.set_hexpand(True)
@@ -84,12 +88,6 @@ class Panel(ScreenPanel):
"params": {}, "params": {},
} }
pattern = r'params\.(?P<param>..*)\|default\((?P<default>..*)\).*' 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 i = 0
for line in gcode: for line in gcode:
if line.startswith("{") and "params." in line: if line.startswith("{") and "params." in line:
@@ -111,9 +109,9 @@ class Panel(ScreenPanel):
for param in self.macros[macro]["params"]: for param in self.macros[macro]["params"]:
value = self.macros[macro]["params"][param].get_text() value = self.macros[macro]["params"][param].get_text()
if value: if value:
params += f'{param}={value} ' params += f' {param}={value}'
self._screen.show_popup_message(f"{macro} {params}", 1) self._screen.show_popup_message(f"{macro} {params}", 1)
self._screen._ws.klippy.gcode_script(f"{macro} {params}") self._screen._send_action(widget, "printer.gcode.script", {"script": f"{macro}{params}"})
def change_sort(self, widget): def change_sort(self, widget):
self.sort_reverse ^= True self.sort_reverse ^= True
@@ -135,9 +133,6 @@ class Panel(ScreenPanel):
def load_gcode_macros(self): def load_gcode_macros(self):
for macro in self._printer.get_gcode_macros(): 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] = { self.options[macro] = {
"name": macro, "name": macro,
"section": f"displayed_macros {self._screen.connected_printer}", "section": f"displayed_macros {self._screen.connected_printer}",
+12 -11
View File
@@ -3,7 +3,6 @@ import gi
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, Pango from gi.repository import Gtk, Pango
from ks_includes.KlippyGcodes import KlippyGcodes
from ks_includes.screen_panel import ScreenPanel from ks_includes.screen_panel import ScreenPanel
@@ -108,17 +107,15 @@ class Panel(ScreenPanel):
def start_calibration(self, widget, method): def start_calibration(self, widget, method):
self.labels['popover'].popdown() self.labels['popover'].popdown()
if self._printer.get_stat("toolhead", "homed_axes") != "xyz": if self._printer.get_stat("toolhead", "homed_axes") != "xyz":
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME) self._screen._ws.klippy.gcode_script("G28")
self.calibrating_axis = method self.calibrating_axis = method
if method == "x": if method == "x":
self._screen._ws.klippy.gcode_script('SHAPER_CALIBRATE AXIS=X') self._screen._send_action(self.calibrate_btn, "printer.gcode.script", {"script": 'SHAPER_CALIBRATE AXIS=X'})
if method == "y": if method == "y":
self._screen._ws.klippy.gcode_script('SHAPER_CALIBRATE AXIS=Y') self._screen._send_action(self.calibrate_btn, "printer.gcode.script", {"script": 'SHAPER_CALIBRATE AXIS=Y'})
if method == "both": if method == "both":
self._screen._ws.klippy.gcode_script('SHAPER_CALIBRATE') self._screen._send_action(self.calibrate_btn, "printer.gcode.script", {"script": 'SHAPER_CALIBRATE'})
self.calibrate_btn.set_label(_('Calibrating') + '...') self.calibrate_btn.set_label(_('Calibrating') + '...')
self.calibrate_btn.set_sensitive(False)
def set_opt_value(self, widget, opt, *args): def set_opt_value(self, widget, opt, *args):
shaper_freq_x = self.freq_xy_adj['shaper_freq_x'].get_value() shaper_freq_x = self.freq_xy_adj['shaper_freq_x'].get_value()
@@ -169,7 +166,9 @@ class Panel(ScreenPanel):
# Recommended shaper_type_y = ei, shaper_freq_y = 48.4 Hz # Recommended shaper_type_y = ei, shaper_freq_y = 48.4 Hz
if 'recommended shaper_type_' in data: if 'recommended shaper_type_' in data:
results = re.search(r'shaper_type_(?P<axis>[xy])\s*=\s*(?P<shaper_type>.*?), shaper_freq_.\s*=\s*(' 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_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'])) 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'): if self.calibrating_axis == results['axis'] or (self.calibrating_axis == "both" and results['axis'] == 'y'):
@@ -179,6 +178,8 @@ class Panel(ScreenPanel):
# shaper_type_y:ei shaper_freq_y:48.400 damping_ratio_y:0.100000 # shaper_type_y:ei shaper_freq_y:48.400 damping_ratio_y:0.100000
if 'shaper_type_' in data: if 'shaper_type_' in data:
results = re.search(r'shaper_type_(?P<axis>[xy]):(?P<shaper_type>.*?) shaper_freq_.:(' results = re.search(r'shaper_type_(?P<axis>[xy]):(?P<shaper_type>.*?) shaper_freq_.:('
r'?P<shaper_freq>[0-9.]+)', data).groupdict() r'?P<shaper_freq>[0-9.]+)', data)
self.freq_xy_adj['shaper_freq_' + results['axis']].set_value(float(results['shaper_freq'])) if results:
self.freq_xy_combo['shaper_type_' + results['axis']].set_active(SHAPERS.index(results['shaper_type'])) 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']))
+73 -66
View File
@@ -10,6 +10,7 @@ from math import pi, sqrt
from statistics import median from statistics import median
from time import time from time import time
from ks_includes.screen_panel import ScreenPanel from ks_includes.screen_panel import ScreenPanel
from ks_includes.KlippyGtk import find_widget
class Panel(ScreenPanel): class Panel(ScreenPanel):
@@ -25,7 +26,7 @@ class Panel(ScreenPanel):
self.f_layer_h = self.layer_h = 1 self.f_layer_h = self.layer_h = 1
self.oheight = 0.0 self.oheight = 0.0
self.current_extruder = None 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.filename_label = self.filename = self.prev_pos = self.prev_gpos = None
self.can_close = False self.can_close = False
self.flow_timeout = self.animation_timeout = None self.flow_timeout = self.animation_timeout = None
@@ -115,11 +116,13 @@ class Panel(ScreenPanel):
overlay.add_overlay(box) overlay.add_overlay(box)
self.grid.attach(overlay, 0, 0, 1, 1) 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'] = Gtk.Grid()
self.labels['info_grid'].attach(self.labels['thumbnail'], 0, 0, 1, 1) 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']) diameter = float(self._printer.get_config_section(self.current_extruder)['filament_diameter'])
self.fila_section = pi * ((diameter / 2) ** 2) self.fila_section = pi * ((diameter / 2) ** 2)
@@ -155,8 +158,8 @@ class Panel(ScreenPanel):
nlimit = 2 if self._screen.width <= 500 else 3 nlimit = 2 if self._screen.width <= 500 else 3
n = 0 n = 0
self.buttons['extruder'] = {} 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()): for i, extruder in enumerate(self._printer.get_tools()):
self.labels[extruder] = Gtk.Label(label="-") self.labels[extruder] = Gtk.Label(label="-")
self.buttons['extruder'][extruder] = self._gtk.Button(f"extruder-{i}", "", None, self.bts, 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.buttons['extruder'][extruder].set_halign(Gtk.Align.START)
self.labels['temp_grid'].attach(self.buttons['extruder'][self.current_extruder], n, 0, 1, 1) self.labels['temp_grid'].attach(self.buttons['extruder'][self.current_extruder], n, 0, 1, 1)
n += 1 n += 1
else:
self.current_extruder = None
self.buttons['heater'] = {} 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(): for dev in self._printer.get_heaters():
if n >= nlimit: if n >= nlimit:
break 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.buttons['heater'][dev] = self._gtk.Button("heater", "", None, self.bts, Gtk.PositionType.LEFT, 1)
self.labels[dev] = Gtk.Label(label="-") self.labels[dev] = Gtk.Label(label="-")
self.buttons['heater'][dev].set_label(self.labels[dev].get_text()) self.buttons['heater'][dev].set_label(self.labels[dev].get_text())
@@ -349,7 +351,6 @@ class Panel(ScreenPanel):
def activate(self): def activate(self):
if self.flow_timeout is None: if self.flow_timeout is None:
self.flow_timeout = GLib.timeout_add_seconds(2, self.update_flow) self.flow_timeout = GLib.timeout_add_seconds(2, self.update_flow)
self._screen.base_panel_show_all()
def deactivate(self): def deactivate(self):
if self.flow_timeout is not None: if self.flow_timeout is not None:
@@ -404,8 +405,7 @@ class Panel(ScreenPanel):
{"name": _("Apply"), "response": Gtk.ResponseType.APPLY}, {"name": _("Apply"), "response": Gtk.ResponseType.APPLY},
{"name": _("Cancel"), "response": Gtk.ResponseType.CANCEL} {"name": _("Cancel"), "response": Gtk.ResponseType.CANCEL}
] ]
dialog = self._gtk.Dialog(self._screen, buttons, grid, self.save_confirm, device) self._gtk.Dialog(_("Save Z"), buttons, grid, self.save_confirm, device)
dialog.set_title(_("Save Z"))
def save_confirm(self, dialog, response_id, device): def save_confirm(self, dialog, response_id, device):
self._gtk.remove_dialog(dialog) self._gtk.remove_dialog(dialog)
@@ -420,8 +420,7 @@ class Panel(ScreenPanel):
if self.filename: if self.filename:
self.disable_button("restart") self.disable_button("restart")
if self.state == "error": if self.state == "error":
script = {"script": "SDCARD_RESET_FILE"} self._screen._ws.klippy.gcode_script("SDCARD_RESET_FILE")
self._screen._send_action(None, "printer.gcode.script", script)
self._screen._ws.klippy.print_start(self.filename) self._screen._ws.klippy.print_start(self.filename)
logging.info(f"Starting print: {self.filename}") logging.info(f"Starting print: {self.filename}")
self.new_print() self.new_print()
@@ -452,9 +451,7 @@ class Panel(ScreenPanel):
label.set_valign(Gtk.Align.CENTER) label.set_valign(Gtk.Align.CENTER)
label.set_line_wrap(True) label.set_line_wrap(True)
label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR) label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
self._gtk.Dialog(_("Cancel"), buttons, label, self.cancel_confirm)
dialog = self._gtk.Dialog(self._screen, buttons, label, self.cancel_confirm)
dialog.set_title(_("Cancel"))
def cancel_confirm(self, dialog, response_id): def cancel_confirm(self, dialog, response_id):
self._gtk.remove_dialog(dialog) self._gtk.remove_dialog(dialog)
@@ -503,24 +500,18 @@ class Panel(ScreenPanel):
elif action != "notify_status_update": elif action != "notify_status_update":
return return
for x in self._printer.get_tools(): for x in self._printer.get_temp_devices():
if x in self.buttons['extruder']: if x in data:
self.update_temp( self.update_temp(
x, x,
self._printer.get_dev_stat(x, "temperature"), self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "target"), self._printer.get_dev_stat(x, "target"),
self._printer.get_dev_stat(x, "power"), self._printer.get_dev_stat(x, "power"),
) )
self.buttons['extruder'][x].set_label(self.labels[x].get_text()) if x in self.buttons['extruder']:
for x in self._printer.get_heaters(): self.buttons['extruder'][x].set_label(self.labels[x].get_text())
if x in self.buttons['heater']: elif x in self.buttons['heater']:
self.update_temp( self.buttons['heater'][x].set_label(self.labels[x].get_text())
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 "display_status" in data and "message" in data["display_status"]: if "display_status" in data and "message" in data["display_status"]:
self.labels['lcdmessage'].set_label( self.labels['lcdmessage'].set_label(
@@ -597,11 +588,10 @@ class Panel(ScreenPanel):
with suppress(KeyError): with suppress(KeyError):
self.update_filename(data['print_stats']["filename"]) self.update_filename(data['print_stats']["filename"])
with suppress(KeyError): with suppress(KeyError):
if 'print_duration' in data["print_stats"]: if 'filament_used' in data["print_stats"]:
if 'filament_used' in data["print_stats"]: self.labels['filament_used'].set_label(
self.labels['filament_used'].set_label( f"{float(data['print_stats']['filament_used']) / 1000:.1f} m"
f"{float(data['print_stats']['filament_used']) / 1000:.1f} m" )
)
if 'info' in data["print_stats"]: if 'info' in data["print_stats"]:
with suppress(KeyError): with suppress(KeyError):
if data["print_stats"]['info']['total_layer'] is not None: if data["print_stats"]['info']['total_layer'] is not None:
@@ -617,7 +607,7 @@ class Panel(ScreenPanel):
f"{1 + round((self.pos_z - self.f_layer_h) / self.layer_h)} / " f"{1 + round((self.pos_z - self.f_layer_h) / self.layer_h)} / "
f"{self.labels['total_layers'].get_text()}" f"{self.labels['total_layers'].get_text()}"
) )
if self.state in ["printing"]: if self.state in ["printing", "paused"]:
self.update_time_left() self.update_time_left()
def update_flow(self): def update_flow(self):
@@ -632,15 +622,14 @@ class Panel(ScreenPanel):
def update_time_left(self): def update_time_left(self):
total_duration = float(self._printer.get_stat('print_stats', 'total_duration')) total_duration = float(self._printer.get_stat('print_stats', 'total_duration'))
print_duration = float(self._printer.get_stat('print_stats', 'print_duration')) print_duration = float(self._printer.get_stat('print_stats', 'print_duration'))
if not print_duration: # No-extrusion if 'filament_total' in self.file_metadata and not self.file_metadata['filament_total']: # No-extrusion
print_duration = total_duration print_duration = total_duration
fila_used = float(self._printer.get_stat('print_stats', 'filament_used')) fila_used = float(self._printer.get_stat('print_stats', 'filament_used'))
progress = float(self._printer.get_stat("virtual_sdcard", "progress")) progress = float(self._printer.get_stat("virtual_sdcard", "progress"))
self.labels["duration"].set_label(self.format_time(total_duration)) self.labels["duration"].set_label(self.format_time(total_duration))
elapsed_label = f"{self.labels['elapsed'].get_text()} {self.labels['duration'].get_text()}" elapsed_label = f"{self.labels['elapsed'].get_text()} {self.labels['duration'].get_text()}"
self.buttons['elapsed'].set_label(elapsed_label) self.buttons['elapsed'].set_label(elapsed_label)
non_printing = total_duration - print_duration estimated = 0
estimated = None
slicer_time = filament_time = file_time = None slicer_time = filament_time = file_time = None
timeleft_type = self._config.get_config()['main'].get('print_estimate_method', 'auto') timeleft_type = self._config.get_config()['main'].get('print_estimate_method', 'auto')
@@ -648,15 +637,15 @@ class Panel(ScreenPanel):
if self.file_metadata['estimated_time'] > 0: if self.file_metadata['estimated_time'] > 0:
# speed_factor compensation based on empirical testing # speed_factor compensation based on empirical testing
spdcomp = sqrt(self.speed_factor) spdcomp = sqrt(self.speed_factor)
slicer_time = ((self.file_metadata['estimated_time']) / spdcomp) + non_printing slicer_time = ((self.file_metadata['estimated_time']) / spdcomp)
self.labels["slicer_time"].set_label(self.format_time(slicer_time)) self.labels["slicer_time"].set_label(self.format_time(slicer_time))
with suppress(Exception): with suppress(Exception):
if self.file_metadata['filament_total'] > fila_used: if self.file_metadata['filament_total'] > fila_used:
filament_time = (print_duration / (fila_used / self.file_metadata['filament_total'])) + non_printing filament_time = (print_duration / (fila_used / self.file_metadata['filament_total']))
self.labels["filament_time"].set_label(self.format_time(filament_time)) self.labels["filament_time"].set_label(self.format_time(filament_time))
with suppress(ZeroDivisionError): with suppress(ZeroDivisionError):
file_time = (print_duration / progress) + non_printing file_time = (print_duration / progress)
self.labels["file_time"].set_label(self.format_time(file_time)) self.labels["file_time"].set_label(self.format_time(file_time))
if timeleft_type == "file": if timeleft_type == "file":
@@ -672,15 +661,25 @@ class Panel(ScreenPanel):
else: else:
# At the begining file and filament are innacurate # At the begining file and filament are innacurate
estimated = slicer_time estimated = slicer_time
if (estimated is None or estimated < 1) and file_time is not None:
if filament_time is not None and filament_time > 1: if estimated < 1:
if file_time is None:
return
elif filament_time is not None and filament_time > 1:
estimated = (filament_time + file_time) / 2 estimated = (filament_time + file_time) / 2
estimated = file_time 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["est_time"].set_label(self.format_time(estimated))
self.labels["time_left"].set_label(self.format_eta(estimated, total_duration)) 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()}" remaining_label = f"{self.labels['left'].get_text()} {self.labels['time_left'].get_text()}"
self.buttons['left'].set_label(remaining_label) self.buttons['left'].set_label(remaining_label)
self.update_progress(min(max(total_duration / estimated, 0), 1)) self.update_progress(progress)
def update_progress(self, progress: float): def update_progress(self, progress: float):
self.progress = progress self.progress = progress
@@ -739,18 +738,11 @@ class Panel(ScreenPanel):
offset = self._printer.get_stat("gcode_move", "homing_origin") offset = self._printer.get_stat("gcode_move", "homing_origin")
self.zoffset = float(offset[2]) if offset else 0 self.zoffset = float(offset[2]) if offset else 0
if self.zoffset != 0: if self.zoffset != 0:
endstop = ( if "Z_OFFSET_APPLY_ENDSTOP" in self._printer.available_commands:
(
self._printer.config_section_exists("stepper_z")
and not self._printer.get_config_section("stepper_z")['endstop_pin'].startswith("probe")
)
or "delta" in self._printer.get_config_section("printer")['kinematics']
)
if endstop:
self.buttons['button_grid'].attach(self.buttons["save_offset_endstop"], 0, 0, 1, 1) self.buttons['button_grid'].attach(self.buttons["save_offset_endstop"], 0, 0, 1, 1)
else: else:
self.buttons['button_grid'].attach(Gtk.Label(), 0, 0, 1, 1) self.buttons['button_grid'].attach(Gtk.Label(), 0, 0, 1, 1)
if self._printer.get_probe(): if "Z_OFFSET_APPLY_PROBE" in self._printer.available_commands:
self.buttons['button_grid'].attach(self.buttons["save_offset_probe"], 1, 0, 1, 1) self.buttons['button_grid'].attach(self.buttons["save_offset_probe"], 1, 0, 1, 1)
else: else:
self.buttons['button_grid'].attach(Gtk.Label(), 1, 0, 1, 1) self.buttons['button_grid'].attach(Gtk.Label(), 1, 0, 1, 1)
@@ -779,8 +771,23 @@ class Panel(ScreenPanel):
logging.debug(self.filename) logging.debug(self.filename)
if pixbuf is None: if pixbuf is None:
logging.debug("no pixbuf") logging.debug("no pixbuf")
pixbuf = self._gtk.PixbufFromIcon("file", width / 2, height / 2) return
self.labels['thumbnail'].set_from_pixbuf(pixbuf) 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): def update_filename(self, filename):
if not 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()
+32 -35
View File
@@ -11,7 +11,6 @@ from ks_includes.widgets.keypad import Keypad
class Panel(MenuPanel): class Panel(MenuPanel):
def __init__(self, screen, title, items=None): def __init__(self, screen, title, items=None):
super().__init__(screen, title, items) super().__init__(screen, title, items)
self.graph_retry_timeout = None
self.left_panel = None self.left_panel = None
self.devices = {} self.devices = {}
self.graph_update = None self.graph_update = None
@@ -20,8 +19,8 @@ class Panel(MenuPanel):
self.main_menu = self._gtk.HomogeneousGrid() self.main_menu = self._gtk.HomogeneousGrid()
self.main_menu.set_hexpand(True) self.main_menu.set_hexpand(True)
self.main_menu.set_vexpand(True) self.main_menu.set_vexpand(True)
self.graph_retry = 0
scroll = self._gtk.ScrolledWindow() scroll = self._gtk.ScrolledWindow()
self.numpad_visible = False
logging.info("### Making MainMenu") logging.info("### Making MainMenu")
@@ -40,18 +39,12 @@ class Panel(MenuPanel):
self.content.add(self.main_menu) self.content.add(self.main_menu)
def update_graph_visibility(self): def update_graph_visibility(self):
if self.left_panel is None or not self._printer.get_temp_store_devices(): if self.left_panel is None:
if self._printer.get_temp_store_devices(): logging.info("No left panel")
logging.info("Retrying to create left panel") return
self._gtk.reset_temp_color() if not self._printer.get_temp_store_devices():
self.main_menu.attach(self.create_left_panel(), 0, 0, 1, 1) logging.debug(f"Could not create graph tempstore: {self._printer.get_temp_store_devices()}")
self.graph_retry += 1 return
if self.graph_retry < 5:
if self.graph_retry_timeout is None:
self.graph_retry_timeout = GLib.timeout_add_seconds(5, self.update_graph_visibility)
else:
logging.debug(f"Could not create graph {self.left_panel} {self._printer.get_temp_store_devices()}")
return False
count = 0 count = 0
for device in self.devices: for device in self.devices:
visible = self._config.get_config().getboolean(f"graph {self._screen.connected_printer}", visible = self._config.get_config().getboolean(f"graph {self._screen.connected_printer}",
@@ -60,11 +53,9 @@ class Panel(MenuPanel):
self.labels['da'].set_showing(device, visible) self.labels['da'].set_showing(device, visible)
if visible: if visible:
count += 1 count += 1
self.devices[device]['name'].get_style_context().add_class(self.devices[device]['class']) self.devices[device]['name'].get_style_context().add_class("graph_label")
self.devices[device]['name'].get_style_context().remove_class("graph_label_hidden")
else: else:
self.devices[device]['name'].get_style_context().add_class("graph_label_hidden") self.devices[device]['name'].get_style_context().remove_class("graph_label")
self.devices[device]['name'].get_style_context().remove_class(self.devices[device]['class'])
if count > 0: if count > 0:
if self.labels['da'] not in self.left_panel: if self.labels['da'] not in self.left_panel:
self.left_panel.add(self.labels['da']) self.left_panel.add(self.labels['da'])
@@ -83,15 +74,11 @@ class Panel(MenuPanel):
def activate(self): def activate(self):
self.update_graph_visibility() self.update_graph_visibility()
self._screen.base_panel_show_all()
def deactivate(self): def deactivate(self):
if self.graph_update is not None: if self.graph_update is not None:
GLib.source_remove(self.graph_update) GLib.source_remove(self.graph_update)
self.graph_update = None self.graph_update = None
if self.graph_retry_timeout is not None:
GLib.source_remove(self.graph_retry_timeout)
self.graph_retry_timeout = None
if self.active_heater is not None: if self.active_heater is not None:
self.hide_numpad() self.hide_numpad()
@@ -148,11 +135,10 @@ class Panel(MenuPanel):
name = self._gtk.Button(image, self.prettify(devname), None, self.bts, Gtk.PositionType.LEFT, 1) name = self._gtk.Button(image, self.prettify(devname), None, self.bts, Gtk.PositionType.LEFT, 1)
name.connect("clicked", self.toggle_visibility, device) name.connect("clicked", self.toggle_visibility, device)
name.set_alignment(0, .5) name.set_alignment(0, .5)
name.get_style_context().add_class(class_name)
visible = self._config.get_config().getboolean(f"graph {self._screen.connected_printer}", device, fallback=True) visible = self._config.get_config().getboolean(f"graph {self._screen.connected_printer}", device, fallback=True)
if visible: if visible:
name.get_style_context().add_class(class_name) name.get_style_context().add_class("graph_label")
else:
name.get_style_context().add_class("graph_label_hidden")
self.labels['da'].set_showing(device, visible) self.labels['da'].set_showing(device, visible)
temp = self._gtk.Button(label="", lines=1) temp = self._gtk.Button(label="", lines=1)
@@ -243,14 +229,15 @@ class Panel(MenuPanel):
self.labels['da'] = HeaterGraph(self._printer, self._gtk.font_size) self.labels['da'] = HeaterGraph(self._printer, self._gtk.font_size)
self.labels['da'].set_vexpand(True) self.labels['da'].set_vexpand(True)
scroll = self._gtk.ScrolledWindow() scroll = self._gtk.ScrolledWindow(steppers=False)
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC) scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
scroll.get_style_context().add_class('heater-list')
scroll.add(self.labels['devices']) scroll.add(self.labels['devices'])
self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0) self.left_panel = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
self.left_panel.add(scroll) 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) self.add_device(d)
return self.left_panel return self.left_panel
@@ -266,18 +253,20 @@ class Panel(MenuPanel):
self.main_menu.remove_column(1) self.main_menu.remove_column(1)
self.main_menu.attach(self.labels['menu'], 1, 0, 1, 1) self.main_menu.attach(self.labels['menu'], 1, 0, 1, 1)
self.main_menu.show_all() self.main_menu.show_all()
self.numpad_visible = False
self._screen.base_panel.set_control_sensitive(False, control='back')
def process_update(self, action, data): def process_update(self, action, data):
if action != "notify_status_update": if action != "notify_status_update":
return return
for x in (self._printer.get_tools() + self._printer.get_heaters()): for x in self._printer.get_temp_devices():
self.update_temp( if x in data:
x, self.update_temp(
self._printer.get_dev_stat(x, "temperature"), x,
self._printer.get_dev_stat(x, "target"), self._printer.get_dev_stat(x, "temperature"),
self._printer.get_dev_stat(x, "power"), self._printer.get_dev_stat(x, "target"),
) self._printer.get_dev_stat(x, "power"),
return False )
def show_numpad(self, widget, device): def show_numpad(self, widget, device):
@@ -300,7 +289,15 @@ class Panel(MenuPanel):
self.main_menu.remove_column(1) self.main_menu.remove_column(1)
self.main_menu.attach(self.labels["keypad"], 1, 0, 1, 1) self.main_menu.attach(self.labels["keypad"], 1, 0, 1, 1)
self.main_menu.show_all() self.main_menu.show_all()
self.numpad_visible = True
self._screen.base_panel.set_control_sensitive(True, control='back')
def update_graph(self): def update_graph(self):
self.labels['da'].queue_draw() self.labels['da'].queue_draw()
return True return True
def back(self):
if self.numpad_visible:
self.hide_numpad()
return True
return False
+5 -3
View File
@@ -64,10 +64,14 @@ class Panel(ScreenPanel):
return self.grid return self.grid
def create_menu_items(self): 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)): for i in range(len(self.items)):
key = list(self.items[i])[0] key = list(self.items[i])[0]
item = self.items[i][key] 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() printer = self._printer.get_printer_status_data()
@@ -103,8 +107,6 @@ class Panel(ScreenPanel):
if enable == "{{ moonraker_connected }}": if enable == "{{ moonraker_connected }}":
logging.info(f"moonraker connected {self._screen._ws.connected}") logging.info(f"moonraker connected {self._screen._ws.connected}")
return self._screen._ws.connected return self._screen._ws.connected
elif enable == "{{ camera_configured }}":
return self.ks_printer_cfg and self.ks_printer_cfg.get("camera_url", None) is not None
self.j2_data = self._printer.get_printer_status_data() self.j2_data = self._printer.get_printer_status_data()
try: try:
j2_temp = Template(enable, autoescape=True) j2_temp = Template(enable, autoescape=True)
+10 -18
View File
@@ -36,7 +36,9 @@ class Panel(ScreenPanel):
self.buttons['motors_off'].connect("clicked", self._screen._confirm_send_action, self.buttons['motors_off'].connect("clicked", self._screen._confirm_send_action,
_("Are you sure you wish to disable motors?"), _("Are you sure you wish to disable motors?"),
"printer.gcode.script", script) "printer.gcode.script", script)
adjust = self._gtk.Button("settings", None, "color2", 1, Gtk.PositionType.LEFT, 1)
adjust.connect("clicked", self.load_menu, 'options', _('Settings'))
adjust.set_hexpand(False)
grid = self._gtk.HomogeneousGrid() grid = self._gtk.HomogeneousGrid()
if self._screen.vertical_mode: if self._screen.vertical_mode:
if self._screen.lang_ltr: if self._screen.lang_ltr:
@@ -49,6 +51,7 @@ class Panel(ScreenPanel):
grid.attach(self.buttons['x-'], 2, 1, 1, 1) grid.attach(self.buttons['x-'], 2, 1, 1, 1)
grid.attach(self.buttons['z+'], 0, 2, 1, 1) grid.attach(self.buttons['z+'], 0, 2, 1, 1)
grid.attach(self.buttons['z-'], 2, 2, 1, 1) grid.attach(self.buttons['z-'], 2, 2, 1, 1)
grid.attach(adjust, 1, 2, 1, 1)
grid.attach(self.buttons['y+'], 1, 0, 1, 1) grid.attach(self.buttons['y+'], 1, 0, 1, 1)
grid.attach(self.buttons['y-'], 1, 1, 1, 1) grid.attach(self.buttons['y-'], 1, 1, 1, 1)
@@ -85,9 +88,6 @@ class Panel(ScreenPanel):
for p in ('pos_x', 'pos_y', 'pos_z'): for p in ('pos_x', 'pos_y', 'pos_z'):
self.labels[p] = Gtk.Label() self.labels[p] = Gtk.Label()
adjust = self._gtk.Button("settings", None, "color2", 1, Gtk.PositionType.LEFT, 1)
adjust.connect("clicked", self.load_menu, 'options', _('Settings'))
adjust.set_hexpand(False)
self.labels['move_dist'] = Gtk.Label(_("Move Distance (mm)")) self.labels['move_dist'] = Gtk.Label(_("Move Distance (mm)"))
bottomgrid = self._gtk.HomogeneousGrid() bottomgrid = self._gtk.HomogeneousGrid()
@@ -96,7 +96,8 @@ class Panel(ScreenPanel):
bottomgrid.attach(self.labels['pos_y'], 1, 0, 1, 1) bottomgrid.attach(self.labels['pos_y'], 1, 0, 1, 1)
bottomgrid.attach(self.labels['pos_z'], 2, 0, 1, 1) bottomgrid.attach(self.labels['pos_z'], 2, 0, 1, 1)
bottomgrid.attach(self.labels['move_dist'], 0, 1, 3, 1) bottomgrid.attach(self.labels['move_dist'], 0, 1, 3, 1)
bottomgrid.attach(adjust, 3, 0, 1, 2) if not self._screen.vertical_mode:
bottomgrid.attach(adjust, 3, 0, 1, 2)
self.labels['move_menu'] = self._gtk.HomogeneousGrid() self.labels['move_menu'] = self._gtk.HomogeneousGrid()
self.labels['move_menu'].attach(grid, 0, 0, 1, 3) self.labels['move_menu'].attach(grid, 0, 0, 1, 3)
@@ -112,7 +113,7 @@ class Panel(ScreenPanel):
logging.error(f"Error getting max_velocity\n{printer_cfg}") logging.error(f"Error getting max_velocity\n{printer_cfg}")
max_velocity = 50 max_velocity = 50
if "max_z_velocity" in printer_cfg: 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: else:
max_z_velocity = max_velocity max_z_velocity = max_velocity
@@ -135,16 +136,7 @@ class Panel(ScreenPanel):
name = list(option)[0] name = list(option)[0]
self.add_option('options', self.settings, name, option[name]) self.add_option('options', self.settings, name, option[name])
def process_busy(self, busy):
buttons = ("home", "motors_off")
for button in buttons:
if button in self.buttons:
self.buttons[button].set_sensitive(not busy)
def process_update(self, action, data): def process_update(self, action, data):
if action == "notify_busy":
self.process_busy(data)
return
if action != "notify_status_update": if action != "notify_status_update":
return return
homed_axes = self._printer.get_stat("toolhead", "homed_axes") homed_axes = self._printer.get_stat("toolhead", "homed_axes")
@@ -186,8 +178,8 @@ class Panel(ScreenPanel):
if speed is None: if speed is None:
speed = self._config.get_config()['main'].getint(config_key, 20) speed = self._config.get_config()['main'].getint(config_key, 20)
speed = 60 * max(1, speed) speed = 60 * max(1, speed)
script = f"{KlippyGcodes.MOVE_RELATIVE}\nG0 {axis}{dist} F{speed}"
self._screen._ws.klippy.gcode_script(f"{KlippyGcodes.MOVE_RELATIVE}\n{KlippyGcodes.MOVE} {axis}{dist} F{speed}") self._screen._send_action(widget, "printer.gcode.script", {"script": script})
if self._printer.get_stat("gcode_move", "absolute_coordinates"): if self._printer.get_stat("gcode_move", "absolute_coordinates"):
self._screen._ws.klippy.gcode_script("G90") self._screen._ws.klippy.gcode_script("G90")
@@ -250,7 +242,7 @@ class Panel(ScreenPanel):
def home(self, widget): def home(self, widget):
if "delta" in self._printer.get_config_section("printer")['kinematics']: if "delta" in self._printer.get_config_section("printer")['kinematics']:
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME) self._screen._send_action(widget, "printer.gcode.script", {"script": 'G28'})
return return
name = "homing" name = "homing"
disname = self._screen._config.get_menu_name("move", name) disname = self._screen._config.get_menu_name("move", name)
+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_halign(Gtk.Align.START)
self.labels['connecting_info'].set_valign(Gtk.Align.START) self.labels['connecting_info'].set_valign(Gtk.Align.START)
scroll.add(self.labels['connecting_info']) scroll.add(self.labels['connecting_info'])
dialog = self._gtk.Dialog(self._screen, buttons, scroll, self._gtk.remove_dialog) self._gtk.Dialog(_("Starting WiFi Association"), buttons, scroll, self._gtk.remove_dialog)
dialog.set_title(_("Starting WiFi Association"))
self._screen.show_all() self._screen.show_all()
if ssid in list(self.networks): if ssid in list(self.networks):
+5 -8
View File
@@ -310,21 +310,18 @@ class Panel(ScreenPanel):
grid.set_valign(Gtk.Align.CENTER) grid.set_valign(Gtk.Align.CENTER)
grid.add(label) 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: if pixbuf is not None:
image = Gtk.Image.new_from_pixbuf(pixbuf) image = Gtk.Image.new_from_pixbuf(pixbuf)
image.set_vexpand(False)
grid.attach_next_to(image, label, Gtk.PositionType.BOTTOM, 1, 1) grid.attach_next_to(image, label, Gtk.PositionType.BOTTOM, 1, 1)
dialog = self._gtk.Dialog(self._screen, buttons, grid, self.confirm_print_response, filename) self._gtk.Dialog(_("Print") + f' {filename}', buttons, grid, self.confirm_print_response, filename)
dialog.set_title(_("Print"))
def confirm_print_response(self, dialog, response_id, filename): def confirm_print_response(self, dialog, response_id, filename):
self._gtk.remove_dialog(dialog) self._gtk.remove_dialog(dialog)
if response_id == Gtk.ResponseType.CANCEL: if response_id == Gtk.ResponseType.OK:
return logging.info(f"Starting print: {filename}")
logging.info(f"Starting print: {filename}") self._screen._ws.klippy.print_start(filename)
self._screen._ws.klippy.print_start(filename)
def delete_file(self, filename): def delete_file(self, filename):
directory = os.path.join("gcodes", os.path.dirname(filename)) if os.path.dirname(filename) else "gcodes" directory = os.path.join("gcodes", os.path.dirname(filename)) if os.path.dirname(filename) else "gcodes"
+2 -5
View File
@@ -91,9 +91,6 @@ class Panel(ScreenPanel):
def activate(self): def activate(self):
self.check_power_status() self.check_power_status()
self._screen.base_panel.show_macro_shortcut(False)
self._screen.base_panel.show_heaters(False)
self._screen.base_panel.show_estop(False)
def check_power_status(self): def check_power_status(self):
if 'power' in self.labels: if 'power' in self.labels:
@@ -119,7 +116,7 @@ class Panel(ScreenPanel):
"machine.shutdown") "machine.shutdown")
else: else:
logging.info("OS Shutdown") logging.info("OS Shutdown")
os.system("systemctl poweroff") os.system("systemctl poweroff -i")
def restart_system(self, widget): def restart_system(self, widget):
@@ -129,7 +126,7 @@ class Panel(ScreenPanel):
"machine.reboot") "machine.reboot")
else: else:
logging.info("OS Reboot") logging.info("OS Reboot")
os.system("systemctl reboot") os.system("systemctl reboot -i")
def retry(self, widget): def retry(self, widget):
self.update_text((_("Connecting to %s") % self._screen.connecting_to_printer)) self.update_text((_("Connecting to %s") % self._screen.connecting_to_printer))
+427
View File
@@ -0,0 +1,427 @@
import os.path
import pathlib
import logging
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GdkPixbuf, GObject, Pango, Gdk
from ks_includes.screen_panel import ScreenPanel
from ks_includes.KlippyRest import KlippyRest
from datetime import datetime
try:
from zoneinfo import ZoneInfo
except ImportError:
from backports.zoneinfo import ZoneInfo
def format_date(date):
try:
return datetime.strptime(date, '%Y-%m-%dT%H:%M:%S.%f').replace(tzinfo=ZoneInfo('UTC'))
except ValueError:
try:
return datetime.strptime(date, '%Y-%m-%dT%H:%M:%S').replace(tzinfo=ZoneInfo('UTC'))
except ValueError:
return None
class SpoolmanVendor:
id: int
name: str
registered: datetime = None
def __init__(self, **entries):
self.__dict__.update(entries)
for date in ["registered"]:
if date in entries:
self.__setattr__(date, format_date(entries[date]))
class SpoolmanFilament:
article_number: str
color_hex: str
comment: str
density: float
diameter: float
id: int
material: str
name: str
price: float
registered: datetime = None
settings_bed_temp: int
settings_extruder_temp: int
spool_weight: float
vendor: SpoolmanVendor = None
weight: float
def __init__(self, **entries):
self.__dict__.update(entries)
if "vendor" in entries:
self.vendor = SpoolmanVendor(**(entries["vendor"]))
for date in ["registered"]:
if date in entries:
self.__setattr__(date, format_date(entries[date]))
class SpoolmanSpool(GObject.GObject):
archived: bool
id: int
remaining_length: float
remaining_weight: float
used_length: float
used_weight: float
lot_nr: str
filament: SpoolmanFilament = None
first_used: datetime = None
last_used: datetime = None
registered: datetime = None
_icon: Gtk.Image = None
theme_path: str = None
_spool_icon: str = None
def __init__(self, **entries):
GObject.GObject.__init__(self)
self.__dict__.update(entries)
if "filament" in entries:
self.filament = SpoolmanFilament(**(entries["filament"]))
for date in ["first_used", "last_used", "registered"]:
if date in entries:
self.__setattr__(date, format_date(entries[date]))
@property
def name(self):
result = self.filament.name
if self.filament.vendor:
result = " ".join([self.filament.vendor.name, "-", result])
return result
@property
def icon(self):
if self._icon is None:
if SpoolmanSpool._spool_icon is None:
klipperscreendir = pathlib.Path(__file__).parent.resolve().parent
_spool_icon_path = os.path.join(
klipperscreendir, "styles", SpoolmanSpool.theme_path, "images", "spool.svg"
)
if not os.path.isfile(_spool_icon_path):
_spool_icon_path = os.path.join(klipperscreendir, "styles", "spool.svg")
SpoolmanSpool._spool_icon = pathlib.Path(_spool_icon_path).read_text()
loader = GdkPixbuf.PixbufLoader()
loader.write(
SpoolmanSpool._spool_icon.replace('var(--filament-color)', f'#{self.filament.color_hex}').encode()
)
loader.close()
self._icon = loader.get_pixbuf()
return self._icon
class Panel(ScreenPanel):
apiClient: KlippyRest
_active_spool_id: int = None
@staticmethod
def spool_compare_id(model, row1, row2, user_data):
spool1 = model.get_value(row1, 0)
spool2 = model.get_value(row2, 0)
return spool1.id - spool2.id
@staticmethod
def spool_compare_date(model, row1, row2, user_data):
spool1 = model.get_value(row1, 0)
spool2 = model.get_value(row2, 0)
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:
model = sender.get_model()
self._filters["material"] = model[treeiter][0]
self._filterable.refilter()
def __init__(self, screen, title):
super().__init__(screen, title)
self.apiClient = screen.apiclient
if self._config.get_main_config().getboolean("24htime", True):
self.timeFormat = '%Y-%m-%d %H:%M'
else:
self.timeFormat = '%Y-%m-%d %I:%M %p'
SpoolmanSpool.theme_path = screen.theme
GObject.type_register(SpoolmanSpool)
self._filters = {}
self._model = Gtk.TreeStore(SpoolmanSpool.__gtype__)
self._materials = Gtk.ListStore(str, str)
self._filterable = self._model.filter_new()
self._filterable.set_visible_func(self._filter_spools)
sortable = Gtk.TreeModelSort(self._filterable)
sortable.set_sort_func(0, self.spool_compare_id)
sortable.set_sort_func(1, self.spool_compare_date)
self.scroll = self._gtk.ScrolledWindow()
sbox = Gtk.Box(spacing=0)
sbox.set_vexpand(False)
clear_active_spool = self._gtk.Button("cancel", _("Clear"), "color2", self.bts, Gtk.PositionType.LEFT, 1)
clear_active_spool.get_style_context().add_class("buttons_slim")
clear_active_spool.connect('clicked', self.clear_active_spool)
refresh = self._gtk.Button("refresh", style="color1", scale=.66)
refresh.get_style_context().add_class("buttons_slim")
refresh.connect('clicked', self.load_spools)
sort_btn_id = self._gtk.Button(None, _("ID"), "color4", self.bts, Gtk.PositionType.RIGHT, 1)
sort_btn_id.connect("clicked", self.change_sort, "id")
sort_btn_id.get_style_context().add_class("buttons_slim")
sort_btn_used = self._gtk.Button(None, _("Last Used"), "color3", self.bts, Gtk.PositionType.RIGHT, 1)
sort_btn_used.connect("clicked", self.change_sort, "last_used")
sort_btn_used.get_style_context().add_class("buttons_slim")
switch = Gtk.Switch()
switch.set_hexpand(False)
switch.set_vexpand(False)
switch.set_active(self._config.get_config().getboolean("spoolman", "hide_archived", fallback=True))
switch.connect("notify::active", self.switch_config_option, "spoolman", "hide_archived", self.load_spools)
name = Gtk.Label()
name.set_markup(_("Archived"))
name.set_halign(Gtk.Align.START)
name.set_valign(Gtk.Align.CENTER)
name.set_line_wrap(True)
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
archived = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
archived.set_valign(Gtk.Align.CENTER)
archived.add(name)
archived.add(switch)
sbox.pack_start(sort_btn_id, True, True, 0)
sbox.pack_start(sort_btn_used, True, True, 0)
sbox.pack_start(clear_active_spool, True, True, 0)
sbox.pack_start(refresh, True, True, 0)
sbox.pack_start(archived, False, False, 5)
sbox.set_hexpand(True)
sbox.set_vexpand(False)
filter_box = Gtk.ListBox()
filter_box.set_selection_mode(Gtk.SelectionMode.NONE)
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.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(self._filter_expander, False, True, 0)
self.main.pack_start(self.scroll, True, True, 0)
self.load_spools()
self.get_active_spool()
self._treeview = Gtk.TreeView(model=sortable)
self._treeview.set_headers_visible(False)
self._treeview.set_show_expanders(False)
text_renderer = Gtk.CellRendererText()
pixbuf_renderer = Gtk.CellRendererPixbuf()
pixbuf_renderer.set_padding(5, 5)
checkbox_renderer = Gtk.CellRendererToggle()
column_id = Gtk.TreeViewColumn(cell_renderer=text_renderer)
column_id.set_cell_data_func(
text_renderer,
lambda column, cell, model, it, data:
self._set_cell_background(cell, model.get_value(it, 0)) and
cell.set_property('text', f'{model.get_value(it, 0).id}')
)
column_id.set_sort_column_id(0)
column_icon = Gtk.TreeViewColumn(cell_renderer=pixbuf_renderer)
column_icon.set_cell_data_func(
pixbuf_renderer,
lambda column, cell, model, it, data:
self._set_cell_background(cell, model.get_value(it, 0)) and
cell.set_property('pixbuf', model.get_value(it, 0).icon)
)
column_spool = Gtk.TreeViewColumn(cell_renderer=text_renderer)
column_spool.set_expand(True)
column_spool.set_cell_data_func(
text_renderer,
lambda column, cell, model, it, data:
self._set_cell_background(cell, model.get_value(it, 0)) and
cell.set_property('markup', self._get_filament_formated(model.get_value(it, 0)))
)
column_last_used = Gtk.TreeViewColumn(cell_renderer=text_renderer)
column_last_used.set_visible(False)
column_last_used.set_sort_column_id(1)
column_material = Gtk.TreeViewColumn(cell_renderer=text_renderer)
column_material.set_cell_data_func(
text_renderer,
lambda column, cell, model, it, data:
self._set_cell_background(cell, model.get_value(it, 0)) and
cell.set_property('text', model.get_value(it, 0).filament.material)
)
checkbox_renderer.connect("toggled", self._set_active_spool)
column_toggle_active_spool = Gtk.TreeViewColumn(cell_renderer=checkbox_renderer)
column_toggle_active_spool.set_cell_data_func(
checkbox_renderer,
lambda column, cell, model, it, data:
self._set_cell_background(cell, model.get_value(it, 0)) and
cell.set_property('active', model.get_value(it, 0).id == self._active_spool_id)
)
self._treeview.append_column(column_id)
self._treeview.append_column(column_icon)
self._treeview.append_column(column_spool)
self._treeview.append_column(column_last_used)
self._treeview.append_column(column_material)
self._treeview.append_column(column_toggle_active_spool)
self.current_sort_widget = sort_btn_id
sort_btn_used.clicked()
self.scroll.add(self._treeview)
self.content.add(self.main)
def _filter_spools(self, model, i, data):
spool: SpoolmanSpool = model[i][0]
matches = True
if ("material" in self._filters) and (self._filters["material"] is not None):
matches &= spool.filament.material == self._filters["material"]
return matches
def _set_cell_background(self, cell, spool: SpoolmanSpool):
cell.set_property('cell-background-rgba', Gdk.RGBA(1, 1, 1, .1) if spool.id == self._active_spool_id else None)
return True
def _get_filament_formated(self, spool: SpoolmanSpool):
if spool.id == self._active_spool_id:
result = f'<big><b>{spool.name}</b></big>\n'
else:
result = f'<big>{spool.name}</big>\n'
if spool.last_used:
result += f'{_("Last used")}:<b> {spool.last_used.astimezone():{self.timeFormat}}</b>\n'
if hasattr(spool, "remaining_weight"):
result += f'{_("Remaining weight")}: <b>{round(spool.remaining_weight, 2)} g</b>\n'
if hasattr(spool, "remaining_length"):
result += f'{_("Remaining length")}: <b>{round(spool.remaining_length / 1000, 2)} m</b>\n'
return result.strip()
def _set_active_spool(self, sender, path):
model = self._treeview.get_model()
it = model.get_iter(path)
spool = model.get_value(it, 0)
if spool.id == self._active_spool_id:
self.clear_active_spool()
else:
self.set_active_spool(spool)
def change_sort(self, widget, sort_type):
self.current_sort_widget.set_image(None)
self.current_sort_widget = widget
if sort_type == "id":
logging.info("Sorting by ID")
column = 0
elif sort_type == "last_used":
logging.info("Sorting by Last Used")
column = 1
else:
logging.error("Unknown sort type")
return
if self._treeview.get_column(column).get_sort_order() == Gtk.SortType.DESCENDING:
new_sort_order = Gtk.SortType.ASCENDING
else:
new_sort_order = Gtk.SortType.DESCENDING
self._treeview.get_column(column).set_sort_order(new_sort_order)
self._treeview.get_model().set_sort_column_id(column, new_sort_order)
icon = "arrow-down" if new_sort_order == Gtk.SortType.DESCENDING else "arrow-up"
widget.set_image(self._gtk.Image(icon, self._gtk.img_scale * self.bts))
def process_update(self, action, data):
if action == "notify_active_spool_set":
self._active_spool_id = data['spool_id']
self._treeview.get_model().foreach(lambda store, treepath, treeiter:
store.row_changed(treepath, treeiter)
)
self._treeview.queue_draw()
def load_spools(self, data=None):
hide_archived = self._config.get_config().getboolean("spoolman", "hide_archived", fallback=True)
self._model.clear()
self._materials.clear()
spools = self.apiClient.post_request("server/spoolman/proxy", json={
"request_method": "GET",
"path": f"/v1/spool?allow_archived={not hide_archived}",
})
if not spools or "result" not in spools:
self._screen.show_error_modal("Exception when trying to fetch spools")
return
materials = []
for spool in spools["result"]:
spoolObject = SpoolmanSpool(**spool)
self._model.append(None, [spoolObject])
if spoolObject.filament.material not in materials:
materials.append(spoolObject.filament.material)
materials.sort()
self._materials.append([None, _("All")])
for material in materials:
self._materials.append([material, material])
def clear_active_spool(self, sender: Gtk.Button = None):
result = self.apiClient.post_request("server/spoolman/spool_id", json={})
if not result:
self._screen.show_error_modal("Exception when setting active spool")
return
def set_active_spool(self, spool: SpoolmanSpool):
result = self.apiClient.post_request("server/spoolman/spool_id", json={
"spool_id": spool.id
})
if not result:
self._screen.show_error_modal("Exception when setting active spool")
return
def get_active_spool(self) -> SpoolmanSpool:
result = self.apiClient.send_request("server/spoolman/spool_id")
if not result:
self._screen.show_error_modal("Exception when getting active spool")
return
self._active_spool_id = result["result"]["spool_id"]
return self._active_spool_id
Loaded 100 of 125 files, more files were not shown because too many files have changed in this diff. Show more