Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f4f28af1c | ||
|
|
8b93ba07d9 | ||
|
|
51682be329 | ||
|
|
353bdc730f | ||
|
|
c3ef1dd789 | ||
|
|
2b7ad19d7f | ||
|
|
367d1244e8 | ||
|
|
95d3d46b8c | ||
|
|
af1de12f28 | ||
|
|
65c4b172e8 | ||
|
|
dcad47bb51 | ||
|
|
925f30f44a | ||
|
|
3780aa0c8d | ||
|
|
da3d17adbf | ||
|
|
93bb6aeb65 | ||
|
|
adb150a2c7 | ||
|
|
d9a6d0caa6 | ||
|
|
e3cbc1ea8c | ||
|
|
1c06e55442 | ||
|
|
35007af482 | ||
|
|
4800b56492 | ||
|
|
bd98e758ec | ||
|
|
aa25a96f2b | ||
|
|
90fc3288d7 | ||
|
|
e7b58edfbf | ||
|
|
9ba8d04861 | ||
|
|
dd497d592d | ||
|
|
2e5da0125f | ||
|
|
5fa1e44f16 | ||
|
|
189df7921f | ||
|
|
37e71e17f9 | ||
|
|
7dbe11e0b5 | ||
|
|
168e75059a | ||
|
|
8053e97d10 | ||
|
|
77a24ec809 | ||
|
|
fb0d0bb909 | ||
|
|
06b2246db1 | ||
|
|
0a3dfbeb10 | ||
|
|
462b3eff96 | ||
|
|
4cbd48bc97 | ||
|
|
a18df245e3 | ||
|
|
7a64682d6e | ||
|
|
bd87737467 | ||
|
|
365b9bde4f | ||
|
|
5b5b1f0485 | ||
|
|
520ba44c96 | ||
|
|
b7d1086c15 | ||
|
|
1fc23d30cb | ||
|
|
5a5fe7a609 | ||
|
|
32d853472e | ||
|
|
fe81370825 | ||
|
|
c27b3fefc4 | ||
|
|
6d5eb09010 | ||
|
|
5713a348de | ||
|
|
de422f23ad | ||
|
|
3a7818bd35 | ||
|
|
34f9b958a7 | ||
|
|
3f11897491 | ||
|
|
8d9236a2df | ||
|
|
cb5b77303f | ||
|
|
71dcb1f91d | ||
|
|
403a3024ce | ||
|
|
87ad2a70ba | ||
|
|
7ba9e49374 | ||
|
|
ae03e7d55d | ||
|
|
72c6bdfe33 | ||
|
|
3c69bcb4c4 | ||
|
|
a149796b19 | ||
|
|
1d2a89b4e7 | ||
|
|
2a9044e4f4 | ||
|
|
870256df09 | ||
|
|
d0ab325744 | ||
|
|
432305bec9 | ||
|
|
46311e58f1 | ||
|
|
0d05ef3b59 | ||
|
|
f19d39fce1 | ||
|
|
ff292f77c9 | ||
|
|
b249c79180 | ||
|
|
e8a2d3443e | ||
|
|
fab620dce7 | ||
|
|
06240ee872 | ||
|
|
12a79ed2c7 | ||
|
|
ca71953cfa | ||
|
|
304e285b7f | ||
|
|
c02d001e9d | ||
|
|
d589a1e31c | ||
|
|
797ea99f33 | ||
|
|
0cc58c0f08 | ||
|
|
ffc5ff3c06 | ||
|
|
d6b700381b | ||
|
|
f9af11d635 | ||
|
|
3ba6bd657f | ||
|
|
fff7f66780 |
No files matched your search
@@ -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']
|
||||
@@ -1,26 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: "[BUG]"
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Screenshots**
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**Logfile**
|
||||
Attach your [klipperscreen.log](https://klipperscreen.readthedocs.io/en/latest/Troubleshooting/)
|
||||
@@ -0,0 +1,54 @@
|
||||
name: Bug report
|
||||
description: Create a report to help us improve
|
||||
title: "[BUG] <title>"
|
||||
labels: 'bug'
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: >-
|
||||
## Thank you for choosing KlipperScreen
|
||||
|
||||
This is a bug report, If you need general support, please visit us on [Discord](https://discord.gg/klipper)
|
||||
|
||||
#### The LOG file is REQUIRED
|
||||
|
||||
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.
|
||||
[License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE)
|
||||
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: 'What happened?'
|
||||
description: A clear and concise description of what the bug is.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: expected-behavior
|
||||
attributes:
|
||||
label: 'What did you expect to happen instead?'
|
||||
description: A clear and concise description of what you expected to happen instead.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: repro-steps
|
||||
attributes:
|
||||
label: 'How to reproduce this bug?'
|
||||
description: A clear and concise description with precise steps to reproduce this bug.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: additional-info
|
||||
attributes:
|
||||
label: 'Additional information:'
|
||||
description: Any additional info, screenshots or recordings which help to describe the issue.
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Log output
|
||||
description: Please copy and paste or attach the klipperscreen.log or xorg.log or the tail of journalctl.
|
||||
render: shell
|
||||
validations:
|
||||
required: true
|
||||
@@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: Klipper Discord Server
|
||||
url: https://discord.gg/klipper
|
||||
about: If you have questions or need general support.
|
||||
@@ -1,20 +0,0 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: "[FR]"
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
@@ -0,0 +1,42 @@
|
||||
name: Feature request
|
||||
description: Suggest an idea for this project
|
||||
title: "[FR] <title>"
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: >-
|
||||
## Thank you for choosing KlipperScreen
|
||||
|
||||
This form is for feature requests of KlipperScreen
|
||||
|
||||
#### This is an Open Source project developed voluntarily, there are no Warranties, or ETA.
|
||||
[License](https://github.com/KlipperScreen/KlipperScreen/blob/master/LICENSE)
|
||||
|
||||
- type: textarea
|
||||
id: solution
|
||||
attributes:
|
||||
label: 'Requested feature'
|
||||
description: A clear and concise description of what you want.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: what-happened
|
||||
attributes:
|
||||
label: 'Is your feature request related to a problem?'
|
||||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: alternative
|
||||
attributes:
|
||||
label: 'Describe alternatives you have considered'
|
||||
description: A clear and concise description of any alternative solutions or features you've considered.
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: info
|
||||
attributes:
|
||||
label: 'Additional information'
|
||||
description: Add any other context drawings or screenshots about the feature.
|
||||
validations:
|
||||
required: false
|
||||
@@ -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
|
||||
@@ -12,4 +12,23 @@ will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [
|
||||
|
||||
[](https://klipperscreen.readthedocs.io/en/latest/Panels/)
|
||||
|
||||
[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/Panels/)
|
||||
[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/Panels/)
|
||||
|
||||
### About the project
|
||||
|
||||
KlipperScreen has been created and maintained by Jordan Ruthe from 2020 to 2021
|
||||
|
||||
|Donate to Jordan|
|
||||
|-|
|
||||
|[Patreon](https://www.patreon.com/klipperscreen)|
|
||||
|[Ko-fi](https://ko-fi.com/klipperscreen)|
|
||||
|
||||
The current maintainer is Alfredo Monclus (alfrix) from 2021 onwards
|
||||
|
||||
|Dontate to Alfrix|
|
||||
|-|
|
||||
|[Ko-fi](https://ko-fi.com/alfrix)|
|
||||
|
||||
thanks to all the people who helped along the way.
|
||||
|
||||
[Contributors](https://github.com/KlipperScreen/KlipperScreen/graphs/contributors)
|
||||
@@ -1 +0,0 @@
|
||||
screen.py
|
||||
+17
-2
@@ -5,6 +5,13 @@ create a blank file in `~/printer_data/config/KlipperScreen.conf`, if the file a
|
||||
|
||||
Write in the file only the options that need to be changed, and restart KlipperScreen.
|
||||
|
||||
|
||||
!!! failure "Critical"
|
||||
Each configuration option should be on a newline, as they are presented here.
|
||||
|
||||
The line endings should be of UNIX style (LF).
|
||||
|
||||
|
||||
## Include files
|
||||
```py
|
||||
[include conf.d/*.conf]
|
||||
@@ -91,11 +98,16 @@ screw_rotation: 0
|
||||
extrude_distances: 5, 10, 15, 25
|
||||
extrude_speeds: 1, 2, 5, 25
|
||||
|
||||
# Camera configuration
|
||||
camera_url: http://127.0.0.1/webcam/?action=stream
|
||||
# Camera needs to be configured in moonraker:
|
||||
# https://moonraker.readthedocs.io/en/latest/configuration/#webcam
|
||||
```
|
||||
|
||||
## Preheat Options
|
||||
|
||||
!!! question
|
||||
Adding a custom preheat section will cause the defaults to not load, this is
|
||||
the intended behaviour.
|
||||
|
||||
```py
|
||||
[preheat my_temp_setting]
|
||||
extruder: 195
|
||||
@@ -126,6 +138,9 @@ different items and there are several panel options available. It is possible to
|
||||
button press. There are two menus available in KlipperScreen, __main and __print. The __main menu is displayed while the
|
||||
printer is idle. The __print menu is accessible from the printing status page.
|
||||
|
||||
!!! info
|
||||
A predefined set of menus is already provided and it's recommended to be used
|
||||
|
||||
A menu item is configured as follows:
|
||||
```py
|
||||
[menu __main my_menu_item]
|
||||
|
||||
@@ -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`
|
||||
+87
-22
@@ -26,36 +26,101 @@ In general, if the device can show a GNU/Linux desktop, then KlipperScreen shoul
|
||||
Follow the manufacturer instructions on how to install your screen. In general if you see a white screen, then it's not properly installed, ensure that you at least see a console, Then [install](Installation.md) KlipperScreen, if you are having troubles refer to the [troubleshooting page](Troubleshooting.md) for further information.
|
||||
|
||||
## Screen rotation
|
||||
Configure the server to start in the desired orientation, there are many ways to achieve this, here is one:
|
||||
Configure the server to start in the desired orientation, there are many ways to achieve this,
|
||||
here are some examples:
|
||||
|
||||
!!! warning
|
||||
Rotation is handled by the OS and not by KlipperScreen,
|
||||
if you can't rotate your screen it's usually an issue with the OS configuration
|
||||
|
||||
|
||||
Create /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||
```bash
|
||||
sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||
```
|
||||
???+ example
|
||||
|
||||
Paste this section modifying the options to suit your needs:
|
||||
```
|
||||
Section "Monitor"
|
||||
Identifier "DPI-1"
|
||||
# This identifier would be the same as the name of the connector printed by xrandr.
|
||||
# it can be "HDMI-0" "DisplayPort-0", "DSI-0", "DVI-0", "DPI-0" etc
|
||||
Create /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||
```bash
|
||||
sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||
```
|
||||
|
||||
Option "Rotate" "left"
|
||||
# Valid rotation options are normal,inverted,left,right
|
||||
Paste this section modifying the options to suit your needs:
|
||||
```
|
||||
Section "Monitor"
|
||||
Identifier "DPI-1"
|
||||
# This identifier would be the same as the name of the connector printed by xrandr.
|
||||
# it can be "HDMI-0" "DisplayPort-0", "DSI-0", "DVI-0", "DPI-0" etc
|
||||
|
||||
Option "Rotate" "left"
|
||||
# Valid rotation options are normal,inverted,left,right
|
||||
|
||||
|
||||
Option "PreferredMode" "1920x1080"
|
||||
# May be necesary if you are not getting your prefered resolution.
|
||||
EndSection
|
||||
```
|
||||
Save the file and restart KlipperScreen.
|
||||
Option "PreferredMode" "1920x1080"
|
||||
# May be necesary if you are not getting your prefered resolution.
|
||||
EndSection
|
||||
```
|
||||
Save the file and restart KlipperScreen.
|
||||
|
||||
```bash
|
||||
sudo service KlipperScreen restart
|
||||
```
|
||||
```bash
|
||||
sudo service KlipperScreen restart
|
||||
```
|
||||
|
||||
??? example "Using Waveshare screen that is installed with LCD-show"
|
||||
|
||||
```bash
|
||||
cd LCD-show/
|
||||
sudo ./LCD43-show 270 lite
|
||||
```
|
||||
|
||||
??? example "Using a screen installed with goodtft-LCD-show"
|
||||
|
||||
```bash
|
||||
cd LCD-show/
|
||||
sudo ./rotate.sh 90
|
||||
```
|
||||
|
||||
??? example "Raspberry Pi"
|
||||
|
||||
|
||||
|
||||
To set screen orientation when in console mode, you will need to edit the kernel command line to pass the required orientation to the system.
|
||||
|
||||
```bash
|
||||
sudo nano /boot/cmdline.txt
|
||||
```
|
||||
|
||||
To rotate by 90 degrees clockwise, add the following to the cmdline, making sure everything is on the same line, do not add any carriage returns. Possible rotation values are 0, 90, 180 and 270.
|
||||
|
||||
```bash
|
||||
video=DSI-1:800x480@60,rotate=90
|
||||
```
|
||||
Other values can be "HDMI-0" "HDMI-1, "DPI-0" etc
|
||||
|
||||
[Read the official docs for more info](https://www.raspberrypi.com/documentation/computers/config_txt.html)
|
||||
|
||||
[Raspberry Display docs](https://www.raspberrypi.com/documentation/accessories/display.html)
|
||||
|
||||
??? example "Raspberry Pi legacy mode (works with vc4-fkms-v3d)"
|
||||
|
||||
add to config.txt
|
||||
```bash
|
||||
display_lcd_rotate=2
|
||||
```
|
||||
Reboot
|
||||
|
||||
!!! warning
|
||||
Pi4 doesn't support 90 and 270 degrees with this method, [see the official docs](https://www.raspberrypi.com/documentation/computers/config_txt.html#display_hdmi_rotate)
|
||||
|
||||
|
||||
|
||||
| Value | result |
|
||||
| ---------- | ---------- |
|
||||
| 0 | no rotation |
|
||||
| 1 | rotate 90 degrees clockwise |
|
||||
| 2 | rotate 180 degrees clockwise |
|
||||
| 3 | rotate 270 degrees clockwise |
|
||||
| 0x10000h | horizontal flip |
|
||||
| 0x20000 | vertical flip |
|
||||
|
||||
[Read the official docs for more info](https://www.raspberrypi.com/documentation/computers/config_txt.html)
|
||||
|
||||
TODO: LCDSHOW way
|
||||
|
||||
## Touchscreen touch rotation
|
||||
If your touchscreen isn't registering touches properly after the screen has been rotated, you will need to apply a
|
||||
|
||||
@@ -67,10 +67,10 @@ If you wish to use the update manager feature of moonraker for KlipperScreen, ad
|
||||
[update_manager KlipperScreen]
|
||||
type: git_repo
|
||||
path: ~/KlipperScreen
|
||||
origin: https://github.com/jordanruthe/KlipperScreen.git
|
||||
env: ~/.KlipperScreen-env/bin/python
|
||||
origin: https://github.com/KlipperScreen/KlipperScreen.git
|
||||
virtualenv: ~/.KlipperScreen-env/bin/python
|
||||
requirements: scripts/KlipperScreen-requirements.txt
|
||||
install_script: scripts/KlipperScreen-install.sh
|
||||
system_dependencies: scripts/system-dependencies.json
|
||||
managed_services: KlipperScreen
|
||||
```
|
||||
!!! note
|
||||
|
||||
@@ -108,6 +108,12 @@ panel: system
|
||||
```
|
||||

|
||||
|
||||
### Spoolman
|
||||
```py
|
||||
panel: spoolman
|
||||
```
|
||||

|
||||
|
||||
### [Temperature](Panels/Temperature.md)
|
||||
```py
|
||||
panel: temperature
|
||||
|
||||
@@ -14,7 +14,7 @@ This panel has more information than it shows by default, just click/tap the cor
|
||||
!!! note
|
||||
Layer is calculated from object height, it may not be accurate if variable layer is used
|
||||
|
||||
If that is the case use the Layer Progress method described in the [Quicktips](Quicktips.md#layer-progress)
|
||||
If that is the case use the Layer Progress method described in the [Quicktips](../Quicktips.md#layer-progress)
|
||||
|
||||
## Extrusion info
|
||||

|
||||
|
||||
+3
-3
@@ -17,7 +17,7 @@ Recommended sizes for thumbnails:
|
||||
* [Cura](#cura)
|
||||
* [ideaMaker](#ideamaker)
|
||||
|
||||
### PrusaSlicer (2.3.0+)
|
||||
### PrusaSlicer
|
||||
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
|
||||
Under General / Firmware.
|
||||
|
||||
@@ -25,7 +25,7 @@ Under General / Firmware.
|
||||

|
||||
|
||||
|
||||
### SuperSlicer (2.2.54+)
|
||||
### SuperSlicer
|
||||
In “Expert” mode SuperSlicer has some very convenient options in the “Printer Settings” tab to activate and customize the previews.
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ In “Expert” mode SuperSlicer has some very convenient options in the “Prin
|
||||

|
||||
|
||||
|
||||
### ideaMaker (4.2.1+)
|
||||
### ideaMaker
|
||||
1. Open the Advanced tab in the printer settings
|
||||
2. Enable "GCode Thumbnails for Octoprint and Mainsail"
|
||||
3. Set both Width and Height to 300
|
||||
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
# VNC
|
||||
|
||||
This article describes how to use KlipperScreen through a remote connection.
|
||||
|
||||
!!! warning
|
||||
The experience may not be equal to run KlipperScreen natively,
|
||||
depending on the device and network there maybe performance degradation or other issues
|
||||
|
||||
## On the Host device (for example a Raspberry Pi):
|
||||
|
||||
|
||||
1. [First installl KlipperScreen](Installation.md)
|
||||
2. Install a vnc server package, for example:
|
||||
```bash
|
||||
sudo apt install tigervnc-standalone-server
|
||||
```
|
||||
3. Create `launch_KlipperScreen.sh`:
|
||||
|
||||
```bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Use display 10 to avoid clashing with local X server, if anyy
|
||||
Xtigervnc -rfbport 5900 -noreset -AlwaysShared -SecurityTypes none :10&
|
||||
DISPLAY=:10 $KS_XCLIENT&
|
||||
wait
|
||||
```
|
||||
4. Restart KlipperScreen or reboot the system:
|
||||
```bash
|
||||
sudo systemctl service KlipperScreen restart
|
||||
```
|
||||
5. On KlipperScreen set the following configuration:
|
||||
|
||||
DPMS: off
|
||||
|
||||
Display timeout: off
|
||||
|
||||

|
||||
|
||||
## On the remote device:
|
||||
|
||||
1. Installa a VNC viewer and configure it to the ip of the host.
|
||||
|
||||
|
||||
???+ example "Example using an iPad"
|
||||
* Install a VNC viewer for example: `RealVNC Viewer: Remote Desktop`
|
||||
#### Prevent unwanted rotation of UI:
|
||||
* Go to `Settings` > `General` > Set `Use side switch to` to `Lock Rotation`
|
||||
#### Avoid accidentally switching between apps:
|
||||
* Go to `Restrictions` > Set passcode > Enable restrictions.
|
||||
* Open
|
||||
* Triple-click "Home" button
|
||||
* Guided access pops up
|
||||
* Press "Start"
|
||||
* Now iPad is locked to VNC viewer until "Guided access" mode is disabled by triple-clicking "Home" button and entering the restrictions password.
|
||||
#### On the VNC viewer:
|
||||
* Press "+" button at the top right
|
||||
* Enter IP address of your print host.
|
||||
* Press "Save"
|
||||
* Select "Interaction", select "Touch panel", go back
|
||||
* Press "Done"
|
||||
* Double-click on an icon with IP address you have just added.
|
||||
* VNC client will complain about unencrypted connection. Disable the warning and say "Connect"
|
||||
* Use or skip tutorial
|
||||
* Press the "Pin" icon to hide the panel.
|
||||
* Enjoy!
|
||||
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 |
+19
-2
@@ -1,6 +1,6 @@
|
||||
# KlipperScreen
|
||||
|
||||
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
|
||||
KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github.com/Klipper3d/klipper) via [Moonraker](https://github.com/arksine/moonraker). It can switch between multiple printers to access them from a single location, and it doesn't even need to run on the same host, you can install it on another device and configure the IP address to access the printer.
|
||||
|
||||
### Required Hardware
|
||||
|
||||
@@ -24,4 +24,21 @@ Job Status
|
||||
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
|
||||
will natively work with [Klipper](https://github.com/klipper3d/klipper) and [Moonraker](https://github.com/arksine/moonraker).
|
||||
|
||||
[Changelog](Changelog.md)
|
||||
### About the project
|
||||
|
||||
KlipperScreen has been created and maintained by Jordan Ruthe from 2020 to 2021
|
||||
|
||||
|Donate to Jordan|
|
||||
|-|
|
||||
|[Patreon](https://www.patreon.com/klipperscreen)|
|
||||
|[Ko-fi](https://ko-fi.com/klipperscreen)|
|
||||
|
||||
The current maintainer is Alfredo Monclus (alfrix) from 2021 onwards
|
||||
|
||||
|Dontate to Alfrix|
|
||||
|-|
|
||||
|[Ko-fi](https://ko-fi.com/alfrix)|
|
||||
|
||||
thanks to all the people who helped along the way.
|
||||
|
||||
[Contributors](https://github.com/KlipperScreen/KlipperScreen/graphs/contributors)
|
||||
@@ -1,36 +1,16 @@
|
||||
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_RELATIVE = "G91"
|
||||
|
||||
EXTRUDE_ABS = "M82"
|
||||
EXTRUDE_REL = "M83"
|
||||
|
||||
SET_EXT_TEMP = "M104"
|
||||
SET_BED_TEMP = "M140"
|
||||
|
||||
SET_EXT_FACTOR = "M221"
|
||||
SET_FAN_SPEED = "M106"
|
||||
SET_SPD_FACTOR = "M220"
|
||||
|
||||
PROBE_CALIBRATE = "PROBE_CALIBRATE"
|
||||
Z_ENDSTOP_CALIBRATE = "Z_ENDSTOP_CALIBRATE"
|
||||
TESTZ = "TESTZ Z="
|
||||
ABORT = "ABORT"
|
||||
ACCEPT = "ACCEPT"
|
||||
|
||||
@staticmethod
|
||||
def set_bed_temp(temp):
|
||||
return f"{KlippyGcodes.SET_BED_TEMP} S{temp}"
|
||||
return f"M140 S{temp}"
|
||||
|
||||
@staticmethod
|
||||
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
|
||||
def set_heater_temp(heater, temp):
|
||||
@@ -40,25 +20,13 @@ class KlippyGcodes:
|
||||
def set_temp_fan_temp(temp_fan, 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
|
||||
def set_extrusion_rate(rate):
|
||||
return f"{KlippyGcodes.SET_EXT_FACTOR} S{rate}"
|
||||
return f"M221 S{rate}"
|
||||
|
||||
@staticmethod
|
||||
def set_speed_rate(rate):
|
||||
return f"{KlippyGcodes.SET_SPD_FACTOR} 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}"
|
||||
return f"M220 S{rate}"
|
||||
|
||||
@staticmethod
|
||||
def bed_mesh_load(profile):
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import contextlib
|
||||
import logging
|
||||
import os
|
||||
import pathlib
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
@@ -160,6 +158,8 @@ class KlippyGtk:
|
||||
b.set_hexpand(True)
|
||||
b.set_vexpand(True)
|
||||
b.set_can_focus(False)
|
||||
b.set_image_position(position)
|
||||
b.set_always_show_image(True)
|
||||
if image_name is not None:
|
||||
if scale is None:
|
||||
scale = self.button_image_scale
|
||||
@@ -167,8 +167,11 @@ class KlippyGtk:
|
||||
scale = scale * 1.4
|
||||
width = height = self.img_scale * scale
|
||||
b.set_image(self.Image(image_name, width, height))
|
||||
b.set_image_position(position)
|
||||
b.set_always_show_image(True)
|
||||
spinner = Gtk.Spinner.new()
|
||||
spinner.set_no_show_all(True)
|
||||
spinner.set_size_request(width, height)
|
||||
spinner.hide()
|
||||
b.get_child().get_child().add(spinner)
|
||||
|
||||
if label is not None:
|
||||
format_label(b, lines)
|
||||
@@ -177,6 +180,24 @@ class KlippyGtk:
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
@staticmethod
|
||||
def Button_busy(widget, busy):
|
||||
box = widget.get_child().get_child()
|
||||
if busy:
|
||||
widget.set_sensitive(False)
|
||||
widget.set_always_show_image(False)
|
||||
box.get_children()[0].hide()
|
||||
if type(box.get_children()[1]) == Gtk.Spinner:
|
||||
box.get_children()[1].start()
|
||||
box.get_children()[1].show()
|
||||
else:
|
||||
box.get_children()[0].show()
|
||||
if type(box.get_children()[1]) == Gtk.Spinner:
|
||||
box.get_children()[1].stop()
|
||||
box.get_children()[1].hide()
|
||||
widget.set_always_show_image(True)
|
||||
widget.set_sensitive(True)
|
||||
|
||||
def Dialog(self, screen, buttons, content, callback=None, *args):
|
||||
dialog = Gtk.Dialog()
|
||||
dialog.set_default_size(screen.width, screen.height)
|
||||
@@ -241,8 +262,7 @@ class KlippyGtk:
|
||||
b.connect("clicked", self.screen.reset_screensaver_timeout)
|
||||
return b
|
||||
|
||||
@staticmethod
|
||||
def ScrolledWindow():
|
||||
def ScrolledWindow(self, steppers=True):
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_vexpand(True)
|
||||
@@ -250,4 +270,6 @@ class KlippyGtk:
|
||||
Gdk.EventMask.TOUCH_MASK |
|
||||
Gdk.EventMask.BUTTON_RELEASE_MASK)
|
||||
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
|
||||
@@ -29,21 +29,25 @@ class KlippyRest:
|
||||
def get_printer_info(self):
|
||||
return self.send_request("printer/info")
|
||||
|
||||
def get_gcode_help(self):
|
||||
return self.send_request("printer/gcode/help")
|
||||
|
||||
def get_thumbnail_stream(self, thumbnail):
|
||||
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):
|
||||
url = f"{self.endpoint}/{method}"
|
||||
headers = {} if self.api_key is False else {"x-api-key": self.api_key}
|
||||
data = False
|
||||
response_data = False
|
||||
try:
|
||||
response = requests.get(url, headers=headers, timeout=3)
|
||||
callee = getattr(requests, request_method)
|
||||
response = callee(url, json=json, data=data, headers=headers, timeout=3)
|
||||
response.raise_for_status()
|
||||
if json:
|
||||
if json_response:
|
||||
logging.debug(f"Sending request to {url}")
|
||||
data = response.json()
|
||||
response_data = response.json()
|
||||
else:
|
||||
data = response.content
|
||||
response_data = response.content
|
||||
except requests.exceptions.HTTPError as h:
|
||||
self.status = self.format_status(h)
|
||||
except requests.exceptions.ConnectionError as c:
|
||||
@@ -56,11 +60,17 @@ class KlippyRest:
|
||||
self.status = self.format_status(r)
|
||||
except Exception as e:
|
||||
self.status = self.format_status(e)
|
||||
if data:
|
||||
if response_data:
|
||||
self.status = ''
|
||||
else:
|
||||
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):
|
||||
return self._do_request(method, "get", json_response=json)
|
||||
|
||||
@staticmethod
|
||||
def format_status(status):
|
||||
|
||||
+50
-25
@@ -47,6 +47,8 @@ class KlipperScreenConfig:
|
||||
|
||||
try:
|
||||
self.config.read(self.default_config_path)
|
||||
# In case a user altered defaults.conf
|
||||
self.validate_config(self.config)
|
||||
if self.config_path != self.default_config_path:
|
||||
user_def, saved_def = self.separate_saved_config(self.config_path)
|
||||
self.defined_config = configparser.ConfigParser()
|
||||
@@ -59,19 +61,16 @@ class KlipperScreenConfig:
|
||||
self.exclude_from_config(self.defined_config)
|
||||
|
||||
self.log_config(self.defined_config)
|
||||
self.config.read_string(user_def)
|
||||
if self.validate_config(self.defined_config, string=user_def):
|
||||
self.config.read_string(user_def)
|
||||
if saved_def is not None:
|
||||
self.config.read_string(saved_def)
|
||||
logging.info(f"====== Saved Def ======\n{saved_def}\n=======================")
|
||||
auto_gen = configparser.ConfigParser()
|
||||
auto_gen.read_string(saved_def)
|
||||
if self.validate_config(auto_gen, string=saved_def, remove=True):
|
||||
self.config.read_string(saved_def)
|
||||
logging.info(f"====== Saved Def ======\n{saved_def}\n=======================")
|
||||
# This is the final config
|
||||
# self.log_config(self.config)
|
||||
if self.validate_config():
|
||||
logging.info('Configuration validated succesfuly')
|
||||
else:
|
||||
logging.error('Invalid configuration detected !!!')
|
||||
logging.info('Loading default config')
|
||||
self.config = configparser.ConfigParser()
|
||||
self.config.read(self.default_config_path)
|
||||
except KeyError as Kerror:
|
||||
msg = f"Error reading config: {self.config_path}\n{Kerror}"
|
||||
logging.exception(msg)
|
||||
@@ -139,9 +138,16 @@ class KlipperScreenConfig:
|
||||
self.lang = self.langs[lang]
|
||||
self.lang.install(names=['gettext', 'ngettext'])
|
||||
|
||||
def validate_config(self):
|
||||
def validate_config(self, config, string="", remove=False):
|
||||
valid = True
|
||||
for section in self.config:
|
||||
if string:
|
||||
msg = "Section headers have extra information after brackets possible newline issue:"
|
||||
for line in string.split('\n'):
|
||||
if re.match(r".+\].", line):
|
||||
logging.error(line)
|
||||
self.errors.append(f'{msg}\n\n{line}')
|
||||
return False
|
||||
for section in config:
|
||||
if section == 'DEFAULT' or section.startswith('include '):
|
||||
# Do not validate 'DEFAULT' or 'include*' sections
|
||||
continue
|
||||
@@ -150,7 +156,7 @@ class KlipperScreenConfig:
|
||||
bools = (
|
||||
'invert_x', 'invert_y', 'invert_z', '24htime', 'only_heaters', 'show_cursor', 'confirm_estop',
|
||||
'autoclose_popups', 'use_dpms', 'use_default_menu', 'side_macro_shortcut', 'use-matchbox-keyboard',
|
||||
'show_heater_power'
|
||||
'show_heater_power', "show_scroll_steppers",
|
||||
)
|
||||
strs = (
|
||||
'default_printer', 'language', 'print_sort_dir', 'theme', 'screen_blanking', 'font_size',
|
||||
@@ -167,7 +173,7 @@ class KlipperScreenConfig:
|
||||
strs = (
|
||||
'moonraker_api_key', 'moonraker_host', 'titlebar_name_type',
|
||||
'screw_positions', 'power_devices', 'titlebar_items', 'z_babystep_values',
|
||||
'extrude_distances', "extrude_speeds", "camera_url",
|
||||
'extrude_distances', "extrude_speeds", "camera_url", "spoolman",
|
||||
)
|
||||
numbers = (
|
||||
'moonraker_port', 'move_speed_xy', 'move_speed_z',
|
||||
@@ -175,33 +181,42 @@ class KlipperScreenConfig:
|
||||
)
|
||||
elif section.startswith('preheat '):
|
||||
strs = ('gcode', '')
|
||||
numbers = [f'{option}' for option in self.config[section] if option != 'gcode']
|
||||
numbers = [f'{option}' for option in config[section] if option != 'gcode']
|
||||
elif section.startswith('menu '):
|
||||
strs = ('name', 'icon', 'panel', 'method', 'params', 'enable', 'confirm', 'style')
|
||||
elif section == 'bed_screws':
|
||||
# This section may be deprecated in favor of moving this options under the printer section
|
||||
numbers = ('rotation', '')
|
||||
strs = ('screw_positions', '')
|
||||
elif section.startswith('graph') or section.startswith('displayed_macros'):
|
||||
bools = [f'{option}' for option in self.config[section]]
|
||||
elif section.startswith('graph')\
|
||||
or section.startswith('displayed_macros')\
|
||||
or section.startswith('spoolman'):
|
||||
bools = [f'{option}' for option in config[section]]
|
||||
elif section.startswith('z_calibrate_position'):
|
||||
# This section may be deprecated in favor of moving this options under the printer section
|
||||
numbers = ('calibrate_x_position', 'calibrate_y_position')
|
||||
else:
|
||||
self.errors.append(f'Section [{section}] not recognized')
|
||||
|
||||
for key in self.config[section]:
|
||||
for key in config[section]:
|
||||
if key not in bools and key not in strs and key not in numbers:
|
||||
msg = f'Option "{key}" not recognized for section "[{section}]"'
|
||||
self.errors.append(msg)
|
||||
# This most probably is not a big issue, continue to load the config
|
||||
elif key in numbers and not self.is_float(self.config[section][key]) \
|
||||
or key in bools and self.config[section][key] not in ["False", "false", "True", "true"]:
|
||||
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:
|
||||
# This should only be called for the auto-generated section
|
||||
self.config.remove_option(section, key)
|
||||
else:
|
||||
self.errors.append(msg)
|
||||
elif key in numbers and not self.is_float(config[section][key]) \
|
||||
or key in bools and not self.is_bool(config[section][key]):
|
||||
msg = (
|
||||
f'Unable to parse "{key}" from [{section}]\n'
|
||||
f'Expected a {"number" if key in numbers else "boolean"} but got: {self.config[section][key]}'
|
||||
f'Expected a {"number" if key in numbers else "boolean"} but got: {config[section][key]}'
|
||||
)
|
||||
self.errors.append(msg)
|
||||
logging.error('Invalid configuration detected !!!')
|
||||
valid = False
|
||||
return valid
|
||||
|
||||
@@ -213,6 +228,10 @@ class KlipperScreenConfig:
|
||||
except ValueError:
|
||||
return False
|
||||
|
||||
@staticmethod
|
||||
def is_bool(element):
|
||||
return element in ["False", "false", "True", "true"]
|
||||
|
||||
def get_errors(self):
|
||||
return "".join(f'{error}\n\n' for error in self.errors)
|
||||
|
||||
@@ -242,7 +261,7 @@ class KlipperScreenConfig:
|
||||
{"24htime": {"section": "main", "name": _("24 Hour Time"), "type": "binary", "value": "True"}},
|
||||
{"side_macro_shortcut": {
|
||||
"section": "main", "name": _("Macro shortcut on sidebar"), "type": "binary",
|
||||
"value": "True", "callback": screen.toggle_macro_shortcut}},
|
||||
"value": "True", "callback": screen.toggle_shortcut}},
|
||||
{"font_size": {
|
||||
"section": "main", "name": _("Font Size"), "type": "dropdown",
|
||||
"value": "medium", "callback": screen.restart_ks, "options": [
|
||||
@@ -261,6 +280,8 @@ class KlipperScreenConfig:
|
||||
"value": "True"}},
|
||||
{"show_heater_power": {"section": "main", "name": _("Show Heater Power"), "type": "binary",
|
||||
"value": "False", "callback": screen.reload_panels}},
|
||||
{"show_scroll_steppers": {"section": "main", "name": _("Show Scrollbars Buttons"), "type": "binary",
|
||||
"value": "False", "callback": screen.reload_panels}},
|
||||
# {"": {"section": "main", "name": _(""), "type": ""}}
|
||||
]
|
||||
|
||||
@@ -347,7 +368,10 @@ class KlipperScreenConfig:
|
||||
self._include_config("/".join(full_path.split("/")[:-1]), include)
|
||||
self.exclude_from_config(config)
|
||||
self.log_config(config)
|
||||
self.config.read(file)
|
||||
with open(file, 'r') as f:
|
||||
string = f.read()
|
||||
if self.validate_config(config, string=string):
|
||||
self.config.read(file)
|
||||
|
||||
def separate_saved_config(self, config_path):
|
||||
user_def = []
|
||||
@@ -465,6 +489,7 @@ class KlipperScreenConfig:
|
||||
|
||||
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("spoolman")])
|
||||
for section in extra_sections:
|
||||
for item in self.config.options(section):
|
||||
value = self.config[section].getboolean(item, fallback=True)
|
||||
|
||||
@@ -147,7 +147,7 @@ enable: {{ printer.power_devices.count > 0 }}
|
||||
name: {{ gettext('Camera') }}
|
||||
icon: camera
|
||||
panel: camera
|
||||
enable: {{ camera_configured }}
|
||||
enable: {{ printer.cameras.count > 0 }}
|
||||
|
||||
[menu __main more console]
|
||||
name: {{ gettext('Console') }}
|
||||
@@ -208,9 +208,9 @@ enable: {{ (printer.pause_resume.is_paused == True) }}
|
||||
|
||||
[menu __print extrude]
|
||||
name: {{ gettext('Extrude') }}
|
||||
icon: filament
|
||||
icon: extrude
|
||||
panel: extrude
|
||||
enable: {{ (printer.pause_resume.is_paused == True) and (printer.extruders.count > 0) }}
|
||||
enable: {{ printer.extruders.count > 0 }}
|
||||
|
||||
[menu __print power]
|
||||
name: {{ gettext('Power') }}
|
||||
@@ -253,7 +253,7 @@ panel: retraction
|
||||
enable: {{ printer.firmware_retraction }}
|
||||
|
||||
[menu __print settings]
|
||||
name: {{ gettext('Settings') }}
|
||||
name: KlipperScreen
|
||||
icon: settings
|
||||
panel: settings
|
||||
|
||||
@@ -281,3 +281,15 @@ enable: {{ moonraker_connected }}
|
||||
name: KlipperScreen
|
||||
icon: 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 }}
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -43,9 +43,6 @@ msgstr ""
|
||||
msgid "Accept"
|
||||
msgstr ""
|
||||
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr ""
|
||||
|
||||
@@ -147,9 +144,6 @@ msgstr ""
|
||||
msgid "Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr ""
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr ""
|
||||
|
||||
@@ -169,6 +163,9 @@ msgstr ""
|
||||
msgid "Cooldown"
|
||||
msgstr ""
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
@@ -263,9 +260,6 @@ msgstr ""
|
||||
msgid "Full Update"
|
||||
msgstr ""
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr ""
|
||||
|
||||
@@ -284,6 +278,9 @@ msgstr ""
|
||||
msgid "Hide temp."
|
||||
msgstr ""
|
||||
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
|
||||
@@ -299,9 +296,6 @@ msgstr ""
|
||||
msgid "Home Z"
|
||||
msgstr ""
|
||||
|
||||
msgid "Homing"
|
||||
msgstr ""
|
||||
|
||||
msgid "Host"
|
||||
msgstr ""
|
||||
|
||||
@@ -314,6 +308,9 @@ msgstr ""
|
||||
msgid "Initializing printer..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr ""
|
||||
|
||||
@@ -335,6 +332,9 @@ msgstr ""
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
|
||||
@@ -425,6 +425,9 @@ msgstr ""
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
@@ -647,6 +650,9 @@ msgstr ""
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr ""
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr ""
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Czech\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2023-01-29 09:27-0600\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: Jan Stanka (stanky@email.cz)\n"
|
||||
@@ -43,9 +43,6 @@ msgstr "Zrychlení:"
|
||||
msgid "Accept"
|
||||
msgstr "Přijmout"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Akce"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Přidat profil"
|
||||
|
||||
@@ -147,9 +144,6 @@ msgstr "Zavřít"
|
||||
msgid "Complete"
|
||||
msgstr "Hotovo"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Konfigurace"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Potvrzovat Emergency Stop"
|
||||
|
||||
@@ -169,6 +163,9 @@ msgstr "Pokračuj"
|
||||
msgid "Cooldown"
|
||||
msgstr "Zchladit"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Datum"
|
||||
|
||||
@@ -263,9 +260,6 @@ msgstr "Velikost fontu"
|
||||
msgid "Full Update"
|
||||
msgstr "Úplný update"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Zpět"
|
||||
|
||||
@@ -284,6 +278,9 @@ msgstr "Skrýt senzory v Temp."
|
||||
msgid "Hide temp."
|
||||
msgstr "Skrýt teplotu"
|
||||
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Zaparkovat XYZ"
|
||||
|
||||
@@ -299,9 +296,6 @@ msgstr "Zaparkovat Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Zaparkovat Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Domů"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Host"
|
||||
|
||||
@@ -314,6 +308,9 @@ msgstr "Sada ikon"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Startuji tiskárnu ..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr ""
|
||||
|
||||
@@ -335,6 +332,9 @@ msgstr "Otočit Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Otočit Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Restart"
|
||||
|
||||
@@ -425,6 +425,9 @@ msgstr "Změněno"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: připojen"
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Posun"
|
||||
|
||||
@@ -648,6 +651,9 @@ msgstr "Rychlost:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr ""
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Start"
|
||||
|
||||
@@ -759,6 +765,15 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Akce"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Konfigurace"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Domů"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Uvolnit XY"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: SRBJ\n"
|
||||
"Language-Team: \n"
|
||||
@@ -38,9 +38,6 @@ msgstr "Acceleration:"
|
||||
msgid "Accept"
|
||||
msgstr "OK"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Muligheder"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr ""
|
||||
|
||||
@@ -142,9 +139,6 @@ msgstr "Luk"
|
||||
msgid "Complete"
|
||||
msgstr "Færdig"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Konfiguration"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Bekræft Nødstop"
|
||||
|
||||
@@ -164,6 +158,9 @@ msgstr "Fortsæt"
|
||||
msgid "Cooldown"
|
||||
msgstr "Afkøling"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Dato"
|
||||
|
||||
@@ -258,9 +255,6 @@ msgstr "Skriftstørrelse"
|
||||
msgid "Full Update"
|
||||
msgstr "Fuld Opdatering"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Gå tilbage"
|
||||
|
||||
@@ -279,6 +273,9 @@ msgstr "Skjul sensorer i Temp."
|
||||
msgid "Hide temp."
|
||||
msgstr ""
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Home"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Home alle"
|
||||
|
||||
@@ -294,9 +291,6 @@ msgstr "Home Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Home Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Homing"
|
||||
|
||||
msgid "Host"
|
||||
msgstr ""
|
||||
|
||||
@@ -309,6 +303,9 @@ msgstr "Ikon-tema"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Initialiserer printer..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr ""
|
||||
|
||||
@@ -330,6 +327,9 @@ msgstr "Invertér Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Invertér Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Genstart"
|
||||
|
||||
@@ -420,6 +420,9 @@ msgstr "Ændret"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: tilsluttet"
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Flytning"
|
||||
|
||||
@@ -642,6 +645,9 @@ msgstr "Hastighed:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Hastighed for 90° hjørne"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Start"
|
||||
|
||||
@@ -750,6 +756,15 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Muligheder"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Konfiguration"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Homing"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Deaktivér XY"
|
||||
|
||||
@@ -806,9 +821,6 @@ msgstr ""
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Slet"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Home"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Sluk"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
|
||||
"Last-Translator: livinhack\n"
|
||||
"Language-Team: \n"
|
||||
@@ -43,9 +43,6 @@ msgstr "Beschleunigung:"
|
||||
msgid "Accept"
|
||||
msgstr "OK"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Aktionen"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Profil hinzufügen"
|
||||
|
||||
@@ -147,9 +144,6 @@ msgstr "Schließen"
|
||||
msgid "Complete"
|
||||
msgstr "Fertiggestellt"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Not-Aus bestätigen"
|
||||
|
||||
@@ -169,6 +163,9 @@ msgstr "Fortsetzen"
|
||||
msgid "Cooldown"
|
||||
msgstr "Abkühlen"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr "DPMS konnte nicht geladen werden und wurde deaktiviert"
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Datum"
|
||||
|
||||
@@ -263,9 +260,6 @@ msgstr "Schriftgröße"
|
||||
msgid "Full Update"
|
||||
msgstr "Vollständige Aktualisierung"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr "Vollbild"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Zurück"
|
||||
|
||||
@@ -284,6 +278,9 @@ msgstr "Sensoren in Temp ausblenden."
|
||||
msgid "Hide temp."
|
||||
msgstr "Temp. ausblenden"
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Grundposition"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Alle Achsen zurücksetzen"
|
||||
|
||||
@@ -299,9 +296,6 @@ msgstr "Achse Y neupositionieren"
|
||||
msgid "Home Z"
|
||||
msgstr "Achse Z neupositionieren"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Grundposition"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Host"
|
||||
|
||||
@@ -314,6 +308,9 @@ msgstr "Icon Theme"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Drucker wird initialisiert..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "Initiieren einer PID-Kalibrierung für:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "Input Shaper"
|
||||
|
||||
@@ -335,6 +332,9 @@ msgstr "Achse Y invertieren"
|
||||
msgid "Invert Z"
|
||||
msgstr "Achse Z invertieren"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr "Je nach Leistung der Heizung kann dies mehr als 5 Minuten dauern."
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Neustart"
|
||||
|
||||
@@ -425,6 +425,9 @@ msgstr "Modifiziert"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: Verbunden"
|
||||
|
||||
msgid "More"
|
||||
msgstr "Mehr"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Bewegen"
|
||||
|
||||
@@ -649,6 +652,9 @@ msgstr "Geschwindigkeit:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Eckgeschwindigkeit"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr "Standby"
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Starten"
|
||||
|
||||
@@ -759,6 +765,18 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "Vollbild"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Aktionen"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Einstellungen"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Grundposition"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "XY-Achse deaktivieren"
|
||||
|
||||
@@ -815,9 +833,6 @@ msgstr "mm³/s"
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Löschen"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Grundposition"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Aus"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,11 +7,11 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
|
||||
"Last-Translator: livinhack\n"
|
||||
"Language-Team: \n"
|
||||
"Language: de\n"
|
||||
"Language: de_formal\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
@@ -43,9 +43,6 @@ msgstr "Beschleunigung:"
|
||||
msgid "Accept"
|
||||
msgstr "OK"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Aktionen"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Profil hinzufügen"
|
||||
|
||||
@@ -147,9 +144,6 @@ msgstr "Schließen"
|
||||
msgid "Complete"
|
||||
msgstr "Fertiggestellt"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Not-Aus bestätigen"
|
||||
|
||||
@@ -169,6 +163,9 @@ msgstr "Fortsetzen"
|
||||
msgid "Cooldown"
|
||||
msgstr "Abkühlen"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr "DPMS konnte nicht geladen werden und wurde deaktiviert"
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Datum"
|
||||
|
||||
@@ -263,9 +260,6 @@ msgstr "Schriftgröße"
|
||||
msgid "Full Update"
|
||||
msgstr "Vollständige Aktualisierung"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr "Vollbild"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Zurück"
|
||||
|
||||
@@ -284,6 +278,9 @@ msgstr "Sensoren in Temp ausblenden."
|
||||
msgid "Hide temp."
|
||||
msgstr "Temp. ausblenden"
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Grundposition"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Alle Achsen zurücksetzen"
|
||||
|
||||
@@ -299,9 +296,6 @@ msgstr "Achse Y neupositionieren"
|
||||
msgid "Home Z"
|
||||
msgstr "Achse Z neupositionieren"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Grundposition"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Host"
|
||||
|
||||
@@ -314,6 +308,9 @@ msgstr "Icon Theme"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Drucker wird initialisiert..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "Initiieren einer PID-Kalibrierung für:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "Input Shaper"
|
||||
|
||||
@@ -335,6 +332,9 @@ msgstr "Achse Y invertieren"
|
||||
msgid "Invert Z"
|
||||
msgstr "Achse Z invertieren"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr "Je nach Leistung der Heizung kann dies mehr als 5 Minuten dauern."
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Neustart"
|
||||
|
||||
@@ -425,6 +425,9 @@ msgstr "Modifiziert"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: Verbunden"
|
||||
|
||||
msgid "More"
|
||||
msgstr "Mehr"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Bewegen"
|
||||
|
||||
@@ -650,6 +653,9 @@ msgstr "Geschwindigkeit:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Eckgeschwindigkeit"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr "Standby"
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Starten"
|
||||
|
||||
@@ -760,6 +766,18 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "Vollbild"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Aktionen"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Einstellungen"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Grundposition"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "XY-Achse deaktivieren"
|
||||
|
||||
@@ -816,9 +834,6 @@ msgstr "mm³/s"
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Löschen"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Grundposition"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Aus"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@@ -38,9 +38,6 @@ msgstr ""
|
||||
msgid "Accept"
|
||||
msgstr ""
|
||||
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr ""
|
||||
|
||||
@@ -142,9 +139,6 @@ msgstr ""
|
||||
msgid "Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr ""
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr ""
|
||||
|
||||
@@ -164,6 +158,9 @@ msgstr ""
|
||||
msgid "Cooldown"
|
||||
msgstr ""
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
@@ -258,9 +255,6 @@ msgstr ""
|
||||
msgid "Full Update"
|
||||
msgstr ""
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr ""
|
||||
|
||||
@@ -279,6 +273,9 @@ msgstr ""
|
||||
msgid "Hide temp."
|
||||
msgstr ""
|
||||
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
|
||||
@@ -294,9 +291,6 @@ msgstr ""
|
||||
msgid "Home Z"
|
||||
msgstr ""
|
||||
|
||||
msgid "Homing"
|
||||
msgstr ""
|
||||
|
||||
msgid "Host"
|
||||
msgstr ""
|
||||
|
||||
@@ -309,6 +303,9 @@ msgstr ""
|
||||
msgid "Initializing printer..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr ""
|
||||
|
||||
@@ -330,6 +327,9 @@ msgstr ""
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
|
||||
@@ -420,6 +420,9 @@ msgstr ""
|
||||
msgid "Moonraker: connected"
|
||||
msgstr ""
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
@@ -642,6 +645,9 @@ msgstr ""
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr ""
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr ""
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2023-07-25 21:05-0300\n"
|
||||
"Last-Translator: alfrix\n"
|
||||
"Language-Team: \n"
|
||||
"Language: es\n"
|
||||
@@ -16,7 +16,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.2.1\n"
|
||||
"X-Generator: Poedit 3.3.2\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
@@ -43,9 +43,6 @@ msgstr "Aceleración:"
|
||||
msgid "Accept"
|
||||
msgstr "Aceptar"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Acciones"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Agregar perfil"
|
||||
|
||||
@@ -147,9 +144,6 @@ msgstr "Cerrar"
|
||||
msgid "Complete"
|
||||
msgstr "Completado"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Ajustes"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Confirmar Emergencia"
|
||||
|
||||
@@ -169,6 +163,9 @@ msgstr "Continuar"
|
||||
msgid "Cooldown"
|
||||
msgstr "Enfriar"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr "DPMS falló en cargar y ha sido deshabilitado"
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Fecha"
|
||||
|
||||
@@ -263,9 +260,6 @@ msgstr "Tamaño del texto"
|
||||
msgid "Full Update"
|
||||
msgstr "Actualizar Todo"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr "Pantalla Completa"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Volver"
|
||||
|
||||
@@ -284,6 +278,9 @@ msgstr "Ocultar sensores en Temp."
|
||||
msgid "Hide temp."
|
||||
msgstr "Ocultar temp."
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Inicio"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Origen XYZ"
|
||||
|
||||
@@ -299,9 +296,6 @@ msgstr "Origen Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Origen Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Origen"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Anfitrión"
|
||||
|
||||
@@ -314,6 +308,9 @@ msgstr "Tema de Iconos"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Iniciando Impresora..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "Iniciar calibración PID para:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "Corrección de Resonancias"
|
||||
|
||||
@@ -335,6 +332,10 @@ msgstr "Invertir Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Invertir Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
"Puede tardar más de 5 minutos dependiendo de la potencia del calentador."
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Reiniciar Klipper"
|
||||
|
||||
@@ -425,6 +426,9 @@ msgstr "Modificado"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: conectado"
|
||||
|
||||
msgid "More"
|
||||
msgstr "Más"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Mover"
|
||||
|
||||
@@ -547,7 +551,7 @@ msgid "Refresh"
|
||||
msgstr "Actualizar"
|
||||
|
||||
msgid "Rename/Move:"
|
||||
msgstr "Renombrar/Movar"
|
||||
msgstr "Renombrar/Mover:"
|
||||
|
||||
msgid "Restart"
|
||||
msgstr "Reiniciar"
|
||||
@@ -649,6 +653,9 @@ msgstr "Velocidad:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Velocidad de esquina"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr "En espera"
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
@@ -757,6 +764,18 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "Pantalla Completa"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Acciones"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Ajustes"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Origen"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Desactivar XY"
|
||||
|
||||
@@ -816,9 +835,6 @@ msgstr "mm³/s"
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Borrar"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Inicio"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Apagar"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2022-11-30 18:11-0300\n"
|
||||
"Last-Translator: O. Robardet\n"
|
||||
"Language-Team: \n"
|
||||
@@ -43,9 +43,6 @@ msgstr "Accélération:"
|
||||
msgid "Accept"
|
||||
msgstr "Accepter"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Actions"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Ajouter un profil"
|
||||
|
||||
@@ -147,9 +144,6 @@ msgstr "Fermer"
|
||||
msgid "Complete"
|
||||
msgstr "Impression terminée"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Configuration"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Confirmer l'arrêt d'urgence"
|
||||
|
||||
@@ -169,6 +163,9 @@ msgstr "Continuer"
|
||||
msgid "Cooldown"
|
||||
msgstr "Refroidir"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Date"
|
||||
|
||||
@@ -263,9 +260,6 @@ msgstr "Taille de la police"
|
||||
msgid "Full Update"
|
||||
msgstr "Mettre à jour"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Retour"
|
||||
|
||||
@@ -284,6 +278,9 @@ msgstr "Masquer les capteurs dans Températures"
|
||||
msgid "Hide temp."
|
||||
msgstr "Masquer temp."
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Accueil"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Origine XYZ"
|
||||
|
||||
@@ -299,9 +296,6 @@ msgstr "Origine Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Origine Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Origine"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Hôte"
|
||||
|
||||
@@ -314,6 +308,9 @@ msgstr "Thème"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Démarrage de l'imprimante..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "Input Shaper"
|
||||
|
||||
@@ -335,6 +332,9 @@ msgstr "Inverser l'axe Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Inverser l'axe Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Redémarrer Klipper"
|
||||
|
||||
@@ -425,6 +425,9 @@ msgstr "Modifié"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: connecté"
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Mouvement"
|
||||
|
||||
@@ -649,6 +652,9 @@ msgstr "Vitesse:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Vélocité des angles droits"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Démarrer"
|
||||
|
||||
@@ -757,6 +763,15 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Actions"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Configuration"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Origine"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Désactiver XY"
|
||||
|
||||
@@ -813,9 +828,6 @@ msgstr "mm³/s"
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Effacer"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Accueil"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Éteindre"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Klipperscreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2022-11-30 18:11-0300\n"
|
||||
"Last-Translator: Tal Rahav <talrhv1@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -45,9 +45,6 @@ msgstr "האצה"
|
||||
msgid "Accept"
|
||||
msgstr "אשר"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "פעולות"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "הוסף פרופיל"
|
||||
|
||||
@@ -149,9 +146,6 @@ msgstr "סגור"
|
||||
msgid "Complete"
|
||||
msgstr "הסתיים"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "קונפיגורציה"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "אשר עצירת חירום"
|
||||
|
||||
@@ -171,6 +165,9 @@ msgstr "המשך"
|
||||
msgid "Cooldown"
|
||||
msgstr "הפעל קירור"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "תאריך"
|
||||
|
||||
@@ -265,9 +262,6 @@ msgstr "גודל טקסט"
|
||||
msgid "Full Update"
|
||||
msgstr "עדכון מלא"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "חזרה"
|
||||
|
||||
@@ -286,6 +280,9 @@ msgstr "הסתר חיישנים בטמפ'."
|
||||
msgid "Hide temp."
|
||||
msgstr "הסתר טמפרטורה"
|
||||
|
||||
msgid "Home"
|
||||
msgstr "איפוס"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "איפוס XYZ"
|
||||
|
||||
@@ -301,9 +298,6 @@ msgstr "איפוס Y"
|
||||
msgid "Home Z"
|
||||
msgstr "איפוס Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "איפוס צירים"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "שרת"
|
||||
|
||||
@@ -316,6 +310,9 @@ msgstr "ערכת נושא"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "מאתחל מדפסת..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "מעצב גימור"
|
||||
|
||||
@@ -337,6 +334,9 @@ msgstr "הפוך את Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "הפוך את Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper יאתחל מחדש"
|
||||
|
||||
@@ -427,6 +427,9 @@ msgstr "שונה"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: מחובר"
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "הזזת צירים"
|
||||
|
||||
@@ -651,6 +654,9 @@ msgstr "מהירות"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "מהירות פינה מרובעת"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "התחל"
|
||||
|
||||
@@ -765,6 +771,15 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "פעולות"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "קונפיגורציה"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "איפוס צירים"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "השבת את XY"
|
||||
|
||||
@@ -821,9 +836,6 @@ msgstr ""
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "מחק"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "איפוס"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "כבוי"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-05 16:43-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: AntoszHUN\n"
|
||||
"Language-Team: \n"
|
||||
@@ -38,9 +38,6 @@ msgstr "Gyorsulás:"
|
||||
msgid "Accept"
|
||||
msgstr "Elfogad"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Műveletek"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Profil hozzáadása"
|
||||
|
||||
@@ -49,11 +46,11 @@ msgstr "Alkalmaz"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Endstop?"
|
||||
msgstr ""
|
||||
msgstr "Alkalmazod a %s%.3f végpont eltolást?"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Probe?"
|
||||
msgstr ""
|
||||
msgstr "Alkalmazod a %s%.3f szonda eltolást?"
|
||||
|
||||
msgid "Are you sure do you want to exclude the object?"
|
||||
msgstr "Biztosan kizárod az objektumot?"
|
||||
@@ -104,7 +101,7 @@ msgid "Calibrating"
|
||||
msgstr "Kalibrálás"
|
||||
|
||||
msgid "Camera"
|
||||
msgstr ""
|
||||
msgstr "Kamera"
|
||||
|
||||
msgid "Can't set above the maximum:"
|
||||
msgstr "Nem állítható a maximum fölé:"
|
||||
@@ -142,9 +139,6 @@ msgstr "Bezárás"
|
||||
msgid "Complete"
|
||||
msgstr "Befejezve"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Konfiguráció"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Vészleállítás megerősítése"
|
||||
|
||||
@@ -164,11 +158,14 @@ msgstr "Folytat"
|
||||
msgid "Cooldown"
|
||||
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"
|
||||
msgstr "Dátum"
|
||||
|
||||
msgid "Delete Directory?"
|
||||
msgstr ""
|
||||
msgstr "Törlöd a könyvtárat?"
|
||||
|
||||
msgid "Delete File?"
|
||||
msgstr "Fájl törlése?"
|
||||
@@ -258,9 +255,6 @@ msgstr "Betűméret"
|
||||
msgid "Full Update"
|
||||
msgstr "Teljes Frissítés"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Visszalépés"
|
||||
|
||||
@@ -279,6 +273,9 @@ msgstr "Hőfok szenzorok elrejtése."
|
||||
msgid "Hide temp."
|
||||
msgstr "Hőfok elrejtése"
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Kezdőpontok"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "X-Y-Z kezdőpont"
|
||||
|
||||
@@ -294,9 +291,6 @@ msgstr "Y kezdőpont"
|
||||
msgid "Home Z"
|
||||
msgstr "Z kezdőpont"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Kezdőpont"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Gazdagép"
|
||||
|
||||
@@ -309,6 +303,9 @@ msgstr "Ikon téma"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Nyomtató inicializálása..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "PID-kalibráció kezdeményezése:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "Bemeneti alakító"
|
||||
|
||||
@@ -330,6 +327,9 @@ msgstr "Fordított Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Fordított Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr "A fűtés teljesítményétől függően több mint 5 percig tarthat."
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Újraindítása"
|
||||
|
||||
@@ -420,6 +420,9 @@ msgstr "Módosított"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: csatlakoztatva"
|
||||
|
||||
msgid "More"
|
||||
msgstr "Több"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Mozgatás"
|
||||
|
||||
@@ -442,8 +445,8 @@ msgid ""
|
||||
"Not supported for auto-detection, it needs to be configured in klipperscreen."
|
||||
"conf"
|
||||
msgstr ""
|
||||
"Az automatikus felismerés nem támogatott, a klipperscreenben kell beállítani."
|
||||
"conf"
|
||||
"Az automatikus felismerés nem támogatott, a KlipperScreen-ben kell "
|
||||
"beállítani.conf"
|
||||
|
||||
msgid "Nothing selected"
|
||||
msgstr "Nincs kiválasztva"
|
||||
@@ -542,7 +545,7 @@ msgid "Refresh"
|
||||
msgstr "Frissítés"
|
||||
|
||||
msgid "Rename/Move:"
|
||||
msgstr ""
|
||||
msgstr "Átnevez/Áthelyez:"
|
||||
|
||||
msgid "Restart"
|
||||
msgstr "Újraindítás"
|
||||
@@ -644,6 +647,9 @@ msgstr "Sebesség:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Sebesség a sarkokban"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr "Készenlét"
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Indítás"
|
||||
|
||||
@@ -737,8 +743,8 @@ msgstr[1] "órák"
|
||||
|
||||
msgid "minute"
|
||||
msgid_plural "minutes"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[0] "perc"
|
||||
msgstr[1] "percek"
|
||||
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
@@ -752,6 +758,18 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "Teljes képernyő"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Műveletek"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Konfiguráció"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Kezdőpont"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "XY Letiltása"
|
||||
|
||||
@@ -808,9 +826,6 @@ msgstr "mm³/s"
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Töröl"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Kezdőpontok"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Ki"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -2,35 +2,36 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: pappicio\n"
|
||||
"Last-Translator: Pappicio\n"
|
||||
"Language-Team: \n"
|
||||
"Language: it\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Poedit 3.2.1\n"
|
||||
"X-Generator: Poedit 2.2\n"
|
||||
"Project-Id-Version: \n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
msgstr "%s verrà aggiornato alla versione"
|
||||
|
||||
msgid "(default)"
|
||||
msgstr "(predef.)"
|
||||
msgstr "(predefinito)"
|
||||
|
||||
msgid "24 Hour Time"
|
||||
msgstr "24H"
|
||||
msgstr "24 ore"
|
||||
|
||||
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"
|
||||
msgstr "ADXL non configurato"
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "Annulla"
|
||||
msgstr "Interrompi"
|
||||
|
||||
msgid "Acceleration:"
|
||||
msgstr "Accelerazione:"
|
||||
@@ -38,22 +39,19 @@ msgstr "Accelerazione:"
|
||||
msgid "Accept"
|
||||
msgstr "Accetta"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Azioni"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Aggiungi profilo"
|
||||
|
||||
msgid "Apply"
|
||||
msgstr "Applicare"
|
||||
msgstr "Applica"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Endstop?"
|
||||
msgstr ""
|
||||
msgstr "Applicare l'offset %s%.3f a Endstop?"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Probe?"
|
||||
msgstr ""
|
||||
msgstr "Applicare l'offset %s%.3f a Probe?"
|
||||
|
||||
msgid "Are you sure do you want to exclude the object?"
|
||||
msgstr "Sei sicuro di voler escludere l'oggetto?"
|
||||
@@ -62,37 +60,37 @@ msgid "Are you sure you want to run Emergency Stop?"
|
||||
msgstr "Sei sicuro di voler eseguire l'arresto di emergenza?"
|
||||
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Cancellare la Stampa?"
|
||||
msgstr "Sei sicuro di voler annullare questa stampa?"
|
||||
|
||||
msgid "Are you sure you wish to disable motors?"
|
||||
msgstr "Sei sicuro di voler disabilitare i motori?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Riavviare il Sistema?"
|
||||
msgstr "Sei sicuro di voler riavviare il sistema?"
|
||||
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Spegnere il Sistema?"
|
||||
msgstr "Sei sicuro di voler spegnere il sistema?"
|
||||
|
||||
msgid "Auto"
|
||||
msgstr "Auto"
|
||||
msgstr "Automatico"
|
||||
|
||||
msgid "Auto-calibrate"
|
||||
msgstr "Calibrazione automatica"
|
||||
|
||||
msgid "Auto-close notifications"
|
||||
msgstr "Chiudi automaticamente le notifiche"
|
||||
msgstr "Chiusura automatica notifiche"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr "Auto-scroll"
|
||||
msgstr "Scorrimento automatico"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "Livello del letto"
|
||||
msgstr "Bed-Level"
|
||||
|
||||
msgid "Bed Mesh"
|
||||
msgstr "Rete letto"
|
||||
msgstr "Bed-Mesh"
|
||||
|
||||
msgid "Bed screw configuration:"
|
||||
msgstr "Configurazione della vite del letto:"
|
||||
msgstr "configurazione Bed Screw"
|
||||
|
||||
msgid "Calibrate"
|
||||
msgstr "Calibra"
|
||||
@@ -101,19 +99,19 @@ msgid "Calibrated"
|
||||
msgstr "Calibrato"
|
||||
|
||||
msgid "Calibrating"
|
||||
msgstr "Calibratura"
|
||||
msgstr "Calibrazione"
|
||||
|
||||
msgid "Camera"
|
||||
msgstr ""
|
||||
msgstr "Camera"
|
||||
|
||||
msgid "Can't set above the maximum:"
|
||||
msgstr "Impossibile impostare al di sopra del massimo:"
|
||||
msgstr "Impossibile impostare oltre il massimo:"
|
||||
|
||||
msgid "Cancel"
|
||||
msgstr "Annulla"
|
||||
|
||||
msgid "Cancel Print"
|
||||
msgstr "Annulla Stampa"
|
||||
msgstr "Annulla stampa"
|
||||
|
||||
msgid "Cancelled"
|
||||
msgstr "Annullato"
|
||||
@@ -128,13 +126,13 @@ msgid "Channel"
|
||||
msgstr "Canale"
|
||||
|
||||
msgid "Check ADXL Wiring"
|
||||
msgstr "Controllare il cablaggio ADXL"
|
||||
msgstr "Controllare cablaggio ADXL"
|
||||
|
||||
msgid "Checking for updates, please wait..."
|
||||
msgstr "Controllo degli aggiornamenti in corso, attendere..."
|
||||
msgstr "Controllo aggiornamenti in corso, attendere..."
|
||||
|
||||
msgid "Clear"
|
||||
msgstr ""
|
||||
msgstr "Clear"
|
||||
|
||||
msgid "Close"
|
||||
msgstr "Chiudi"
|
||||
@@ -142,9 +140,6 @@ msgstr "Chiudi"
|
||||
msgid "Complete"
|
||||
msgstr "Completo"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Impostazioni"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Conferma arresto di emergenza"
|
||||
|
||||
@@ -153,38 +148,41 @@ msgstr "Connesso"
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr "Connetto a %s"
|
||||
msgstr "Connessione a %s"
|
||||
|
||||
msgid "Console"
|
||||
msgstr "Console"
|
||||
msgstr "Consolle"
|
||||
|
||||
msgid "Continue"
|
||||
msgstr "Continua"
|
||||
|
||||
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"
|
||||
msgstr "Data"
|
||||
|
||||
msgid "Delete Directory?"
|
||||
msgstr ""
|
||||
msgstr "Eliminare Directory?"
|
||||
|
||||
msgid "Delete File?"
|
||||
msgstr "Cancella il file?"
|
||||
msgstr "Eliminare file?"
|
||||
|
||||
msgid "Deselect"
|
||||
msgstr "Deseleziona"
|
||||
|
||||
msgid "Disable Motors"
|
||||
msgstr "Disab. Motori"
|
||||
msgstr "Disabilita motori"
|
||||
|
||||
msgid "Distance (mm)"
|
||||
msgstr "Distanza (mm)"
|
||||
|
||||
#, python-format
|
||||
msgid "Do you want to recover %s?"
|
||||
msgstr "Vuoi recuperare %s?"
|
||||
msgstr "Vuoi ripristinare %s?"
|
||||
|
||||
msgid "Elapsed:"
|
||||
msgstr "Trascorso:"
|
||||
@@ -193,76 +191,73 @@ msgid "Error"
|
||||
msgstr "Errore"
|
||||
|
||||
msgid "Estimated Time Method"
|
||||
msgstr "Metodo Tempo stimato"
|
||||
msgstr "Metodo tempo stimato"
|
||||
|
||||
msgid "Exclude Object"
|
||||
msgstr "Escludi oggetto"
|
||||
|
||||
msgid "Extra Large"
|
||||
msgstr "Extra grande"
|
||||
msgstr ""
|
||||
|
||||
msgid "Extrude"
|
||||
msgstr "Estrudi"
|
||||
|
||||
msgid "Extrusion +"
|
||||
msgstr "Estrudi +"
|
||||
msgstr "Estrusione +"
|
||||
|
||||
msgid "Extrusion -"
|
||||
msgstr "Estrudi -"
|
||||
msgstr "Estrusione -"
|
||||
|
||||
msgid "Failed, adjust position first"
|
||||
msgstr "Fallito, regolare prima la posizione"
|
||||
msgstr "Fallito, regola prima la posizione"
|
||||
|
||||
msgid "Fan"
|
||||
msgstr "Ventola"
|
||||
|
||||
msgid "Filament Used"
|
||||
msgstr "Filamento Usato"
|
||||
msgstr "Filamento usato"
|
||||
|
||||
msgid "Filament total:"
|
||||
msgstr "Filamento totale:"
|
||||
|
||||
msgid "Filament used:"
|
||||
msgstr "Filamento utilizzato:"
|
||||
msgstr "Filamento usato:"
|
||||
|
||||
msgid "Filament:"
|
||||
msgstr "Filamento:"
|
||||
|
||||
msgid "File"
|
||||
msgstr "File"
|
||||
msgstr ""
|
||||
|
||||
msgid "File:"
|
||||
msgstr "File:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Finding ADXL"
|
||||
msgstr "Alla ricerca di ADXL"
|
||||
msgstr "ricerca ADXL..."
|
||||
|
||||
msgid "Fine Tuning"
|
||||
msgstr "Messa a Punto"
|
||||
msgstr "Messa a punto"
|
||||
|
||||
msgid "Finish"
|
||||
msgstr "Finito"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Firmware Riavvio"
|
||||
msgstr "Riavvio firmware"
|
||||
|
||||
msgid "Flow:"
|
||||
msgstr "Fluire:"
|
||||
msgstr "Flusso:"
|
||||
|
||||
msgid "Flowrate:"
|
||||
msgstr "Portata:"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "Dimensione del testo"
|
||||
msgstr "Dimensione carattere"
|
||||
|
||||
msgid "Full Update"
|
||||
msgstr "Completo Aggiornare"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
msgstr "Aggiornamento completo"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Indietro"
|
||||
msgstr "Torna indietro"
|
||||
|
||||
msgid "Height:"
|
||||
msgstr "Altezza:"
|
||||
@@ -271,7 +266,7 @@ msgid "Hidden"
|
||||
msgstr "Nascosto"
|
||||
|
||||
msgid "Hide"
|
||||
msgstr "Nascondere"
|
||||
msgstr "Nascondi"
|
||||
|
||||
msgid "Hide sensors in Temp."
|
||||
msgstr "Nascondi sensori in Temp."
|
||||
@@ -279,6 +274,9 @@ msgstr "Nascondi sensori in Temp."
|
||||
msgid "Hide temp."
|
||||
msgstr "Nascondi temp."
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Home"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Home XYZ"
|
||||
|
||||
@@ -294,20 +292,20 @@ msgstr "Home Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Home Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Homing"
|
||||
|
||||
msgid "Host"
|
||||
msgstr ""
|
||||
msgstr "Host"
|
||||
|
||||
msgid "Hostname"
|
||||
msgstr "Hostname"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "Tema Icone"
|
||||
msgstr "Tema icone"
|
||||
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Inizializzo stampante..."
|
||||
msgstr "Inizializzazione stampante..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "Inizia una calibrazione PID per:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr ""
|
||||
@@ -319,7 +317,7 @@ msgid "Invalid"
|
||||
msgstr "Non valido"
|
||||
|
||||
msgid "Invalid password"
|
||||
msgstr ""
|
||||
msgstr "Password non valida"
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr "Inverti X"
|
||||
@@ -330,26 +328,29 @@ msgstr "Inverti Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Inverti Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr "Potrebbero volerci più di 5 min., dipende della potenza del riscaldatore."
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Riavvio"
|
||||
msgstr "Riavvio Klipper"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper è disconnesso"
|
||||
msgstr "Klipper si è disconnesso"
|
||||
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper ha riscontrato un errore."
|
||||
msgstr "Klipper ha rilevato un errore."
|
||||
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper è spento"
|
||||
msgstr "Klipper si è spento"
|
||||
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper si sta avviando"
|
||||
msgstr "Klipper sta tentando di avviarsi"
|
||||
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper sarà riavviato"
|
||||
msgstr "Klipper si riavvierà"
|
||||
|
||||
msgid "KlipperScreen will reboot"
|
||||
msgstr "KlipperScreen sarà riavviato"
|
||||
msgstr "KlipperScreen si riavvierà"
|
||||
|
||||
msgid "Language"
|
||||
msgstr "Lingua"
|
||||
@@ -358,19 +359,19 @@ msgid "Large"
|
||||
msgstr "Grande"
|
||||
|
||||
msgid "Layer:"
|
||||
msgstr "Strato:"
|
||||
msgstr "Layer:"
|
||||
|
||||
msgid "Left:"
|
||||
msgstr "Restante:"
|
||||
|
||||
msgid "Limits"
|
||||
msgstr "Imp. Limiti"
|
||||
msgstr "Limiti"
|
||||
|
||||
msgid "Load"
|
||||
msgstr "Carica"
|
||||
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "Abbassa ugello"
|
||||
msgstr "Abbassa Ugello"
|
||||
|
||||
msgid "Macro shortcut on sidebar"
|
||||
msgstr "Macros sulla barra laterale"
|
||||
@@ -379,19 +380,19 @@ msgid "Macros"
|
||||
msgstr "Macros"
|
||||
|
||||
msgid "Main Menu"
|
||||
msgstr "Menu Principale"
|
||||
msgstr "Menu principale"
|
||||
|
||||
msgid "Max"
|
||||
msgstr "Max"
|
||||
|
||||
msgid "Max Acceleration"
|
||||
msgstr "Accelerazione Massima"
|
||||
msgstr "Accel. massima"
|
||||
|
||||
msgid "Max Acceleration to Deceleration"
|
||||
msgstr "Da acceleraz. Massima a Deceleraz. Massima"
|
||||
msgstr "Max Accel. a Decel."
|
||||
|
||||
msgid "Max Velocity"
|
||||
msgstr "Velocità Massima"
|
||||
msgstr "Velocità massima"
|
||||
|
||||
msgid "Maximum"
|
||||
msgstr "Massimo"
|
||||
@@ -412,7 +413,7 @@ msgid "Menu"
|
||||
msgstr "Menù"
|
||||
|
||||
msgid "Mesh calibrate"
|
||||
msgstr "Calibrare la maglia"
|
||||
msgstr "Calibrazione mesh"
|
||||
|
||||
msgid "Modified"
|
||||
msgstr "Modificato"
|
||||
@@ -420,11 +421,14 @@ msgstr "Modificato"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: connesso"
|
||||
|
||||
msgid "More"
|
||||
msgstr "Altro"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Muovi"
|
||||
msgstr "Spostamento"
|
||||
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "Distanza Movimento (mm)"
|
||||
msgstr "Distanza spostamento (mm)"
|
||||
|
||||
msgid "Name"
|
||||
msgstr "Nome"
|
||||
@@ -438,30 +442,26 @@ msgstr "Mai"
|
||||
msgid "New"
|
||||
msgstr "Nuovo"
|
||||
|
||||
msgid ""
|
||||
"Not supported for auto-detection, it needs to be configured in klipperscreen."
|
||||
"conf"
|
||||
msgstr ""
|
||||
"Non supportato per il rilevamento automatico, deve essere configurato in "
|
||||
"klipperscreen.conf"
|
||||
msgid "Not supported for auto-detection, it needs to be configured in klipperscreen.conf"
|
||||
msgstr "Non supportato per il rilevamento automatico, configurarlo in klipperscreen.conf"
|
||||
|
||||
msgid "Nothing selected"
|
||||
msgstr "Niente selezionato"
|
||||
msgstr "Nessuna selezione"
|
||||
|
||||
#, python-format
|
||||
msgid "Outdated by %d"
|
||||
msgstr "Obsoleto di %d"
|
||||
msgstr "obsoleto da %d"
|
||||
|
||||
msgid "PSK for"
|
||||
msgstr "PSK per"
|
||||
|
||||
msgid "Package 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"
|
||||
|
||||
msgid "Part Fan"
|
||||
msgstr "Parte Fan"
|
||||
msgstr "Part Fan"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr "Password salvata"
|
||||
@@ -470,79 +470,79 @@ msgid "Pause"
|
||||
msgstr "Pausa"
|
||||
|
||||
msgid "Paused"
|
||||
msgstr "In Pausa"
|
||||
msgstr "In pausa"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "Eseguire un aggiornamento completo?"
|
||||
|
||||
msgid "Pins"
|
||||
msgstr "Perni"
|
||||
msgstr "Pins"
|
||||
|
||||
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"
|
||||
msgstr "Power"
|
||||
|
||||
msgid "Power On Printer"
|
||||
msgstr "Accendi Stampante"
|
||||
msgstr "Accendi la stampante"
|
||||
|
||||
msgid "Pressure Advance:"
|
||||
msgstr "Anticipo di pressione:"
|
||||
msgstr "Pressure Advance:"
|
||||
|
||||
msgid "Print"
|
||||
msgstr "Stampa"
|
||||
|
||||
msgid "Print Control"
|
||||
msgstr "Controllo Stampa"
|
||||
msgstr "Controllo stampa"
|
||||
|
||||
msgid "Print Time"
|
||||
msgstr "Tempo di Stampa"
|
||||
msgstr "Tempo di stampa"
|
||||
|
||||
msgid "Printer"
|
||||
msgstr "Stampante"
|
||||
|
||||
msgid "Printer Connections"
|
||||
msgstr "Connessioni Stampante"
|
||||
msgstr "Connessioni stampante"
|
||||
|
||||
msgid "Printer Select"
|
||||
msgstr "Stampante Seleziona"
|
||||
msgstr "Seleziona stampante"
|
||||
|
||||
msgid "Printing"
|
||||
msgstr "In Stampa"
|
||||
msgstr "In stampa"
|
||||
|
||||
msgid "Probe Offset"
|
||||
msgstr "Scostamento della sonda"
|
||||
msgstr "Probe Offset"
|
||||
|
||||
msgid "Profile Name:"
|
||||
msgstr "Nome Profilo:"
|
||||
msgstr "Nome profilo:"
|
||||
|
||||
msgid "Provide KlipperScreen.log when asking for help.\n"
|
||||
msgstr ""
|
||||
msgstr "Fornisci KlipperScreen.log quando chiedi aiuto.\n"
|
||||
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr "Quad Gantry Level"
|
||||
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "Alza Ugello"
|
||||
msgstr "Alza ugello"
|
||||
|
||||
msgid "Recover"
|
||||
msgstr "Recuperare"
|
||||
msgstr "Ripristino "
|
||||
|
||||
msgid "Recover Hard"
|
||||
msgstr "Recuperare Hard"
|
||||
msgstr "Ripristino Hard"
|
||||
|
||||
msgid "Recover Soft"
|
||||
msgstr "Recuperare Soft"
|
||||
msgstr "Ripristino Soft"
|
||||
|
||||
msgid "Reference"
|
||||
msgstr "Riferimento"
|
||||
|
||||
msgid "Refresh"
|
||||
msgstr "Ricaricare"
|
||||
msgstr "Aggiorna"
|
||||
|
||||
msgid "Rename/Move:"
|
||||
msgstr ""
|
||||
msgstr "Rinomina/Sposta:"
|
||||
|
||||
msgid "Restart"
|
||||
msgstr "Riavvia"
|
||||
@@ -554,10 +554,10 @@ msgid "Retract"
|
||||
msgstr "Ritrai"
|
||||
|
||||
msgid "Retraction"
|
||||
msgstr "Retrazione"
|
||||
msgstr "Ritrazone"
|
||||
|
||||
msgid "Retraction Length"
|
||||
msgstr "Lunghezza di retrazione"
|
||||
msgstr "Lunghezza ritrazione"
|
||||
|
||||
msgid "Retraction Speed"
|
||||
msgstr "Velocità di ritrazione"
|
||||
@@ -575,7 +575,7 @@ msgid "Save Config"
|
||||
msgstr "Salva Config"
|
||||
|
||||
msgid "Save Z"
|
||||
msgstr "Salvo Z"
|
||||
msgstr "Salva Z"
|
||||
|
||||
msgid "Save configuration?"
|
||||
msgstr "Salva configurazione?"
|
||||
@@ -591,16 +591,16 @@ msgid "Screen DPMS"
|
||||
msgstr "Schermo DPMS"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Tempo Spegnim. Schermo"
|
||||
msgstr "Tempo spegnimento schermo"
|
||||
|
||||
msgid "Screws Adjust"
|
||||
msgstr "Calibra Screws"
|
||||
msgstr "Screws Adjust"
|
||||
|
||||
msgid "Select"
|
||||
msgstr "Selezionare"
|
||||
msgstr "Seleziona"
|
||||
|
||||
msgid "Send"
|
||||
msgstr "Spedire"
|
||||
msgstr "Invia"
|
||||
|
||||
msgid "Set Temp"
|
||||
msgstr "Imposta temp"
|
||||
@@ -609,16 +609,16 @@ msgid "Settings"
|
||||
msgstr "Impostazioni"
|
||||
|
||||
msgid "Show"
|
||||
msgstr "Mostrare"
|
||||
msgstr "Mostra"
|
||||
|
||||
msgid "Show Heater Power"
|
||||
msgstr "Mostra la potenza del riscaldatore"
|
||||
msgstr "Mostra potenza riscaldatore"
|
||||
|
||||
msgid "Shutdown"
|
||||
msgstr "Spegnimento"
|
||||
|
||||
msgid "Size"
|
||||
msgstr "Grandezza"
|
||||
msgstr "Dimensioni"
|
||||
|
||||
msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
@@ -627,16 +627,16 @@ msgid "Slicer:"
|
||||
msgstr "Slicer:"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "Piccola"
|
||||
msgstr "Piccolo"
|
||||
|
||||
msgid "Speed (mm/s)"
|
||||
msgstr "Velocità (mm/s)"
|
||||
|
||||
msgid "Speed +"
|
||||
msgstr "Velocità+"
|
||||
msgstr "Velocità +"
|
||||
|
||||
msgid "Speed -"
|
||||
msgstr "Velocità-"
|
||||
msgstr "Velocità -"
|
||||
|
||||
msgid "Speed:"
|
||||
msgstr "Velocità:"
|
||||
@@ -644,14 +644,17 @@ msgstr "Velocità:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Velocità Square Corner"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr "Attesa"
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Iniziare"
|
||||
msgstr "Inizio"
|
||||
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "Avvio dell'Associazione WiFi"
|
||||
msgstr "Avvio associazione WiFi"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "Inizio del recupero per"
|
||||
msgstr "Avvio ripristino per"
|
||||
|
||||
msgid "Starting update for"
|
||||
msgstr "Avvio aggiornamento per"
|
||||
@@ -660,10 +663,10 @@ msgid "System"
|
||||
msgstr "Sistema"
|
||||
|
||||
msgid "System Restart"
|
||||
msgstr "Riavvia Sistema"
|
||||
msgstr "Riavvio del sistema"
|
||||
|
||||
msgid "System Shutdown"
|
||||
msgstr "Spegni Sistema"
|
||||
msgstr "Spegnimento del sistema"
|
||||
|
||||
msgid "Temp (°C)"
|
||||
msgstr "Temp (°C)"
|
||||
@@ -678,16 +681,16 @@ msgid "Unknown Heater"
|
||||
msgstr "Riscaldatore sconosciuto"
|
||||
|
||||
msgid "Unknown screw position"
|
||||
msgstr "Posizione della vite sconosciuta"
|
||||
msgstr "Posizione Screw sconosciuta"
|
||||
|
||||
msgid "Unload"
|
||||
msgstr "Scaricare"
|
||||
msgstr "Scarica"
|
||||
|
||||
msgid "Unretract Extra Length"
|
||||
msgstr "Lunghezza extra non retratta"
|
||||
msgstr "Lunghezza extraRitrazione"
|
||||
|
||||
msgid "Unretract Speed"
|
||||
msgstr "Velocità di ritiro"
|
||||
msgstr "Velocità ritrazione"
|
||||
|
||||
msgid "Up To Date"
|
||||
msgstr "Aggiornato"
|
||||
@@ -696,36 +699,36 @@ msgid "Update"
|
||||
msgstr "Aggiorna"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "In aggiornamento"
|
||||
msgstr "Aggiornamento"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Caricato"
|
||||
|
||||
msgid "XY Move Speed (mm/s)"
|
||||
msgstr "Velocità di spostamento XY (mm/s)"
|
||||
msgstr "Velocità movimento XY (mm/s)"
|
||||
|
||||
msgid "XY Speed (mm/s)"
|
||||
msgstr "Velocità XY (mm/s)"
|
||||
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Calibra Z"
|
||||
msgstr "Calibrazione Z"
|
||||
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Velocità di spostamento Z (mm/s)"
|
||||
msgstr "Velocità movimento Z (mm/s)"
|
||||
|
||||
msgid "Z Speed (mm/s)"
|
||||
msgstr "Velocità Z (mm/s)"
|
||||
msgstr "Velocità Z(mm/s)"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z Tilt"
|
||||
|
||||
msgid "Z offset:"
|
||||
msgstr "Spostamento Z:"
|
||||
msgstr "Z Offset:"
|
||||
|
||||
msgid "commit"
|
||||
msgid_plural "commits"
|
||||
msgstr[0] "cambio"
|
||||
msgstr[1] "modifiche"
|
||||
msgstr[0] "Applica"
|
||||
msgstr[1] "Applica"
|
||||
|
||||
msgid "dBm"
|
||||
msgstr "dBm"
|
||||
@@ -737,8 +740,8 @@ msgstr[1] "ore"
|
||||
|
||||
msgid "minute"
|
||||
msgid_plural "minutes"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[0] "minuto"
|
||||
msgstr[1] "minuti"
|
||||
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
@@ -752,11 +755,20 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Azioni"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Impostazioni"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Homing"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Disab. XY"
|
||||
|
||||
#~ msgid "Slicer Time correction (%)"
|
||||
#~ msgstr "Affettatrice Correzione del tempo (%)"
|
||||
#~ msgstr "Correzione tempi Slicer (%)"
|
||||
|
||||
#~ msgid "Calibrated, save configuration to make it permanent"
|
||||
#~ msgstr "Calibrato, salva la configurazione per renderla permanente"
|
||||
@@ -767,7 +779,6 @@ msgstr "mm³/s"
|
||||
#~ msgid "Increase"
|
||||
#~ msgstr "Incrementa"
|
||||
|
||||
#, python-format
|
||||
#~ msgid "Sending Power ON signal to: %s"
|
||||
#~ msgstr "Invio del segnale di accensione a: %s"
|
||||
|
||||
@@ -775,7 +786,7 @@ msgstr "mm³/s"
|
||||
#~ msgstr "Ordinare:"
|
||||
|
||||
#~ msgid "Calibrating..."
|
||||
#~ msgstr "Calibratura..."
|
||||
#~ msgstr "Calibrazione..."
|
||||
|
||||
#~ msgid "Z+"
|
||||
#~ msgstr "Z+"
|
||||
@@ -795,7 +806,6 @@ msgstr "mm³/s"
|
||||
#~ msgid "Y-"
|
||||
#~ msgstr "Y-"
|
||||
|
||||
#, python-format
|
||||
#~ msgid "Retry #%s"
|
||||
#~ msgstr "Riprova #%s"
|
||||
|
||||
@@ -808,9 +818,6 @@ msgstr "mm³/s"
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Elimina"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Inizio"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Off"
|
||||
|
||||
@@ -818,7 +825,7 @@ msgstr "mm³/s"
|
||||
#~ msgstr "Visual. Mesh"
|
||||
|
||||
#~ msgid "Sort by: "
|
||||
#~ msgstr "Ordine: "
|
||||
#~ msgstr "Ordina: "
|
||||
|
||||
#~ msgid "Bltouch found applied offset"
|
||||
#~ msgstr "Bltouch ha trovato l'offset applicato"
|
||||
@@ -862,7 +869,7 @@ msgstr "mm³/s"
|
||||
#~ "Please recompile and flash."
|
||||
#~ msgstr ""
|
||||
#~ "Klipper ha riscontrato un errore con il microcontrollore.\n"
|
||||
#~ "Si prega di ricompilare e flashare."
|
||||
#~ "Ricompila e flasha."
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Klipper has encountered an error.\n"
|
||||
@@ -878,7 +885,7 @@ msgstr "mm³/s"
|
||||
#~ msgstr "Mostra solo riscaldatori in temp."
|
||||
|
||||
#~ msgid "Target"
|
||||
#~ msgstr "Obbiettivo"
|
||||
#~ msgstr "Obiettivo"
|
||||
|
||||
#~ msgid "Temp"
|
||||
#~ msgstr "Temp"
|
||||
|
||||
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: boyon\n"
|
||||
"Language-Team: \n"
|
||||
@@ -38,9 +38,6 @@ msgstr "加速度:"
|
||||
msgid "Accept"
|
||||
msgstr "承諾する"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "操作"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "プロファイルの追加"
|
||||
|
||||
@@ -142,9 +139,6 @@ msgstr "終了"
|
||||
msgid "Complete"
|
||||
msgstr "完了"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "設定"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "緊急停止時に確認する"
|
||||
|
||||
@@ -164,6 +158,9 @@ msgstr "継続"
|
||||
msgid "Cooldown"
|
||||
msgstr "クールダウン"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "日付"
|
||||
|
||||
@@ -258,9 +255,6 @@ msgstr "フォントサイズ"
|
||||
msgid "Full Update"
|
||||
msgstr "フルアップデート"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "戻る"
|
||||
|
||||
@@ -279,6 +273,9 @@ msgstr "温度を非表示にする"
|
||||
msgid "Hide temp."
|
||||
msgstr "温度を非表示にする"
|
||||
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
|
||||
@@ -294,9 +291,6 @@ msgstr "Home Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Home Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Homing"
|
||||
|
||||
msgid "Host"
|
||||
msgstr ""
|
||||
|
||||
@@ -309,6 +303,9 @@ msgstr "アイコンテーマ"
|
||||
msgid "Initializing printer..."
|
||||
msgstr ""
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr ""
|
||||
|
||||
@@ -330,6 +327,9 @@ msgstr "Y軸を反対にする"
|
||||
msgid "Invert Z"
|
||||
msgstr "X軸を反対にする"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipperを再起動する"
|
||||
|
||||
@@ -420,6 +420,9 @@ msgstr "変更"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: 接続済"
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "移動"
|
||||
|
||||
@@ -641,6 +644,9 @@ msgstr ""
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "四隅の速度"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "開始"
|
||||
|
||||
@@ -746,6 +752,15 @@ msgstr ""
|
||||
msgid "mm³/s"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "操作"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "設定"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Homing"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "XY軸制御の無効化"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: NSteven\n"
|
||||
"Language-Team: NSteven\n"
|
||||
@@ -38,9 +38,6 @@ msgstr "가속도:"
|
||||
msgid "Accept"
|
||||
msgstr "확인"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "툴 헤드 제어"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr ""
|
||||
|
||||
@@ -142,9 +139,6 @@ msgstr "닫기"
|
||||
msgid "Complete"
|
||||
msgstr "완료"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "환경 설정"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "비상정지 확인창 표시"
|
||||
|
||||
@@ -164,6 +158,9 @@ msgstr "계속"
|
||||
msgid "Cooldown"
|
||||
msgstr "가열 중단"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "날짜"
|
||||
|
||||
@@ -258,9 +255,6 @@ msgstr "글꼴 크기"
|
||||
msgid "Full Update"
|
||||
msgstr "전체 업데이트"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "뒤로"
|
||||
|
||||
@@ -279,6 +273,9 @@ msgstr "온도 섹션에서 센서 항목 숨김."
|
||||
msgid "Hide temp."
|
||||
msgstr "온도 숨김"
|
||||
|
||||
msgid "Home"
|
||||
msgstr "홈"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "전체 홈"
|
||||
|
||||
@@ -294,9 +291,6 @@ msgstr "Y축 홈"
|
||||
msgid "Home Z"
|
||||
msgstr "Z축 홈"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "툴 헤드 위치 초기화"
|
||||
|
||||
msgid "Host"
|
||||
msgstr ""
|
||||
|
||||
@@ -309,6 +303,9 @@ msgstr "아이콘 테마"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "프린터 초기화 중.."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "인풋 셰이퍼"
|
||||
|
||||
@@ -330,6 +327,9 @@ msgstr "Y축 반전"
|
||||
msgid "Invert Z"
|
||||
msgstr "Z축 반전"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "클리퍼 재시작"
|
||||
|
||||
@@ -420,6 +420,9 @@ msgstr "수정됨"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "문래커: 연결됨"
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "툴 헤드 이동"
|
||||
|
||||
@@ -641,6 +644,9 @@ msgstr "속도:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "모서리 통과 속도"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "시작"
|
||||
|
||||
@@ -746,6 +752,15 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "툴 헤드 제어"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "환경 설정"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "툴 헤드 위치 초기화"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "XY 비활성화"
|
||||
|
||||
@@ -802,9 +817,6 @@ msgstr ""
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "삭제"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "홈"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "끄기"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2023-05-07 18:50+0200\n"
|
||||
"Last-Translator: Thijs Triemstra <info@collab.nl>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -43,9 +43,6 @@ msgstr "Acceleratie:"
|
||||
msgid "Accept"
|
||||
msgstr "Accepteer"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Acties"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Profiel toevoegen"
|
||||
|
||||
@@ -147,9 +144,6 @@ msgstr "Sluiten"
|
||||
msgid "Complete"
|
||||
msgstr "Voltooid"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Configuratie"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Bevestig Nood Stop"
|
||||
|
||||
@@ -169,6 +163,9 @@ msgstr "Doorgaan"
|
||||
msgid "Cooldown"
|
||||
msgstr "Afkoelen"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Datum"
|
||||
|
||||
@@ -263,9 +260,6 @@ msgstr "Lettertype Grootte"
|
||||
msgid "Full Update"
|
||||
msgstr "Volledige Update"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr "Volledig Scherm"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Ga Terug"
|
||||
|
||||
@@ -284,6 +278,9 @@ msgstr "Verberg sensoren in Temp."
|
||||
msgid "Hide temp."
|
||||
msgstr "Verberg temp."
|
||||
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Home alles"
|
||||
|
||||
@@ -299,9 +296,6 @@ msgstr "Home Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Home Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Homing"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Host"
|
||||
|
||||
@@ -314,6 +308,9 @@ msgstr "Icoon Thema"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Initialiseren printer…"
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "Input Shaper"
|
||||
|
||||
@@ -335,6 +332,9 @@ msgstr "Invert Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Invert Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Herstarten"
|
||||
|
||||
@@ -425,6 +425,9 @@ msgstr "Aangepast"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: verbonden"
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Beweeg"
|
||||
|
||||
@@ -649,6 +652,9 @@ msgstr "Snelheid:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Square Corner Velocity"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Start"
|
||||
|
||||
@@ -757,6 +763,18 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "Volledig Scherm"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Acties"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Configuratie"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Homing"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "XY Uitschakelen"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -1,19 +1,19 @@
|
||||
# Daviteusz <daviteusz0@gmail.com>, 2023.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Polish (KlipperScreen)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"PO-Revision-Date: 2023-06-29 22:18+0000\n"
|
||||
"Last-Translator: Daviteusz <imefiu3@gmail.com>\n"
|
||||
"Language-Team: Polish <https://translate.daviteusz.eu/projects/klipperscreen/"
|
||||
"translate/pl/>\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2023-07-31 22:13+0000\n"
|
||||
"Last-Translator: Daviteusz <daviteusz0@gmail.com>\n"
|
||||
"Language-Team: Polish\n"
|
||||
"Language: pl\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||
"|| n%100>=20) ? 1 : 2;\n"
|
||||
"X-Generator: Weblate 4.18.1\n"
|
||||
"X-Generator: Weblate 4.18.2\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
@@ -32,7 +32,7 @@ msgid "ADXL Not Configured"
|
||||
msgstr "ADXL nieskonfigurowany"
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "Anuluj"
|
||||
msgstr "Przerwij"
|
||||
|
||||
msgid "Acceleration:"
|
||||
msgstr "Przyśpieszenie:"
|
||||
@@ -40,9 +40,6 @@ msgstr "Przyśpieszenie:"
|
||||
msgid "Accept"
|
||||
msgstr "Akceptuj"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Akcje"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Dodaj profil"
|
||||
|
||||
@@ -144,9 +141,6 @@ msgstr "Zamknij"
|
||||
msgid "Complete"
|
||||
msgstr "Zakończone"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Konfiguracja"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Potwierdzaj awaryjny stop"
|
||||
|
||||
@@ -166,6 +160,9 @@ msgstr "Kontynuuj"
|
||||
msgid "Cooldown"
|
||||
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"
|
||||
msgstr "Data"
|
||||
|
||||
@@ -260,11 +257,8 @@ msgstr "Rozmiar czcionki"
|
||||
msgid "Full Update"
|
||||
msgstr "Aktualizuj wszystko"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr "Pełny ekran"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Wróć"
|
||||
msgstr "Powróć"
|
||||
|
||||
msgid "Height:"
|
||||
msgstr "Wysokość:"
|
||||
@@ -276,11 +270,14 @@ msgid "Hide"
|
||||
msgstr "Ukryj"
|
||||
|
||||
msgid "Hide sensors in Temp."
|
||||
msgstr "Ukryj sensory w obszarze Temperatura"
|
||||
msgstr "Ukryj sensory w sekcji temperatur"
|
||||
|
||||
msgid "Hide temp."
|
||||
msgstr "Ukryj temp."
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Bazuj"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Bazuj wszystkie"
|
||||
|
||||
@@ -296,9 +293,6 @@ msgstr "Bazuj Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Bazuj Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Bazowanie"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Gospodarz"
|
||||
|
||||
@@ -311,6 +305,9 @@ msgstr "Motyw ikon"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Inicjowanie drukarki..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "Rozpoczęcie kalibracji PID dla:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "Input Shaper"
|
||||
|
||||
@@ -332,6 +329,9 @@ msgstr "Odwróć Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Odwróć Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr "Może to potrwać dłużej niż 5 minut w zależności od mocy grzałki."
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Restartuj Klipper"
|
||||
|
||||
@@ -422,6 +422,9 @@ msgstr "Zmodyfikowane"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: połączony"
|
||||
|
||||
msgid "More"
|
||||
msgstr "Więcej"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Ruch"
|
||||
|
||||
@@ -491,7 +494,7 @@ msgid "Power On Printer"
|
||||
msgstr "Zasilanie włączone"
|
||||
|
||||
msgid "Pressure Advance:"
|
||||
msgstr "Natężenie docisku:"
|
||||
msgstr "Pressure Advance:"
|
||||
|
||||
msgid "Print"
|
||||
msgstr "Drukuj"
|
||||
@@ -645,7 +648,10 @@ msgid "Speed:"
|
||||
msgstr "Prędkość:"
|
||||
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Prędkość w narożniku prostokątnym"
|
||||
msgstr "Prędkość na rogu kwadratu"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr "Tryb gotowości"
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Start"
|
||||
@@ -758,6 +764,18 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "Pełny ekran"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Akcje"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Konfiguracja"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Bazowanie"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Wyłącz XY"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -11,7 +11,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2022-11-30 18:14-0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@@ -47,9 +47,6 @@ msgstr "Aceleração:"
|
||||
msgid "Accept"
|
||||
msgstr "Aceitar"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Ações"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Adicionar perfil"
|
||||
|
||||
@@ -151,9 +148,6 @@ msgstr "Fechar"
|
||||
msgid "Complete"
|
||||
msgstr "Completado"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Configuração"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Etapa extra ao Parar com Emergência"
|
||||
|
||||
@@ -173,6 +167,9 @@ msgstr "Continuar"
|
||||
msgid "Cooldown"
|
||||
msgstr "Resfriar"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Data"
|
||||
|
||||
@@ -267,9 +264,6 @@ msgstr "Tamanho da fonte"
|
||||
msgid "Full Update"
|
||||
msgstr "Atualizar Tudo"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Voltar"
|
||||
|
||||
@@ -288,6 +282,9 @@ msgstr "Ocultar sensores na Temperatura."
|
||||
msgid "Hide temp."
|
||||
msgstr "Ocultar temperatura"
|
||||
|
||||
msgid "Home"
|
||||
msgstr ""
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Zerar XYZ"
|
||||
|
||||
@@ -303,9 +300,6 @@ msgstr "Zerar Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Zerar Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Zerar"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Host"
|
||||
|
||||
@@ -318,6 +312,9 @@ msgstr "Tema"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Inicializando Impressora..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr ""
|
||||
|
||||
@@ -339,6 +336,9 @@ msgstr "Inverter Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Inverter Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Reiniciar Klipper"
|
||||
|
||||
@@ -429,6 +429,9 @@ msgstr "Modificado"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: Conectado"
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Mover"
|
||||
|
||||
@@ -653,6 +656,9 @@ msgstr "Velocidade:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Velocidade do Canto Reto"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Iniciar"
|
||||
|
||||
@@ -761,6 +767,15 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Ações"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Configuração"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Zerar"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Desabilitar YX"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"PO-Revision-Date: 2022-11-30 18:15-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2023-08-16 09:53-0300\n"
|
||||
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: ru\n"
|
||||
@@ -16,7 +16,7 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
|
||||
"X-Generator: Poedit 3.2.1\n"
|
||||
"X-Generator: Poedit 3.3.2\n"
|
||||
"X-Poedit-Flags-xgettext: --add-comments\n"
|
||||
|
||||
#, python-format
|
||||
@@ -44,9 +44,6 @@ msgstr "Ускорение:"
|
||||
msgid "Accept"
|
||||
msgstr "Применить"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Действия"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Добавить профиль"
|
||||
|
||||
@@ -55,11 +52,11 @@ msgstr "Применить"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Endstop?"
|
||||
msgstr ""
|
||||
msgstr "Применить смещение %s%.3f к Endstop?"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Probe?"
|
||||
msgstr ""
|
||||
msgstr "Применить смещение %s%.3f к зонду?"
|
||||
|
||||
msgid "Are you sure do you want to exclude the object?"
|
||||
msgstr "Вы уверены, что хотите исключить объект?"
|
||||
@@ -110,7 +107,7 @@ msgid "Calibrating"
|
||||
msgstr "Калибровка"
|
||||
|
||||
msgid "Camera"
|
||||
msgstr ""
|
||||
msgstr "Камера"
|
||||
|
||||
msgid "Can't set above the maximum:"
|
||||
msgstr "Невозможно установить выше максимума:"
|
||||
@@ -148,9 +145,6 @@ msgstr "Закрыть"
|
||||
msgid "Complete"
|
||||
msgstr "Готово"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Параметр"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Подтвердить аварийную остановку"
|
||||
|
||||
@@ -170,11 +164,14 @@ msgstr "Продолжить"
|
||||
msgid "Cooldown"
|
||||
msgstr "Остудить"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr "DPMS не загрузилась и была отключена"
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Дата"
|
||||
|
||||
msgid "Delete Directory?"
|
||||
msgstr ""
|
||||
msgstr "Удалить каталог?"
|
||||
|
||||
msgid "Delete File?"
|
||||
msgstr "Удалить Файл?"
|
||||
@@ -264,9 +261,6 @@ msgstr "Размер шрифта"
|
||||
msgid "Full Update"
|
||||
msgstr "Полный Обновлять"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Назад"
|
||||
|
||||
@@ -285,6 +279,9 @@ msgstr "Скрыть датчики в Temp."
|
||||
msgid "Hide temp."
|
||||
msgstr "Скрыть температуру."
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Парковка"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Парковать все"
|
||||
|
||||
@@ -300,9 +297,6 @@ msgstr "Парковать Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Парковать Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Парковка"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Хост"
|
||||
|
||||
@@ -315,6 +309,9 @@ msgstr "Темы"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Принтер стартует..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "Запустите калибровку ПИД-регулятора для:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "Входной шейпер"
|
||||
|
||||
@@ -325,7 +322,7 @@ msgid "Invalid"
|
||||
msgstr "Неверный"
|
||||
|
||||
msgid "Invalid password"
|
||||
msgstr ""
|
||||
msgstr "Неверный пароль"
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr "Инверсия X"
|
||||
@@ -336,6 +333,9 @@ msgstr "Инверсия Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Инверсия Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr "В зависимости от мощности нагревателя это может занять более 5 минут."
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Рестарт"
|
||||
|
||||
@@ -426,6 +426,9 @@ msgstr "Изменено"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: подключен"
|
||||
|
||||
msgid "More"
|
||||
msgstr "Больше"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Двигать"
|
||||
|
||||
@@ -525,7 +528,7 @@ msgid "Profile Name:"
|
||||
msgstr "Имя профиля:"
|
||||
|
||||
msgid "Provide KlipperScreen.log when asking for help.\n"
|
||||
msgstr ""
|
||||
msgstr "Предоставьте KlipperScreen.log при обращении за помощью.\n"
|
||||
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr "Уровень Quad Gantry"
|
||||
@@ -549,7 +552,7 @@ msgid "Refresh"
|
||||
msgstr "Обновить"
|
||||
|
||||
msgid "Rename/Move:"
|
||||
msgstr ""
|
||||
msgstr "Переименовать/переместить:"
|
||||
|
||||
msgid "Restart"
|
||||
msgstr "Перезагрузка"
|
||||
@@ -651,6 +654,9 @@ msgstr "Скорость:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Квадратная угловая скорость"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr "Ожидание"
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Hачать"
|
||||
|
||||
@@ -746,9 +752,9 @@ msgstr[2] "часа"
|
||||
|
||||
msgid "minute"
|
||||
msgid_plural "minutes"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[2] ""
|
||||
msgstr[0] "минута"
|
||||
msgstr[1] "минуты"
|
||||
msgstr[2] "минут"
|
||||
|
||||
msgid "mm"
|
||||
msgstr "мм"
|
||||
@@ -762,6 +768,18 @@ msgstr "мм/с²"
|
||||
msgid "mm³/s"
|
||||
msgstr "мм/с³"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "Полный экран"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Действия"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Параметр"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Парковка"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Отключить XY"
|
||||
|
||||
@@ -818,9 +836,6 @@ msgstr "мм/с³"
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Удалить"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Парковка"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Выкл"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2022-11-21 21:31-0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@@ -43,9 +43,6 @@ msgstr ""
|
||||
msgid "Accept"
|
||||
msgstr "Godkänn"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Åtgärder"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr ""
|
||||
|
||||
@@ -147,9 +144,6 @@ msgstr "Stäng"
|
||||
msgid "Complete"
|
||||
msgstr "Färdig"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Konfiguration"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Bekräfta nödstopp"
|
||||
|
||||
@@ -169,6 +163,9 @@ msgstr "Fortsätt"
|
||||
msgid "Cooldown"
|
||||
msgstr "Nedkylning"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Datum"
|
||||
|
||||
@@ -263,9 +260,6 @@ msgstr "Textstorlek"
|
||||
msgid "Full Update"
|
||||
msgstr "Fullständig Uppdatering"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Gå tillbaka"
|
||||
|
||||
@@ -284,6 +278,9 @@ msgstr "Dölj sensorer i Temp."
|
||||
msgid "Hide temp."
|
||||
msgstr ""
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Hem"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Hem Alla"
|
||||
|
||||
@@ -299,9 +296,6 @@ msgstr "Hem Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Hem Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr ""
|
||||
|
||||
msgid "Host"
|
||||
msgstr ""
|
||||
|
||||
@@ -314,6 +308,9 @@ msgstr "Ikon tema"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Initierar skrivaren..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr ""
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr ""
|
||||
|
||||
@@ -335,6 +332,9 @@ msgstr "Invertera Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Invertera Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr ""
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Omstart"
|
||||
|
||||
@@ -425,6 +425,9 @@ msgstr "Ändrad"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: ansluten"
|
||||
|
||||
msgid "More"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Flytta"
|
||||
|
||||
@@ -647,6 +650,9 @@ msgstr ""
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr ""
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Starta"
|
||||
|
||||
@@ -755,6 +761,12 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Åtgärder"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Konfiguration"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Inaktivera XY"
|
||||
|
||||
@@ -798,9 +810,6 @@ msgstr ""
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Radera"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Hem"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Avstängd"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"PO-Revision-Date: 2022-12-10 14:52+0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2023-07-23 17:27+0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: tr\n"
|
||||
@@ -43,9 +43,6 @@ msgstr "Hızlanma:"
|
||||
msgid "Accept"
|
||||
msgstr "Kabul et"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Eylemler"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Profil ekle"
|
||||
|
||||
@@ -54,11 +51,11 @@ msgstr "Uygula"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Endstop?"
|
||||
msgstr ""
|
||||
msgstr "Endstop'a %s%.3f ofset uygulansın mı?"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Probe?"
|
||||
msgstr ""
|
||||
msgstr "Prob'a %s%.3f ofset uygulansın mı?"
|
||||
|
||||
msgid "Are you sure do you want to exclude the object?"
|
||||
msgstr "Nesneyi hariç tutmak istediğinizden emin misiniz?"
|
||||
@@ -109,7 +106,7 @@ msgid "Calibrating"
|
||||
msgstr "Kalibre Ediliyor"
|
||||
|
||||
msgid "Camera"
|
||||
msgstr ""
|
||||
msgstr "Kamera"
|
||||
|
||||
msgid "Can't set above the maximum:"
|
||||
msgstr "Maksimumun üzerine ayarlanamaz:"
|
||||
@@ -147,9 +144,6 @@ msgstr "Kapat"
|
||||
msgid "Complete"
|
||||
msgstr "Tamamlandı"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Yapılandırma"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Acil Durdurmayı Onaylayın"
|
||||
|
||||
@@ -169,11 +163,14 @@ msgstr "Devam et"
|
||||
msgid "Cooldown"
|
||||
msgstr "Soğutma"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Tarih"
|
||||
|
||||
msgid "Delete Directory?"
|
||||
msgstr ""
|
||||
msgstr "Dizini Sil?"
|
||||
|
||||
msgid "Delete File?"
|
||||
msgstr "Dosyayı Sil?"
|
||||
@@ -263,9 +260,6 @@ msgstr "Yazı boyutu"
|
||||
msgid "Full Update"
|
||||
msgstr "Tam Güncelleme"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Geri git"
|
||||
|
||||
@@ -284,6 +278,9 @@ msgstr "Sıcaklıktaki sensörleri gizleyin."
|
||||
msgid "Hide temp."
|
||||
msgstr "Sıcaklığı gizle."
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Ana Ekran"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Eksenleri Sıfırla"
|
||||
|
||||
@@ -299,9 +296,6 @@ msgstr "Y Sıfırla"
|
||||
msgid "Home Z"
|
||||
msgstr "Z Sıfırla"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Eksen Sıfırlama"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Sunucu"
|
||||
|
||||
@@ -314,6 +308,9 @@ msgstr "Simge Teması"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Yazıcı başlatılıyor..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "PID kalibrasyonu başlatın:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "İvme Düzenleyicisi"
|
||||
|
||||
@@ -335,6 +332,9 @@ msgstr "Y Ters çevir"
|
||||
msgid "Invert Z"
|
||||
msgstr "Z Ters çevir"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr "Isıtıcı gücüne bağlı olarak 5 dakikadan fazla sürebilir."
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Klipper Yeniden başlat"
|
||||
|
||||
@@ -425,6 +425,9 @@ msgstr "Değiştirilmiş"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker: bağlandı"
|
||||
|
||||
msgid "More"
|
||||
msgstr "Daha"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Hareket"
|
||||
|
||||
@@ -547,7 +550,7 @@ msgid "Refresh"
|
||||
msgstr "Yenile"
|
||||
|
||||
msgid "Rename/Move:"
|
||||
msgstr ""
|
||||
msgstr "Yeniden Adlandır/Taşı:"
|
||||
|
||||
msgid "Restart"
|
||||
msgstr "Yeniden Başlat"
|
||||
@@ -649,6 +652,9 @@ msgstr "Hız:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Kare Köşe Hızı"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr ""
|
||||
|
||||
msgid "Start"
|
||||
msgstr "Başlat"
|
||||
|
||||
@@ -742,8 +748,8 @@ msgstr[1] "saatler"
|
||||
|
||||
msgid "minute"
|
||||
msgid_plural "minutes"
|
||||
msgstr[0] ""
|
||||
msgstr[1] ""
|
||||
msgstr[0] "dakika"
|
||||
msgstr[1] "dakikalar"
|
||||
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
@@ -757,6 +763,18 @@ msgstr "mm/s²"
|
||||
msgid "mm³/s"
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "Tam Ekran"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Eylemler"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Yapılandırma"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "Eksen Sıfırlama"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "XY Devre dışı bırak"
|
||||
|
||||
@@ -813,9 +831,6 @@ msgstr "mm³/s"
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Sil"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Ana Ekran"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Kapa"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -5,10 +5,10 @@
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 2023-05-24 14:53-0300\n"
|
||||
"Project-Id-Version: 2023-07-31 15:31\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"PO-Revision-Date: 2023-05-24 22:02+0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2023-07-31 15:32+0300\n"
|
||||
"Last-Translator: Andrii Komarovskyi\n"
|
||||
"Language-Team: Andrii Komarovskyi\n"
|
||||
"Language: uk\n"
|
||||
@@ -17,7 +17,7 @@ msgstr ""
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
|
||||
"X-Generator: Poedit 3.1\n"
|
||||
"X-Generator: Poedit 3.3.2\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
@@ -44,9 +44,6 @@ msgstr "Прискорення:"
|
||||
msgid "Accept"
|
||||
msgstr "Прийняти"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Дії"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr "Додати профіль"
|
||||
|
||||
@@ -148,9 +145,6 @@ msgstr "Закрити"
|
||||
msgid "Complete"
|
||||
msgstr "Завершено"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Конфігурація"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "Підтвердьте АВАРІЙНУ ЗУПИНКУ"
|
||||
|
||||
@@ -170,6 +164,9 @@ msgstr "Продовжити"
|
||||
msgid "Cooldown"
|
||||
msgstr "Охолодження"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr "DPMS не вдалося завантажити, і його було вимкнено"
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Дата"
|
||||
|
||||
@@ -268,9 +265,6 @@ msgstr ""
|
||||
"Повне\n"
|
||||
"Оновлення"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr "Повноекранний режим"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Назад"
|
||||
|
||||
@@ -289,6 +283,9 @@ msgstr "Сховати датчик t°."
|
||||
msgid "Hide temp."
|
||||
msgstr "Приховати темп."
|
||||
|
||||
msgid "Home"
|
||||
msgstr "Домашня сторінка"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Дім Всі"
|
||||
|
||||
@@ -304,9 +301,6 @@ msgstr "Дім Y"
|
||||
msgid "Home Z"
|
||||
msgstr "Дім Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "До дому"
|
||||
|
||||
msgid "Host"
|
||||
msgstr "Хост"
|
||||
|
||||
@@ -319,6 +313,9 @@ msgstr "Тема оформлення"
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Ініціалізація принтера..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "Почати калібрування PID для:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "Input Shaper"
|
||||
|
||||
@@ -340,6 +337,9 @@ msgstr "Інвертувати Y"
|
||||
msgid "Invert Z"
|
||||
msgstr "Інвертувати Z"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr "Залежно від потужності обігрівача це може зайняти більше 5 хвилин."
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
"Перезапуск\n"
|
||||
@@ -432,6 +432,9 @@ msgstr "Змінено"
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Підключено до Moonraker"
|
||||
|
||||
msgid "More"
|
||||
msgstr "Більше"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Переміщення"
|
||||
|
||||
@@ -663,6 +666,9 @@ msgstr "Швидкість:"
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "Квадратно кутова швидкість"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr "Очікування"
|
||||
|
||||
msgid "Start"
|
||||
msgstr "СТАРТ"
|
||||
|
||||
@@ -776,6 +782,18 @@ msgstr "мм/с²"
|
||||
msgid "mm³/s"
|
||||
msgstr "мм/с³"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "Повноекранний режим"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "Дії"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "Конфігурація"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "До дому"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "Вимкнути XY"
|
||||
|
||||
@@ -832,9 +850,6 @@ msgstr "мм/с³"
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "Видалити"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "Домашня сторінка"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "Вимк"
|
||||
|
||||
|
||||
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: KlipperScreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
||||
"PO-Revision-Date: 2022-11-28 11:36-0300\n"
|
||||
"POT-Creation-Date: 2023-08-16 10:20-0300\n"
|
||||
"PO-Revision-Date: 2023-08-03 17:57+0800\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: zh_CN\n"
|
||||
@@ -16,52 +16,49 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Poedit 3.2.1\n"
|
||||
"X-Generator: Poedit 3.3.2\n"
|
||||
|
||||
#, python-format
|
||||
msgid "%s will be updated to version"
|
||||
msgstr "%s将被更新"
|
||||
msgstr "%s 将被更新为版本"
|
||||
|
||||
msgid "(default)"
|
||||
msgstr "(默认)"
|
||||
|
||||
msgid "24 Hour Time"
|
||||
msgstr "使用 24 小时制"
|
||||
msgstr "使用24小时制"
|
||||
|
||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||
msgstr "\"FIRMWARE_RESTART\" 可能会解决这个问题。"
|
||||
msgstr "重启Klipper固件可能会解决这个问题。"
|
||||
|
||||
msgid "ADXL Not Configured"
|
||||
msgstr "未配置ADXL"
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "取消"
|
||||
msgstr "放弃"
|
||||
|
||||
msgid "Acceleration:"
|
||||
msgstr "加速度:"
|
||||
msgstr "加速度:"
|
||||
|
||||
msgid "Accept"
|
||||
msgstr "应用"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "控制"
|
||||
msgstr "接受"
|
||||
|
||||
msgid "Add profile"
|
||||
msgstr ""
|
||||
msgstr "添加配置文件"
|
||||
|
||||
msgid "Apply"
|
||||
msgstr "应用"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Endstop?"
|
||||
msgstr ""
|
||||
msgstr "将 %s%.3f 偏移量应用于限位?"
|
||||
|
||||
#, python-format
|
||||
msgid "Apply %s%.3f offset to Probe?"
|
||||
msgstr ""
|
||||
msgstr "将 %s%.3f 偏移量应用于探针?"
|
||||
|
||||
msgid "Are you sure do you want to exclude the object?"
|
||||
msgstr ""
|
||||
msgstr "你确定要排除该对象吗?"
|
||||
|
||||
msgid "Are you sure you want to run Emergency Stop?"
|
||||
msgstr "您确定要紧急停止吗?"
|
||||
@@ -85,7 +82,7 @@ msgid "Auto-calibrate"
|
||||
msgstr "自动校准"
|
||||
|
||||
msgid "Auto-close notifications"
|
||||
msgstr ""
|
||||
msgstr "自动关闭通知"
|
||||
|
||||
msgid "Auto-scroll"
|
||||
msgstr "自动滚屏"
|
||||
@@ -94,10 +91,10 @@ msgid "Bed Level"
|
||||
msgstr "热床调平"
|
||||
|
||||
msgid "Bed Mesh"
|
||||
msgstr "热床网格"
|
||||
msgstr "床网"
|
||||
|
||||
msgid "Bed screw configuration:"
|
||||
msgstr ""
|
||||
msgstr "热床螺丝配置:"
|
||||
|
||||
msgid "Calibrate"
|
||||
msgstr "校准"
|
||||
@@ -106,10 +103,10 @@ msgid "Calibrated"
|
||||
msgstr "已校准"
|
||||
|
||||
msgid "Calibrating"
|
||||
msgstr ""
|
||||
msgstr "正在校准"
|
||||
|
||||
msgid "Camera"
|
||||
msgstr ""
|
||||
msgstr "摄像头"
|
||||
|
||||
msgid "Can't set above the maximum:"
|
||||
msgstr "设置值超出最大值:"
|
||||
@@ -130,16 +127,16 @@ msgid "Cannot connect to Moonraker"
|
||||
msgstr "无法连接到Moonraker"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "更新通道"
|
||||
msgstr "群组"
|
||||
|
||||
msgid "Check ADXL Wiring"
|
||||
msgstr "检查ADXL的接线"
|
||||
|
||||
msgid "Checking for updates, please wait..."
|
||||
msgstr ""
|
||||
msgstr "正在检查更新,请稍等..."
|
||||
|
||||
msgid "Clear"
|
||||
msgstr "清楚"
|
||||
msgstr "清除"
|
||||
|
||||
msgid "Close"
|
||||
msgstr "关闭"
|
||||
@@ -147,11 +144,8 @@ msgstr "关闭"
|
||||
msgid "Complete"
|
||||
msgstr "完成"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "设置"
|
||||
|
||||
msgid "Confirm Emergency Stop"
|
||||
msgstr "确认紧急停止"
|
||||
msgstr "紧急停止需确认"
|
||||
|
||||
msgid "Connected"
|
||||
msgstr "已连接"
|
||||
@@ -169,14 +163,17 @@ msgstr "继续"
|
||||
msgid "Cooldown"
|
||||
msgstr "冷却"
|
||||
|
||||
msgid "DPMS has failed to load and has been disabled"
|
||||
msgstr "屏幕省电管理系统无法加载已禁用"
|
||||
|
||||
msgid "Date"
|
||||
msgstr "日期"
|
||||
|
||||
msgid "Delete Directory?"
|
||||
msgstr ""
|
||||
msgstr "删除文件夹?"
|
||||
|
||||
msgid "Delete File?"
|
||||
msgstr ""
|
||||
msgstr "删除文件?"
|
||||
|
||||
msgid "Deselect"
|
||||
msgstr "取消选择"
|
||||
@@ -189,10 +186,10 @@ msgstr "挤出长度(mm)"
|
||||
|
||||
#, python-format
|
||||
msgid "Do you want to recover %s?"
|
||||
msgstr "您想恢复 %s 吗?"
|
||||
msgstr "你想恢复 %s 吗?"
|
||||
|
||||
msgid "Elapsed:"
|
||||
msgstr "已用时间:"
|
||||
msgstr "已用时间:"
|
||||
|
||||
msgid "Error"
|
||||
msgstr "错误"
|
||||
@@ -201,19 +198,19 @@ msgid "Estimated Time Method"
|
||||
msgstr "估算剩余时间方式"
|
||||
|
||||
msgid "Exclude Object"
|
||||
msgstr ""
|
||||
msgstr "排除对象"
|
||||
|
||||
msgid "Extra Large"
|
||||
msgstr ""
|
||||
msgstr "特大"
|
||||
|
||||
msgid "Extrude"
|
||||
msgstr "挤出机"
|
||||
msgstr "挤出"
|
||||
|
||||
msgid "Extrusion +"
|
||||
msgstr "挤出流量 +"
|
||||
msgstr "挤压+"
|
||||
|
||||
msgid "Extrusion -"
|
||||
msgstr "挤出流量 -"
|
||||
msgstr "挤压 -"
|
||||
|
||||
msgid "Failed, adjust position first"
|
||||
msgstr "失败,请先调整位置"
|
||||
@@ -225,22 +222,22 @@ msgid "Filament Used"
|
||||
msgstr "已用耗材"
|
||||
|
||||
msgid "Filament total:"
|
||||
msgstr "使用耗材总数:"
|
||||
msgstr "使用耗材总数:"
|
||||
|
||||
msgid "Filament used:"
|
||||
msgstr "使用耗材:"
|
||||
msgstr "使用耗材:"
|
||||
|
||||
msgid "Filament:"
|
||||
msgstr "耗材:"
|
||||
msgstr "耗材:"
|
||||
|
||||
msgid "File"
|
||||
msgstr "文件"
|
||||
|
||||
msgid "File:"
|
||||
msgstr "文件:"
|
||||
msgstr "文件:"
|
||||
|
||||
msgid "Finding ADXL"
|
||||
msgstr "寻找ADXL"
|
||||
msgstr "查找ADXL"
|
||||
|
||||
msgid "Fine Tuning"
|
||||
msgstr "微调"
|
||||
@@ -249,28 +246,25 @@ msgid "Finish"
|
||||
msgstr "结束"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "重启 Firmware"
|
||||
msgstr "重启Klipper固件"
|
||||
|
||||
msgid "Flow:"
|
||||
msgstr "流量:"
|
||||
msgstr "流量:"
|
||||
|
||||
msgid "Flowrate:"
|
||||
msgstr "流量:"
|
||||
msgstr "流速:"
|
||||
|
||||
msgid "Font Size"
|
||||
msgstr "字体大小"
|
||||
|
||||
msgid "Full Update"
|
||||
msgstr "全部 更新"
|
||||
|
||||
msgid "Fullscreen"
|
||||
msgstr ""
|
||||
msgstr "更新全部"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "返回"
|
||||
|
||||
msgid "Height:"
|
||||
msgstr "高度:"
|
||||
msgstr "高度:"
|
||||
|
||||
msgid "Hidden"
|
||||
msgstr "隐藏的"
|
||||
@@ -279,10 +273,13 @@ msgid "Hide"
|
||||
msgstr "隐藏"
|
||||
|
||||
msgid "Hide sensors in Temp."
|
||||
msgstr "隐藏温度传感器。"
|
||||
msgstr "在温度显示中隐藏传感器"
|
||||
|
||||
msgid "Hide temp."
|
||||
msgstr "隐藏温度。"
|
||||
msgstr "隐藏温度"
|
||||
|
||||
msgid "Home"
|
||||
msgstr "归零"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "全部归零"
|
||||
@@ -299,20 +296,20 @@ msgstr "Y轴归零"
|
||||
msgid "Home Z"
|
||||
msgstr "Z轴归零"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "归零"
|
||||
|
||||
msgid "Host"
|
||||
msgstr ""
|
||||
msgstr "主机"
|
||||
|
||||
msgid "Hostname"
|
||||
msgstr "主机名"
|
||||
|
||||
msgid "Icon Theme"
|
||||
msgstr "主题风格"
|
||||
msgstr "主题"
|
||||
|
||||
msgid "Initializing printer..."
|
||||
msgstr "初始化打印机中..."
|
||||
msgstr "正在初始化打印机..."
|
||||
|
||||
msgid "Initiate a PID calibration for:"
|
||||
msgstr "启动PID校准:"
|
||||
|
||||
msgid "Input Shaper"
|
||||
msgstr "共振补偿"
|
||||
@@ -324,7 +321,7 @@ msgid "Invalid"
|
||||
msgstr "无效"
|
||||
|
||||
msgid "Invalid password"
|
||||
msgstr ""
|
||||
msgstr "密码无效"
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr "反转X轴"
|
||||
@@ -335,17 +332,20 @@ msgstr "反转Y轴"
|
||||
msgid "Invert Z"
|
||||
msgstr "反转Z轴"
|
||||
|
||||
msgid "It may take more than 5 minutes depending on the heater power."
|
||||
msgstr "这可能需要5分钟以上的时间,这取决于加热器的功率。"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "重启 Klipper"
|
||||
msgstr "重启Klipper"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper 已断开连接"
|
||||
msgstr "Klipper已断开连接"
|
||||
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper遇到一个错误。"
|
||||
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper 已关闭"
|
||||
msgstr "Klipper已关闭"
|
||||
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper正在启动"
|
||||
@@ -354,19 +354,19 @@ msgid "Klipper will reboot"
|
||||
msgstr "Klipper将重新启动"
|
||||
|
||||
msgid "KlipperScreen will reboot"
|
||||
msgstr "KlipperScreen 将重新启动"
|
||||
msgstr "KlipperScreen将重新启动"
|
||||
|
||||
msgid "Language"
|
||||
msgstr "语言"
|
||||
msgstr "界面语言"
|
||||
|
||||
msgid "Large"
|
||||
msgstr "大"
|
||||
|
||||
msgid "Layer:"
|
||||
msgstr "层:"
|
||||
msgstr "层:"
|
||||
|
||||
msgid "Left:"
|
||||
msgstr "剩余时间:"
|
||||
msgstr "剩余时间:"
|
||||
|
||||
msgid "Limits"
|
||||
msgstr "打印机限制"
|
||||
@@ -378,7 +378,7 @@ msgid "Lower Nozzle"
|
||||
msgstr "降低喷嘴"
|
||||
|
||||
msgid "Macro shortcut on sidebar"
|
||||
msgstr "显示侧边栏宏快捷方式"
|
||||
msgstr "显示侧边栏宏按钮"
|
||||
|
||||
msgid "Macros"
|
||||
msgstr "宏"
|
||||
@@ -399,16 +399,16 @@ msgid "Max Velocity"
|
||||
msgstr "最大速度"
|
||||
|
||||
msgid "Maximum"
|
||||
msgstr ""
|
||||
msgstr "最大"
|
||||
|
||||
msgid "Measure Both"
|
||||
msgstr ""
|
||||
msgstr "同时测量"
|
||||
|
||||
msgid "Measure X"
|
||||
msgstr ""
|
||||
msgstr "测量X轴"
|
||||
|
||||
msgid "Measure Y"
|
||||
msgstr ""
|
||||
msgstr "测量Y轴"
|
||||
|
||||
msgid "Medium"
|
||||
msgstr "中"
|
||||
@@ -417,14 +417,17 @@ msgid "Menu"
|
||||
msgstr "菜单"
|
||||
|
||||
msgid "Mesh calibrate"
|
||||
msgstr ""
|
||||
msgstr "床网校准"
|
||||
|
||||
msgid "Modified"
|
||||
msgstr "修改时间"
|
||||
msgstr "已修改"
|
||||
|
||||
msgid "Moonraker: connected"
|
||||
msgstr "Moonraker:已连接"
|
||||
|
||||
msgid "More"
|
||||
msgstr "更多设置"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "移动"
|
||||
|
||||
@@ -432,38 +435,38 @@ msgid "Move Distance (mm)"
|
||||
msgstr "移动距离(mm)"
|
||||
|
||||
msgid "Name"
|
||||
msgstr "文件名称"
|
||||
msgstr "名称"
|
||||
|
||||
msgid "Network"
|
||||
msgstr "网络"
|
||||
|
||||
msgid "Never"
|
||||
msgstr ""
|
||||
msgstr "从不"
|
||||
|
||||
msgid "New"
|
||||
msgstr ""
|
||||
msgstr "新的值"
|
||||
|
||||
msgid ""
|
||||
"Not supported for auto-detection, it needs to be configured in klipperscreen."
|
||||
"conf"
|
||||
msgstr ""
|
||||
msgstr "不支持自动检测,需要在klpperscreen.conf中进行配置"
|
||||
|
||||
msgid "Nothing selected"
|
||||
msgstr "未选择任何内容"
|
||||
|
||||
#, python-format
|
||||
msgid "Outdated by %d"
|
||||
msgstr "已过时 %d"
|
||||
msgstr "已落后 %d"
|
||||
|
||||
msgid "PSK for"
|
||||
msgstr "网络密码PSK"
|
||||
msgstr "PSK"
|
||||
|
||||
msgid "Package will be updated"
|
||||
msgid_plural "Packages will be updated"
|
||||
msgstr[0] "包将被更新"
|
||||
msgstr[0] "软件包将被更新"
|
||||
|
||||
msgid "Part Fan"
|
||||
msgstr ""
|
||||
msgstr "模型风扇"
|
||||
|
||||
msgid "Password saved"
|
||||
msgstr "密码已保存"
|
||||
@@ -475,10 +478,10 @@ msgid "Paused"
|
||||
msgstr "已暂停"
|
||||
|
||||
msgid "Perform a full upgrade?"
|
||||
msgstr "是否全部升级?"
|
||||
msgstr "是否更新全部?"
|
||||
|
||||
msgid "Pins"
|
||||
msgstr ""
|
||||
msgstr "引脚"
|
||||
|
||||
msgid "Please recompile and flash the micro-controller."
|
||||
msgstr "请重新编译并烧录微控制器。"
|
||||
@@ -487,10 +490,10 @@ msgid "Power"
|
||||
msgstr "电源"
|
||||
|
||||
msgid "Power On Printer"
|
||||
msgstr "启动打印机"
|
||||
msgstr "打印机通电"
|
||||
|
||||
msgid "Pressure Advance:"
|
||||
msgstr "压力推进:"
|
||||
msgstr "压力推进:"
|
||||
|
||||
msgid "Print"
|
||||
msgstr "打印"
|
||||
@@ -502,25 +505,25 @@ msgid "Print Time"
|
||||
msgstr "打印用时"
|
||||
|
||||
msgid "Printer"
|
||||
msgstr ""
|
||||
msgstr "打印机"
|
||||
|
||||
msgid "Printer Connections"
|
||||
msgstr "龙门架调平"
|
||||
msgstr "打印机连接"
|
||||
|
||||
msgid "Printer Select"
|
||||
msgstr ""
|
||||
msgstr "打印机选择"
|
||||
|
||||
msgid "Printing"
|
||||
msgstr "打印中"
|
||||
|
||||
msgid "Probe Offset"
|
||||
msgstr "探头偏移"
|
||||
msgstr "探针偏移"
|
||||
|
||||
msgid "Profile Name:"
|
||||
msgstr "配置文件名称:"
|
||||
msgstr "配置文件名称:"
|
||||
|
||||
msgid "Provide KlipperScreen.log when asking for help.\n"
|
||||
msgstr ""
|
||||
msgstr "在寻求帮助时,请提供KlipperScreen.log文件。\n"
|
||||
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr "龙门架调平"
|
||||
@@ -529,31 +532,31 @@ msgid "Raise Nozzle"
|
||||
msgstr "升高喷嘴"
|
||||
|
||||
msgid "Recover"
|
||||
msgstr ""
|
||||
msgstr "恢复"
|
||||
|
||||
msgid "Recover Hard"
|
||||
msgstr "重置(Hard)"
|
||||
msgstr "版本回退(清空修改内容)"
|
||||
|
||||
msgid "Recover Soft"
|
||||
msgstr "重置(Soft)"
|
||||
msgstr "版本回退(保留修改内容)"
|
||||
|
||||
msgid "Reference"
|
||||
msgstr "参考"
|
||||
|
||||
msgid "Refresh"
|
||||
msgstr ""
|
||||
msgstr "检查更新"
|
||||
|
||||
msgid "Rename/Move:"
|
||||
msgstr ""
|
||||
msgstr "重命名/移动:"
|
||||
|
||||
msgid "Restart"
|
||||
msgstr "重启Klipper"
|
||||
msgstr "重启"
|
||||
|
||||
msgid "Resume"
|
||||
msgstr "继续"
|
||||
|
||||
msgid "Retract"
|
||||
msgstr "退回"
|
||||
msgstr "抽回"
|
||||
|
||||
msgid "Retraction"
|
||||
msgstr "回抽"
|
||||
@@ -565,10 +568,10 @@ msgid "Retraction Speed"
|
||||
msgstr "回抽速度"
|
||||
|
||||
msgid "Retry"
|
||||
msgstr ""
|
||||
msgstr "重试"
|
||||
|
||||
msgid "Retrying"
|
||||
msgstr ""
|
||||
msgstr "正在重试"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "保存"
|
||||
@@ -580,23 +583,23 @@ msgid "Save Z"
|
||||
msgstr "保存Z轴"
|
||||
|
||||
msgid "Save configuration?"
|
||||
msgstr "是否保存设置?"
|
||||
msgstr "是否保存设置?"
|
||||
|
||||
msgid "Saved"
|
||||
msgstr "保存"
|
||||
msgstr "已保存"
|
||||
|
||||
#, python-format
|
||||
msgid "Saved offset: %s"
|
||||
msgstr "保存偏移: %s"
|
||||
msgstr "保存偏移:%s"
|
||||
|
||||
msgid "Screen DPMS"
|
||||
msgstr "屏幕DPMS"
|
||||
msgstr "屏幕省电管理系统"
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "关闭屏幕时间"
|
||||
|
||||
msgid "Screws Adjust"
|
||||
msgstr "调平"
|
||||
msgstr "螺丝调整"
|
||||
|
||||
msgid "Select"
|
||||
msgstr "选择"
|
||||
@@ -614,19 +617,19 @@ msgid "Show"
|
||||
msgstr "显示"
|
||||
|
||||
msgid "Show Heater Power"
|
||||
msgstr ""
|
||||
msgstr "显示加热器功率"
|
||||
|
||||
msgid "Shutdown"
|
||||
msgstr ""
|
||||
msgstr "关闭"
|
||||
|
||||
msgid "Size"
|
||||
msgstr "大小"
|
||||
|
||||
msgid "Slicer"
|
||||
msgstr "切片"
|
||||
msgstr "切片软件"
|
||||
|
||||
msgid "Slicer:"
|
||||
msgstr "切片:"
|
||||
msgstr "切片软件:"
|
||||
|
||||
msgid "Small"
|
||||
msgstr "小"
|
||||
@@ -641,16 +644,19 @@ msgid "Speed -"
|
||||
msgstr "速度 -"
|
||||
|
||||
msgid "Speed:"
|
||||
msgstr "速度:"
|
||||
msgstr "速度:"
|
||||
|
||||
msgid "Square Corner Velocity"
|
||||
msgstr "转角速度"
|
||||
msgstr "直角速度"
|
||||
|
||||
msgid "Standby"
|
||||
msgstr "待机"
|
||||
|
||||
msgid "Start"
|
||||
msgstr "开始"
|
||||
|
||||
msgid "Starting WiFi Association"
|
||||
msgstr "启动wifi连接"
|
||||
msgstr "开始WiFi连接"
|
||||
|
||||
msgid "Starting recovery for"
|
||||
msgstr "开始恢复"
|
||||
@@ -662,46 +668,46 @@ msgid "System"
|
||||
msgstr "系统"
|
||||
|
||||
msgid "System Restart"
|
||||
msgstr "重启 系统"
|
||||
msgstr "重启系统"
|
||||
|
||||
msgid "System Shutdown"
|
||||
msgstr "关闭 系统"
|
||||
msgstr "关闭系统"
|
||||
|
||||
msgid "Temp (°C)"
|
||||
msgstr "温度 (°C)"
|
||||
|
||||
msgid "Temperature"
|
||||
msgstr "温度控制"
|
||||
msgstr "温度"
|
||||
|
||||
msgid "Total:"
|
||||
msgstr "总:"
|
||||
msgstr "合计:"
|
||||
|
||||
msgid "Unknown Heater"
|
||||
msgstr "未知加热器"
|
||||
|
||||
msgid "Unknown screw position"
|
||||
msgstr ""
|
||||
msgstr "未知螺丝位置"
|
||||
|
||||
msgid "Unload"
|
||||
msgstr "卸载"
|
||||
msgstr "卸载耗材"
|
||||
|
||||
msgid "Unretract Extra Length"
|
||||
msgstr ""
|
||||
msgstr "回料长度"
|
||||
|
||||
msgid "Unretract Speed"
|
||||
msgstr ""
|
||||
msgstr "回料速度"
|
||||
|
||||
msgid "Up To Date"
|
||||
msgstr "最新的"
|
||||
msgstr "最新版本"
|
||||
|
||||
msgid "Update"
|
||||
msgstr "更新"
|
||||
|
||||
msgid "Updating"
|
||||
msgstr "更新中"
|
||||
msgstr "正在更新"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "上传时间"
|
||||
msgstr "上传于"
|
||||
|
||||
msgid "XY Move Speed (mm/s)"
|
||||
msgstr "XY轴移动速度(mm/s)"
|
||||
@@ -710,7 +716,7 @@ msgid "XY Speed (mm/s)"
|
||||
msgstr "XY轴速度(mm/s)"
|
||||
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Z轴校准"
|
||||
msgstr "Z偏移校准"
|
||||
|
||||
msgid "Z Move Speed (mm/s)"
|
||||
msgstr "Z轴移动速度(mm/s)"
|
||||
@@ -719,17 +725,17 @@ msgid "Z Speed (mm/s)"
|
||||
msgstr "Z轴速度(mm/s)"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z 倾斜校准"
|
||||
msgstr "Z轴倾斜校准"
|
||||
|
||||
msgid "Z offset:"
|
||||
msgstr "Z轴偏移:"
|
||||
msgstr "Z轴偏移:"
|
||||
|
||||
msgid "commit"
|
||||
msgid_plural "commits"
|
||||
msgstr[0] "更改"
|
||||
|
||||
msgid "dBm"
|
||||
msgstr ""
|
||||
msgstr "dBm"
|
||||
|
||||
msgid "hour"
|
||||
msgid_plural "hours"
|
||||
@@ -737,19 +743,31 @@ msgstr[0] "小时"
|
||||
|
||||
msgid "minute"
|
||||
msgid_plural "minutes"
|
||||
msgstr[0] ""
|
||||
msgstr[0] "分"
|
||||
|
||||
msgid "mm"
|
||||
msgstr ""
|
||||
msgstr "mm"
|
||||
|
||||
msgid "mm/s"
|
||||
msgstr ""
|
||||
msgstr "mm/s"
|
||||
|
||||
msgid "mm/s²"
|
||||
msgstr ""
|
||||
msgstr "mm/s²"
|
||||
|
||||
msgid "mm³/s"
|
||||
msgstr ""
|
||||
msgstr "mm³/s"
|
||||
|
||||
#~ msgid "Fullscreen"
|
||||
#~ msgstr "全屏"
|
||||
|
||||
#~ msgid "Actions"
|
||||
#~ msgstr "控制"
|
||||
|
||||
#~ msgid "Configuration"
|
||||
#~ msgstr "设置"
|
||||
|
||||
#~ msgid "Homing"
|
||||
#~ msgstr "归零"
|
||||
|
||||
#~ msgid "Disable XY"
|
||||
#~ msgstr "关闭 XY 轴电机"
|
||||
@@ -789,9 +807,6 @@ msgstr ""
|
||||
#~ msgid "Delete"
|
||||
#~ msgstr "删除"
|
||||
|
||||
#~ msgid "Home"
|
||||
#~ msgstr "首页"
|
||||
|
||||
#~ msgid "Off"
|
||||
#~ msgstr "关闭"
|
||||
|
||||
|
||||
Binary file not shown.
File diff suppressed because it is too large.
Load diff
+37
-22
@@ -1,5 +1,4 @@
|
||||
import logging
|
||||
import contextlib
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
@@ -25,6 +24,9 @@ class Printer:
|
||||
self.busy_cb = busy_cb
|
||||
self.busy = False
|
||||
self.tempstore_size = 1200
|
||||
self.cameras = []
|
||||
self.available_commands = {}
|
||||
self.spoolman = False
|
||||
|
||||
def reinit(self, printer_info, data):
|
||||
self.config = data['configfile']['config']
|
||||
@@ -36,10 +38,12 @@ class Printer:
|
||||
self.fancount = 0
|
||||
self.output_pin_count = 0
|
||||
self.tempstore = {}
|
||||
self.spoolman = False
|
||||
self.busy = False
|
||||
if not self.store_timeout:
|
||||
self.store_timeout = GLib.timeout_add_seconds(1, self._update_temp_store)
|
||||
self.tempstore_size = 1200
|
||||
self.available_commands = {}
|
||||
|
||||
for x in self.config.keys():
|
||||
if x[:8] == "extruder":
|
||||
@@ -74,14 +78,17 @@ class Printer:
|
||||
if x.startswith('output_pin ') and not x.split()[1].startswith("_"):
|
||||
self.output_pin_count += 1
|
||||
if x.startswith('bed_mesh '):
|
||||
r = self.config[x]
|
||||
r['x_count'] = int(r['x_count'])
|
||||
r['y_count'] = int(r['y_count'])
|
||||
r['max_x'] = float(r['max_x'])
|
||||
r['min_x'] = float(r['min_x'])
|
||||
r['max_y'] = float(r['max_y'])
|
||||
r['min_y'] = float(r['min_y'])
|
||||
r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")]
|
||||
try:
|
||||
r = self.config[x]
|
||||
r['x_count'] = int(r['x_count'])
|
||||
r['y_count'] = int(r['y_count'])
|
||||
r['max_x'] = float(r['max_x'])
|
||||
r['min_x'] = float(r['min_x'])
|
||||
r['max_y'] = float(r['max_y'])
|
||||
r['min_y'] = float(r['min_y'])
|
||||
r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")]
|
||||
except KeyError:
|
||||
logging.debug(f"Couldn't load mesh {x}: {self.config[x]}")
|
||||
self.process_update(data)
|
||||
|
||||
logging.info(f"Klipper version: {printer_info['software_version']}")
|
||||
@@ -112,14 +119,14 @@ class Printer:
|
||||
# webhooks states: startup, ready, shutdown, error
|
||||
# print_stats: standby, printing, paused, error, complete
|
||||
# idle_timeout: Idle, Printing, Ready
|
||||
if self.data['webhooks']['state'] == "ready":
|
||||
with contextlib.suppress(KeyError):
|
||||
if self.data['print_stats']['state'] == 'paused':
|
||||
return "paused"
|
||||
if self.data['print_stats']['state'] == 'printing':
|
||||
return "printing"
|
||||
if self.data['idle_timeout']['state'].lower() == "printing":
|
||||
return "busy"
|
||||
if self.data['webhooks']['state'] == "ready" and (
|
||||
'print_stats' in self.data and 'state' in self.data['print_stats']):
|
||||
if self.data['print_stats']['state'] == 'paused':
|
||||
return "paused"
|
||||
if self.data['print_stats']['state'] == 'printing':
|
||||
return "printing"
|
||||
if self.data['idle_timeout']['state'].lower() == "printing":
|
||||
return "busy"
|
||||
return self.data['webhooks']['state']
|
||||
|
||||
def process_status_update(self):
|
||||
@@ -158,6 +165,10 @@ class Printer:
|
||||
}
|
||||
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=""):
|
||||
if self.config is not None:
|
||||
return [i for i in list(self.config) if i.startswith(search)] if hasattr(self, "config") else []
|
||||
@@ -226,6 +237,8 @@ class Printer:
|
||||
"idle_timeout": self.get_stat("idle_timeout").copy(),
|
||||
"pause_resume": {"is_paused": self.state == "paused"},
|
||||
"power_devices": {"count": len(self.get_power_devices())},
|
||||
"cameras": {"count": len(self.cameras)},
|
||||
"spoolman": self.spoolman
|
||||
}
|
||||
}
|
||||
|
||||
@@ -320,14 +333,12 @@ class Printer:
|
||||
return True
|
||||
|
||||
def init_temp_store(self, tempstore):
|
||||
if not tempstore or 'result' not in tempstore:
|
||||
return
|
||||
if self.tempstore and list(self.tempstore) != list(tempstore['result']):
|
||||
if self.tempstore and list(self.tempstore) != list(tempstore):
|
||||
logging.debug("Tempstore has changed")
|
||||
self.tempstore = tempstore['result']
|
||||
self.tempstore = tempstore
|
||||
self.change_state(self.state)
|
||||
else:
|
||||
self.tempstore = tempstore['result']
|
||||
self.tempstore = tempstore
|
||||
for device in self.tempstore:
|
||||
for x in self.tempstore[device]:
|
||||
length = len(self.tempstore[device][x])
|
||||
@@ -356,3 +367,7 @@ class Printer:
|
||||
temp = 0
|
||||
self.tempstore[device][x].append(temp)
|
||||
return True
|
||||
|
||||
def enable_spoolman(self):
|
||||
logging.info("Enabling Spoolman")
|
||||
self.spoolman = True
|
||||
@@ -60,11 +60,11 @@ class ScreenPanel:
|
||||
return self._gtk.PixbufFromHttp(loc[1], width, height)
|
||||
return None
|
||||
|
||||
def menu_item_clicked(self, widget, panel_type, item):
|
||||
def menu_item_clicked(self, widget, item):
|
||||
if 'extra' in item:
|
||||
self._screen.show_panel(panel_type, item['panel'], item['name'], 1, False, extra=item['extra'])
|
||||
self._screen.show_panel(item['panel'], item['name'], extra=item['extra'])
|
||||
return
|
||||
self._screen.show_panel(panel_type, item['panel'], item['name'], 1, False)
|
||||
self._screen.show_panel(item['panel'], item['name'])
|
||||
|
||||
def load_menu(self, widget, name, title=None):
|
||||
logging.info(f"loading menu {name}")
|
||||
@@ -121,13 +121,13 @@ class ScreenPanel:
|
||||
|
||||
@staticmethod
|
||||
def format_time(seconds):
|
||||
if seconds is None or seconds <= 0:
|
||||
if seconds is None or seconds < 1:
|
||||
return "-"
|
||||
days = seconds // 86400
|
||||
seconds %= 86400
|
||||
hours = seconds // 3600
|
||||
seconds %= 3600
|
||||
minutes = seconds // 60
|
||||
minutes = round(seconds / 60)
|
||||
seconds %= 60
|
||||
return f"{f'{days:2.0f}d ' if days > 0 else ''}" \
|
||||
f"{f'{hours:2.0f}h ' if hours > 0 else ''}" \
|
||||
@@ -159,6 +159,13 @@ class ScreenPanel:
|
||||
if size < unit:
|
||||
return f"{(1024 * size / unit):.1f} {suffix}"
|
||||
|
||||
@staticmethod
|
||||
def prettify(name: str):
|
||||
name = name.replace("_", " ")
|
||||
if name.islower():
|
||||
name = name.title()
|
||||
return name
|
||||
|
||||
def update_temp(self, dev, temp, target, power, lines=1):
|
||||
if temp is None:
|
||||
return
|
||||
|
||||
@@ -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.connect("clicked", self.update_entry, "PID")
|
||||
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.connect("clicked", close_function)
|
||||
|
||||
self.add(self.labels['entry'])
|
||||
self.add(numpad)
|
||||
self.bottom = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL)
|
||||
self.bottom.add(self.pid)
|
||||
self.bottom.add(b)
|
||||
self.add(self.bottom)
|
||||
|
||||
self.labels["keypad"] = numpad
|
||||
|
||||
def show_pid(self, can_pid):
|
||||
if can_pid and self.pid not in self.bottom:
|
||||
self.bottom.add(self.pid)
|
||||
self.bottom.reorder_child(self.pid, 0)
|
||||
elif self.pid in self.bottom:
|
||||
self.bottom.remove(self.pid)
|
||||
self.pid.set_visible(can_pid)
|
||||
|
||||
def clear(self):
|
||||
self.labels['entry'].set_text("")
|
||||
|
||||
+8
-10
@@ -1,19 +1,17 @@
|
||||
# Network in KlipperScreen is a connection in NetworkManager
|
||||
# Interface in KlipperScreen is a device in NetworkManager
|
||||
|
||||
import contextlib
|
||||
import logging
|
||||
import uuid
|
||||
|
||||
from ks_includes import NetworkManager
|
||||
import dbus
|
||||
from dbus.mainloop.glib import DBusGMainLoop
|
||||
import gi
|
||||
|
||||
gi.require_version('Gdk', '3.0')
|
||||
from gi.repository import GLib
|
||||
|
||||
from contextlib import suppress
|
||||
from ks_includes.wifi import WifiChannels
|
||||
from ks_includes import NetworkManager
|
||||
from dbus.mainloop.glib import DBusGMainLoop
|
||||
|
||||
|
||||
class WifiManager:
|
||||
@@ -56,7 +54,7 @@ class WifiManager:
|
||||
self.known_networks[ssid] = con
|
||||
|
||||
def _ap_added(self, nm, interface, signal, access_point):
|
||||
with contextlib.suppress(NetworkManager.ObjectVanished):
|
||||
with suppress(NetworkManager.ObjectVanished):
|
||||
access_point.OnPropertiesChanged(self._ap_prop_changed)
|
||||
ssid = self._add_ap(access_point)
|
||||
for cb in self._callbacks['scan_results']:
|
||||
@@ -183,7 +181,7 @@ class WifiManager:
|
||||
def connect(self, ssid):
|
||||
if ssid in self.known_networks:
|
||||
conn = self.known_networks[ssid]
|
||||
with contextlib.suppress(NetworkManager.ObjectVanished):
|
||||
with suppress(NetworkManager.ObjectVanished):
|
||||
msg = f"Connecting to: {ssid}"
|
||||
logging.info(msg)
|
||||
self.callback("connecting_status", msg)
|
||||
@@ -208,7 +206,7 @@ class WifiManager:
|
||||
aps = self.wifi_dev.GetAccessPoints()
|
||||
ret = {}
|
||||
for ap in aps:
|
||||
with contextlib.suppress(NetworkManager.ObjectVanished):
|
||||
with suppress(NetworkManager.ObjectVanished):
|
||||
ret[ap.Ssid] = ap
|
||||
return ret
|
||||
|
||||
@@ -216,7 +214,7 @@ class WifiManager:
|
||||
netinfo = {}
|
||||
if ssid in self.known_networks:
|
||||
con = self.known_networks[ssid]
|
||||
with contextlib.suppress(NetworkManager.ObjectVanished):
|
||||
with suppress(NetworkManager.ObjectVanished):
|
||||
settings = con.GetSettings()
|
||||
if settings and '802-11-wireless' in settings:
|
||||
netinfo.update({
|
||||
@@ -227,7 +225,7 @@ class WifiManager:
|
||||
aps = self.visible_networks
|
||||
if path in aps:
|
||||
ap = aps[path]
|
||||
with contextlib.suppress(NetworkManager.ObjectVanished):
|
||||
with suppress(NetworkManager.ObjectVanished):
|
||||
netinfo.update({
|
||||
"mac": ap.HwAddress,
|
||||
"channel": WifiChannels.lookup(str(ap.Frequency))[1],
|
||||
|
||||
+7
-3
@@ -4,7 +4,7 @@ site_description: >-
|
||||
KlipperScreen documentation.
|
||||
|
||||
repo_name: jordanruthe/KlipperScreen/
|
||||
repo_url: https://github.com/jordanruthe/KlipperScreen/
|
||||
repo_url: https://github.com/KlipperScreen/KlipperScreen/
|
||||
nav:
|
||||
- Home: index.md
|
||||
- Setup:
|
||||
@@ -13,8 +13,10 @@ nav:
|
||||
- Configuration.md
|
||||
- Quicktips.md
|
||||
- Macros: macros.md
|
||||
- Android.md
|
||||
- Thumbnails.md
|
||||
- Remote screens:
|
||||
- VNC.md
|
||||
- Xserver-XSDL (Android): Android.md
|
||||
- Troubleshooting:
|
||||
- First Steps/Log: Troubleshooting.md
|
||||
- Network: Troubleshooting/Network.md
|
||||
@@ -31,6 +33,7 @@ nav:
|
||||
- Theming.md
|
||||
- Translations.md
|
||||
- Breaking Changes: Changelog.md
|
||||
- Developers.md
|
||||
|
||||
- Contact.md
|
||||
theme:
|
||||
@@ -61,11 +64,12 @@ markdown_extensions:
|
||||
- pymdownx.inlinehilite
|
||||
- pymdownx.snippets
|
||||
- pymdownx.superfences
|
||||
- pymdownx.details
|
||||
|
||||
extra:
|
||||
social:
|
||||
- icon: fontawesome/brands/github
|
||||
link: https://github.com/jordanruthe/klipperScreen/
|
||||
link: https://github.com/KlipperScreen/KlipperScreen/
|
||||
- icon: fontawesome/brands/discord
|
||||
link: https://discord.klipper3d.org/
|
||||
- icon: fontawesome/brands/python
|
||||
+42
-71
@@ -1,5 +1,4 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import contextlib
|
||||
import logging
|
||||
|
||||
import gi
|
||||
@@ -9,7 +8,7 @@ from gi.repository import GLib, Gtk, Pango
|
||||
from jinja2 import Environment
|
||||
from datetime import datetime
|
||||
from math import log
|
||||
|
||||
from contextlib import suppress
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
@@ -22,10 +21,6 @@ class BasePanel(ScreenPanel):
|
||||
self.time_update = None
|
||||
self.titlebar_items = []
|
||||
self.titlebar_name_type = None
|
||||
self.buttons_showing = {
|
||||
'macros_shortcut': False,
|
||||
'printer_select': len(self._config.get_printers()) > 1,
|
||||
}
|
||||
self.current_extruder = None
|
||||
# Action bar buttons
|
||||
abscale = self.bts * 1.1
|
||||
@@ -33,19 +28,22 @@ class BasePanel(ScreenPanel):
|
||||
self.control['back'].connect("clicked", self.back)
|
||||
self.control['home'] = self._gtk.Button('main', scale=abscale)
|
||||
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, "gcode_macros", {
|
||||
"name": "Macros",
|
||||
"panel": "gcode_macros"
|
||||
})
|
||||
|
||||
self.control['estop'] = self._gtk.Button('emergency', scale=abscale)
|
||||
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
|
||||
for item in self.control:
|
||||
@@ -63,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.add(self.control['back'])
|
||||
self.action_bar.add(self.control['home'])
|
||||
self.show_back(False)
|
||||
if self.buttons_showing['printer_select']:
|
||||
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['printer_select'])
|
||||
self.action_bar.add(self.control['shortcut'])
|
||||
self.action_bar.add(self.control['estop'])
|
||||
self.show_estop(False)
|
||||
self.show_printer_select(len(self._config.get_printers()) > 1)
|
||||
|
||||
# Titlebar
|
||||
|
||||
@@ -81,7 +77,7 @@ class BasePanel(ScreenPanel):
|
||||
self.titlelbl.set_ellipsize(Pango.EllipsizeMode.END)
|
||||
self.set_title(title)
|
||||
|
||||
self.control['time'] = Gtk.Label("00:00 AM")
|
||||
self.control['time'] = Gtk.Label(label="00:00 AM")
|
||||
self.control['time_box'] = Gtk.Box()
|
||||
self.control['time_box'].set_halign(Gtk.Align.END)
|
||||
self.control['time_box'].pack_end(self.control['time'], True, True, 10)
|
||||
@@ -113,12 +109,13 @@ class BasePanel(ScreenPanel):
|
||||
try:
|
||||
for child in self.control['temp_box'].get_children():
|
||||
self.control['temp_box'].remove(child)
|
||||
if not show or self._printer.get_temp_store_devices() is None:
|
||||
devices = (self._printer.get_tools() + self._printer.get_heaters())
|
||||
if not show or not devices:
|
||||
return
|
||||
|
||||
img_size = self._gtk.img_scale * self.bts
|
||||
for device in self._printer.get_temp_store_devices():
|
||||
self.labels[device] = Gtk.Label(label="100º")
|
||||
for device in devices:
|
||||
self.labels[device] = Gtk.Label()
|
||||
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
|
||||
|
||||
self.labels[f'{device}_box'] = Gtk.Box()
|
||||
@@ -142,7 +139,7 @@ class BasePanel(ScreenPanel):
|
||||
n += 1
|
||||
|
||||
# Options in the config have priority
|
||||
for device in self._printer.get_temp_store_devices():
|
||||
for device in devices:
|
||||
# Users can fill the bar if they want
|
||||
if n >= nlimit + 1:
|
||||
break
|
||||
@@ -154,7 +151,7 @@ class BasePanel(ScreenPanel):
|
||||
break
|
||||
|
||||
# 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:
|
||||
break
|
||||
if device.startswith("heater_generic"):
|
||||
@@ -189,6 +186,12 @@ class BasePanel(ScreenPanel):
|
||||
self.time_update = GLib.timeout_add_seconds(1, self.update_time)
|
||||
|
||||
def add_content(self, panel):
|
||||
show = self._printer is not None and self._printer.state not in ('disconnected', 'startup', 'shutdown', 'error')
|
||||
self.show_shortcut(show and self._config.get_main_config().getboolean('side_macro_shortcut', True))
|
||||
self.show_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.set_title(panel.title)
|
||||
self.content.add(panel.content)
|
||||
@@ -196,9 +199,7 @@ class BasePanel(ScreenPanel):
|
||||
def back(self, widget=None):
|
||||
if self.current_panel is None:
|
||||
return
|
||||
|
||||
self._screen.remove_keyboard()
|
||||
|
||||
if hasattr(self.current_panel, "back") \
|
||||
and not self.current_panel.back() \
|
||||
or not hasattr(self.current_panel, "back"):
|
||||
@@ -208,11 +209,11 @@ class BasePanel(ScreenPanel):
|
||||
if action == "notify_update_response":
|
||||
if self.update_dialog is None:
|
||||
self.show_update_dialog()
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.labels['update_progress'].set_text(
|
||||
f"{self.labels['update_progress'].get_text().strip()}\n"
|
||||
f"{data['message']}\n")
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
if data['complete']:
|
||||
logging.info("Update complete")
|
||||
if self.update_dialog is not None:
|
||||
@@ -227,7 +228,7 @@ class BasePanel(ScreenPanel):
|
||||
|
||||
if action != "notify_status_update" or self._screen.printer is None:
|
||||
return
|
||||
devices = self._printer.get_temp_store_devices()
|
||||
devices = (self._printer.get_tools() + self._printer.get_heaters())
|
||||
if devices is not None:
|
||||
for device in devices:
|
||||
temp = self._printer.get_dev_stat(device, "temperature")
|
||||
@@ -236,13 +237,13 @@ class BasePanel(ScreenPanel):
|
||||
if not (device.startswith("extruder") or device.startswith("heater_bed")):
|
||||
if self.titlebar_name_type == "full":
|
||||
name = device.split()[1] if len(device.split()) > 1 else device
|
||||
name = f'{name.capitalize().replace("_", " ")}: '
|
||||
name = f'{self.prettify(name)}: '
|
||||
elif self.titlebar_name_type == "short":
|
||||
name = device.split()[1] if len(device.split()) > 1 else device
|
||||
name = f"{name[:1].upper()}: "
|
||||
self.labels[device].set_label(f"{name}{int(temp)}°")
|
||||
|
||||
with contextlib.suppress(Exception):
|
||||
with suppress(Exception):
|
||||
if data["toolhead"]["extruder"] != self.current_extruder:
|
||||
self.control['temp_box'].remove(self.labels[f"{self.current_extruder}_box"])
|
||||
self.current_extruder = data["toolhead"]["extruder"]
|
||||
@@ -255,39 +256,15 @@ class BasePanel(ScreenPanel):
|
||||
def remove(self, widget):
|
||||
self.content.remove(widget)
|
||||
|
||||
def show_back(self, show=True):
|
||||
if show:
|
||||
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 set_control_sensitive(self, value=True, control='shortcut'):
|
||||
self.control[control].set_sensitive(value)
|
||||
|
||||
def show_macro_shortcut(self, show=True):
|
||||
if show is True and self.buttons_showing['macros_shortcut'] is False:
|
||||
self.action_bar.add(self.control['macros_shortcut'])
|
||||
if self.buttons_showing['printer_select'] is False:
|
||||
self.action_bar.reorder_child(self.control['macros_shortcut'], 2)
|
||||
else:
|
||||
self.action_bar.reorder_child(self.control['macros_shortcut'], 3)
|
||||
self.control['macros_shortcut'].show()
|
||||
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_shortcut(self, show=True):
|
||||
self.control['shortcut'].set_visible(show)
|
||||
self.set_control_sensitive(self._screen._cur_panels[-1] != self.shorcut['panel'])
|
||||
|
||||
def show_printer_select(self, show=True):
|
||||
if show and self.buttons_showing['printer_select'] is False:
|
||||
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
|
||||
self.control['printer_select'].set_visible(show)
|
||||
|
||||
def set_title(self, title):
|
||||
if not title:
|
||||
@@ -315,12 +292,6 @@ class BasePanel(ScreenPanel):
|
||||
self.time_format = confopt
|
||||
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):
|
||||
ScreenPanel.ks_printer_cfg = self._config.get_printer_config(printer)
|
||||
if self.ks_printer_cfg is not None:
|
||||
|
||||
+16
-22
@@ -1,20 +1,14 @@
|
||||
import logging
|
||||
import re
|
||||
import math
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return BedLevelPanel(*args)
|
||||
|
||||
|
||||
# Find the screw closest to the point,
|
||||
# but return None if the distance is above max_distance.
|
||||
# If remove is set to true, the screw is also removed
|
||||
@@ -38,7 +32,7 @@ def find_closest(screws, point, max_distance, remove=False):
|
||||
return closest
|
||||
|
||||
|
||||
class BedLevelPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
@@ -171,7 +165,7 @@ class BedLevelPanel(ScreenPanel):
|
||||
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['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()
|
||||
|
||||
@@ -296,22 +290,26 @@ class BedLevelPanel(ScreenPanel):
|
||||
'lm': lm
|
||||
}
|
||||
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)
|
||||
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):
|
||||
# Test if all axes have been homed. Home if necessary.
|
||||
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.
|
||||
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):
|
||||
widget.set_sensitive(False)
|
||||
self.home()
|
||||
logging.debug(f"Going to position: {position}")
|
||||
script = [
|
||||
@@ -320,15 +318,10 @@ class BedLevelPanel(ScreenPanel):
|
||||
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"
|
||||
]
|
||||
|
||||
self._screen._ws.klippy.gcode_script(
|
||||
"\n".join(script)
|
||||
)
|
||||
self._screen._send_action(widget, "printer.gcode.script", {"script": "\n".join(script)})
|
||||
|
||||
def disable_motors(self, widget):
|
||||
self._screen._ws.klippy.gcode_script(
|
||||
"M18" # Disable motors
|
||||
)
|
||||
self._screen._send_action(widget, "printer.gcode.script", {"script": "M18"})
|
||||
|
||||
def process_busy(self, busy):
|
||||
for button in self.buttons:
|
||||
@@ -407,7 +400,8 @@ class BedLevelPanel(ScreenPanel):
|
||||
return sorted(screws, key=lambda s: (float(s[1]), float(s[0])))
|
||||
|
||||
def screws_tilt_calculate(self, widget):
|
||||
widget.set_sensitive(False)
|
||||
self.home()
|
||||
self.response_count = 0
|
||||
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"})
|
||||
+13
-31
@@ -1,21 +1,14 @@
|
||||
import logging
|
||||
import contextlib
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
from ks_includes.widgets.bedmap import BedMap
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return BedMeshPanel(*args)
|
||||
|
||||
|
||||
class BedMeshPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
@@ -179,23 +172,11 @@ class BedMeshPanel(ScreenPanel):
|
||||
if prof not in bm_profiles:
|
||||
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):
|
||||
if action == "notify_busy":
|
||||
self.process_busy(data)
|
||||
if action != "notify_status_update":
|
||||
return
|
||||
if action == "notify_status_update":
|
||||
with contextlib.suppress(KeyError):
|
||||
self.activate_mesh(data['bed_mesh']['profile_name'])
|
||||
if 'bed_mesh' in data and 'profile_name' in data['bed_mesh']:
|
||||
self.activate_mesh(data['bed_mesh']['profile_name'])
|
||||
|
||||
def remove_create(self):
|
||||
if self.show_create is False:
|
||||
@@ -263,29 +244,30 @@ class BedMeshPanel(ScreenPanel):
|
||||
if self.active_mesh is 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()
|
||||
|
||||
def calibrate_mesh(self, widget):
|
||||
widget.set_sensitive(False)
|
||||
self._screen.show_popup_message(_("Calibrating"), level=1)
|
||||
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
|
||||
if not self._printer.get_probe():
|
||||
self.menu_item_clicked(widget, "refresh", {"name": _("Mesh calibrate"), "panel": "zcalibrate"})
|
||||
self.menu_item_clicked(widget, {"name": _("Mesh calibrate"), "panel": "zcalibrate"})
|
||||
|
||||
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):
|
||||
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):
|
||||
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):
|
||||
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)
|
||||
+52
-42
@@ -1,77 +1,85 @@
|
||||
import contextlib
|
||||
import mpv
|
||||
import logging
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk
|
||||
|
||||
from contextlib import suppress
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return CameraPanel(*args)
|
||||
|
||||
|
||||
class CameraPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
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.add(self.da)
|
||||
box.add(fs)
|
||||
self.content.add(box)
|
||||
for i, cam in enumerate(self._printer.cameras):
|
||||
if not cam["enabled"]:
|
||||
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.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):
|
||||
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):
|
||||
if self.mpv:
|
||||
self.mpv.terminate()
|
||||
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:
|
||||
self.mpv.terminate()
|
||||
self.mpv = None
|
||||
# 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 = mpv.MPV(fullscreen=True, log_handler=self.log, vo='gpu,wlshm,xv,x11')
|
||||
|
||||
with contextlib.suppress(Exception):
|
||||
self.mpv.vf = vf
|
||||
|
||||
with suppress(Exception):
|
||||
self.mpv.profile = 'sw-fast'
|
||||
|
||||
# LOW LATENCY PLAYBACK
|
||||
with contextlib.suppress(Exception):
|
||||
with suppress(Exception):
|
||||
self.mpv.profile = 'low-latency'
|
||||
self.mpv.untimed = True
|
||||
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')
|
||||
def clicked():
|
||||
self.mpv.quit(0)
|
||||
# else:
|
||||
# self.mpv.wid = f'{self.da.get_property("window").get_xid()}'
|
||||
#
|
||||
# @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:
|
||||
|
||||
logging.debug(f"Camera URL: {url}")
|
||||
self.mpv.play(url)
|
||||
|
||||
try:
|
||||
self.mpv.wait_for_playback()
|
||||
except mpv.ShutdownError:
|
||||
@@ -80,8 +88,10 @@ class CameraPanel(ScreenPanel):
|
||||
logging.exception(e)
|
||||
self.mpv.terminate()
|
||||
self.mpv = None
|
||||
self._screen._menu_go_back()
|
||||
if len(self._printer.cameras) == 1:
|
||||
self._screen._menu_go_back()
|
||||
|
||||
@staticmethod
|
||||
def log(loglevel, component, message):
|
||||
def log(self, 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}')
|
||||
+1
-7
@@ -1,19 +1,13 @@
|
||||
import time
|
||||
import re
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk
|
||||
|
||||
from datetime import datetime
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return ConsolePanel(*args)
|
||||
|
||||
|
||||
COLORS = {
|
||||
"command": "#bad8ff",
|
||||
"error": "#ff6975",
|
||||
@@ -23,7 +17,7 @@ COLORS = {
|
||||
}
|
||||
|
||||
|
||||
class ConsolePanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
self.autoscroll = True
|
||||
|
||||
+1
-6
@@ -2,15 +2,10 @@ import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return ExamplePanel(*args)
|
||||
|
||||
|
||||
class ExamplePanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
|
||||
|
||||
+27
-34
@@ -1,20 +1,13 @@
|
||||
import contextlib
|
||||
import logging
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
from ks_includes.widgets.objectmap import ObjectMap
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return ExcludeObjectPanel(*args)
|
||||
|
||||
|
||||
class ExcludeObjectPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
self._screen = screen
|
||||
@@ -92,32 +85,32 @@ class ExcludeObjectPanel(ScreenPanel):
|
||||
|
||||
def process_update(self, action, data):
|
||||
if action == "notify_status_update":
|
||||
with contextlib.suppress(KeyError):
|
||||
# Update objects
|
||||
self.objects = data["exclude_object"]["objects"]
|
||||
logging.info(f'Objects: {data["exclude_object"]["objects"]}')
|
||||
for obj in self.buttons:
|
||||
self.object_list.remove(self.buttons[obj])
|
||||
self.buttons = {}
|
||||
for obj in self.objects:
|
||||
logging.info(f"Adding {obj['name']}")
|
||||
self.add_object(obj["name"])
|
||||
self.content.show_all()
|
||||
with contextlib.suppress(KeyError):
|
||||
# Update current objects
|
||||
if data["exclude_object"]["current_object"]:
|
||||
self.current_object.set_label(f'{data["exclude_object"]["current_object"].replace("_", " ")}')
|
||||
self.update_graph()
|
||||
with contextlib.suppress(KeyError):
|
||||
# Update excluded objects
|
||||
logging.info(f'Excluded objects: {data["exclude_object"]["excluded_objects"]}')
|
||||
self.excluded_objects = data["exclude_object"]["excluded_objects"]
|
||||
for name in self.excluded_objects:
|
||||
if name in self.buttons:
|
||||
self.object_list.remove(self.buttons[name])
|
||||
self.update_graph()
|
||||
if len(self.excluded_objects) == len(self.objects):
|
||||
self._screen._menu_go_back()
|
||||
if "exclude_object" in data:
|
||||
if "object" in data["exclude_object"]: # Update objects
|
||||
self.objects = data["exclude_object"]["objects"]
|
||||
logging.info(f'Objects: {data["exclude_object"]["objects"]}')
|
||||
for obj in self.buttons:
|
||||
self.object_list.remove(self.buttons[obj])
|
||||
self.buttons = {}
|
||||
for obj in self.objects:
|
||||
logging.info(f"Adding {obj['name']}")
|
||||
self.add_object(obj["name"])
|
||||
self.content.show_all()
|
||||
if "current_object" in data["exclude_object"]: # Update objects
|
||||
# Update current objects
|
||||
if data["exclude_object"]["current_object"]:
|
||||
self.current_object.set_label(f'{data["exclude_object"]["current_object"].replace("_", " ")}')
|
||||
self.update_graph()
|
||||
if "excluded_objects" in data["exclude_object"]: # Update objects
|
||||
# Update excluded objects
|
||||
logging.info(f'Excluded objects: {data["exclude_object"]["excluded_objects"]}')
|
||||
self.excluded_objects = data["exclude_object"]["excluded_objects"]
|
||||
for name in self.excluded_objects:
|
||||
if name in self.buttons:
|
||||
self.object_list.remove(self.buttons[name])
|
||||
self.update_graph()
|
||||
if len(self.excluded_objects) == len(self.objects):
|
||||
self._screen._menu_go_back()
|
||||
elif action == "notify_gcode_response" and "Excluding object" in data:
|
||||
self._screen.show_popup_message(data, level=1)
|
||||
self.update_graph()
|
||||
|
||||
+35
-24
@@ -1,20 +1,14 @@
|
||||
import logging
|
||||
import re
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return ExtrudePanel(*args)
|
||||
|
||||
|
||||
class ExtrudePanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
@@ -45,16 +39,20 @@ class ExtrudePanel(ScreenPanel):
|
||||
'unload': self._gtk.Button("arrow-up", _("Unload"), "color2"),
|
||||
'retract': self._gtk.Button("retract", _("Retract"), "color1"),
|
||||
'temperature': self._gtk.Button("heat-up", _("Temperature"), "color4"),
|
||||
'spoolman': self._gtk.Button("spoolman", "Spoolman", "color3"),
|
||||
}
|
||||
self.buttons['extrude'].connect("clicked", self.extrude, "+")
|
||||
self.buttons['load'].connect("clicked", self.load_unload, "+")
|
||||
self.buttons['unload'].connect("clicked", self.load_unload, "-")
|
||||
self.buttons['retract'].connect("clicked", self.extrude, "-")
|
||||
self.buttons['temperature'].connect("clicked", self.menu_item_clicked, "temperature", {
|
||||
self.buttons['temperature'].connect("clicked", self.menu_item_clicked, {
|
||||
"name": "Temperature",
|
||||
"panel": "temperature"
|
||||
})
|
||||
|
||||
self.buttons['spoolman'].connect("clicked", self.menu_item_clicked, {
|
||||
"name": "Spoolman",
|
||||
"panel": "spoolman"
|
||||
})
|
||||
extgrid = self._gtk.HomogeneousGrid()
|
||||
limit = 5
|
||||
i = 0
|
||||
@@ -63,7 +61,8 @@ class ExtrudePanel(ScreenPanel):
|
||||
self.labels[extruder] = self._gtk.Button(f"extruder-{i}", f"T{self._printer.get_tool_number(extruder)}")
|
||||
else:
|
||||
self.labels[extruder] = self._gtk.Button("extruder", "")
|
||||
self.labels[extruder].connect("clicked", self.change_extruder, extruder)
|
||||
if len(self._printer.get_tools()) > 1:
|
||||
self.labels[extruder].connect("clicked", self.change_extruder, extruder)
|
||||
if extruder == self.current_extruder:
|
||||
self.labels[extruder].get_style_context().add_class("button_active")
|
||||
if i < limit:
|
||||
@@ -71,6 +70,8 @@ class ExtrudePanel(ScreenPanel):
|
||||
i += 1
|
||||
if i < (limit - 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()
|
||||
for j, i in enumerate(self.distances):
|
||||
@@ -117,6 +118,7 @@ class ExtrudePanel(ScreenPanel):
|
||||
|
||||
filament_sensors = self._printer.get_filament_sensors()
|
||||
sensors = Gtk.Grid()
|
||||
sensors.set_size_request(self._gtk.content_width, -1)
|
||||
if len(filament_sensors) > 0:
|
||||
sensors.set_column_spacing(5)
|
||||
sensors.set_row_spacing(5)
|
||||
@@ -127,7 +129,7 @@ class ExtrudePanel(ScreenPanel):
|
||||
break
|
||||
name = x[23:].strip()
|
||||
self.labels[x] = {
|
||||
'label': Gtk.Label(name.capitalize().replace('_', ' ')),
|
||||
'label': Gtk.Label(self.prettify(name)),
|
||||
'switch': Gtk.Switch(),
|
||||
'box': Gtk.Box()
|
||||
}
|
||||
@@ -137,10 +139,9 @@ class ExtrudePanel(ScreenPanel):
|
||||
self.labels[x]['switch'].set_property("width-request", round(self._gtk.font_size * 2))
|
||||
self.labels[x]['switch'].set_property("height-request", round(self._gtk.font_size))
|
||||
self.labels[x]['switch'].connect("notify::active", self.enable_disable_fs, name, x)
|
||||
self.labels[x]['box'].pack_start(self.labels[x]['label'], True, True, 5)
|
||||
self.labels[x]['box'].pack_start(self.labels[x]['switch'], False, False, 5)
|
||||
self.labels[x]['box'].pack_start(self.labels[x]['label'], True, True, 10)
|
||||
self.labels[x]['box'].pack_start(self.labels[x]['switch'], False, False, 0)
|
||||
self.labels[x]['box'].get_style_context().add_class("filament_sensor")
|
||||
self.labels[x]['box'].set_hexpand(True)
|
||||
sensors.attach(self.labels[x]['box'], s, 0, 1, 1)
|
||||
|
||||
grid = Gtk.Grid()
|
||||
@@ -166,15 +167,22 @@ class ExtrudePanel(ScreenPanel):
|
||||
|
||||
self.content.add(grid)
|
||||
|
||||
def process_busy(self, busy):
|
||||
def enable_buttons(self, enable):
|
||||
for button in self.buttons:
|
||||
if button == "temperature":
|
||||
if button in ("temperature", "spoolman"):
|
||||
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):
|
||||
if action == "notify_busy":
|
||||
self.process_busy(data)
|
||||
if action == "notify_gcode_response":
|
||||
if "action:cancel" in data or "action:paused" in data:
|
||||
self.enable_buttons(True)
|
||||
elif "action:resumed" in data:
|
||||
self.enable_buttons(False)
|
||||
return
|
||||
if action != "notify_status_update":
|
||||
return
|
||||
@@ -221,8 +229,8 @@ class ExtrudePanel(ScreenPanel):
|
||||
for tool in self._printer.get_tools():
|
||||
self.labels[tool].get_style_context().remove_class("button_active")
|
||||
self.labels[extruder].get_style_context().add_class("button_active")
|
||||
|
||||
self._screen._ws.klippy.gcode_script(f"T{self._printer.get_tool_number(extruder)}")
|
||||
self._screen._send_action(widget, "printer.gcode.script",
|
||||
{"script": f"T{self._printer.get_tool_number(extruder)}"})
|
||||
|
||||
def change_speed(self, widget, speed):
|
||||
logging.info(f"### Speed {speed}")
|
||||
@@ -232,19 +240,22 @@ class ExtrudePanel(ScreenPanel):
|
||||
|
||||
def extrude(self, widget, direction):
|
||||
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):
|
||||
if direction == "-":
|
||||
if not self.unload_filament:
|
||||
self._screen.show_popup_message("Macro UNLOAD_FILAMENT not found")
|
||||
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 not self.load_filament:
|
||||
self._screen.show_popup_message("Macro LOAD_FILAMENT not found")
|
||||
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):
|
||||
if switch.get_active():
|
||||
|
||||
+2
-9
@@ -1,22 +1,15 @@
|
||||
import logging
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, GLib, Pango
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return FanPanel(*args)
|
||||
|
||||
|
||||
CHANGEABLE_FANS = ["fan", "fan_generic"]
|
||||
|
||||
|
||||
class FanPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
self.fan_speed = {}
|
||||
@@ -135,7 +128,7 @@ class FanPanel(ScreenPanel):
|
||||
value = self.devices[fan]['scale'].get_value()
|
||||
|
||||
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:
|
||||
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
|
||||
|
||||
+78
-68
@@ -1,26 +1,22 @@
|
||||
import logging
|
||||
import re
|
||||
import contextlib
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return FineTunePanel(*args)
|
||||
|
||||
|
||||
class FineTunePanel(ScreenPanel):
|
||||
bs_deltas = ["0.01", "0.05"]
|
||||
bs_delta = bs_deltas[-1]
|
||||
percent_deltas = ['1', '5', '10', '25']
|
||||
percent_delta = percent_deltas[-2]
|
||||
class Panel(ScreenPanel):
|
||||
z_deltas = ["0.01", "0.05"]
|
||||
z_delta = z_deltas[-1]
|
||||
speed_deltas = ['5', '25']
|
||||
s_delta = speed_deltas[-1]
|
||||
extrude_deltas = ['1', '2']
|
||||
e_delta = extrude_deltas[-1]
|
||||
speed = extrusion = 100
|
||||
z_offset = 0.0
|
||||
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
@@ -29,40 +25,53 @@ class FineTunePanel(ScreenPanel):
|
||||
if re.match(r'^[0-9,\.\s]+$', bs):
|
||||
bs = [str(i.strip()) for i in bs.split(',')]
|
||||
if 1 < len(bs) < 3:
|
||||
self.bs_deltas = bs
|
||||
self.bs_delta = self.bs_deltas[-1]
|
||||
self.z_deltas = bs
|
||||
self.z_delta = self.z_deltas[-1]
|
||||
|
||||
# babystepping grid
|
||||
bsgrid = Gtk.Grid()
|
||||
for j, i in enumerate(self.bs_deltas):
|
||||
self.labels[f"bdelta{i}"] = self._gtk.Button(label=i)
|
||||
self.labels[f"bdelta{i}"].connect("clicked", self.change_bs_delta, float(i))
|
||||
ctx = self.labels[f"bdelta{i}"].get_style_context()
|
||||
zgrid = Gtk.Grid()
|
||||
for j, i in enumerate(self.z_deltas):
|
||||
self.labels[f"zdelta{i}"] = self._gtk.Button(label=i)
|
||||
self.labels[f"zdelta{i}"].connect("clicked", self.change_percent_delta, "z_offset", float(i))
|
||||
ctx = self.labels[f"zdelta{i}"].get_style_context()
|
||||
if j == 0:
|
||||
ctx.add_class("distbutton_top")
|
||||
elif j == len(self.bs_deltas) - 1:
|
||||
elif j == len(self.z_deltas) - 1:
|
||||
ctx.add_class("distbutton_bottom")
|
||||
else:
|
||||
ctx.add_class("distbutton")
|
||||
if i == self.bs_delta:
|
||||
if i == self.z_delta:
|
||||
ctx.add_class("distbutton_active")
|
||||
bsgrid.attach(self.labels[f"bdelta{i}"], j, 0, 1, 1)
|
||||
# Grid for percentage
|
||||
deltgrid = Gtk.Grid()
|
||||
for j, i in enumerate(self.percent_deltas):
|
||||
self.labels[f"pdelta{i}"] = self._gtk.Button(label=f"{i}%")
|
||||
self.labels[f"pdelta{i}"].connect("clicked", self.change_percent_delta, int(i))
|
||||
ctx = self.labels[f"pdelta{i}"].get_style_context()
|
||||
zgrid.attach(self.labels[f"zdelta{i}"], j, 0, 1, 1)
|
||||
|
||||
spdgrid = Gtk.Grid()
|
||||
for j, i in enumerate(self.speed_deltas):
|
||||
self.labels[f"sdelta{i}"] = self._gtk.Button(label=f"{i}%")
|
||||
self.labels[f"sdelta{i}"].connect("clicked", self.change_percent_delta, "speed", int(i))
|
||||
ctx = self.labels[f"sdelta{i}"].get_style_context()
|
||||
if j == 0:
|
||||
ctx.add_class("distbutton_top")
|
||||
elif j == len(self.percent_deltas) - 1:
|
||||
elif j == len(self.speed_deltas) - 1:
|
||||
ctx.add_class("distbutton_bottom")
|
||||
else:
|
||||
ctx.add_class("distbutton")
|
||||
if i == self.percent_delta:
|
||||
if i == self.s_delta:
|
||||
ctx.add_class("distbutton_active")
|
||||
deltgrid.attach(self.labels[f"pdelta{i}"], j, 0, 1, 1)
|
||||
spdgrid.attach(self.labels[f"sdelta{i}"], j, 0, 1, 1)
|
||||
|
||||
extgrid = Gtk.Grid()
|
||||
for j, i in enumerate(self.extrude_deltas):
|
||||
self.labels[f"edelta{i}"] = self._gtk.Button(label=f"{i}%")
|
||||
self.labels[f"edelta{i}"].connect("clicked", self.change_percent_delta, "extrude", int(i))
|
||||
ctx = self.labels[f"edelta{i}"].get_style_context()
|
||||
if j == 0:
|
||||
ctx.add_class("distbutton_top")
|
||||
elif j == len(self.extrude_deltas) - 1:
|
||||
ctx.add_class("distbutton_bottom")
|
||||
else:
|
||||
ctx.add_class("distbutton")
|
||||
if i == self.e_delta:
|
||||
ctx.add_class("distbutton_active")
|
||||
extgrid.attach(self.labels[f"edelta{i}"], j, 0, 1, 1)
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid.set_row_homogeneous(False)
|
||||
|
||||
@@ -83,26 +92,28 @@ class FineTunePanel(ScreenPanel):
|
||||
grid.attach(self.labels['z+'], 0, 0, 1, 1)
|
||||
grid.attach(self.labels['z-'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['zoffset'], 2, 0, 1, 1)
|
||||
grid.attach(bsgrid, 0, 1, 3, 1)
|
||||
grid.attach(zgrid, 0, 1, 3, 1)
|
||||
grid.attach(self.labels['speed-'], 0, 2, 1, 1)
|
||||
grid.attach(self.labels['speed+'], 1, 2, 1, 1)
|
||||
grid.attach(self.labels['speedfactor'], 2, 2, 1, 1)
|
||||
grid.attach(self.labels['extrude-'], 0, 3, 1, 1)
|
||||
grid.attach(self.labels['extrude+'], 1, 3, 1, 1)
|
||||
grid.attach(self.labels['extrudefactor'], 2, 3, 1, 1)
|
||||
grid.attach(deltgrid, 0, 4, 3, 1)
|
||||
grid.attach(spdgrid, 0, 3, 3, 1)
|
||||
grid.attach(self.labels['extrude-'], 0, 4, 1, 1)
|
||||
grid.attach(self.labels['extrude+'], 1, 4, 1, 1)
|
||||
grid.attach(self.labels['extrudefactor'], 2, 4, 1, 1)
|
||||
grid.attach(extgrid, 0, 5, 3, 1)
|
||||
else:
|
||||
grid.attach(self.labels['zoffset'], 0, 0, 1, 1)
|
||||
grid.attach(self.labels['z+'], 0, 1, 1, 1)
|
||||
grid.attach(self.labels['z-'], 0, 2, 1, 1)
|
||||
grid.attach(bsgrid, 0, 3, 1, 1)
|
||||
grid.attach(zgrid, 0, 3, 1, 1)
|
||||
grid.attach(self.labels['speedfactor'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['speed+'], 1, 1, 1, 1)
|
||||
grid.attach(self.labels['speed-'], 1, 2, 1, 1)
|
||||
grid.attach(spdgrid, 1, 3, 1, 1)
|
||||
grid.attach(self.labels['extrudefactor'], 2, 0, 1, 1)
|
||||
grid.attach(self.labels['extrude+'], 2, 1, 1, 1)
|
||||
grid.attach(self.labels['extrude-'], 2, 2, 1, 1)
|
||||
grid.attach(deltgrid, 1, 3, 2, 1)
|
||||
grid.attach(extgrid, 2, 3, 1, 1)
|
||||
|
||||
self.labels['z+'].connect("clicked", self.change_babystepping, "+")
|
||||
self.labels['zoffset'].connect("clicked", self.change_babystepping, "reset")
|
||||
@@ -117,13 +128,12 @@ class FineTunePanel(ScreenPanel):
|
||||
self.content.add(grid)
|
||||
|
||||
def process_update(self, action, data):
|
||||
|
||||
if action != "notify_status_update":
|
||||
return
|
||||
|
||||
if "gcode_move" in data:
|
||||
if "homing_origin" in data["gcode_move"]:
|
||||
self.labels['zoffset'].set_label(f' {data["gcode_move"]["homing_origin"][2]:.3f}mm')
|
||||
self.z_offset = float(data["gcode_move"]["homing_origin"][2])
|
||||
if "extrude_factor" in data["gcode_move"]:
|
||||
self.extrusion = round(float(data["gcode_move"]["extrude_factor"]) * 100)
|
||||
self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%")
|
||||
@@ -134,49 +144,49 @@ class FineTunePanel(ScreenPanel):
|
||||
def change_babystepping(self, widget, direction):
|
||||
if direction == "reset":
|
||||
self.labels['zoffset'].set_label(' 0.00mm')
|
||||
self._screen._ws.klippy.gcode_script("SET_GCODE_OFFSET Z=0 MOVE=1")
|
||||
elif direction in ["+", "-"]:
|
||||
with contextlib.suppress(KeyError):
|
||||
z_offset = float(self._printer.data["gcode_move"]["homing_origin"][2])
|
||||
if direction == "+":
|
||||
z_offset += float(self.bs_delta)
|
||||
else:
|
||||
z_offset -= float(self.bs_delta)
|
||||
self.labels['zoffset'].set_label(f' {z_offset:.3f}mm')
|
||||
self._screen._ws.klippy.gcode_script(f"SET_GCODE_OFFSET Z_ADJUST={direction}{self.bs_delta} MOVE=1")
|
||||
|
||||
def change_bs_delta(self, widget, bs):
|
||||
logging.info(f"### BabyStepping {bs}")
|
||||
self.labels[f"bdelta{self.bs_delta}"].get_style_context().remove_class("distbutton_active")
|
||||
self.labels[f"bdelta{bs}"].get_style_context().add_class("distbutton_active")
|
||||
self.bs_delta = bs
|
||||
self._screen._send_action(widget, "printer.gcode.script", {"script": "SET_GCODE_OFFSET Z=0 MOVE=1"})
|
||||
return
|
||||
elif direction == "+":
|
||||
self.z_offset += float(self.z_delta)
|
||||
elif direction == "-":
|
||||
self.z_offset -= float(self.z_delta)
|
||||
self.labels['zoffset'].set_label(f' {self.z_offset:.3f}mm')
|
||||
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):
|
||||
if direction == "+":
|
||||
self.extrusion += int(self.percent_delta)
|
||||
self.extrusion += int(self.e_delta)
|
||||
elif direction == "-":
|
||||
self.extrusion -= int(self.percent_delta)
|
||||
self.extrusion -= int(self.e_delta)
|
||||
elif direction == "reset":
|
||||
self.extrusion = 100
|
||||
|
||||
self.extrusion = max(self.extrusion, 1)
|
||||
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):
|
||||
if direction == "+":
|
||||
self.speed += int(self.percent_delta)
|
||||
self.speed += int(self.s_delta)
|
||||
elif direction == "-":
|
||||
self.speed -= int(self.percent_delta)
|
||||
self.speed -= int(self.s_delta)
|
||||
elif direction == "reset":
|
||||
self.speed = 100
|
||||
|
||||
self.speed = max(self.speed, 1)
|
||||
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, delta):
|
||||
def change_percent_delta(self, widget, array, delta):
|
||||
logging.info(f"### Delta {delta}")
|
||||
self.labels[f"pdelta{self.percent_delta}"].get_style_context().remove_class("distbutton_active")
|
||||
self.labels[f"pdelta{delta}"].get_style_context().add_class("distbutton_active")
|
||||
self.percent_delta = delta
|
||||
widget.get_style_context().add_class("distbutton_active")
|
||||
if array == "z_offset":
|
||||
self.labels[f"zdelta{self.z_delta}"].get_style_context().remove_class("distbutton_active")
|
||||
self.z_delta = delta
|
||||
elif array == "speed":
|
||||
self.labels[f"sdelta{self.s_delta}"].get_style_context().remove_class("distbutton_active")
|
||||
self.s_delta = delta
|
||||
elif array == "extrude":
|
||||
self.labels[f"edelta{self.e_delta}"].get_style_context().remove_class("distbutton_active")
|
||||
self.e_delta = delta
|
||||
+4
-14
@@ -4,15 +4,10 @@ import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, GLib, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return MacroPanel(*args)
|
||||
|
||||
|
||||
class MacroPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
self.sort_reverse = False
|
||||
@@ -52,10 +47,6 @@ class MacroPanel(ScreenPanel):
|
||||
while len(self.menu) > 1:
|
||||
self.unload_menu()
|
||||
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):
|
||||
# Support for hiding macros by name
|
||||
@@ -102,8 +93,7 @@ class MacroPanel(ScreenPanel):
|
||||
if result:
|
||||
result = result.groupdict()
|
||||
default = result["default"] if "default" in result else ""
|
||||
entry = Gtk.Entry()
|
||||
entry.set_text(default)
|
||||
entry = Gtk.Entry(placeholder_text=default)
|
||||
self.macros[macro]["params"].update({result["param"]: entry})
|
||||
|
||||
for param in self.macros[macro]["params"]:
|
||||
@@ -117,9 +107,9 @@ class MacroPanel(ScreenPanel):
|
||||
for param in self.macros[macro]["params"]:
|
||||
value = self.macros[macro]["params"][param].get_text()
|
||||
if value:
|
||||
params += f'{param}={value} '
|
||||
params += f' {param}={value}'
|
||||
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):
|
||||
self.sort_reverse ^= True
|
||||
|
||||
+6
-15
@@ -1,18 +1,11 @@
|
||||
import re
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return InputShaperPanel(*args)
|
||||
|
||||
|
||||
# X and Y frequencies
|
||||
XY_FREQ = [
|
||||
{'name': 'X', 'config': 'shaper_freq_x', 'min': 0, 'max': 133},
|
||||
@@ -21,7 +14,7 @@ XY_FREQ = [
|
||||
SHAPERS = ['zv', 'mzv', 'zvd', 'ei', '2hump_ei', '3hump_ei']
|
||||
|
||||
|
||||
class InputShaperPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
self.freq_xy_adj = {}
|
||||
@@ -29,7 +22,7 @@ class InputShaperPanel(ScreenPanel):
|
||||
self.calibrate_btn = self._gtk.Button("move", _('Finding ADXL'), "color1", lines=1)
|
||||
self.calibrate_btn.connect("clicked", self.on_popover_clicked)
|
||||
self.calibrate_btn.set_sensitive(False)
|
||||
self.status = Gtk.Label("")
|
||||
self.status = Gtk.Label()
|
||||
self.status.set_hexpand(True)
|
||||
self.status.set_vexpand(False)
|
||||
self.status.set_halign(Gtk.Align.START)
|
||||
@@ -114,17 +107,15 @@ class InputShaperPanel(ScreenPanel):
|
||||
def start_calibration(self, widget, method):
|
||||
self.labels['popover'].popdown()
|
||||
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
|
||||
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":
|
||||
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":
|
||||
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_sensitive(False)
|
||||
|
||||
def set_opt_value(self, widget, opt, *args):
|
||||
shaper_freq_x = self.freq_xy_adj['shaper_freq_x'].get_value()
|
||||
|
||||
+147
-180
@@ -1,42 +1,38 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import logging
|
||||
import os
|
||||
import contextlib
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import GLib, Gtk, Pango
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
from contextlib import suppress
|
||||
from math import pi, sqrt
|
||||
from statistics import median
|
||||
from time import time
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return JobStatusPanel(*args)
|
||||
|
||||
|
||||
class JobStatusPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
self.grid = self._gtk.HomogeneousGrid()
|
||||
self.grid.set_row_homogeneous(False)
|
||||
self.pos_z = 0
|
||||
self.pos_z = 0.0
|
||||
self.extrusion = 100
|
||||
self.speed_factor = 1
|
||||
self.speed_factor = 1.0
|
||||
self.speed = 100
|
||||
self.req_speed = 0
|
||||
self.f_layer_h = self.layer_h = 1
|
||||
self.oheight = 0
|
||||
self.oheight = 0.0
|
||||
self.current_extruder = None
|
||||
self.fila_section = 0
|
||||
self.fila_section = 0.0
|
||||
self.filename_label = self.filename = self.prev_pos = self.prev_gpos = None
|
||||
self.can_close = False
|
||||
self.flow_timeout = self.animation_timeout = None
|
||||
self.file_metadata = self.fans = {}
|
||||
self.state = "standby"
|
||||
self.timeleft_type = "auto"
|
||||
self.progress = self.zoffset = self.flowrate = self.vel = 0
|
||||
self.progress = self.zoffset = self.flowrate = self.vel = 0.0
|
||||
self.flowstore = []
|
||||
self.mm = _("mm")
|
||||
self.mms = _("mm/s")
|
||||
@@ -50,7 +46,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
'flowrate']
|
||||
|
||||
for item in data:
|
||||
self.labels[item] = Gtk.Label("-")
|
||||
self.labels[item] = Gtk.Label(label="-")
|
||||
self.labels[item].set_vexpand(True)
|
||||
self.labels[item].set_hexpand(True)
|
||||
|
||||
@@ -86,12 +82,12 @@ class JobStatusPanel(ScreenPanel):
|
||||
"speed": "-"
|
||||
}
|
||||
|
||||
self.labels['file'] = Gtk.Label("Filename")
|
||||
self.labels['file'] = Gtk.Label(label="Filename")
|
||||
self.labels['file'].get_style_context().add_class("printing-filename")
|
||||
self.labels['file'].set_hexpand(True)
|
||||
self.labels['status'] = Gtk.Label("Status")
|
||||
self.labels['status'] = Gtk.Label(label="Status")
|
||||
self.labels['status'].get_style_context().add_class("printing-status")
|
||||
self.labels['lcdmessage'] = Gtk.Label("")
|
||||
self.labels['lcdmessage'] = Gtk.Label()
|
||||
self.labels['lcdmessage'].get_style_context().add_class("printing-status")
|
||||
|
||||
for label in self.labels:
|
||||
@@ -109,7 +105,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
|
||||
box = Gtk.Box()
|
||||
box.set_halign(Gtk.Align.CENTER)
|
||||
self.labels['progress_text'] = Gtk.Label("0%")
|
||||
self.labels['progress_text'] = Gtk.Label(label="0%")
|
||||
self.labels['progress_text'].get_style_context().add_class("printing-progress-text")
|
||||
box.add(self.labels['progress_text'])
|
||||
|
||||
@@ -152,21 +148,21 @@ class JobStatusPanel(ScreenPanel):
|
||||
}
|
||||
for button in buttons:
|
||||
buttons[button].set_halign(Gtk.Align.START)
|
||||
buttons['fan'].connect("clicked", self.menu_item_clicked, "fan", {"panel": "fan", "name": _("Fan")})
|
||||
buttons['fan'].connect("clicked", self.menu_item_clicked, {"panel": "fan", "name": _("Fan")})
|
||||
self.buttons.update(buttons)
|
||||
|
||||
self.labels['temp_grid'] = Gtk.Grid()
|
||||
nlimit = 2 if self._screen.width <= 480 else 3
|
||||
nlimit = 2 if self._screen.width <= 500 else 3
|
||||
n = 0
|
||||
self.buttons['extruder'] = {}
|
||||
if self._printer.get_tools():
|
||||
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
|
||||
for i, extruder in enumerate(self._printer.get_tools()):
|
||||
self.labels[extruder] = Gtk.Label("-")
|
||||
self.labels[extruder] = Gtk.Label(label="-")
|
||||
self.buttons['extruder'][extruder] = self._gtk.Button(f"extruder-{i}", "", None, self.bts,
|
||||
Gtk.PositionType.LEFT, 1)
|
||||
self.buttons['extruder'][extruder].set_label(self.labels[extruder].get_text())
|
||||
self.buttons['extruder'][extruder].connect("clicked", self.menu_item_clicked, "temperature",
|
||||
self.buttons['extruder'][extruder].connect("clicked", self.menu_item_clicked,
|
||||
{"panel": "temperature", "name": _("Temperature"),
|
||||
'extra': self.current_extruder})
|
||||
self.buttons['extruder'][extruder].set_halign(Gtk.Align.START)
|
||||
@@ -177,9 +173,9 @@ class JobStatusPanel(ScreenPanel):
|
||||
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("-")
|
||||
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, "temperature",
|
||||
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)
|
||||
@@ -190,9 +186,9 @@ class JobStatusPanel(ScreenPanel):
|
||||
break
|
||||
if dev.startswith("heater_generic"):
|
||||
self.buttons['heater'][dev] = self._gtk.Button("heater", "", None, self.bts, Gtk.PositionType.LEFT, 1)
|
||||
self.labels[dev] = Gtk.Label("-")
|
||||
self.labels[dev] = Gtk.Label(label="-")
|
||||
self.buttons['heater'][dev].set_label(self.labels[dev].get_text())
|
||||
self.buttons['heater'][dev].connect("clicked", self.menu_item_clicked, "temperature",
|
||||
self.buttons['heater'][dev].connect("clicked", self.menu_item_clicked,
|
||||
{"panel": "temperature", "name": _("Temperature"), "extra": dev})
|
||||
self.buttons['heater'][dev].set_halign(Gtk.Align.START)
|
||||
self.labels['temp_grid'].attach(self.buttons['heater'][dev], n, 0, 1, 1)
|
||||
@@ -215,9 +211,9 @@ class JobStatusPanel(ScreenPanel):
|
||||
break
|
||||
self.buttons['heater'][device] = self._gtk.Button("heat-up", "", None, self.bts,
|
||||
Gtk.PositionType.LEFT, 1)
|
||||
self.labels[device] = Gtk.Label("-")
|
||||
self.labels[device] = Gtk.Label(label="-")
|
||||
self.buttons['heater'][device].set_label(self.labels[device].get_text())
|
||||
self.buttons['heater'][device].connect("clicked", self.menu_item_clicked, "temperature",
|
||||
self.buttons['heater'][device].connect("clicked", self.menu_item_clicked,
|
||||
{"panel": "temperature",
|
||||
"name": _("Temperature")})
|
||||
self.buttons['heater'][device].set_halign(Gtk.Align.START)
|
||||
@@ -351,14 +347,8 @@ class JobStatusPanel(ScreenPanel):
|
||||
ctx.stroke()
|
||||
|
||||
def activate(self):
|
||||
ps = self._printer.get_stat("print_stats")
|
||||
self.set_state(ps['state'])
|
||||
if 'filename' in ps and (ps['filename'] != self.filename):
|
||||
logging.debug(f"Changing filename: '{self.filename}' to '{ps['filename']}'")
|
||||
self.update_filename()
|
||||
if self.flow_timeout is None:
|
||||
self.flow_timeout = GLib.timeout_add_seconds(2, self.update_flow)
|
||||
self._screen.base_panel_show_all()
|
||||
|
||||
def deactivate(self):
|
||||
if self.flow_timeout is not None:
|
||||
@@ -380,7 +370,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
}
|
||||
self.buttons['cancel'].connect("clicked", self.cancel)
|
||||
self.buttons['control'].connect("clicked", self._screen._go_to_submenu, "")
|
||||
self.buttons['fine_tune'].connect("clicked", self.menu_item_clicked, "fine_tune", {
|
||||
self.buttons['fine_tune'].connect("clicked", self.menu_item_clicked, {
|
||||
"panel": "fine_tune", "name": _("Fine Tuning")})
|
||||
self.buttons['menu'].connect("clicked", self.close_panel)
|
||||
self.buttons['pause'].connect("clicked", self.pause)
|
||||
@@ -426,13 +416,15 @@ class JobStatusPanel(ScreenPanel):
|
||||
self._screen._ws.klippy.gcode_script("SAVE_CONFIG")
|
||||
|
||||
def restart(self, widget):
|
||||
if self.filename != "none":
|
||||
if self.filename:
|
||||
self.disable_button("restart")
|
||||
if self.state == "error":
|
||||
script = {"script": "SDCARD_RESET_FILE"}
|
||||
self._screen._send_action(None, "printer.gcode.script", script)
|
||||
self._screen._ws.klippy.gcode_script("SDCARD_RESET_FILE")
|
||||
self._screen._ws.klippy.print_start(self.filename)
|
||||
logging.info(f"Starting print: {self.filename}")
|
||||
self.new_print()
|
||||
else:
|
||||
logging.info(f"Could not restart {self.filename}")
|
||||
|
||||
def resume(self, widget):
|
||||
self._screen._ws.klippy.print_resume()
|
||||
@@ -465,7 +457,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
def cancel_confirm(self, dialog, response_id):
|
||||
self._gtk.remove_dialog(dialog)
|
||||
if response_id == Gtk.ResponseType.APPLY:
|
||||
self.menu_item_clicked(None, "exclude", {"panel": "exclude", "name": _("Exclude Object")})
|
||||
self.menu_item_clicked(None, {"panel": "exclude", "name": _("Exclude Object")})
|
||||
return
|
||||
if response_id == Gtk.ResponseType.CANCEL:
|
||||
self.enable_button("pause", "cancel")
|
||||
@@ -495,12 +487,12 @@ class JobStatusPanel(ScreenPanel):
|
||||
|
||||
def new_print(self):
|
||||
self._screen.close_screensaver()
|
||||
self.state_check()
|
||||
self.update_progress(0.0)
|
||||
|
||||
def process_update(self, action, data):
|
||||
if action == "notify_gcode_response":
|
||||
if "action:cancel" in data:
|
||||
self.set_state("cancelling")
|
||||
self.set_state("cancelled")
|
||||
elif "action:paused" in data:
|
||||
self.set_state("paused")
|
||||
elif "action:resumed" in data:
|
||||
@@ -528,43 +520,46 @@ class JobStatusPanel(ScreenPanel):
|
||||
)
|
||||
self.buttons['heater'][x].set_label(self.labels[x].get_text())
|
||||
|
||||
self.update_message()
|
||||
if "display_status" in data and "message" in data["display_status"]:
|
||||
self.labels['lcdmessage'].set_label(
|
||||
f"{data['display_status']['message'] if data['display_status']['message'] is not None else ''}"
|
||||
)
|
||||
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
if data["toolhead"]["extruder"] != self.current_extruder:
|
||||
self.labels['temp_grid'].remove_column(0)
|
||||
self.labels['temp_grid'].insert_column(0)
|
||||
self.current_extruder = data["toolhead"]["extruder"]
|
||||
self.labels['temp_grid'].attach(self.buttons['extruder'][self.current_extruder], 0, 0, 1, 1)
|
||||
self._screen.show_all()
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.labels['max_accel'].set_label(f"{data['toolhead']['max_accel']:.0f} {self.mms2}")
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.labels['advance'].set_label(f"{data['extruder']['pressure_advance']:.2f}")
|
||||
|
||||
if "gcode_move" in data:
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.pos_z = round(float(data['gcode_move']['gcode_position'][2]), 2)
|
||||
self.buttons['z'].set_label(f"Z: {self.pos_z:6.2f}{f'/{self.oheight}' if self.oheight > 0 else ''}")
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.extrusion = round(float(data["gcode_move"]["extrude_factor"]) * 100)
|
||||
self.labels['extrude_factor'].set_label(f"{self.extrusion:3}%")
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.speed = round(float(data["gcode_move"]["speed_factor"]) * 100)
|
||||
self.speed_factor = float(data["gcode_move"]["speed_factor"])
|
||||
self.labels['speed_factor'].set_label(f"{self.speed:3}%")
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.req_speed = round(float(data["gcode_move"]["speed"]) / 60 * self.speed_factor)
|
||||
self.labels['req_speed'].set_label(
|
||||
f"{self.speed}% {self.vel:3.0f}/{self.req_speed:3.0f} "
|
||||
f"{f'{self.mms}' if self.vel < 1000 and self.req_speed < 1000 and self._screen.width > 500 else ''}"
|
||||
)
|
||||
self.buttons['speed'].set_label(self.labels['req_speed'].get_label())
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.zoffset = float(data["gcode_move"]["homing_origin"][2])
|
||||
self.labels['zoffset'].set_label(f"{self.zoffset:.3f} {self.mm}")
|
||||
if "motion_report" in data:
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.labels['pos_x'].set_label(f"X: {data['motion_report']['live_position'][0]:6.2f}")
|
||||
self.labels['pos_y'].set_label(f"Y: {data['motion_report']['live_position'][1]:6.2f}")
|
||||
self.labels['pos_z'].set_label(f"Z: {data['motion_report']['live_position'][2]:6.2f}")
|
||||
@@ -576,52 +571,51 @@ class JobStatusPanel(ScreenPanel):
|
||||
evelocity = (pos[3] - self.prev_pos[0][3]) / interval
|
||||
self.flowstore.append(self.fila_section * evelocity)
|
||||
self.prev_pos = [pos, now]
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.vel = float(data["motion_report"]["live_velocity"])
|
||||
self.labels['req_speed'].set_label(
|
||||
f"{self.speed}% {self.vel:3.0f}/{self.req_speed:3.0f} "
|
||||
f"{f'{self.mms}' if self.vel < 1000 and self.req_speed < 1000 and self._screen.width > 500 else ''}"
|
||||
)
|
||||
self.buttons['speed'].set_label(self.labels['req_speed'].get_label())
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
self.flowstore.append(self.fila_section * float(data["motion_report"]["live_extruder_velocity"]))
|
||||
fan_label = ""
|
||||
for fan in self.fans:
|
||||
with contextlib.suppress(KeyError):
|
||||
self.fans[fan]['speed'] = f"{self._printer.get_fan_speed(fan) * 100:3.0f}%"
|
||||
fan_label += f" {self.fans[fan]['name']}{self.fans[fan]['speed']}"
|
||||
self.fans[fan]['speed'] = f"{self._printer.get_fan_speed(fan) * 100:3.0f}%"
|
||||
fan_label += f" {self.fans[fan]['name']}{self.fans[fan]['speed']}"
|
||||
if fan_label:
|
||||
self.buttons['fan'].set_label(fan_label[:12])
|
||||
|
||||
self.state_check()
|
||||
if self.state not in ["printing", "paused"]:
|
||||
return
|
||||
|
||||
ps = self._printer.get_stat("print_stats")
|
||||
if 'filename' in ps and (ps['filename'] != self.filename):
|
||||
logging.debug(f"Changing filename: '{self.filename}' to '{ps['filename']}'")
|
||||
self.update_filename()
|
||||
else:
|
||||
self.update_percent_complete()
|
||||
if 'info' in ps and 'total_layer' in ps['info'] and ps['info']['total_layer'] is not None:
|
||||
self.labels['total_layers'].set_label(f"{ps['info']['total_layer']}")
|
||||
if 'info' in ps and 'current_layer' in ps['info'] and ps['info']['current_layer'] is not None:
|
||||
self.labels['layer'].set_label(f"{ps['info']['current_layer']} / {self.labels['total_layers'].get_text()}")
|
||||
elif "layer_height" in self.file_metadata and "object_height" in self.file_metadata:
|
||||
self.labels['layer'].set_label(
|
||||
f"{1 + round((self.pos_z - self.f_layer_h) / self.layer_h)} / {self.labels['total_layers'].get_text()}")
|
||||
|
||||
if 'print_duration' in ps:
|
||||
if 'filament_used' in ps:
|
||||
self.labels['filament_used'].set_label(f"{float(ps['filament_used']) / 1000:.1f} m")
|
||||
self.update_time_left(ps['total_duration'], ps['print_duration'], ps['filament_used'])
|
||||
else:
|
||||
self.update_time_left(ps['total_duration'], ps['print_duration'])
|
||||
|
||||
elapsed_label = f"{self.labels['elapsed'].get_text()} {self.labels['duration'].get_text()}"
|
||||
self.buttons['elapsed'].set_label(elapsed_label)
|
||||
remaining_label = f"{self.labels['left'].get_text()} {self.labels['time_left'].get_text()}"
|
||||
self.buttons['left'].set_label(remaining_label)
|
||||
if "print_stats" in data:
|
||||
with suppress(KeyError):
|
||||
self.set_state(
|
||||
data["print_stats"]["state"],
|
||||
msg=f'{data["print_stats"]["message"] if "message" in data["print_stats"] else ""}'
|
||||
)
|
||||
with suppress(KeyError):
|
||||
self.update_filename(data['print_stats']["filename"])
|
||||
with suppress(KeyError):
|
||||
if 'filament_used' in data["print_stats"]:
|
||||
self.labels['filament_used'].set_label(
|
||||
f"{float(data['print_stats']['filament_used']) / 1000:.1f} m"
|
||||
)
|
||||
if 'info' in data["print_stats"]:
|
||||
with suppress(KeyError):
|
||||
if data["print_stats"]['info']['total_layer'] is not None:
|
||||
self.labels['total_layers'].set_label(f"{data['print_stats']['info']['total_layer']}")
|
||||
with suppress(KeyError):
|
||||
if data["print_stats"]['info']['current_layer'] is not None:
|
||||
self.labels['layer'].set_label(
|
||||
f"{data['print_stats']['info']['current_layer']} / "
|
||||
f"{self.labels['total_layers'].get_text()}"
|
||||
)
|
||||
elif "layer_height" in self.file_metadata and "object_height" in self.file_metadata:
|
||||
self.labels['layer'].set_label(
|
||||
f"{1 + round((self.pos_z - self.f_layer_h) / self.layer_h)} / "
|
||||
f"{self.labels['total_layers'].get_text()}"
|
||||
)
|
||||
if self.state in ["printing", "paused"]:
|
||||
self.update_time_left()
|
||||
|
||||
def update_flow(self):
|
||||
if not self.flowstore:
|
||||
@@ -632,26 +626,33 @@ class JobStatusPanel(ScreenPanel):
|
||||
self.buttons['extrusion'].set_label(f"{self.extrusion:3}% {self.flowrate:5.1f} {self.mms3}")
|
||||
return True
|
||||
|
||||
def update_time_left(self, total_duration, print_duration, fila_used=0):
|
||||
def update_time_left(self):
|
||||
total_duration = float(self._printer.get_stat('print_stats', 'total_duration'))
|
||||
print_duration = float(self._printer.get_stat('print_stats', 'print_duration'))
|
||||
if 'filament_total' in self.file_metadata and not self.file_metadata['filament_total']: # No-extrusion
|
||||
print_duration = total_duration
|
||||
fila_used = float(self._printer.get_stat('print_stats', 'filament_used'))
|
||||
progress = float(self._printer.get_stat("virtual_sdcard", "progress"))
|
||||
self.labels["duration"].set_label(self.format_time(total_duration))
|
||||
non_printing = total_duration - print_duration
|
||||
estimated = None
|
||||
elapsed_label = f"{self.labels['elapsed'].get_text()} {self.labels['duration'].get_text()}"
|
||||
self.buttons['elapsed'].set_label(elapsed_label)
|
||||
estimated = 0
|
||||
slicer_time = filament_time = file_time = None
|
||||
timeleft_type = self._config.get_config()['main'].get('print_estimate_method', 'auto')
|
||||
|
||||
with contextlib.suppress(KeyError):
|
||||
with suppress(KeyError):
|
||||
if self.file_metadata['estimated_time'] > 0:
|
||||
# speed_factor compensation based on empirical testing
|
||||
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))
|
||||
|
||||
with contextlib.suppress(Exception):
|
||||
with suppress(Exception):
|
||||
if self.file_metadata['filament_total'] > fila_used:
|
||||
filament_time = (total_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))
|
||||
with contextlib.suppress(ZeroDivisionError):
|
||||
file_time = (total_duration / self.progress) + non_printing
|
||||
with suppress(ZeroDivisionError):
|
||||
file_time = (print_duration / progress)
|
||||
self.labels["file_time"].set_label(self.format_time(file_time))
|
||||
|
||||
if timeleft_type == "file":
|
||||
@@ -661,71 +662,63 @@ class JobStatusPanel(ScreenPanel):
|
||||
elif slicer_time is not None:
|
||||
if timeleft_type == "slicer":
|
||||
estimated = slicer_time
|
||||
elif filament_time is not None and self.progress > 0.14:
|
||||
elif filament_time is not None and progress > 0.14:
|
||||
# Weighted arithmetic mean (Slicer is the most accurate)
|
||||
estimated = (slicer_time * 3 + filament_time + file_time) / 5
|
||||
else:
|
||||
# At the begining file and filament are innacurate
|
||||
estimated = slicer_time
|
||||
elif file_time is not None:
|
||||
if filament_time is not None:
|
||||
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
|
||||
else:
|
||||
estimated = file_time
|
||||
estimated = file_time
|
||||
if estimated < 1:
|
||||
return
|
||||
|
||||
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()}"
|
||||
self.buttons['left'].set_label(remaining_label)
|
||||
self.update_progress(min(max(print_duration / estimated, 0), 1))
|
||||
|
||||
def state_check(self):
|
||||
ps = self._printer.get_stat("print_stats")
|
||||
def update_progress(self, progress: float):
|
||||
self.progress = progress
|
||||
self.labels['progress_text'].set_label(f"{progress * 100:.0f}%")
|
||||
self.labels['darea'].queue_draw()
|
||||
|
||||
if 'state' not in ps or ps['state'] == self.state:
|
||||
return True
|
||||
|
||||
if ps['state'] == "printing":
|
||||
if self.state == "cancelling":
|
||||
return True
|
||||
self.set_state("printing")
|
||||
self.update_filename()
|
||||
elif ps['state'] == "complete":
|
||||
self.progress = 1
|
||||
self.update_progress()
|
||||
self.set_state("complete")
|
||||
return self._add_timeout(self._config.get_main_config().getint("job_complete_timeout", 0))
|
||||
elif ps['state'] == "error":
|
||||
self.set_state("error")
|
||||
def set_state(self, state, msg=""):
|
||||
if state == "printing":
|
||||
self.labels["status"].set_label(_("Printing"))
|
||||
elif state == "complete":
|
||||
self.update_progress(1)
|
||||
self.labels["status"].set_label(_("Complete"))
|
||||
self.buttons['left'].set_label("-")
|
||||
self._add_timeout(self._config.get_main_config().getint("job_complete_timeout", 0))
|
||||
elif state == "error":
|
||||
self.labels['status'].set_label(_("Error"))
|
||||
self._screen.show_popup_message(ps['message'])
|
||||
return self._add_timeout(self._config.get_main_config().getint("job_error_timeout", 0))
|
||||
elif ps['state'] == "cancelled":
|
||||
self.set_state("cancelled")
|
||||
return self._add_timeout(self._config.get_main_config().getint("job_cancelled_timeout", 0))
|
||||
elif ps['state'] == "paused":
|
||||
self.set_state("paused")
|
||||
elif ps['state'] == "standby":
|
||||
self.set_state("standby")
|
||||
return True
|
||||
self._screen.show_popup_message(msg)
|
||||
self._add_timeout(self._config.get_main_config().getint("job_error_timeout", 0))
|
||||
elif state == "cancelling":
|
||||
self.labels["status"].set_label(_("Cancelling"))
|
||||
elif state == "cancelled" or (state == "standby" and self.state == "cancelled"):
|
||||
self.labels["status"].set_label(_("Cancelled"))
|
||||
self._add_timeout(self._config.get_main_config().getint("job_cancelled_timeout", 0))
|
||||
elif state == "paused":
|
||||
self.labels["status"].set_label(_("Paused"))
|
||||
elif state == "standby":
|
||||
self.labels["status"].set_label(_("Standby"))
|
||||
if self.state != state:
|
||||
logging.debug(f"Changing job_status state from '{self.state}' to '{state}'")
|
||||
self.state = state
|
||||
self.show_buttons_for_state()
|
||||
|
||||
def _add_timeout(self, timeout):
|
||||
self._screen.close_screensaver()
|
||||
if timeout != 0:
|
||||
GLib.timeout_add_seconds(timeout, self.close_panel)
|
||||
|
||||
def set_state(self, state):
|
||||
if self.state != state:
|
||||
logging.debug(f"Changing job_status state from '{self.state}' to '{state}'")
|
||||
if state == "paused":
|
||||
self.labels["status"].set_label(_("Paused"))
|
||||
elif state == "printing":
|
||||
self.labels["status"].set_label(_("Printing"))
|
||||
elif state == "cancelling":
|
||||
self.labels["status"].set_label(_("Cancelling"))
|
||||
elif state == "cancelled" or (state == "standby" and self.state == "cancelling"):
|
||||
self.labels["status"].set_label(_("Cancelled"))
|
||||
elif state == "complete":
|
||||
self.labels["status"].set_label(_("Complete"))
|
||||
self.state = state
|
||||
self.show_buttons_for_state()
|
||||
|
||||
def show_buttons_for_state(self):
|
||||
self.buttons['button_grid'].remove_row(0)
|
||||
self.buttons['button_grid'].insert_row(0)
|
||||
@@ -747,21 +740,19 @@ class JobStatusPanel(ScreenPanel):
|
||||
offset = self._printer.get_stat("gcode_move", "homing_origin")
|
||||
self.zoffset = float(offset[2]) if offset else 0
|
||||
if self.zoffset != 0:
|
||||
endstop = (self._printer.config_section_exists("stepper_z") and
|
||||
not self._printer.get_config_section("stepper_z")['endstop_pin'].startswith("probe"))
|
||||
if endstop:
|
||||
if "Z_OFFSET_APPLY_ENDSTOP" in self._printer.available_commands:
|
||||
self.buttons['button_grid'].attach(self.buttons["save_offset_endstop"], 0, 0, 1, 1)
|
||||
else:
|
||||
self.buttons['button_grid'].attach(Gtk.Label(""), 0, 0, 1, 1)
|
||||
if self._printer.get_probe():
|
||||
self.buttons['button_grid'].attach(Gtk.Label(), 0, 0, 1, 1)
|
||||
if "Z_OFFSET_APPLY_PROBE" in self._printer.available_commands:
|
||||
self.buttons['button_grid'].attach(self.buttons["save_offset_probe"], 1, 0, 1, 1)
|
||||
else:
|
||||
self.buttons['button_grid'].attach(Gtk.Label(""), 1, 0, 1, 1)
|
||||
self.buttons['button_grid'].attach(Gtk.Label(), 1, 0, 1, 1)
|
||||
else:
|
||||
self.buttons['button_grid'].attach(Gtk.Label(""), 0, 0, 1, 1)
|
||||
self.buttons['button_grid'].attach(Gtk.Label(""), 1, 0, 1, 1)
|
||||
self.buttons['button_grid'].attach(Gtk.Label(), 0, 0, 1, 1)
|
||||
self.buttons['button_grid'].attach(Gtk.Label(), 1, 0, 1, 1)
|
||||
|
||||
if self.filename is not None:
|
||||
if self.filename:
|
||||
self.buttons['button_grid'].attach(self.buttons['restart'], 2, 0, 1, 1)
|
||||
self.enable_button("restart")
|
||||
else:
|
||||
@@ -785,8 +776,10 @@ class JobStatusPanel(ScreenPanel):
|
||||
pixbuf = self._gtk.PixbufFromIcon("file", width / 2, height / 2)
|
||||
self.labels['thumbnail'].set_from_pixbuf(pixbuf)
|
||||
|
||||
def update_filename(self):
|
||||
self.filename = self._printer.get_stat('print_stats', 'filename')
|
||||
def update_filename(self, filename):
|
||||
if not filename:
|
||||
return
|
||||
self.filename = filename
|
||||
self.labels["file"].set_label(os.path.splitext(self.filename)[0])
|
||||
self.filename_label = {
|
||||
"complete": self.labels['file'].get_label(),
|
||||
@@ -797,7 +790,6 @@ class JobStatusPanel(ScreenPanel):
|
||||
}
|
||||
if self.animation_timeout is None and (self.filename_label['length'] - self.filename_label['limit']) > 0:
|
||||
self.animation_timeout = GLib.timeout_add_seconds(1, self.animate_label)
|
||||
self.update_percent_complete()
|
||||
self.update_file_metadata()
|
||||
|
||||
def animate_label(self):
|
||||
@@ -833,28 +825,3 @@ class JobStatusPanel(ScreenPanel):
|
||||
logging.debug("Cannot find file metadata. Listening for updated metadata")
|
||||
self._screen.files.add_file_callback(self._callback_metadata)
|
||||
self.show_file_thumbnail()
|
||||
|
||||
def update_percent_complete(self):
|
||||
if self.state not in ["printing", "paused"]:
|
||||
return
|
||||
|
||||
if "gcode_start_byte" in self.file_metadata:
|
||||
progress = (max(self._printer.get_stat('virtual_sdcard', 'file_position') -
|
||||
self.file_metadata['gcode_start_byte'], 0) / (self.file_metadata['gcode_end_byte'] -
|
||||
self.file_metadata['gcode_start_byte']))
|
||||
else:
|
||||
progress = self._printer.get_stat('virtual_sdcard', 'progress')
|
||||
|
||||
if progress != self.progress:
|
||||
self.progress = progress
|
||||
self.labels['darea'].queue_draw()
|
||||
self.update_progress()
|
||||
|
||||
def update_progress(self):
|
||||
self.labels['progress_text'].set_label(f"{self.progress * 100:.0f}%")
|
||||
|
||||
def update_message(self):
|
||||
msg = self._printer.get_stat("display_status", "message")
|
||||
if msg is None:
|
||||
msg = " "
|
||||
self.labels['lcdmessage'].set_label(f"{msg}")
|
||||
+1
-7
@@ -1,18 +1,12 @@
|
||||
import logging
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return LimitsPanel(*args)
|
||||
|
||||
|
||||
class LimitsPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
|
||||
+31
-38
@@ -1,23 +1,16 @@
|
||||
import logging
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, GLib
|
||||
from panels.menu import MenuPanel
|
||||
|
||||
from panels.menu import Panel as MenuPanel
|
||||
from ks_includes.widgets.heatergraph import HeaterGraph
|
||||
from ks_includes.widgets.keypad import Keypad
|
||||
|
||||
|
||||
def create_panel(*args, **kwargs):
|
||||
return MainPanel(*args, **kwargs)
|
||||
|
||||
|
||||
class MainPanel(MenuPanel):
|
||||
class Panel(MenuPanel):
|
||||
def __init__(self, screen, title, items=None):
|
||||
super().__init__(screen, title, items)
|
||||
self.graph_retry_timeout = None
|
||||
self.left_panel = None
|
||||
self.devices = {}
|
||||
self.graph_update = None
|
||||
@@ -26,7 +19,8 @@ class MainPanel(MenuPanel):
|
||||
self.main_menu = self._gtk.HomogeneousGrid()
|
||||
self.main_menu.set_hexpand(True)
|
||||
self.main_menu.set_vexpand(True)
|
||||
self.graph_retry = 0
|
||||
scroll = self._gtk.ScrolledWindow()
|
||||
self.numpad_visible = False
|
||||
|
||||
logging.info("### Making MainMenu")
|
||||
|
||||
@@ -36,25 +30,21 @@ class MainPanel(MenuPanel):
|
||||
self.main_menu.attach(self.create_left_panel(), 0, 0, 1, 1)
|
||||
if self._screen.vertical_mode:
|
||||
self.labels['menu'] = self.arrangeMenuItems(items, 3, True)
|
||||
self.main_menu.attach(self.labels['menu'], 0, 1, 1, 1)
|
||||
scroll.add(self.labels['menu'])
|
||||
self.main_menu.attach(scroll, 0, 1, 1, 1)
|
||||
else:
|
||||
self.labels['menu'] = self.arrangeMenuItems(items, 2, True)
|
||||
self.main_menu.attach(self.labels['menu'], 1, 0, 1, 1)
|
||||
scroll.add(self.labels['menu'])
|
||||
self.main_menu.attach(scroll, 1, 0, 1, 1)
|
||||
self.content.add(self.main_menu)
|
||||
|
||||
def update_graph_visibility(self):
|
||||
if self.left_panel is None or not self._printer.get_temp_store_devices():
|
||||
if self._printer.get_temp_store_devices():
|
||||
logging.info("Retrying to create left panel")
|
||||
self._gtk.reset_temp_color()
|
||||
self.main_menu.attach(self.create_left_panel(), 0, 0, 1, 1)
|
||||
self.graph_retry += 1
|
||||
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
|
||||
if self.left_panel is None:
|
||||
logging.info("No left panel")
|
||||
return
|
||||
if not self._printer.get_temp_store_devices():
|
||||
logging.debug(f"Could not create graph tempstore: {self._printer.get_temp_store_devices()}")
|
||||
return
|
||||
count = 0
|
||||
for device in self.devices:
|
||||
visible = self._config.get_config().getboolean(f"graph {self._screen.connected_printer}",
|
||||
@@ -63,11 +53,9 @@ class MainPanel(MenuPanel):
|
||||
self.labels['da'].set_showing(device, visible)
|
||||
if visible:
|
||||
count += 1
|
||||
self.devices[device]['name'].get_style_context().add_class(self.devices[device]['class'])
|
||||
self.devices[device]['name'].get_style_context().remove_class("graph_label_hidden")
|
||||
self.devices[device]['name'].get_style_context().add_class("graph_label")
|
||||
else:
|
||||
self.devices[device]['name'].get_style_context().add_class("graph_label_hidden")
|
||||
self.devices[device]['name'].get_style_context().remove_class(self.devices[device]['class'])
|
||||
self.devices[device]['name'].get_style_context().remove_class("graph_label")
|
||||
if count > 0:
|
||||
if self.labels['da'] not in self.left_panel:
|
||||
self.left_panel.add(self.labels['da'])
|
||||
@@ -86,15 +74,11 @@ class MainPanel(MenuPanel):
|
||||
|
||||
def activate(self):
|
||||
self.update_graph_visibility()
|
||||
self._screen.base_panel_show_all()
|
||||
|
||||
def deactivate(self):
|
||||
if self.graph_update is not None:
|
||||
GLib.source_remove(self.graph_update)
|
||||
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:
|
||||
self.hide_numpad()
|
||||
|
||||
@@ -148,14 +132,13 @@ class MainPanel(MenuPanel):
|
||||
if can_target:
|
||||
self.labels['da'].add_object(device, "targets", rgb, True, False)
|
||||
|
||||
name = self._gtk.Button(image, devname.capitalize().replace("_", " "), 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.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)
|
||||
if visible:
|
||||
name.get_style_context().add_class(class_name)
|
||||
else:
|
||||
name.get_style_context().add_class("graph_label_hidden")
|
||||
name.get_style_context().add_class("graph_label")
|
||||
self.labels['da'].set_showing(device, visible)
|
||||
|
||||
temp = self._gtk.Button(label="", lines=1)
|
||||
@@ -236,7 +219,7 @@ class MainPanel(MenuPanel):
|
||||
self.labels['devices'].get_style_context().add_class('heater-grid')
|
||||
self.labels['devices'].set_vexpand(False)
|
||||
|
||||
name = Gtk.Label(label="")
|
||||
name = Gtk.Label()
|
||||
temp = Gtk.Label(_("Temp (°C)"))
|
||||
temp.get_style_context().add_class("heater-grid-temp")
|
||||
|
||||
@@ -246,7 +229,7 @@ class MainPanel(MenuPanel):
|
||||
self.labels['da'] = HeaterGraph(self._printer, self._gtk.font_size)
|
||||
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.add(self.labels['devices'])
|
||||
|
||||
@@ -269,6 +252,8 @@ class MainPanel(MenuPanel):
|
||||
self.main_menu.remove_column(1)
|
||||
self.main_menu.attach(self.labels['menu'], 1, 0, 1, 1)
|
||||
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):
|
||||
if action != "notify_status_update":
|
||||
@@ -303,7 +288,15 @@ class MainPanel(MenuPanel):
|
||||
self.main_menu.remove_column(1)
|
||||
self.main_menu.attach(self.labels["keypad"], 1, 0, 1, 1)
|
||||
self.main_menu.show_all()
|
||||
self.numpad_visible = True
|
||||
self._screen.base_panel.set_control_sensitive(True, control='back')
|
||||
|
||||
def update_graph(self):
|
||||
self.labels['da'].queue_draw()
|
||||
return True
|
||||
|
||||
def back(self):
|
||||
if self.numpad_visible:
|
||||
self.hide_numpad()
|
||||
return True
|
||||
return False
|
||||
+3
-12
@@ -1,21 +1,14 @@
|
||||
import logging
|
||||
|
||||
import gi
|
||||
|
||||
import json
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk
|
||||
from jinja2 import Template
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args, **kwargs):
|
||||
return MenuPanel(*args, **kwargs)
|
||||
|
||||
|
||||
class MenuPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
j2_data = None
|
||||
|
||||
def __init__(self, screen, title, items=None):
|
||||
@@ -86,7 +79,7 @@ class MenuPanel(ScreenPanel):
|
||||
|
||||
if item['panel'] is not None:
|
||||
panel = self._screen.env.from_string(item['panel']).render(printer)
|
||||
b.connect("clicked", self.menu_item_clicked, panel, item)
|
||||
b.connect("clicked", self.menu_item_clicked, item)
|
||||
elif item['method'] is not None:
|
||||
params = {}
|
||||
|
||||
@@ -110,8 +103,6 @@ class MenuPanel(ScreenPanel):
|
||||
if enable == "{{ moonraker_connected }}":
|
||||
logging.info(f"moonraker connected {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()
|
||||
try:
|
||||
j2_temp = Template(enable, autoescape=True)
|
||||
|
||||
+14
-25
@@ -1,19 +1,13 @@
|
||||
import logging
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return MovePanel(*args)
|
||||
|
||||
|
||||
class MovePanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
distances = ['.1', '.5', '1', '5', '10', '25', '50']
|
||||
distance = distances[-2]
|
||||
|
||||
@@ -42,7 +36,9 @@ class MovePanel(ScreenPanel):
|
||||
self.buttons['motors_off'].connect("clicked", self._screen._confirm_send_action,
|
||||
_("Are you sure you wish to disable motors?"),
|
||||
"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()
|
||||
if self._screen.vertical_mode:
|
||||
if self._screen.lang_ltr:
|
||||
@@ -55,6 +51,7 @@ class MovePanel(ScreenPanel):
|
||||
grid.attach(self.buttons['x-'], 2, 1, 1, 1)
|
||||
grid.attach(self.buttons['z+'], 0, 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, 1, 1, 1)
|
||||
|
||||
@@ -91,9 +88,6 @@ class MovePanel(ScreenPanel):
|
||||
|
||||
for p in ('pos_x', 'pos_y', 'pos_z'):
|
||||
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)"))
|
||||
|
||||
bottomgrid = self._gtk.HomogeneousGrid()
|
||||
@@ -102,7 +96,8 @@ class MovePanel(ScreenPanel):
|
||||
bottomgrid.attach(self.labels['pos_y'], 1, 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(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'].attach(grid, 0, 0, 1, 3)
|
||||
@@ -114,6 +109,9 @@ class MovePanel(ScreenPanel):
|
||||
printer_cfg = self._printer.get_config_section("printer")
|
||||
# The max_velocity parameter is not optional in klipper config.
|
||||
max_velocity = int(float(printer_cfg["max_velocity"]))
|
||||
if max_velocity <= 1:
|
||||
logging.error(f"Error getting max_velocity\n{printer_cfg}")
|
||||
max_velocity = 50
|
||||
if "max_z_velocity" in printer_cfg:
|
||||
max_z_velocity = int(float(printer_cfg["max_z_velocity"]))
|
||||
else:
|
||||
@@ -138,16 +136,7 @@ class MovePanel(ScreenPanel):
|
||||
name = list(option)[0]
|
||||
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):
|
||||
if action == "notify_busy":
|
||||
self.process_busy(data)
|
||||
return
|
||||
if action != "notify_status_update":
|
||||
return
|
||||
homed_axes = self._printer.get_stat("toolhead", "homed_axes")
|
||||
@@ -189,8 +178,8 @@ class MovePanel(ScreenPanel):
|
||||
if speed is None:
|
||||
speed = self._config.get_config()['main'].getint(config_key, 20)
|
||||
speed = 60 * max(1, speed)
|
||||
|
||||
self._screen._ws.klippy.gcode_script(f"{KlippyGcodes.MOVE_RELATIVE}\n{KlippyGcodes.MOVE} {axis}{dist} F{speed}")
|
||||
script = f"{KlippyGcodes.MOVE_RELATIVE}\nG0 {axis}{dist} F{speed}"
|
||||
self._screen._send_action(widget, "printer.gcode.script", {"script": script})
|
||||
if self._printer.get_stat("gcode_move", "absolute_coordinates"):
|
||||
self._screen._ws.klippy.gcode_script("G90")
|
||||
|
||||
@@ -253,9 +242,9 @@ class MovePanel(ScreenPanel):
|
||||
|
||||
def home(self, widget):
|
||||
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
|
||||
name = "homing"
|
||||
disname = self._screen._config.get_menu_name("move", name)
|
||||
menuitems = self._screen._config.get_menu_items("move", name)
|
||||
self._screen.show_panel(name, "menu", disname, 1, False, items=menuitems)
|
||||
self._screen.show_panel("menu", disname, items=menuitems)
|
||||
+3
-8
@@ -1,6 +1,5 @@
|
||||
import logging
|
||||
import os
|
||||
|
||||
import gi
|
||||
import netifaces
|
||||
|
||||
@@ -9,11 +8,7 @@ from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return NetworkPanel(*args)
|
||||
|
||||
|
||||
class NetworkPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
initialized = False
|
||||
|
||||
def __init__(self, screen, title):
|
||||
@@ -96,7 +91,7 @@ class NetworkPanel(ScreenPanel):
|
||||
if self.update_timeout is None:
|
||||
self.update_timeout = GLib.timeout_add_seconds(5, self.update_all_networks)
|
||||
else:
|
||||
self.labels['networkinfo'] = Gtk.Label("")
|
||||
self.labels['networkinfo'] = Gtk.Label()
|
||||
self.labels['networkinfo'].get_style_context().add_class('temperature_entry')
|
||||
box.pack_start(self.labels['networkinfo'], False, False, 0)
|
||||
self.update_single_network_info()
|
||||
@@ -144,7 +139,7 @@ class NetworkPanel(ScreenPanel):
|
||||
if connected_ssid == ssid:
|
||||
display_name += " (" + _("Connected") + ")"
|
||||
|
||||
name = Gtk.Label("")
|
||||
name = Gtk.Label()
|
||||
name.set_markup(f"<big><b>{display_name}</b></big>")
|
||||
name.set_hexpand(True)
|
||||
name.set_halign(Gtk.Align.START)
|
||||
|
||||
+1
-7
@@ -1,18 +1,12 @@
|
||||
import logging
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, GLib, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return OutputPinPanel(*args)
|
||||
|
||||
|
||||
class OutputPinPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
|
||||
+1
-7
@@ -1,18 +1,12 @@
|
||||
import logging
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return PowerPanel(*args)
|
||||
|
||||
|
||||
class PowerPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
self.devices = {}
|
||||
|
||||
+1
-7
@@ -1,21 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import logging
|
||||
import os
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, GLib, Pango
|
||||
from datetime import datetime
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return PrintPanel(*args)
|
||||
|
||||
|
||||
class PrintPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
cur_directory = "gcodes"
|
||||
dir_panels = {}
|
||||
filelist = {'gcodes': {'directories': [], 'files': []}}
|
||||
|
||||
@@ -5,11 +5,7 @@ from gi.repository import Gtk, GLib
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return PrinterSelect(*args)
|
||||
|
||||
|
||||
class PrinterSelect(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
printers = self._config.get_printers()
|
||||
|
||||
@@ -1,19 +1,13 @@
|
||||
import logging
|
||||
import re
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return FWRetractionPanel(*args)
|
||||
|
||||
|
||||
class FWRetractionPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
|
||||
+1
-6
@@ -2,15 +2,10 @@ import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return SettingsPanel(*args)
|
||||
|
||||
|
||||
class SettingsPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
self.printers = self.settings = self.langs = {}
|
||||
|
||||
+3
-12
@@ -1,19 +1,13 @@
|
||||
import logging
|
||||
import os
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return SplashScreenPanel(*args)
|
||||
|
||||
|
||||
class SplashScreenPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
@@ -97,9 +91,6 @@ class SplashScreenPanel(ScreenPanel):
|
||||
|
||||
def activate(self):
|
||||
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):
|
||||
if 'power' in self.labels:
|
||||
@@ -125,7 +116,7 @@ class SplashScreenPanel(ScreenPanel):
|
||||
"machine.shutdown")
|
||||
else:
|
||||
logging.info("OS Shutdown")
|
||||
os.system("systemctl poweroff")
|
||||
os.system("systemctl poweroff -i")
|
||||
|
||||
def restart_system(self, widget):
|
||||
|
||||
@@ -135,7 +126,7 @@ class SplashScreenPanel(ScreenPanel):
|
||||
"machine.reboot")
|
||||
else:
|
||||
logging.info("OS Reboot")
|
||||
os.system("systemctl reboot")
|
||||
os.system("systemctl reboot -i")
|
||||
|
||||
def retry(self, widget):
|
||||
self.update_text((_("Connecting to %s") % self._screen.connecting_to_printer))
|
||||
|
||||
@@ -0,0 +1,416 @@
|
||||
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_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)
|
||||
_filter = Gtk.Expander(label=_("Filter"))
|
||||
_filter.add(filter_box)
|
||||
|
||||
row = Gtk.ListBoxRow()
|
||||
hbox = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
|
||||
row.add(hbox)
|
||||
|
||||
label = Gtk.Label(_("Material"))
|
||||
_material_filter = Gtk.ComboBox()
|
||||
_material_filter.set_model(self._materials)
|
||||
_material_filter.connect("changed", self._on_material_filter_changed)
|
||||
cellrenderertext = Gtk.CellRendererText()
|
||||
_material_filter.pack_start(cellrenderertext, True)
|
||||
_material_filter.add_attribute(cellrenderertext, "text", 1)
|
||||
|
||||
hbox.pack_start(label, False, True, 0)
|
||||
hbox.pack_start(_material_filter, True, True, 0)
|
||||
|
||||
filter_box.add(row)
|
||||
|
||||
self.main = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
||||
self.main.set_vexpand(True)
|
||||
self.main.pack_start(sbox, False, False, 0)
|
||||
self.main.pack_start(_filter, False, True, 0)
|
||||
self.main.pack_start(self.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
|
||||
+4
-10
@@ -1,18 +1,12 @@
|
||||
import logging
|
||||
import os
|
||||
|
||||
import gi
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Pango, GLib
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
|
||||
def create_panel(*args):
|
||||
return SystemPanel(*args)
|
||||
|
||||
|
||||
# Same as ALLOWED_SERVICES in moonraker
|
||||
# https://github.com/Arksine/moonraker/blob/master/moonraker/components/machine.py
|
||||
ALLOWED_SERVICES = (
|
||||
@@ -27,7 +21,7 @@ ALLOWED_SERVICES = (
|
||||
)
|
||||
|
||||
|
||||
class SystemPanel(ScreenPanel):
|
||||
class Panel(ScreenPanel):
|
||||
def __init__(self, screen, title):
|
||||
super().__init__(screen, title)
|
||||
self.refresh = None
|
||||
@@ -65,7 +59,7 @@ class SystemPanel(ScreenPanel):
|
||||
items = sorted(list(vi))
|
||||
i = 0
|
||||
for prog in items:
|
||||
self.labels[prog] = Gtk.Label("")
|
||||
self.labels[prog] = Gtk.Label()
|
||||
self.labels[prog].set_hexpand(True)
|
||||
self.labels[prog].set_halign(Gtk.Align.START)
|
||||
|
||||
@@ -340,9 +334,9 @@ class SystemPanel(ScreenPanel):
|
||||
self._gtk.remove_dialog(dialog)
|
||||
if response_id == Gtk.ResponseType.OK:
|
||||
if method == "reboot":
|
||||
os.system("systemctl reboot")
|
||||
os.system("systemctl reboot -i")
|
||||
else:
|
||||
os.system("systemctl poweroff")
|
||||
os.system("systemctl poweroff -i")
|
||||
elif response_id == Gtk.ResponseType.APPLY:
|
||||
if method == "reboot":
|
||||
self._screen._ws.send_method("machine.reboot")
|
||||
|
||||
Loaded 100 of 124 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user