Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
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,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
|
||||||
|
about: Create a report to help us improve
|
||||||
|
title: "[BUG] <title>"
|
||||||
|
labels: 'bug'
|
||||||
|
assignees: ''
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: >-
|
||||||
|
## Thank you for choosing KlipperScreen
|
||||||
|
|
||||||
|
#### 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,44 @@
|
|||||||
|
name: Feature request
|
||||||
|
about: Suggest an idea for this project
|
||||||
|
title: "[FR] <title>"
|
||||||
|
labels: ''
|
||||||
|
assignees: ''
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: >-
|
||||||
|
## Thank you for choosing KlipperScreen
|
||||||
|
|
||||||
|
#### This form is for feature request 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've 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
|
||||||
@@ -12,4 +12,23 @@ will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [
|
|||||||
|
|
||||||
[](https://klipperscreen.readthedocs.io/en/latest/Panels/)
|
[](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)
|
||||||
@@ -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.
|
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
|
## Include files
|
||||||
```py
|
```py
|
||||||
[include conf.d/*.conf]
|
[include conf.d/*.conf]
|
||||||
@@ -96,6 +103,11 @@ camera_url: http://127.0.0.1/webcam/?action=stream
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Preheat Options
|
## Preheat Options
|
||||||
|
|
||||||
|
!!! question
|
||||||
|
Adding a custom preheat section will cause the defaults to not load, this is
|
||||||
|
the intended behaviour.
|
||||||
|
|
||||||
```py
|
```py
|
||||||
[preheat my_temp_setting]
|
[preheat my_temp_setting]
|
||||||
extruder: 195
|
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
|
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.
|
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:
|
A menu item is configured as follows:
|
||||||
```py
|
```py
|
||||||
[menu __main my_menu_item]
|
[menu __main my_menu_item]
|
||||||
|
|||||||
+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.
|
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
|
## 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
|
???+ example
|
||||||
```bash
|
|
||||||
sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
|
|
||||||
```
|
|
||||||
|
|
||||||
Paste this section modifying the options to suit your needs:
|
Create /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||||
```
|
```bash
|
||||||
Section "Monitor"
|
sudo nano /usr/share/X11/xorg.conf.d/90-monitor.conf
|
||||||
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"
|
Paste this section modifying the options to suit your needs:
|
||||||
# Valid rotation options are normal,inverted,left,right
|
```
|
||||||
|
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"
|
Option "PreferredMode" "1920x1080"
|
||||||
# May be necesary if you are not getting your prefered resolution.
|
# May be necesary if you are not getting your prefered resolution.
|
||||||
EndSection
|
EndSection
|
||||||
```
|
```
|
||||||
Save the file and restart KlipperScreen.
|
Save the file and restart KlipperScreen.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo service KlipperScreen restart
|
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
|
## Touchscreen touch rotation
|
||||||
If your touchscreen isn't registering touches properly after the screen has been rotated, you will need to apply a
|
If your touchscreen isn't registering touches properly after the screen has been rotated, you will need to apply a
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ If you wish to use the update manager feature of moonraker for KlipperScreen, ad
|
|||||||
[update_manager KlipperScreen]
|
[update_manager KlipperScreen]
|
||||||
type: git_repo
|
type: git_repo
|
||||||
path: ~/KlipperScreen
|
path: ~/KlipperScreen
|
||||||
origin: https://github.com/jordanruthe/KlipperScreen.git
|
origin: https://github.com/KlipperScreen/KlipperScreen.git
|
||||||
env: ~/.KlipperScreen-env/bin/python
|
env: ~/.KlipperScreen-env/bin/python
|
||||||
requirements: scripts/KlipperScreen-requirements.txt
|
requirements: scripts/KlipperScreen-requirements.txt
|
||||||
install_script: scripts/KlipperScreen-install.sh
|
install_script: scripts/KlipperScreen-install.sh
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ This panel has more information than it shows by default, just click/tap the cor
|
|||||||
!!! note
|
!!! note
|
||||||
Layer is calculated from object height, it may not be accurate if variable layer is used
|
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
|
## Extrusion info
|
||||||

|

|
||||||
|
|||||||
+3
-3
@@ -17,7 +17,7 @@ Recommended sizes for thumbnails:
|
|||||||
* [Cura](#cura)
|
* [Cura](#cura)
|
||||||
* [ideaMaker](#ideamaker)
|
* [ideaMaker](#ideamaker)
|
||||||
|
|
||||||
### PrusaSlicer (2.3.0+)
|
### PrusaSlicer
|
||||||
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
|
In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews.
|
||||||
Under General / Firmware.
|
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.
|
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
|
1. Open the Advanced tab in the printer settings
|
||||||
2. Enable "GCode Thumbnails for Octoprint and Mainsail"
|
2. Enable "GCode Thumbnails for Octoprint and Mainsail"
|
||||||
3. Set both Width and Height to 300
|
3. Set both Width and Height to 300
|
||||||
|
|||||||
+64
@@ -0,0 +1,64 @@
|
|||||||
|
# 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:
|
||||||
|
|
||||||
|
Display timeout: off
|
||||||
|
|
||||||
|
|
||||||
|
DPMS: 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!
|
||||||
+19
-2
@@ -1,6 +1,6 @@
|
|||||||
# KlipperScreen
|
# 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
|
### 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
|
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).
|
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,9 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import contextlib
|
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
|
|||||||
+38
-21
@@ -47,6 +47,8 @@ class KlipperScreenConfig:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
self.config.read(self.default_config_path)
|
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:
|
if self.config_path != self.default_config_path:
|
||||||
user_def, saved_def = self.separate_saved_config(self.config_path)
|
user_def, saved_def = self.separate_saved_config(self.config_path)
|
||||||
self.defined_config = configparser.ConfigParser()
|
self.defined_config = configparser.ConfigParser()
|
||||||
@@ -59,19 +61,16 @@ class KlipperScreenConfig:
|
|||||||
self.exclude_from_config(self.defined_config)
|
self.exclude_from_config(self.defined_config)
|
||||||
|
|
||||||
self.log_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:
|
if saved_def is not None:
|
||||||
self.config.read_string(saved_def)
|
auto_gen = configparser.ConfigParser()
|
||||||
logging.info(f"====== Saved Def ======\n{saved_def}\n=======================")
|
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
|
# This is the final config
|
||||||
# self.log_config(self.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:
|
except KeyError as Kerror:
|
||||||
msg = f"Error reading config: {self.config_path}\n{Kerror}"
|
msg = f"Error reading config: {self.config_path}\n{Kerror}"
|
||||||
logging.exception(msg)
|
logging.exception(msg)
|
||||||
@@ -139,9 +138,16 @@ class KlipperScreenConfig:
|
|||||||
self.lang = self.langs[lang]
|
self.lang = self.langs[lang]
|
||||||
self.lang.install(names=['gettext', 'ngettext'])
|
self.lang.install(names=['gettext', 'ngettext'])
|
||||||
|
|
||||||
def validate_config(self):
|
def validate_config(self, config, string="", remove=False):
|
||||||
valid = True
|
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 '):
|
if section == 'DEFAULT' or section.startswith('include '):
|
||||||
# Do not validate 'DEFAULT' or 'include*' sections
|
# Do not validate 'DEFAULT' or 'include*' sections
|
||||||
continue
|
continue
|
||||||
@@ -175,7 +181,7 @@ class KlipperScreenConfig:
|
|||||||
)
|
)
|
||||||
elif section.startswith('preheat '):
|
elif section.startswith('preheat '):
|
||||||
strs = ('gcode', '')
|
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 '):
|
elif section.startswith('menu '):
|
||||||
strs = ('name', 'icon', 'panel', 'method', 'params', 'enable', 'confirm', 'style')
|
strs = ('name', 'icon', 'panel', 'method', 'params', 'enable', 'confirm', 'style')
|
||||||
elif section == 'bed_screws':
|
elif section == 'bed_screws':
|
||||||
@@ -183,25 +189,29 @@ class KlipperScreenConfig:
|
|||||||
numbers = ('rotation', '')
|
numbers = ('rotation', '')
|
||||||
strs = ('screw_positions', '')
|
strs = ('screw_positions', '')
|
||||||
elif section.startswith('graph') or section.startswith('displayed_macros'):
|
elif section.startswith('graph') or section.startswith('displayed_macros'):
|
||||||
bools = [f'{option}' for option in self.config[section]]
|
bools = [f'{option}' for option in config[section]]
|
||||||
elif section.startswith('z_calibrate_position'):
|
elif section.startswith('z_calibrate_position'):
|
||||||
# This section may be deprecated in favor of moving this options under the printer section
|
# This section may be deprecated in favor of moving this options under the printer section
|
||||||
numbers = ('calibrate_x_position', 'calibrate_y_position')
|
numbers = ('calibrate_x_position', 'calibrate_y_position')
|
||||||
else:
|
else:
|
||||||
self.errors.append(f'Section [{section}] not recognized')
|
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:
|
if key not in bools and key not in strs and key not in numbers:
|
||||||
msg = f'Option "{key}" not recognized for section "[{section}]"'
|
msg = f'Option "{key}" not recognized for section "[{section}]"'
|
||||||
self.errors.append(msg)
|
if remove:
|
||||||
# This most probably is not a big issue, continue to load the config
|
# This should only be called for the auto-generated section
|
||||||
elif key in numbers and not self.is_float(self.config[section][key]) \
|
self.config.remove_option(section, key)
|
||||||
or key in bools and self.config[section][key] not in ["False", "false", "True", "true"]:
|
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 = (
|
msg = (
|
||||||
f'Unable to parse "{key}" from [{section}]\n'
|
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)
|
self.errors.append(msg)
|
||||||
|
logging.error('Invalid configuration detected !!!')
|
||||||
valid = False
|
valid = False
|
||||||
return valid
|
return valid
|
||||||
|
|
||||||
@@ -213,6 +223,10 @@ class KlipperScreenConfig:
|
|||||||
except ValueError:
|
except ValueError:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
@staticmethod
|
||||||
|
def is_bool(element):
|
||||||
|
return element in ["False", "false", "True", "true"]
|
||||||
|
|
||||||
def get_errors(self):
|
def get_errors(self):
|
||||||
return "".join(f'{error}\n\n' for error in self.errors)
|
return "".join(f'{error}\n\n' for error in self.errors)
|
||||||
|
|
||||||
@@ -347,7 +361,10 @@ class KlipperScreenConfig:
|
|||||||
self._include_config("/".join(full_path.split("/")[:-1]), include)
|
self._include_config("/".join(full_path.split("/")[:-1]), include)
|
||||||
self.exclude_from_config(config)
|
self.exclude_from_config(config)
|
||||||
self.log_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):
|
def separate_saved_config(self, config_path):
|
||||||
user_def = []
|
user_def = []
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: PACKAGE VERSION\n"
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||||
@@ -43,9 +43,6 @@ msgstr ""
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -147,9 +144,6 @@ msgstr ""
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -284,6 +278,9 @@ msgstr ""
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -299,9 +296,6 @@ msgstr ""
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -314,6 +308,9 @@ msgstr ""
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -335,6 +332,9 @@ msgstr ""
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -425,6 +425,9 @@ msgstr ""
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Czech\n"
|
"Project-Id-Version: Czech\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2023-01-29 09:27-0600\n"
|
"PO-Revision-Date: 2023-01-29 09:27-0600\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: Jan Stanka (stanky@email.cz)\n"
|
"Language-Team: Jan Stanka (stanky@email.cz)\n"
|
||||||
@@ -43,9 +43,6 @@ msgstr "Zrychlení:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Přijmout"
|
msgstr "Přijmout"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Akce"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Přidat profil"
|
msgstr "Přidat profil"
|
||||||
|
|
||||||
@@ -147,9 +144,6 @@ msgstr "Zavřít"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Hotovo"
|
msgstr "Hotovo"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Konfigurace"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Potvrzovat Emergency Stop"
|
msgstr "Potvrzovat Emergency Stop"
|
||||||
|
|
||||||
@@ -284,6 +278,9 @@ msgstr "Skrýt senzory v Temp."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Skrýt teplotu"
|
msgstr "Skrýt teplotu"
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Zaparkovat XYZ"
|
msgstr "Zaparkovat XYZ"
|
||||||
|
|
||||||
@@ -299,9 +296,6 @@ msgstr "Zaparkovat Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Zaparkovat Z"
|
msgstr "Zaparkovat Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Domů"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Host"
|
msgstr "Host"
|
||||||
|
|
||||||
@@ -314,6 +308,9 @@ msgstr "Sada ikon"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Startuji tiskárnu ..."
|
msgstr "Startuji tiskárnu ..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -335,6 +332,9 @@ msgstr "Otočit Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Otočit Z"
|
msgstr "Otočit Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Restart"
|
msgstr "Klipper Restart"
|
||||||
|
|
||||||
@@ -425,6 +425,9 @@ msgstr "Změněno"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: připojen"
|
msgstr "Moonraker: připojen"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Posun"
|
msgstr "Posun"
|
||||||
|
|
||||||
@@ -759,6 +762,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Akce"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Konfigurace"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Domů"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Uvolnit XY"
|
#~ msgstr "Uvolnit XY"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: \n"
|
"PO-Revision-Date: \n"
|
||||||
"Last-Translator: SRBJ\n"
|
"Last-Translator: SRBJ\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -38,9 +38,6 @@ msgstr "Acceleration:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "OK"
|
msgstr "OK"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Muligheder"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -142,9 +139,6 @@ msgstr "Luk"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Færdig"
|
msgstr "Færdig"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Konfiguration"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Bekræft Nødstop"
|
msgstr "Bekræft Nødstop"
|
||||||
|
|
||||||
@@ -279,6 +273,9 @@ msgstr "Skjul sensorer i Temp."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Home"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Home alle"
|
msgstr "Home alle"
|
||||||
|
|
||||||
@@ -294,9 +291,6 @@ msgstr "Home Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Home Z"
|
msgstr "Home Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Homing"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -309,6 +303,9 @@ msgstr "Ikon-tema"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Initialiserer printer..."
|
msgstr "Initialiserer printer..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -330,6 +327,9 @@ msgstr "Invertér Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Invertér Z"
|
msgstr "Invertér Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Genstart"
|
msgstr "Klipper Genstart"
|
||||||
|
|
||||||
@@ -420,6 +420,9 @@ msgstr "Ændret"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: tilsluttet"
|
msgstr "Moonraker: tilsluttet"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Flytning"
|
msgstr "Flytning"
|
||||||
|
|
||||||
@@ -750,6 +753,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Muligheder"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Konfiguration"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Homing"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Deaktivér XY"
|
#~ msgstr "Deaktivér XY"
|
||||||
|
|
||||||
@@ -806,9 +818,6 @@ msgstr ""
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Slet"
|
#~ msgstr "Slet"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Home"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Sluk"
|
#~ msgstr "Sluk"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
|
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
|
||||||
"Last-Translator: livinhack\n"
|
"Last-Translator: livinhack\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -43,9 +43,6 @@ msgstr "Beschleunigung:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "OK"
|
msgstr "OK"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Aktionen"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Profil hinzufügen"
|
msgstr "Profil hinzufügen"
|
||||||
|
|
||||||
@@ -147,9 +144,6 @@ msgstr "Schließen"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Fertiggestellt"
|
msgstr "Fertiggestellt"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Einstellungen"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Not-Aus bestätigen"
|
msgstr "Not-Aus bestätigen"
|
||||||
|
|
||||||
@@ -284,6 +278,9 @@ msgstr "Sensoren in Temp ausblenden."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Temp. ausblenden"
|
msgstr "Temp. ausblenden"
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Grundposition"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Alle Achsen zurücksetzen"
|
msgstr "Alle Achsen zurücksetzen"
|
||||||
|
|
||||||
@@ -299,9 +296,6 @@ msgstr "Achse Y neupositionieren"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Achse Z neupositionieren"
|
msgstr "Achse Z neupositionieren"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Grundposition"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Host"
|
msgstr "Host"
|
||||||
|
|
||||||
@@ -314,6 +308,9 @@ msgstr "Icon Theme"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Drucker wird initialisiert..."
|
msgstr "Drucker wird initialisiert..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "Input Shaper"
|
msgstr "Input Shaper"
|
||||||
|
|
||||||
@@ -335,6 +332,9 @@ msgstr "Achse Y invertieren"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Achse Z invertieren"
|
msgstr "Achse Z invertieren"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Neustart"
|
msgstr "Klipper Neustart"
|
||||||
|
|
||||||
@@ -425,6 +425,9 @@ msgstr "Modifiziert"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: Verbunden"
|
msgstr "Moonraker: Verbunden"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Bewegen"
|
msgstr "Bewegen"
|
||||||
|
|
||||||
@@ -759,6 +762,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Aktionen"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Einstellungen"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Grundposition"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "XY-Achse deaktivieren"
|
#~ msgstr "XY-Achse deaktivieren"
|
||||||
|
|
||||||
@@ -815,9 +827,6 @@ msgstr "mm³/s"
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Löschen"
|
#~ msgstr "Löschen"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Grundposition"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Aus"
|
#~ msgstr "Aus"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
|
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
|
||||||
"Last-Translator: livinhack\n"
|
"Last-Translator: livinhack\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -43,9 +43,6 @@ msgstr "Beschleunigung:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "OK"
|
msgstr "OK"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Aktionen"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Profil hinzufügen"
|
msgstr "Profil hinzufügen"
|
||||||
|
|
||||||
@@ -147,9 +144,6 @@ msgstr "Schließen"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Fertiggestellt"
|
msgstr "Fertiggestellt"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Einstellungen"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Not-Aus bestätigen"
|
msgstr "Not-Aus bestätigen"
|
||||||
|
|
||||||
@@ -284,6 +278,9 @@ msgstr "Sensoren in Temp ausblenden."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Temp. ausblenden"
|
msgstr "Temp. ausblenden"
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Grundposition"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Alle Achsen zurücksetzen"
|
msgstr "Alle Achsen zurücksetzen"
|
||||||
|
|
||||||
@@ -299,9 +296,6 @@ msgstr "Achse Y neupositionieren"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Achse Z neupositionieren"
|
msgstr "Achse Z neupositionieren"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Grundposition"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Host"
|
msgstr "Host"
|
||||||
|
|
||||||
@@ -314,6 +308,9 @@ msgstr "Icon Theme"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Drucker wird initialisiert..."
|
msgstr "Drucker wird initialisiert..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "Input Shaper"
|
msgstr "Input Shaper"
|
||||||
|
|
||||||
@@ -335,6 +332,9 @@ msgstr "Achse Y invertieren"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Achse Z invertieren"
|
msgstr "Achse Z invertieren"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Neustart"
|
msgstr "Klipper Neustart"
|
||||||
|
|
||||||
@@ -425,6 +425,9 @@ msgstr "Modifiziert"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: Verbunden"
|
msgstr "Moonraker: Verbunden"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Bewegen"
|
msgstr "Bewegen"
|
||||||
|
|
||||||
@@ -760,6 +763,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Aktionen"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Einstellungen"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Grundposition"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "XY-Achse deaktivieren"
|
#~ msgstr "XY-Achse deaktivieren"
|
||||||
|
|
||||||
@@ -816,9 +828,6 @@ msgstr "mm³/s"
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Löschen"
|
#~ msgstr "Löschen"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Grundposition"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Aus"
|
#~ msgstr "Aus"
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: \n"
|
"PO-Revision-Date: \n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -38,9 +38,6 @@ msgstr ""
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -142,9 +139,6 @@ msgstr ""
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -279,6 +273,9 @@ msgstr ""
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -294,9 +291,6 @@ msgstr ""
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -309,6 +303,9 @@ msgstr ""
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -330,6 +327,9 @@ msgstr ""
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -420,6 +420,9 @@ msgstr ""
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-25 21:04-0300\n"
|
||||||
"PO-Revision-Date: 2022-11-30 18:10-0300\n"
|
"PO-Revision-Date: 2023-07-25 21:05-0300\n"
|
||||||
"Last-Translator: alfrix\n"
|
"Last-Translator: alfrix\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: es\n"
|
"Language: es\n"
|
||||||
@@ -16,7 +16,7 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||||
"X-Generator: Poedit 3.2.1\n"
|
"X-Generator: Poedit 3.3.2\n"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "%s will be updated to version"
|
msgid "%s will be updated to version"
|
||||||
@@ -43,9 +43,6 @@ msgstr "Aceleración:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Aceptar"
|
msgstr "Aceptar"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Acciones"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Agregar perfil"
|
msgstr "Agregar perfil"
|
||||||
|
|
||||||
@@ -147,9 +144,6 @@ msgstr "Cerrar"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Completado"
|
msgstr "Completado"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Ajustes"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Confirmar Emergencia"
|
msgstr "Confirmar Emergencia"
|
||||||
|
|
||||||
@@ -169,6 +163,9 @@ msgstr "Continuar"
|
|||||||
msgid "Cooldown"
|
msgid "Cooldown"
|
||||||
msgstr "Enfriar"
|
msgstr "Enfriar"
|
||||||
|
|
||||||
|
msgid "DPMS has failed to load and has been disabled"
|
||||||
|
msgstr "DPMS falló en cargar y ha sido deshabilitado"
|
||||||
|
|
||||||
msgid "Date"
|
msgid "Date"
|
||||||
msgstr "Fecha"
|
msgstr "Fecha"
|
||||||
|
|
||||||
@@ -284,6 +281,9 @@ msgstr "Ocultar sensores en Temp."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Ocultar temp."
|
msgstr "Ocultar temp."
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Inicio"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Origen XYZ"
|
msgstr "Origen XYZ"
|
||||||
|
|
||||||
@@ -299,9 +299,6 @@ msgstr "Origen Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Origen Z"
|
msgstr "Origen Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Origen"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Anfitrión"
|
msgstr "Anfitrión"
|
||||||
|
|
||||||
@@ -314,6 +311,9 @@ msgstr "Tema de Iconos"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Iniciando Impresora..."
|
msgstr "Iniciando Impresora..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr "Iniciar calibración PID para:"
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "Corrección de Resonancias"
|
msgstr "Corrección de Resonancias"
|
||||||
|
|
||||||
@@ -335,6 +335,10 @@ msgstr "Invertir Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Invertir 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"
|
msgid "Klipper Restart"
|
||||||
msgstr "Reiniciar Klipper"
|
msgstr "Reiniciar Klipper"
|
||||||
|
|
||||||
@@ -425,6 +429,9 @@ msgstr "Modificado"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: conectado"
|
msgstr "Moonraker: conectado"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr "Más"
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Mover"
|
msgstr "Mover"
|
||||||
|
|
||||||
@@ -547,7 +554,7 @@ msgid "Refresh"
|
|||||||
msgstr "Actualizar"
|
msgstr "Actualizar"
|
||||||
|
|
||||||
msgid "Rename/Move:"
|
msgid "Rename/Move:"
|
||||||
msgstr "Renombrar/Movar"
|
msgstr "Renombrar/Mover:"
|
||||||
|
|
||||||
msgid "Restart"
|
msgid "Restart"
|
||||||
msgstr "Reiniciar"
|
msgstr "Reiniciar"
|
||||||
@@ -649,6 +656,9 @@ msgstr "Velocidad:"
|
|||||||
msgid "Square Corner Velocity"
|
msgid "Square Corner Velocity"
|
||||||
msgstr "Velocidad de esquina"
|
msgstr "Velocidad de esquina"
|
||||||
|
|
||||||
|
msgid "Standby"
|
||||||
|
msgstr "En espera"
|
||||||
|
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "Iniciar"
|
msgstr "Iniciar"
|
||||||
|
|
||||||
@@ -757,6 +767,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Acciones"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Ajustes"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Origen"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Desactivar XY"
|
#~ msgstr "Desactivar XY"
|
||||||
|
|
||||||
@@ -816,9 +835,6 @@ msgstr "mm³/s"
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Borrar"
|
#~ msgstr "Borrar"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Inicio"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Apagar"
|
#~ msgstr "Apagar"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2022-11-30 18:11-0300\n"
|
"PO-Revision-Date: 2022-11-30 18:11-0300\n"
|
||||||
"Last-Translator: O. Robardet\n"
|
"Last-Translator: O. Robardet\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -43,9 +43,6 @@ msgstr "Accélération:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Accepter"
|
msgstr "Accepter"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Actions"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Ajouter un profil"
|
msgstr "Ajouter un profil"
|
||||||
|
|
||||||
@@ -147,9 +144,6 @@ msgstr "Fermer"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Impression terminée"
|
msgstr "Impression terminée"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Configuration"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Confirmer l'arrêt d'urgence"
|
msgstr "Confirmer l'arrêt d'urgence"
|
||||||
|
|
||||||
@@ -284,6 +278,9 @@ msgstr "Masquer les capteurs dans Températures"
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Masquer temp."
|
msgstr "Masquer temp."
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Accueil"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Origine XYZ"
|
msgstr "Origine XYZ"
|
||||||
|
|
||||||
@@ -299,9 +296,6 @@ msgstr "Origine Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Origine Z"
|
msgstr "Origine Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Origine"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Hôte"
|
msgstr "Hôte"
|
||||||
|
|
||||||
@@ -314,6 +308,9 @@ msgstr "Thème"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Démarrage de l'imprimante..."
|
msgstr "Démarrage de l'imprimante..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "Input Shaper"
|
msgstr "Input Shaper"
|
||||||
|
|
||||||
@@ -335,6 +332,9 @@ msgstr "Inverser l'axe Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Inverser l'axe Z"
|
msgstr "Inverser l'axe Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Redémarrer Klipper"
|
msgstr "Redémarrer Klipper"
|
||||||
|
|
||||||
@@ -425,6 +425,9 @@ msgstr "Modifié"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: connecté"
|
msgstr "Moonraker: connecté"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Mouvement"
|
msgstr "Mouvement"
|
||||||
|
|
||||||
@@ -757,6 +760,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Actions"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Configuration"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Origine"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Désactiver XY"
|
#~ msgstr "Désactiver XY"
|
||||||
|
|
||||||
@@ -813,9 +825,6 @@ msgstr "mm³/s"
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Effacer"
|
#~ msgstr "Effacer"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Accueil"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Éteindre"
|
#~ msgstr "Éteindre"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Klipperscreen\n"
|
"Project-Id-Version: Klipperscreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2022-11-30 18:11-0300\n"
|
"PO-Revision-Date: 2022-11-30 18:11-0300\n"
|
||||||
"Last-Translator: Tal Rahav <talrhv1@gmail.com>\n"
|
"Last-Translator: Tal Rahav <talrhv1@gmail.com>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -45,9 +45,6 @@ msgstr "האצה"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "אשר"
|
msgstr "אשר"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "פעולות"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "הוסף פרופיל"
|
msgstr "הוסף פרופיל"
|
||||||
|
|
||||||
@@ -149,9 +146,6 @@ msgstr "סגור"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "הסתיים"
|
msgstr "הסתיים"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "קונפיגורציה"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "אשר עצירת חירום"
|
msgstr "אשר עצירת חירום"
|
||||||
|
|
||||||
@@ -286,6 +280,9 @@ msgstr "הסתר חיישנים בטמפ'."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "הסתר טמפרטורה"
|
msgstr "הסתר טמפרטורה"
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "איפוס"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "איפוס XYZ"
|
msgstr "איפוס XYZ"
|
||||||
|
|
||||||
@@ -301,9 +298,6 @@ msgstr "איפוס Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "איפוס Z"
|
msgstr "איפוס Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "איפוס צירים"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "שרת"
|
msgstr "שרת"
|
||||||
|
|
||||||
@@ -316,6 +310,9 @@ msgstr "ערכת נושא"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "מאתחל מדפסת..."
|
msgstr "מאתחל מדפסת..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "מעצב גימור"
|
msgstr "מעצב גימור"
|
||||||
|
|
||||||
@@ -337,6 +334,9 @@ msgstr "הפוך את Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "הפוך את Z"
|
msgstr "הפוך את Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper יאתחל מחדש"
|
msgstr "Klipper יאתחל מחדש"
|
||||||
|
|
||||||
@@ -427,6 +427,9 @@ msgstr "שונה"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: מחובר"
|
msgstr "Moonraker: מחובר"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "הזזת צירים"
|
msgstr "הזזת צירים"
|
||||||
|
|
||||||
@@ -765,6 +768,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "פעולות"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "קונפיגורציה"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "איפוס צירים"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "השבת את XY"
|
#~ msgstr "השבת את XY"
|
||||||
|
|
||||||
@@ -821,9 +833,6 @@ msgstr ""
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "מחק"
|
#~ msgstr "מחק"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "איפוס"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "כבוי"
|
#~ msgstr "כבוי"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-12 16:32-0300\n"
|
||||||
"PO-Revision-Date: \n"
|
"PO-Revision-Date: \n"
|
||||||
"Last-Translator: AntoszHUN\n"
|
"Last-Translator: AntoszHUN\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -38,9 +38,6 @@ msgstr "Gyorsulás:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Elfogad"
|
msgstr "Elfogad"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Műveletek"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Profil hozzáadása"
|
msgstr "Profil hozzáadása"
|
||||||
|
|
||||||
@@ -49,11 +46,11 @@ msgstr "Alkalmaz"
|
|||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Apply %s%.3f offset to Endstop?"
|
msgid "Apply %s%.3f offset to Endstop?"
|
||||||
msgstr ""
|
msgstr "Alkalmazod a %s%.3f végpont eltolást?"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Apply %s%.3f offset to Probe?"
|
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?"
|
msgid "Are you sure do you want to exclude the object?"
|
||||||
msgstr "Biztosan kizárod az objektumot?"
|
msgstr "Biztosan kizárod az objektumot?"
|
||||||
@@ -104,7 +101,7 @@ msgid "Calibrating"
|
|||||||
msgstr "Kalibrálás"
|
msgstr "Kalibrálás"
|
||||||
|
|
||||||
msgid "Camera"
|
msgid "Camera"
|
||||||
msgstr ""
|
msgstr "Kamera"
|
||||||
|
|
||||||
msgid "Can't set above the maximum:"
|
msgid "Can't set above the maximum:"
|
||||||
msgstr "Nem állítható a maximum fölé:"
|
msgstr "Nem állítható a maximum fölé:"
|
||||||
@@ -142,9 +139,6 @@ msgstr "Bezárás"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Befejezve"
|
msgstr "Befejezve"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Konfiguráció"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Vészleállítás megerősítése"
|
msgstr "Vészleállítás megerősítése"
|
||||||
|
|
||||||
@@ -168,7 +162,7 @@ msgid "Date"
|
|||||||
msgstr "Dátum"
|
msgstr "Dátum"
|
||||||
|
|
||||||
msgid "Delete Directory?"
|
msgid "Delete Directory?"
|
||||||
msgstr ""
|
msgstr "Törlöd a könyvtárat?"
|
||||||
|
|
||||||
msgid "Delete File?"
|
msgid "Delete File?"
|
||||||
msgstr "Fájl törlése?"
|
msgstr "Fájl törlése?"
|
||||||
@@ -259,7 +253,7 @@ msgid "Full Update"
|
|||||||
msgstr "Teljes Frissítés"
|
msgstr "Teljes Frissítés"
|
||||||
|
|
||||||
msgid "Fullscreen"
|
msgid "Fullscreen"
|
||||||
msgstr ""
|
msgstr "Teljes képernyő"
|
||||||
|
|
||||||
msgid "Go Back"
|
msgid "Go Back"
|
||||||
msgstr "Visszalépés"
|
msgstr "Visszalépés"
|
||||||
@@ -279,6 +273,9 @@ msgstr "Hőfok szenzorok elrejtése."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Hőfok elrejtése"
|
msgstr "Hőfok elrejtése"
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Kezdőpontok"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "X-Y-Z kezdőpont"
|
msgstr "X-Y-Z kezdőpont"
|
||||||
|
|
||||||
@@ -294,9 +291,6 @@ msgstr "Y kezdőpont"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Z kezdőpont"
|
msgstr "Z kezdőpont"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Kezdőpont"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Gazdagép"
|
msgstr "Gazdagép"
|
||||||
|
|
||||||
@@ -309,6 +303,9 @@ msgstr "Ikon téma"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Nyomtató inicializálása..."
|
msgstr "Nyomtató inicializálása..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr "PID-kalibráció kezdeményezése:"
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "Bemeneti alakító"
|
msgstr "Bemeneti alakító"
|
||||||
|
|
||||||
@@ -330,6 +327,9 @@ msgstr "Fordított Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Fordított 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"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Újraindítása"
|
msgstr "Klipper Újraindítása"
|
||||||
|
|
||||||
@@ -420,6 +420,9 @@ msgstr "Módosított"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: csatlakoztatva"
|
msgstr "Moonraker: csatlakoztatva"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr "Több"
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Mozgatás"
|
msgstr "Mozgatás"
|
||||||
|
|
||||||
@@ -442,7 +445,7 @@ msgid ""
|
|||||||
"Not supported for auto-detection, it needs to be configured in klipperscreen."
|
"Not supported for auto-detection, it needs to be configured in klipperscreen."
|
||||||
"conf"
|
"conf"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Az automatikus felismerés nem támogatott, a klipperscreenben kell beállítani."
|
"Az automatikus felismerés nem támogatott, a KlipperScreen-ben kell beállítani."
|
||||||
"conf"
|
"conf"
|
||||||
|
|
||||||
msgid "Nothing selected"
|
msgid "Nothing selected"
|
||||||
@@ -542,7 +545,7 @@ msgid "Refresh"
|
|||||||
msgstr "Frissítés"
|
msgstr "Frissítés"
|
||||||
|
|
||||||
msgid "Rename/Move:"
|
msgid "Rename/Move:"
|
||||||
msgstr ""
|
msgstr "Átnevez/Áthelyez:"
|
||||||
|
|
||||||
msgid "Restart"
|
msgid "Restart"
|
||||||
msgstr "Újraindítás"
|
msgstr "Újraindítás"
|
||||||
@@ -737,8 +740,8 @@ msgstr[1] "órák"
|
|||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] ""
|
msgstr[0] "perc"
|
||||||
msgstr[1] ""
|
msgstr[1] "percek"
|
||||||
|
|
||||||
msgid "mm"
|
msgid "mm"
|
||||||
msgstr "mm"
|
msgstr "mm"
|
||||||
@@ -752,6 +755,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Műveletek"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Konfiguráció"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Kezdőpont"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "XY Letiltása"
|
#~ msgstr "XY Letiltása"
|
||||||
|
|
||||||
@@ -808,9 +820,6 @@ msgstr "mm³/s"
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Töröl"
|
#~ msgstr "Töröl"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Kezdőpontok"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Ki"
|
#~ msgstr "Ki"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: \n"
|
"PO-Revision-Date: \n"
|
||||||
"Last-Translator: pappicio\n"
|
"Last-Translator: pappicio\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -38,9 +38,6 @@ msgstr "Accelerazione:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Accetta"
|
msgstr "Accetta"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Azioni"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Aggiungi profilo"
|
msgstr "Aggiungi profilo"
|
||||||
|
|
||||||
@@ -142,9 +139,6 @@ msgstr "Chiudi"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Completo"
|
msgstr "Completo"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Impostazioni"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Conferma arresto di emergenza"
|
msgstr "Conferma arresto di emergenza"
|
||||||
|
|
||||||
@@ -279,6 +273,9 @@ msgstr "Nascondi sensori in Temp."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Nascondi temp."
|
msgstr "Nascondi temp."
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Inizio"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Home XYZ"
|
msgstr "Home XYZ"
|
||||||
|
|
||||||
@@ -294,9 +291,6 @@ msgstr "Home Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Home Z"
|
msgstr "Home Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Homing"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -309,6 +303,9 @@ msgstr "Tema Icone"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Inizializzo stampante..."
|
msgstr "Inizializzo stampante..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -330,6 +327,9 @@ msgstr "Inverti Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Inverti Z"
|
msgstr "Inverti Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Riavvio"
|
msgstr "Klipper Riavvio"
|
||||||
|
|
||||||
@@ -420,6 +420,9 @@ msgstr "Modificato"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: connesso"
|
msgstr "Moonraker: connesso"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Muovi"
|
msgstr "Muovi"
|
||||||
|
|
||||||
@@ -752,6 +755,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Azioni"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Impostazioni"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Homing"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Disab. XY"
|
#~ msgstr "Disab. XY"
|
||||||
|
|
||||||
@@ -808,9 +820,6 @@ msgstr "mm³/s"
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Elimina"
|
#~ msgstr "Elimina"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Inizio"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Off"
|
#~ msgstr "Off"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: \n"
|
"PO-Revision-Date: \n"
|
||||||
"Last-Translator: boyon\n"
|
"Last-Translator: boyon\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -38,9 +38,6 @@ msgstr "加速度:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "承諾する"
|
msgstr "承諾する"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "操作"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "プロファイルの追加"
|
msgstr "プロファイルの追加"
|
||||||
|
|
||||||
@@ -142,9 +139,6 @@ msgstr "終了"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "完了"
|
msgstr "完了"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "設定"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "緊急停止時に確認する"
|
msgstr "緊急停止時に確認する"
|
||||||
|
|
||||||
@@ -279,6 +273,9 @@ msgstr "温度を非表示にする"
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "温度を非表示にする"
|
msgstr "温度を非表示にする"
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -294,9 +291,6 @@ msgstr "Home Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Home Z"
|
msgstr "Home Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Homing"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -309,6 +303,9 @@ msgstr "アイコンテーマ"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -330,6 +327,9 @@ msgstr "Y軸を反対にする"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "X軸を反対にする"
|
msgstr "X軸を反対にする"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipperを再起動する"
|
msgstr "Klipperを再起動する"
|
||||||
|
|
||||||
@@ -420,6 +420,9 @@ msgstr "変更"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: 接続済"
|
msgstr "Moonraker: 接続済"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "移動"
|
msgstr "移動"
|
||||||
|
|
||||||
@@ -746,6 +749,15 @@ msgstr ""
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "操作"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "設定"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Homing"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "XY軸制御の無効化"
|
#~ msgstr "XY軸制御の無効化"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -2,7 +2,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: \n"
|
"PO-Revision-Date: \n"
|
||||||
"Last-Translator: NSteven\n"
|
"Last-Translator: NSteven\n"
|
||||||
"Language-Team: NSteven\n"
|
"Language-Team: NSteven\n"
|
||||||
@@ -38,9 +38,6 @@ msgstr "가속도:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "확인"
|
msgstr "확인"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "툴 헤드 제어"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -142,9 +139,6 @@ msgstr "닫기"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "완료"
|
msgstr "완료"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "환경 설정"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "비상정지 확인창 표시"
|
msgstr "비상정지 확인창 표시"
|
||||||
|
|
||||||
@@ -279,6 +273,9 @@ msgstr "온도 섹션에서 센서 항목 숨김."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "온도 숨김"
|
msgstr "온도 숨김"
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "홈"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "전체 홈"
|
msgstr "전체 홈"
|
||||||
|
|
||||||
@@ -294,9 +291,6 @@ msgstr "Y축 홈"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Z축 홈"
|
msgstr "Z축 홈"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "툴 헤드 위치 초기화"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -309,6 +303,9 @@ msgstr "아이콘 테마"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "프린터 초기화 중.."
|
msgstr "프린터 초기화 중.."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "인풋 셰이퍼"
|
msgstr "인풋 셰이퍼"
|
||||||
|
|
||||||
@@ -330,6 +327,9 @@ msgstr "Y축 반전"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Z축 반전"
|
msgstr "Z축 반전"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "클리퍼 재시작"
|
msgstr "클리퍼 재시작"
|
||||||
|
|
||||||
@@ -420,6 +420,9 @@ msgstr "수정됨"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "문래커: 연결됨"
|
msgstr "문래커: 연결됨"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "툴 헤드 이동"
|
msgstr "툴 헤드 이동"
|
||||||
|
|
||||||
@@ -746,6 +749,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "툴 헤드 제어"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "환경 설정"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "툴 헤드 위치 초기화"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "XY 비활성화"
|
#~ msgstr "XY 비활성화"
|
||||||
|
|
||||||
@@ -802,9 +814,6 @@ msgstr ""
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "삭제"
|
#~ msgstr "삭제"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "홈"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "끄기"
|
#~ msgstr "끄기"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2023-05-07 18:50+0200\n"
|
"PO-Revision-Date: 2023-05-07 18:50+0200\n"
|
||||||
"Last-Translator: Thijs Triemstra <info@collab.nl>\n"
|
"Last-Translator: Thijs Triemstra <info@collab.nl>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -43,9 +43,6 @@ msgstr "Acceleratie:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Accepteer"
|
msgstr "Accepteer"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Acties"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Profiel toevoegen"
|
msgstr "Profiel toevoegen"
|
||||||
|
|
||||||
@@ -147,9 +144,6 @@ msgstr "Sluiten"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Voltooid"
|
msgstr "Voltooid"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Configuratie"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Bevestig Nood Stop"
|
msgstr "Bevestig Nood Stop"
|
||||||
|
|
||||||
@@ -284,6 +278,9 @@ msgstr "Verberg sensoren in Temp."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Verberg temp."
|
msgstr "Verberg temp."
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Home alles"
|
msgstr "Home alles"
|
||||||
|
|
||||||
@@ -299,9 +296,6 @@ msgstr "Home Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Home Z"
|
msgstr "Home Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Homing"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Host"
|
msgstr "Host"
|
||||||
|
|
||||||
@@ -314,6 +308,9 @@ msgstr "Icoon Thema"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Initialiseren printer…"
|
msgstr "Initialiseren printer…"
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "Input Shaper"
|
msgstr "Input Shaper"
|
||||||
|
|
||||||
@@ -335,6 +332,9 @@ msgstr "Invert Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Invert Z"
|
msgstr "Invert Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Herstarten"
|
msgstr "Klipper Herstarten"
|
||||||
|
|
||||||
@@ -425,6 +425,9 @@ msgstr "Aangepast"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: verbonden"
|
msgstr "Moonraker: verbonden"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Beweeg"
|
msgstr "Beweeg"
|
||||||
|
|
||||||
@@ -757,6 +760,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Acties"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Configuratie"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Homing"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "XY Uitschakelen"
|
#~ msgstr "XY Uitschakelen"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1,19 +1,19 @@
|
|||||||
|
# Daviteusz <daviteusz0@gmail.com>, 2023.
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: Polish (KlipperScreen)\n"
|
"Project-Id-Version: Polish (KlipperScreen)\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2023-06-29 22:18+0000\n"
|
"PO-Revision-Date: 2023-07-24 22:00+0000\n"
|
||||||
"Last-Translator: Daviteusz <imefiu3@gmail.com>\n"
|
"Last-Translator: Daviteusz <daviteusz0@gmail.com>\n"
|
||||||
"Language-Team: Polish <https://translate.daviteusz.eu/projects/klipperscreen/"
|
"Language-Team: Polish\n"
|
||||||
"translate/pl/>\n"
|
|
||||||
"Language: pl\n"
|
"Language: pl\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
|
||||||
"|| n%100>=20) ? 1 : 2;\n"
|
"|| n%100>=20) ? 1 : 2;\n"
|
||||||
"X-Generator: Weblate 4.18.1\n"
|
"X-Generator: Weblate 4.18.2\n"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "%s will be updated to version"
|
msgid "%s will be updated to version"
|
||||||
@@ -32,7 +32,7 @@ msgid "ADXL Not Configured"
|
|||||||
msgstr "ADXL nieskonfigurowany"
|
msgstr "ADXL nieskonfigurowany"
|
||||||
|
|
||||||
msgid "Abort"
|
msgid "Abort"
|
||||||
msgstr "Anuluj"
|
msgstr "Przerwij"
|
||||||
|
|
||||||
msgid "Acceleration:"
|
msgid "Acceleration:"
|
||||||
msgstr "Przyśpieszenie:"
|
msgstr "Przyśpieszenie:"
|
||||||
@@ -40,9 +40,6 @@ msgstr "Przyśpieszenie:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Akceptuj"
|
msgstr "Akceptuj"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Akcje"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Dodaj profil"
|
msgstr "Dodaj profil"
|
||||||
|
|
||||||
@@ -144,9 +141,6 @@ msgstr "Zamknij"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Zakończone"
|
msgstr "Zakończone"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Konfiguracja"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Potwierdzaj awaryjny stop"
|
msgstr "Potwierdzaj awaryjny stop"
|
||||||
|
|
||||||
@@ -264,7 +258,7 @@ msgid "Fullscreen"
|
|||||||
msgstr "Pełny ekran"
|
msgstr "Pełny ekran"
|
||||||
|
|
||||||
msgid "Go Back"
|
msgid "Go Back"
|
||||||
msgstr "Wróć"
|
msgstr "Powróć"
|
||||||
|
|
||||||
msgid "Height:"
|
msgid "Height:"
|
||||||
msgstr "Wysokość:"
|
msgstr "Wysokość:"
|
||||||
@@ -276,11 +270,14 @@ msgid "Hide"
|
|||||||
msgstr "Ukryj"
|
msgstr "Ukryj"
|
||||||
|
|
||||||
msgid "Hide sensors in Temp."
|
msgid "Hide sensors in Temp."
|
||||||
msgstr "Ukryj sensory w obszarze Temperatura"
|
msgstr "Ukryj sensory w sekcji temperatur"
|
||||||
|
|
||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Ukryj temp."
|
msgstr "Ukryj temp."
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Bazuj"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Bazuj wszystkie"
|
msgstr "Bazuj wszystkie"
|
||||||
|
|
||||||
@@ -296,9 +293,6 @@ msgstr "Bazuj Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Bazuj Z"
|
msgstr "Bazuj Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Bazowanie"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Gospodarz"
|
msgstr "Gospodarz"
|
||||||
|
|
||||||
@@ -311,6 +305,9 @@ msgstr "Motyw ikon"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Inicjowanie drukarki..."
|
msgstr "Inicjowanie drukarki..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr "Rozpoczęcie kalibracji PID dla:"
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "Input Shaper"
|
msgstr "Input Shaper"
|
||||||
|
|
||||||
@@ -332,6 +329,9 @@ msgstr "Odwróć Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Odwróć 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"
|
msgid "Klipper Restart"
|
||||||
msgstr "Restartuj Klipper"
|
msgstr "Restartuj Klipper"
|
||||||
|
|
||||||
@@ -422,6 +422,9 @@ msgstr "Zmodyfikowane"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: połączony"
|
msgstr "Moonraker: połączony"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr "Więcej"
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Ruch"
|
msgstr "Ruch"
|
||||||
|
|
||||||
@@ -491,7 +494,7 @@ msgid "Power On Printer"
|
|||||||
msgstr "Zasilanie włączone"
|
msgstr "Zasilanie włączone"
|
||||||
|
|
||||||
msgid "Pressure Advance:"
|
msgid "Pressure Advance:"
|
||||||
msgstr "Natężenie docisku:"
|
msgstr "Pressure Advance:"
|
||||||
|
|
||||||
msgid "Print"
|
msgid "Print"
|
||||||
msgstr "Drukuj"
|
msgstr "Drukuj"
|
||||||
@@ -645,7 +648,7 @@ msgid "Speed:"
|
|||||||
msgstr "Prędkość:"
|
msgstr "Prędkość:"
|
||||||
|
|
||||||
msgid "Square Corner Velocity"
|
msgid "Square Corner Velocity"
|
||||||
msgstr "Prędkość w narożniku prostokątnym"
|
msgstr "Prędkość na rogu kwadratu"
|
||||||
|
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "Start"
|
msgstr "Start"
|
||||||
@@ -758,6 +761,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Akcje"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Konfiguracja"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Bazowanie"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Wyłącz XY"
|
#~ msgstr "Wyłącz XY"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -11,7 +11,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2022-11-30 18:14-0300\n"
|
"PO-Revision-Date: 2022-11-30 18:14-0300\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -47,9 +47,6 @@ msgstr "Aceleração:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Aceitar"
|
msgstr "Aceitar"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Ações"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Adicionar perfil"
|
msgstr "Adicionar perfil"
|
||||||
|
|
||||||
@@ -151,9 +148,6 @@ msgstr "Fechar"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Completado"
|
msgstr "Completado"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Configuração"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Etapa extra ao Parar com Emergência"
|
msgstr "Etapa extra ao Parar com Emergência"
|
||||||
|
|
||||||
@@ -288,6 +282,9 @@ msgstr "Ocultar sensores na Temperatura."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Ocultar temperatura"
|
msgstr "Ocultar temperatura"
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Zerar XYZ"
|
msgstr "Zerar XYZ"
|
||||||
|
|
||||||
@@ -303,9 +300,6 @@ msgstr "Zerar Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Zerar Z"
|
msgstr "Zerar Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Zerar"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Host"
|
msgstr "Host"
|
||||||
|
|
||||||
@@ -318,6 +312,9 @@ msgstr "Tema"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Inicializando Impressora..."
|
msgstr "Inicializando Impressora..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -339,6 +336,9 @@ msgstr "Inverter Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Inverter Z"
|
msgstr "Inverter Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Reiniciar Klipper"
|
msgstr "Reiniciar Klipper"
|
||||||
|
|
||||||
@@ -429,6 +429,9 @@ msgstr "Modificado"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: Conectado"
|
msgstr "Moonraker: Conectado"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Mover"
|
msgstr "Mover"
|
||||||
|
|
||||||
@@ -761,6 +764,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Ações"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Configuração"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Zerar"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Desabilitar YX"
|
#~ msgstr "Desabilitar YX"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -6,7 +6,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2022-11-30 18:15-0300\n"
|
"PO-Revision-Date: 2022-11-30 18:15-0300\n"
|
||||||
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
|
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -44,9 +44,6 @@ msgstr "Ускорение:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Применить"
|
msgstr "Применить"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Действия"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Добавить профиль"
|
msgstr "Добавить профиль"
|
||||||
|
|
||||||
@@ -148,9 +145,6 @@ msgstr "Закрыть"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Готово"
|
msgstr "Готово"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Параметр"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Подтвердить аварийную остановку"
|
msgstr "Подтвердить аварийную остановку"
|
||||||
|
|
||||||
@@ -285,6 +279,9 @@ msgstr "Скрыть датчики в Temp."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Скрыть температуру."
|
msgstr "Скрыть температуру."
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Парковка"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Парковать все"
|
msgstr "Парковать все"
|
||||||
|
|
||||||
@@ -300,9 +297,6 @@ msgstr "Парковать Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Парковать Z"
|
msgstr "Парковать Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Парковка"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Хост"
|
msgstr "Хост"
|
||||||
|
|
||||||
@@ -315,6 +309,9 @@ msgstr "Темы"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Принтер стартует..."
|
msgstr "Принтер стартует..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "Входной шейпер"
|
msgstr "Входной шейпер"
|
||||||
|
|
||||||
@@ -336,6 +333,9 @@ msgstr "Инверсия Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Инверсия Z"
|
msgstr "Инверсия Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Рестарт"
|
msgstr "Klipper Рестарт"
|
||||||
|
|
||||||
@@ -426,6 +426,9 @@ msgstr "Изменено"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: подключен"
|
msgstr "Moonraker: подключен"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Двигать"
|
msgstr "Двигать"
|
||||||
|
|
||||||
@@ -762,6 +765,15 @@ msgstr "мм/с²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "мм/с³"
|
msgstr "мм/с³"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Действия"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Параметр"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Парковка"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Отключить XY"
|
#~ msgstr "Отключить XY"
|
||||||
|
|
||||||
@@ -818,9 +830,6 @@ msgstr "мм/с³"
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Удалить"
|
#~ msgstr "Удалить"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Парковка"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Выкл"
|
#~ msgstr "Выкл"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,7 +7,7 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2022-11-21 21:31-0300\n"
|
"PO-Revision-Date: 2022-11-21 21:31-0300\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
@@ -43,9 +43,6 @@ msgstr ""
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Godkänn"
|
msgstr "Godkänn"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Åtgärder"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -147,9 +144,6 @@ msgstr "Stäng"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Färdig"
|
msgstr "Färdig"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Konfiguration"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Bekräfta nödstopp"
|
msgstr "Bekräfta nödstopp"
|
||||||
|
|
||||||
@@ -284,6 +278,9 @@ msgstr "Dölj sensorer i Temp."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Hem"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Hem Alla"
|
msgstr "Hem Alla"
|
||||||
|
|
||||||
@@ -299,9 +296,6 @@ msgstr "Hem Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Hem Z"
|
msgstr "Hem Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -314,6 +308,9 @@ msgstr "Ikon tema"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Initierar skrivaren..."
|
msgstr "Initierar skrivaren..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
@@ -335,6 +332,9 @@ msgstr "Invertera Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Invertera Z"
|
msgstr "Invertera Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Omstart"
|
msgstr "Klipper Omstart"
|
||||||
|
|
||||||
@@ -425,6 +425,9 @@ msgstr "Ändrad"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: ansluten"
|
msgstr "Moonraker: ansluten"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Flytta"
|
msgstr "Flytta"
|
||||||
|
|
||||||
@@ -755,6 +758,12 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Åtgärder"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Konfiguration"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Inaktivera XY"
|
#~ msgstr "Inaktivera XY"
|
||||||
|
|
||||||
@@ -798,9 +807,6 @@ msgstr ""
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Radera"
|
#~ msgstr "Radera"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Hem"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Avstängd"
|
#~ msgstr "Avstängd"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: \n"
|
"Project-Id-Version: \n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2022-12-10 14:52+0300\n"
|
"PO-Revision-Date: 2023-07-23 17:27+0300\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: tr\n"
|
"Language: tr\n"
|
||||||
@@ -43,9 +43,6 @@ msgstr "Hızlanma:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Kabul et"
|
msgstr "Kabul et"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Eylemler"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Profil ekle"
|
msgstr "Profil ekle"
|
||||||
|
|
||||||
@@ -54,11 +51,11 @@ msgstr "Uygula"
|
|||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Apply %s%.3f offset to Endstop?"
|
msgid "Apply %s%.3f offset to Endstop?"
|
||||||
msgstr ""
|
msgstr "Endstop'a %s%.3f ofset uygulansın mı?"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Apply %s%.3f offset to Probe?"
|
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?"
|
msgid "Are you sure do you want to exclude the object?"
|
||||||
msgstr "Nesneyi hariç tutmak istediğinizden emin misiniz?"
|
msgstr "Nesneyi hariç tutmak istediğinizden emin misiniz?"
|
||||||
@@ -109,7 +106,7 @@ msgid "Calibrating"
|
|||||||
msgstr "Kalibre Ediliyor"
|
msgstr "Kalibre Ediliyor"
|
||||||
|
|
||||||
msgid "Camera"
|
msgid "Camera"
|
||||||
msgstr ""
|
msgstr "Kamera"
|
||||||
|
|
||||||
msgid "Can't set above the maximum:"
|
msgid "Can't set above the maximum:"
|
||||||
msgstr "Maksimumun üzerine ayarlanamaz:"
|
msgstr "Maksimumun üzerine ayarlanamaz:"
|
||||||
@@ -147,9 +144,6 @@ msgstr "Kapat"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Tamamlandı"
|
msgstr "Tamamlandı"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Yapılandırma"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Acil Durdurmayı Onaylayın"
|
msgstr "Acil Durdurmayı Onaylayın"
|
||||||
|
|
||||||
@@ -173,7 +167,7 @@ msgid "Date"
|
|||||||
msgstr "Tarih"
|
msgstr "Tarih"
|
||||||
|
|
||||||
msgid "Delete Directory?"
|
msgid "Delete Directory?"
|
||||||
msgstr ""
|
msgstr "Dizini Sil?"
|
||||||
|
|
||||||
msgid "Delete File?"
|
msgid "Delete File?"
|
||||||
msgstr "Dosyayı Sil?"
|
msgstr "Dosyayı Sil?"
|
||||||
@@ -264,7 +258,7 @@ msgid "Full Update"
|
|||||||
msgstr "Tam Güncelleme"
|
msgstr "Tam Güncelleme"
|
||||||
|
|
||||||
msgid "Fullscreen"
|
msgid "Fullscreen"
|
||||||
msgstr ""
|
msgstr "Tam Ekran"
|
||||||
|
|
||||||
msgid "Go Back"
|
msgid "Go Back"
|
||||||
msgstr "Geri git"
|
msgstr "Geri git"
|
||||||
@@ -284,6 +278,9 @@ msgstr "Sıcaklıktaki sensörleri gizleyin."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Sıcaklığı gizle."
|
msgstr "Sıcaklığı gizle."
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Ana Ekran"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Eksenleri Sıfırla"
|
msgstr "Eksenleri Sıfırla"
|
||||||
|
|
||||||
@@ -299,9 +296,6 @@ msgstr "Y Sıfırla"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Z Sıfırla"
|
msgstr "Z Sıfırla"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "Eksen Sıfırlama"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Sunucu"
|
msgstr "Sunucu"
|
||||||
|
|
||||||
@@ -314,6 +308,9 @@ msgstr "Simge Teması"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Yazıcı başlatılıyor..."
|
msgstr "Yazıcı başlatılıyor..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr "PID kalibrasyonu başlatın:"
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "İvme Düzenleyicisi"
|
msgstr "İvme Düzenleyicisi"
|
||||||
|
|
||||||
@@ -335,6 +332,9 @@ msgstr "Y Ters çevir"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Z Ters çevir"
|
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"
|
msgid "Klipper Restart"
|
||||||
msgstr "Klipper Yeniden başlat"
|
msgstr "Klipper Yeniden başlat"
|
||||||
|
|
||||||
@@ -425,6 +425,9 @@ msgstr "Değiştirilmiş"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker: bağlandı"
|
msgstr "Moonraker: bağlandı"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr "Daha"
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Hareket"
|
msgstr "Hareket"
|
||||||
|
|
||||||
@@ -547,7 +550,7 @@ msgid "Refresh"
|
|||||||
msgstr "Yenile"
|
msgstr "Yenile"
|
||||||
|
|
||||||
msgid "Rename/Move:"
|
msgid "Rename/Move:"
|
||||||
msgstr ""
|
msgstr "Yeniden Adlandır/Taşı:"
|
||||||
|
|
||||||
msgid "Restart"
|
msgid "Restart"
|
||||||
msgstr "Yeniden Başlat"
|
msgstr "Yeniden Başlat"
|
||||||
@@ -742,8 +745,8 @@ msgstr[1] "saatler"
|
|||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] ""
|
msgstr[0] "dakika"
|
||||||
msgstr[1] ""
|
msgstr[1] "dakikalar"
|
||||||
|
|
||||||
msgid "mm"
|
msgid "mm"
|
||||||
msgstr "mm"
|
msgstr "mm"
|
||||||
@@ -757,6 +760,15 @@ msgstr "mm/s²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "mm³/s"
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Eylemler"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Yapılandırma"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "Eksen Sıfırlama"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "XY Devre dışı bırak"
|
#~ msgstr "XY Devre dışı bırak"
|
||||||
|
|
||||||
@@ -813,9 +825,6 @@ msgstr "mm³/s"
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Sil"
|
#~ msgstr "Sil"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Ana Ekran"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Kapa"
|
#~ msgstr "Kapa"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -5,10 +5,10 @@
|
|||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: 2023-05-24 14:53-0300\n"
|
"Project-Id-Version: 2023-07-22 14:53-0300\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2023-05-24 22:02+0300\n"
|
"PO-Revision-Date: 2023-07-22 12:41+0300\n"
|
||||||
"Last-Translator: Andrii Komarovskyi\n"
|
"Last-Translator: Andrii Komarovskyi\n"
|
||||||
"Language-Team: Andrii Komarovskyi\n"
|
"Language-Team: Andrii Komarovskyi\n"
|
||||||
"Language: uk\n"
|
"Language: uk\n"
|
||||||
@@ -17,7 +17,7 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||||
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
|
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
|
||||||
"X-Generator: Poedit 3.1\n"
|
"X-Generator: Poedit 3.3.2\n"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "%s will be updated to version"
|
msgid "%s will be updated to version"
|
||||||
@@ -44,9 +44,6 @@ msgstr "Прискорення:"
|
|||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "Прийняти"
|
msgstr "Прийняти"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "Дії"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr "Додати профіль"
|
msgstr "Додати профіль"
|
||||||
|
|
||||||
@@ -148,9 +145,6 @@ msgstr "Закрити"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "Завершено"
|
msgstr "Завершено"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "Конфігурація"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "Підтвердьте АВАРІЙНУ ЗУПИНКУ"
|
msgstr "Підтвердьте АВАРІЙНУ ЗУПИНКУ"
|
||||||
|
|
||||||
@@ -289,6 +283,9 @@ msgstr "Сховати датчик t°."
|
|||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "Приховати темп."
|
msgstr "Приховати темп."
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "Домашня сторінка"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "Дім Всі"
|
msgstr "Дім Всі"
|
||||||
|
|
||||||
@@ -304,9 +301,6 @@ msgstr "Дім Y"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Дім Z"
|
msgstr "Дім Z"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "До дому"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr "Хост"
|
msgstr "Хост"
|
||||||
|
|
||||||
@@ -319,6 +313,9 @@ msgstr "Тема оформлення"
|
|||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "Ініціалізація принтера..."
|
msgstr "Ініціалізація принтера..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr "Почати калібрування PID для:"
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "Input Shaper"
|
msgstr "Input Shaper"
|
||||||
|
|
||||||
@@ -340,6 +337,9 @@ msgstr "Інвертувати Y"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "Інвертувати Z"
|
msgstr "Інвертувати Z"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr "Залежно від потужності обігрівача це може зайняти більше 5 хвилин."
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Перезапуск\n"
|
"Перезапуск\n"
|
||||||
@@ -432,6 +432,9 @@ msgstr "Змінено"
|
|||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Підключено до Moonraker"
|
msgstr "Підключено до Moonraker"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr "Більше"
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "Переміщення"
|
msgstr "Переміщення"
|
||||||
|
|
||||||
@@ -776,6 +779,15 @@ msgstr "мм/с²"
|
|||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr "мм/с³"
|
msgstr "мм/с³"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "Дії"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "Конфігурація"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "До дому"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "Вимкнути XY"
|
#~ msgstr "Вимкнути XY"
|
||||||
|
|
||||||
@@ -832,9 +844,6 @@ msgstr "мм/с³"
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "Видалити"
|
#~ msgstr "Видалити"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "Домашня сторінка"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "Вимк"
|
#~ msgstr "Вимк"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -7,8 +7,8 @@ msgid ""
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: KlipperScreen\n"
|
"Project-Id-Version: KlipperScreen\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2023-06-21 16:13-0300\n"
|
"POT-Creation-Date: 2023-07-02 16:32-0300\n"
|
||||||
"PO-Revision-Date: 2022-11-28 11:36-0300\n"
|
"PO-Revision-Date: 2023-07-09 22:15+0800\n"
|
||||||
"Last-Translator: \n"
|
"Last-Translator: \n"
|
||||||
"Language-Team: \n"
|
"Language-Team: \n"
|
||||||
"Language: zh_CN\n"
|
"Language: zh_CN\n"
|
||||||
@@ -16,20 +16,20 @@ msgstr ""
|
|||||||
"Content-Type: text/plain; charset=UTF-8\n"
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||||
"X-Generator: Poedit 3.2.1\n"
|
"X-Generator: Poedit 3.3.2\n"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "%s will be updated to version"
|
msgid "%s will be updated to version"
|
||||||
msgstr "%s将被更新"
|
msgstr "%s 将被更新为版本"
|
||||||
|
|
||||||
msgid "(default)"
|
msgid "(default)"
|
||||||
msgstr "(默认)"
|
msgstr "(默认)"
|
||||||
|
|
||||||
msgid "24 Hour Time"
|
msgid "24 Hour Time"
|
||||||
msgstr "使用 24 小时制"
|
msgstr "使用24小时制"
|
||||||
|
|
||||||
msgid "A FIRMWARE_RESTART may fix the issue."
|
msgid "A FIRMWARE_RESTART may fix the issue."
|
||||||
msgstr "\"FIRMWARE_RESTART\" 可能会解决这个问题。"
|
msgstr "重启Klipper固件可能会解决这个问题。"
|
||||||
|
|
||||||
msgid "ADXL Not Configured"
|
msgid "ADXL Not Configured"
|
||||||
msgstr "未配置ADXL"
|
msgstr "未配置ADXL"
|
||||||
@@ -38,30 +38,27 @@ msgid "Abort"
|
|||||||
msgstr "取消"
|
msgstr "取消"
|
||||||
|
|
||||||
msgid "Acceleration:"
|
msgid "Acceleration:"
|
||||||
msgstr "加速度:"
|
msgstr "加速度:"
|
||||||
|
|
||||||
msgid "Accept"
|
msgid "Accept"
|
||||||
msgstr "应用"
|
msgstr "应用"
|
||||||
|
|
||||||
msgid "Actions"
|
|
||||||
msgstr "控制"
|
|
||||||
|
|
||||||
msgid "Add profile"
|
msgid "Add profile"
|
||||||
msgstr ""
|
msgstr "添加配置文件"
|
||||||
|
|
||||||
msgid "Apply"
|
msgid "Apply"
|
||||||
msgstr "应用"
|
msgstr "应用"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Apply %s%.3f offset to Endstop?"
|
msgid "Apply %s%.3f offset to Endstop?"
|
||||||
msgstr ""
|
msgstr "将 %s%.3f 偏移量应用于限位?"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Apply %s%.3f offset to Probe?"
|
msgid "Apply %s%.3f offset to Probe?"
|
||||||
msgstr ""
|
msgstr "将 %s%.3f 偏移量应用于探针?"
|
||||||
|
|
||||||
msgid "Are you sure do you want to exclude the object?"
|
msgid "Are you sure do you want to exclude the object?"
|
||||||
msgstr ""
|
msgstr "你确定要排除该对象吗?"
|
||||||
|
|
||||||
msgid "Are you sure you want to run Emergency Stop?"
|
msgid "Are you sure you want to run Emergency Stop?"
|
||||||
msgstr "您确定要紧急停止吗?"
|
msgstr "您确定要紧急停止吗?"
|
||||||
@@ -85,7 +82,7 @@ msgid "Auto-calibrate"
|
|||||||
msgstr "自动校准"
|
msgstr "自动校准"
|
||||||
|
|
||||||
msgid "Auto-close notifications"
|
msgid "Auto-close notifications"
|
||||||
msgstr ""
|
msgstr "自动关闭通知"
|
||||||
|
|
||||||
msgid "Auto-scroll"
|
msgid "Auto-scroll"
|
||||||
msgstr "自动滚屏"
|
msgstr "自动滚屏"
|
||||||
@@ -94,10 +91,10 @@ msgid "Bed Level"
|
|||||||
msgstr "热床调平"
|
msgstr "热床调平"
|
||||||
|
|
||||||
msgid "Bed Mesh"
|
msgid "Bed Mesh"
|
||||||
msgstr "热床网格"
|
msgstr "床网"
|
||||||
|
|
||||||
msgid "Bed screw configuration:"
|
msgid "Bed screw configuration:"
|
||||||
msgstr ""
|
msgstr "热床螺丝配置:"
|
||||||
|
|
||||||
msgid "Calibrate"
|
msgid "Calibrate"
|
||||||
msgstr "校准"
|
msgstr "校准"
|
||||||
@@ -106,10 +103,10 @@ msgid "Calibrated"
|
|||||||
msgstr "已校准"
|
msgstr "已校准"
|
||||||
|
|
||||||
msgid "Calibrating"
|
msgid "Calibrating"
|
||||||
msgstr ""
|
msgstr "正在校准"
|
||||||
|
|
||||||
msgid "Camera"
|
msgid "Camera"
|
||||||
msgstr ""
|
msgstr "摄像头"
|
||||||
|
|
||||||
msgid "Can't set above the maximum:"
|
msgid "Can't set above the maximum:"
|
||||||
msgstr "设置值超出最大值:"
|
msgstr "设置值超出最大值:"
|
||||||
@@ -130,16 +127,16 @@ msgid "Cannot connect to Moonraker"
|
|||||||
msgstr "无法连接到Moonraker"
|
msgstr "无法连接到Moonraker"
|
||||||
|
|
||||||
msgid "Channel"
|
msgid "Channel"
|
||||||
msgstr "更新通道"
|
msgstr "群组"
|
||||||
|
|
||||||
msgid "Check ADXL Wiring"
|
msgid "Check ADXL Wiring"
|
||||||
msgstr "检查ADXL的接线"
|
msgstr "检查ADXL的接线"
|
||||||
|
|
||||||
msgid "Checking for updates, please wait..."
|
msgid "Checking for updates, please wait..."
|
||||||
msgstr ""
|
msgstr "正在检查更新,请稍等..."
|
||||||
|
|
||||||
msgid "Clear"
|
msgid "Clear"
|
||||||
msgstr "清楚"
|
msgstr "清除"
|
||||||
|
|
||||||
msgid "Close"
|
msgid "Close"
|
||||||
msgstr "关闭"
|
msgstr "关闭"
|
||||||
@@ -147,11 +144,8 @@ msgstr "关闭"
|
|||||||
msgid "Complete"
|
msgid "Complete"
|
||||||
msgstr "完成"
|
msgstr "完成"
|
||||||
|
|
||||||
msgid "Configuration"
|
|
||||||
msgstr "设置"
|
|
||||||
|
|
||||||
msgid "Confirm Emergency Stop"
|
msgid "Confirm Emergency Stop"
|
||||||
msgstr "确认紧急停止"
|
msgstr "紧急停止需确认"
|
||||||
|
|
||||||
msgid "Connected"
|
msgid "Connected"
|
||||||
msgstr "已连接"
|
msgstr "已连接"
|
||||||
@@ -173,10 +167,10 @@ msgid "Date"
|
|||||||
msgstr "日期"
|
msgstr "日期"
|
||||||
|
|
||||||
msgid "Delete Directory?"
|
msgid "Delete Directory?"
|
||||||
msgstr ""
|
msgstr "删除文件夹?"
|
||||||
|
|
||||||
msgid "Delete File?"
|
msgid "Delete File?"
|
||||||
msgstr ""
|
msgstr "删除文件?"
|
||||||
|
|
||||||
msgid "Deselect"
|
msgid "Deselect"
|
||||||
msgstr "取消选择"
|
msgstr "取消选择"
|
||||||
@@ -189,10 +183,10 @@ msgstr "挤出长度(mm)"
|
|||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Do you want to recover %s?"
|
msgid "Do you want to recover %s?"
|
||||||
msgstr "您想恢复 %s 吗?"
|
msgstr "你想恢复 %s 吗?"
|
||||||
|
|
||||||
msgid "Elapsed:"
|
msgid "Elapsed:"
|
||||||
msgstr "已用时间:"
|
msgstr "已用时间:"
|
||||||
|
|
||||||
msgid "Error"
|
msgid "Error"
|
||||||
msgstr "错误"
|
msgstr "错误"
|
||||||
@@ -201,19 +195,19 @@ msgid "Estimated Time Method"
|
|||||||
msgstr "估算剩余时间方式"
|
msgstr "估算剩余时间方式"
|
||||||
|
|
||||||
msgid "Exclude Object"
|
msgid "Exclude Object"
|
||||||
msgstr ""
|
msgstr "排除对象"
|
||||||
|
|
||||||
msgid "Extra Large"
|
msgid "Extra Large"
|
||||||
msgstr ""
|
msgstr "特大"
|
||||||
|
|
||||||
msgid "Extrude"
|
msgid "Extrude"
|
||||||
msgstr "挤出机"
|
msgstr "挤出"
|
||||||
|
|
||||||
msgid "Extrusion +"
|
msgid "Extrusion +"
|
||||||
msgstr "挤出流量 +"
|
msgstr "挤压+"
|
||||||
|
|
||||||
msgid "Extrusion -"
|
msgid "Extrusion -"
|
||||||
msgstr "挤出流量 -"
|
msgstr "挤压 -"
|
||||||
|
|
||||||
msgid "Failed, adjust position first"
|
msgid "Failed, adjust position first"
|
||||||
msgstr "失败,请先调整位置"
|
msgstr "失败,请先调整位置"
|
||||||
@@ -225,22 +219,22 @@ msgid "Filament Used"
|
|||||||
msgstr "已用耗材"
|
msgstr "已用耗材"
|
||||||
|
|
||||||
msgid "Filament total:"
|
msgid "Filament total:"
|
||||||
msgstr "使用耗材总数:"
|
msgstr "使用耗材总数:"
|
||||||
|
|
||||||
msgid "Filament used:"
|
msgid "Filament used:"
|
||||||
msgstr "使用耗材:"
|
msgstr "使用耗材:"
|
||||||
|
|
||||||
msgid "Filament:"
|
msgid "Filament:"
|
||||||
msgstr "耗材:"
|
msgstr "耗材:"
|
||||||
|
|
||||||
msgid "File"
|
msgid "File"
|
||||||
msgstr "文件"
|
msgstr "文件"
|
||||||
|
|
||||||
msgid "File:"
|
msgid "File:"
|
||||||
msgstr "文件:"
|
msgstr "文件:"
|
||||||
|
|
||||||
msgid "Finding ADXL"
|
msgid "Finding ADXL"
|
||||||
msgstr "寻找ADXL"
|
msgstr "查找ADXL"
|
||||||
|
|
||||||
msgid "Fine Tuning"
|
msgid "Fine Tuning"
|
||||||
msgstr "微调"
|
msgstr "微调"
|
||||||
@@ -249,28 +243,28 @@ msgid "Finish"
|
|||||||
msgstr "结束"
|
msgstr "结束"
|
||||||
|
|
||||||
msgid "Firmware Restart"
|
msgid "Firmware Restart"
|
||||||
msgstr "重启 Firmware"
|
msgstr "重启Klipper固件"
|
||||||
|
|
||||||
msgid "Flow:"
|
msgid "Flow:"
|
||||||
msgstr "流量:"
|
msgstr "流量:"
|
||||||
|
|
||||||
msgid "Flowrate:"
|
msgid "Flowrate:"
|
||||||
msgstr "流量:"
|
msgstr "流速:"
|
||||||
|
|
||||||
msgid "Font Size"
|
msgid "Font Size"
|
||||||
msgstr "字体大小"
|
msgstr "字体大小"
|
||||||
|
|
||||||
msgid "Full Update"
|
msgid "Full Update"
|
||||||
msgstr "全部 更新"
|
msgstr "更新全部"
|
||||||
|
|
||||||
msgid "Fullscreen"
|
msgid "Fullscreen"
|
||||||
msgstr ""
|
msgstr "全屏"
|
||||||
|
|
||||||
msgid "Go Back"
|
msgid "Go Back"
|
||||||
msgstr "返回"
|
msgstr "返回"
|
||||||
|
|
||||||
msgid "Height:"
|
msgid "Height:"
|
||||||
msgstr "高度:"
|
msgstr "高度:"
|
||||||
|
|
||||||
msgid "Hidden"
|
msgid "Hidden"
|
||||||
msgstr "隐藏的"
|
msgstr "隐藏的"
|
||||||
@@ -279,10 +273,13 @@ msgid "Hide"
|
|||||||
msgstr "隐藏"
|
msgstr "隐藏"
|
||||||
|
|
||||||
msgid "Hide sensors in Temp."
|
msgid "Hide sensors in Temp."
|
||||||
msgstr "隐藏温度传感器。"
|
msgstr "在温度显示中隐藏其他传感器"
|
||||||
|
|
||||||
msgid "Hide temp."
|
msgid "Hide temp."
|
||||||
msgstr "隐藏温度。"
|
msgstr "隐藏温度"
|
||||||
|
|
||||||
|
msgid "Home"
|
||||||
|
msgstr "归零"
|
||||||
|
|
||||||
msgid "Home All"
|
msgid "Home All"
|
||||||
msgstr "全部归零"
|
msgstr "全部归零"
|
||||||
@@ -299,20 +296,20 @@ msgstr "Y轴归零"
|
|||||||
msgid "Home Z"
|
msgid "Home Z"
|
||||||
msgstr "Z轴归零"
|
msgstr "Z轴归零"
|
||||||
|
|
||||||
msgid "Homing"
|
|
||||||
msgstr "归零"
|
|
||||||
|
|
||||||
msgid "Host"
|
msgid "Host"
|
||||||
msgstr ""
|
msgstr "主机"
|
||||||
|
|
||||||
msgid "Hostname"
|
msgid "Hostname"
|
||||||
msgstr "主机名"
|
msgstr "主机名"
|
||||||
|
|
||||||
msgid "Icon Theme"
|
msgid "Icon Theme"
|
||||||
msgstr "主题风格"
|
msgstr "主题"
|
||||||
|
|
||||||
msgid "Initializing printer..."
|
msgid "Initializing printer..."
|
||||||
msgstr "初始化打印机中..."
|
msgstr "正在初始化打印机..."
|
||||||
|
|
||||||
|
msgid "Initiate a PID calibration for:"
|
||||||
|
msgstr "启动PID校准:"
|
||||||
|
|
||||||
msgid "Input Shaper"
|
msgid "Input Shaper"
|
||||||
msgstr "共振补偿"
|
msgstr "共振补偿"
|
||||||
@@ -324,7 +321,7 @@ msgid "Invalid"
|
|||||||
msgstr "无效"
|
msgstr "无效"
|
||||||
|
|
||||||
msgid "Invalid password"
|
msgid "Invalid password"
|
||||||
msgstr ""
|
msgstr "密码无效"
|
||||||
|
|
||||||
msgid "Invert X"
|
msgid "Invert X"
|
||||||
msgstr "反转X轴"
|
msgstr "反转X轴"
|
||||||
@@ -335,17 +332,20 @@ msgstr "反转Y轴"
|
|||||||
msgid "Invert Z"
|
msgid "Invert Z"
|
||||||
msgstr "反转Z轴"
|
msgstr "反转Z轴"
|
||||||
|
|
||||||
|
msgid "It may take more than 5 minutes depending on the heater power."
|
||||||
|
msgstr "这可能需要5分钟以上的时间,这取决于加热器的功率。"
|
||||||
|
|
||||||
msgid "Klipper Restart"
|
msgid "Klipper Restart"
|
||||||
msgstr "重启 Klipper"
|
msgstr "重启Klipper"
|
||||||
|
|
||||||
msgid "Klipper has disconnected"
|
msgid "Klipper has disconnected"
|
||||||
msgstr "Klipper 已断开连接"
|
msgstr "Klipper已断开连接"
|
||||||
|
|
||||||
msgid "Klipper has encountered an error."
|
msgid "Klipper has encountered an error."
|
||||||
msgstr "Klipper遇到一个错误。"
|
msgstr "Klipper遇到一个错误。"
|
||||||
|
|
||||||
msgid "Klipper has shutdown"
|
msgid "Klipper has shutdown"
|
||||||
msgstr "Klipper 已关闭"
|
msgstr "Klipper已关闭"
|
||||||
|
|
||||||
msgid "Klipper is attempting to start"
|
msgid "Klipper is attempting to start"
|
||||||
msgstr "Klipper正在启动"
|
msgstr "Klipper正在启动"
|
||||||
@@ -354,19 +354,19 @@ msgid "Klipper will reboot"
|
|||||||
msgstr "Klipper将重新启动"
|
msgstr "Klipper将重新启动"
|
||||||
|
|
||||||
msgid "KlipperScreen will reboot"
|
msgid "KlipperScreen will reboot"
|
||||||
msgstr "KlipperScreen 将重新启动"
|
msgstr "KlipperScreen将重新启动"
|
||||||
|
|
||||||
msgid "Language"
|
msgid "Language"
|
||||||
msgstr "语言"
|
msgstr "界面语言"
|
||||||
|
|
||||||
msgid "Large"
|
msgid "Large"
|
||||||
msgstr "大"
|
msgstr "大"
|
||||||
|
|
||||||
msgid "Layer:"
|
msgid "Layer:"
|
||||||
msgstr "层:"
|
msgstr "层:"
|
||||||
|
|
||||||
msgid "Left:"
|
msgid "Left:"
|
||||||
msgstr "剩余时间:"
|
msgstr "剩余时间:"
|
||||||
|
|
||||||
msgid "Limits"
|
msgid "Limits"
|
||||||
msgstr "打印机限制"
|
msgstr "打印机限制"
|
||||||
@@ -378,7 +378,7 @@ msgid "Lower Nozzle"
|
|||||||
msgstr "降低喷嘴"
|
msgstr "降低喷嘴"
|
||||||
|
|
||||||
msgid "Macro shortcut on sidebar"
|
msgid "Macro shortcut on sidebar"
|
||||||
msgstr "显示侧边栏宏快捷方式"
|
msgstr "显示侧边栏宏按钮"
|
||||||
|
|
||||||
msgid "Macros"
|
msgid "Macros"
|
||||||
msgstr "宏"
|
msgstr "宏"
|
||||||
@@ -399,16 +399,16 @@ msgid "Max Velocity"
|
|||||||
msgstr "最大速度"
|
msgstr "最大速度"
|
||||||
|
|
||||||
msgid "Maximum"
|
msgid "Maximum"
|
||||||
msgstr ""
|
msgstr "最大"
|
||||||
|
|
||||||
msgid "Measure Both"
|
msgid "Measure Both"
|
||||||
msgstr ""
|
msgstr "同时测量"
|
||||||
|
|
||||||
msgid "Measure X"
|
msgid "Measure X"
|
||||||
msgstr ""
|
msgstr "测量X轴"
|
||||||
|
|
||||||
msgid "Measure Y"
|
msgid "Measure Y"
|
||||||
msgstr ""
|
msgstr "测量Y轴"
|
||||||
|
|
||||||
msgid "Medium"
|
msgid "Medium"
|
||||||
msgstr "中"
|
msgstr "中"
|
||||||
@@ -417,14 +417,17 @@ msgid "Menu"
|
|||||||
msgstr "菜单"
|
msgstr "菜单"
|
||||||
|
|
||||||
msgid "Mesh calibrate"
|
msgid "Mesh calibrate"
|
||||||
msgstr ""
|
msgstr "床网校准"
|
||||||
|
|
||||||
msgid "Modified"
|
msgid "Modified"
|
||||||
msgstr "修改时间"
|
msgstr "已修改"
|
||||||
|
|
||||||
msgid "Moonraker: connected"
|
msgid "Moonraker: connected"
|
||||||
msgstr "Moonraker:已连接"
|
msgstr "Moonraker:已连接"
|
||||||
|
|
||||||
|
msgid "More"
|
||||||
|
msgstr "更多设置"
|
||||||
|
|
||||||
msgid "Move"
|
msgid "Move"
|
||||||
msgstr "移动"
|
msgstr "移动"
|
||||||
|
|
||||||
@@ -432,38 +435,38 @@ msgid "Move Distance (mm)"
|
|||||||
msgstr "移动距离(mm)"
|
msgstr "移动距离(mm)"
|
||||||
|
|
||||||
msgid "Name"
|
msgid "Name"
|
||||||
msgstr "文件名称"
|
msgstr "名称"
|
||||||
|
|
||||||
msgid "Network"
|
msgid "Network"
|
||||||
msgstr "网络"
|
msgstr "网络"
|
||||||
|
|
||||||
msgid "Never"
|
msgid "Never"
|
||||||
msgstr ""
|
msgstr "从不"
|
||||||
|
|
||||||
msgid "New"
|
msgid "New"
|
||||||
msgstr ""
|
msgstr "新的值"
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
"Not supported for auto-detection, it needs to be configured in klipperscreen."
|
"Not supported for auto-detection, it needs to be configured in klipperscreen."
|
||||||
"conf"
|
"conf"
|
||||||
msgstr ""
|
msgstr "不支持自动检测,需要在klpperscreen.conf中进行配置"
|
||||||
|
|
||||||
msgid "Nothing selected"
|
msgid "Nothing selected"
|
||||||
msgstr "未选择任何内容"
|
msgstr "未选择任何内容"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Outdated by %d"
|
msgid "Outdated by %d"
|
||||||
msgstr "已过时 %d"
|
msgstr "已落后 %d"
|
||||||
|
|
||||||
msgid "PSK for"
|
msgid "PSK for"
|
||||||
msgstr "网络密码PSK"
|
msgstr "PSK"
|
||||||
|
|
||||||
msgid "Package will be updated"
|
msgid "Package will be updated"
|
||||||
msgid_plural "Packages will be updated"
|
msgid_plural "Packages will be updated"
|
||||||
msgstr[0] "包将被更新"
|
msgstr[0] "软件包将被更新"
|
||||||
|
|
||||||
msgid "Part Fan"
|
msgid "Part Fan"
|
||||||
msgstr ""
|
msgstr "模型风扇"
|
||||||
|
|
||||||
msgid "Password saved"
|
msgid "Password saved"
|
||||||
msgstr "密码已保存"
|
msgstr "密码已保存"
|
||||||
@@ -475,10 +478,10 @@ msgid "Paused"
|
|||||||
msgstr "已暂停"
|
msgstr "已暂停"
|
||||||
|
|
||||||
msgid "Perform a full upgrade?"
|
msgid "Perform a full upgrade?"
|
||||||
msgstr "是否全部升级?"
|
msgstr "是否更新全部?"
|
||||||
|
|
||||||
msgid "Pins"
|
msgid "Pins"
|
||||||
msgstr ""
|
msgstr "引脚"
|
||||||
|
|
||||||
msgid "Please recompile and flash the micro-controller."
|
msgid "Please recompile and flash the micro-controller."
|
||||||
msgstr "请重新编译并烧录微控制器。"
|
msgstr "请重新编译并烧录微控制器。"
|
||||||
@@ -487,10 +490,10 @@ msgid "Power"
|
|||||||
msgstr "电源"
|
msgstr "电源"
|
||||||
|
|
||||||
msgid "Power On Printer"
|
msgid "Power On Printer"
|
||||||
msgstr "启动打印机"
|
msgstr "打印机通电"
|
||||||
|
|
||||||
msgid "Pressure Advance:"
|
msgid "Pressure Advance:"
|
||||||
msgstr "压力推进:"
|
msgstr "压力推进:"
|
||||||
|
|
||||||
msgid "Print"
|
msgid "Print"
|
||||||
msgstr "打印"
|
msgstr "打印"
|
||||||
@@ -502,25 +505,25 @@ msgid "Print Time"
|
|||||||
msgstr "打印用时"
|
msgstr "打印用时"
|
||||||
|
|
||||||
msgid "Printer"
|
msgid "Printer"
|
||||||
msgstr ""
|
msgstr "打印机"
|
||||||
|
|
||||||
msgid "Printer Connections"
|
msgid "Printer Connections"
|
||||||
msgstr "龙门架调平"
|
msgstr "打印机连接"
|
||||||
|
|
||||||
msgid "Printer Select"
|
msgid "Printer Select"
|
||||||
msgstr ""
|
msgstr "打印机选择"
|
||||||
|
|
||||||
msgid "Printing"
|
msgid "Printing"
|
||||||
msgstr "打印中"
|
msgstr "打印中"
|
||||||
|
|
||||||
msgid "Probe Offset"
|
msgid "Probe Offset"
|
||||||
msgstr "探头偏移"
|
msgstr "探针偏移"
|
||||||
|
|
||||||
msgid "Profile Name:"
|
msgid "Profile Name:"
|
||||||
msgstr "配置文件名称:"
|
msgstr "配置文件名称:"
|
||||||
|
|
||||||
msgid "Provide KlipperScreen.log when asking for help.\n"
|
msgid "Provide KlipperScreen.log when asking for help.\n"
|
||||||
msgstr ""
|
msgstr "在寻求帮助时,请提供KlipperScreen.log文件。\n"
|
||||||
|
|
||||||
msgid "Quad Gantry Level"
|
msgid "Quad Gantry Level"
|
||||||
msgstr "龙门架调平"
|
msgstr "龙门架调平"
|
||||||
@@ -529,31 +532,31 @@ msgid "Raise Nozzle"
|
|||||||
msgstr "升高喷嘴"
|
msgstr "升高喷嘴"
|
||||||
|
|
||||||
msgid "Recover"
|
msgid "Recover"
|
||||||
msgstr ""
|
msgstr "恢复"
|
||||||
|
|
||||||
msgid "Recover Hard"
|
msgid "Recover Hard"
|
||||||
msgstr "重置(Hard)"
|
msgstr "硬恢复(git recover hard)"
|
||||||
|
|
||||||
msgid "Recover Soft"
|
msgid "Recover Soft"
|
||||||
msgstr "重置(Soft)"
|
msgstr "软恢复(git reset)"
|
||||||
|
|
||||||
msgid "Reference"
|
msgid "Reference"
|
||||||
msgstr "参考"
|
msgstr "参考"
|
||||||
|
|
||||||
msgid "Refresh"
|
msgid "Refresh"
|
||||||
msgstr ""
|
msgstr "检查更新"
|
||||||
|
|
||||||
msgid "Rename/Move:"
|
msgid "Rename/Move:"
|
||||||
msgstr ""
|
msgstr "重命名/移动:"
|
||||||
|
|
||||||
msgid "Restart"
|
msgid "Restart"
|
||||||
msgstr "重启Klipper"
|
msgstr "重启"
|
||||||
|
|
||||||
msgid "Resume"
|
msgid "Resume"
|
||||||
msgstr "继续"
|
msgstr "继续"
|
||||||
|
|
||||||
msgid "Retract"
|
msgid "Retract"
|
||||||
msgstr "退回"
|
msgstr "抽回"
|
||||||
|
|
||||||
msgid "Retraction"
|
msgid "Retraction"
|
||||||
msgstr "回抽"
|
msgstr "回抽"
|
||||||
@@ -565,10 +568,10 @@ msgid "Retraction Speed"
|
|||||||
msgstr "回抽速度"
|
msgstr "回抽速度"
|
||||||
|
|
||||||
msgid "Retry"
|
msgid "Retry"
|
||||||
msgstr ""
|
msgstr "重试"
|
||||||
|
|
||||||
msgid "Retrying"
|
msgid "Retrying"
|
||||||
msgstr ""
|
msgstr "正在重试"
|
||||||
|
|
||||||
msgid "Save"
|
msgid "Save"
|
||||||
msgstr "保存"
|
msgstr "保存"
|
||||||
@@ -580,23 +583,23 @@ msgid "Save Z"
|
|||||||
msgstr "保存Z轴"
|
msgstr "保存Z轴"
|
||||||
|
|
||||||
msgid "Save configuration?"
|
msgid "Save configuration?"
|
||||||
msgstr "是否保存设置?"
|
msgstr "是否保存设置?"
|
||||||
|
|
||||||
msgid "Saved"
|
msgid "Saved"
|
||||||
msgstr "保存"
|
msgstr "已保存"
|
||||||
|
|
||||||
#, python-format
|
#, python-format
|
||||||
msgid "Saved offset: %s"
|
msgid "Saved offset: %s"
|
||||||
msgstr "保存偏移: %s"
|
msgstr "保存偏移:%s"
|
||||||
|
|
||||||
msgid "Screen DPMS"
|
msgid "Screen DPMS"
|
||||||
msgstr "屏幕DPMS"
|
msgstr "屏幕省电管理系统"
|
||||||
|
|
||||||
msgid "Screen Power Off Time"
|
msgid "Screen Power Off Time"
|
||||||
msgstr "关闭屏幕时间"
|
msgstr "关闭屏幕时间"
|
||||||
|
|
||||||
msgid "Screws Adjust"
|
msgid "Screws Adjust"
|
||||||
msgstr "调平"
|
msgstr "螺丝调整"
|
||||||
|
|
||||||
msgid "Select"
|
msgid "Select"
|
||||||
msgstr "选择"
|
msgstr "选择"
|
||||||
@@ -614,19 +617,19 @@ msgid "Show"
|
|||||||
msgstr "显示"
|
msgstr "显示"
|
||||||
|
|
||||||
msgid "Show Heater Power"
|
msgid "Show Heater Power"
|
||||||
msgstr ""
|
msgstr "显示加热器功率"
|
||||||
|
|
||||||
msgid "Shutdown"
|
msgid "Shutdown"
|
||||||
msgstr ""
|
msgstr "关闭"
|
||||||
|
|
||||||
msgid "Size"
|
msgid "Size"
|
||||||
msgstr "大小"
|
msgstr "大小"
|
||||||
|
|
||||||
msgid "Slicer"
|
msgid "Slicer"
|
||||||
msgstr "切片"
|
msgstr "切片软件"
|
||||||
|
|
||||||
msgid "Slicer:"
|
msgid "Slicer:"
|
||||||
msgstr "切片:"
|
msgstr "切片软件:"
|
||||||
|
|
||||||
msgid "Small"
|
msgid "Small"
|
||||||
msgstr "小"
|
msgstr "小"
|
||||||
@@ -641,16 +644,16 @@ msgid "Speed -"
|
|||||||
msgstr "速度 -"
|
msgstr "速度 -"
|
||||||
|
|
||||||
msgid "Speed:"
|
msgid "Speed:"
|
||||||
msgstr "速度:"
|
msgstr "速度:"
|
||||||
|
|
||||||
msgid "Square Corner Velocity"
|
msgid "Square Corner Velocity"
|
||||||
msgstr "转角速度"
|
msgstr "直角速度"
|
||||||
|
|
||||||
msgid "Start"
|
msgid "Start"
|
||||||
msgstr "开始"
|
msgstr "开始"
|
||||||
|
|
||||||
msgid "Starting WiFi Association"
|
msgid "Starting WiFi Association"
|
||||||
msgstr "启动wifi连接"
|
msgstr "开始WiFi连接"
|
||||||
|
|
||||||
msgid "Starting recovery for"
|
msgid "Starting recovery for"
|
||||||
msgstr "开始恢复"
|
msgstr "开始恢复"
|
||||||
@@ -662,46 +665,46 @@ msgid "System"
|
|||||||
msgstr "系统"
|
msgstr "系统"
|
||||||
|
|
||||||
msgid "System Restart"
|
msgid "System Restart"
|
||||||
msgstr "重启 系统"
|
msgstr "重启系统"
|
||||||
|
|
||||||
msgid "System Shutdown"
|
msgid "System Shutdown"
|
||||||
msgstr "关闭 系统"
|
msgstr "关闭系统"
|
||||||
|
|
||||||
msgid "Temp (°C)"
|
msgid "Temp (°C)"
|
||||||
msgstr "温度 (°C)"
|
msgstr "温度 (°C)"
|
||||||
|
|
||||||
msgid "Temperature"
|
msgid "Temperature"
|
||||||
msgstr "温度控制"
|
msgstr "温度"
|
||||||
|
|
||||||
msgid "Total:"
|
msgid "Total:"
|
||||||
msgstr "总:"
|
msgstr "合计:"
|
||||||
|
|
||||||
msgid "Unknown Heater"
|
msgid "Unknown Heater"
|
||||||
msgstr "未知加热器"
|
msgstr "未知加热器"
|
||||||
|
|
||||||
msgid "Unknown screw position"
|
msgid "Unknown screw position"
|
||||||
msgstr ""
|
msgstr "未知螺丝位置"
|
||||||
|
|
||||||
msgid "Unload"
|
msgid "Unload"
|
||||||
msgstr "卸载"
|
msgstr "卸载耗材"
|
||||||
|
|
||||||
msgid "Unretract Extra Length"
|
msgid "Unretract Extra Length"
|
||||||
msgstr ""
|
msgstr "回料长度"
|
||||||
|
|
||||||
msgid "Unretract Speed"
|
msgid "Unretract Speed"
|
||||||
msgstr ""
|
msgstr "回料速度"
|
||||||
|
|
||||||
msgid "Up To Date"
|
msgid "Up To Date"
|
||||||
msgstr "最新的"
|
msgstr "最新版本"
|
||||||
|
|
||||||
msgid "Update"
|
msgid "Update"
|
||||||
msgstr "更新"
|
msgstr "更新"
|
||||||
|
|
||||||
msgid "Updating"
|
msgid "Updating"
|
||||||
msgstr "更新中"
|
msgstr "正在更新"
|
||||||
|
|
||||||
msgid "Uploaded"
|
msgid "Uploaded"
|
||||||
msgstr "上传时间"
|
msgstr "上传于"
|
||||||
|
|
||||||
msgid "XY Move Speed (mm/s)"
|
msgid "XY Move Speed (mm/s)"
|
||||||
msgstr "XY轴移动速度(mm/s)"
|
msgstr "XY轴移动速度(mm/s)"
|
||||||
@@ -710,7 +713,7 @@ msgid "XY Speed (mm/s)"
|
|||||||
msgstr "XY轴速度(mm/s)"
|
msgstr "XY轴速度(mm/s)"
|
||||||
|
|
||||||
msgid "Z Calibrate"
|
msgid "Z Calibrate"
|
||||||
msgstr "Z轴校准"
|
msgstr "Z偏移校准"
|
||||||
|
|
||||||
msgid "Z Move Speed (mm/s)"
|
msgid "Z Move Speed (mm/s)"
|
||||||
msgstr "Z轴移动速度(mm/s)"
|
msgstr "Z轴移动速度(mm/s)"
|
||||||
@@ -719,17 +722,17 @@ msgid "Z Speed (mm/s)"
|
|||||||
msgstr "Z轴速度(mm/s)"
|
msgstr "Z轴速度(mm/s)"
|
||||||
|
|
||||||
msgid "Z Tilt"
|
msgid "Z Tilt"
|
||||||
msgstr "Z 倾斜校准"
|
msgstr "Z轴倾斜校准"
|
||||||
|
|
||||||
msgid "Z offset:"
|
msgid "Z offset:"
|
||||||
msgstr "Z轴偏移:"
|
msgstr "Z轴偏移:"
|
||||||
|
|
||||||
msgid "commit"
|
msgid "commit"
|
||||||
msgid_plural "commits"
|
msgid_plural "commits"
|
||||||
msgstr[0] "更改"
|
msgstr[0] "更改"
|
||||||
|
|
||||||
msgid "dBm"
|
msgid "dBm"
|
||||||
msgstr ""
|
msgstr "dBm"
|
||||||
|
|
||||||
msgid "hour"
|
msgid "hour"
|
||||||
msgid_plural "hours"
|
msgid_plural "hours"
|
||||||
@@ -737,19 +740,28 @@ msgstr[0] "小时"
|
|||||||
|
|
||||||
msgid "minute"
|
msgid "minute"
|
||||||
msgid_plural "minutes"
|
msgid_plural "minutes"
|
||||||
msgstr[0] ""
|
msgstr[0] "分"
|
||||||
|
|
||||||
msgid "mm"
|
msgid "mm"
|
||||||
msgstr ""
|
msgstr "mm"
|
||||||
|
|
||||||
msgid "mm/s"
|
msgid "mm/s"
|
||||||
msgstr ""
|
msgstr "mm/s"
|
||||||
|
|
||||||
msgid "mm/s²"
|
msgid "mm/s²"
|
||||||
msgstr ""
|
msgstr "mm/s²"
|
||||||
|
|
||||||
msgid "mm³/s"
|
msgid "mm³/s"
|
||||||
msgstr ""
|
msgstr "mm³/s"
|
||||||
|
|
||||||
|
#~ msgid "Actions"
|
||||||
|
#~ msgstr "控制"
|
||||||
|
|
||||||
|
#~ msgid "Configuration"
|
||||||
|
#~ msgstr "设置"
|
||||||
|
|
||||||
|
#~ msgid "Homing"
|
||||||
|
#~ msgstr "归零"
|
||||||
|
|
||||||
#~ msgid "Disable XY"
|
#~ msgid "Disable XY"
|
||||||
#~ msgstr "关闭 XY 轴电机"
|
#~ msgstr "关闭 XY 轴电机"
|
||||||
@@ -789,9 +801,6 @@ msgstr ""
|
|||||||
#~ msgid "Delete"
|
#~ msgid "Delete"
|
||||||
#~ msgstr "删除"
|
#~ msgstr "删除"
|
||||||
|
|
||||||
#~ msgid "Home"
|
|
||||||
#~ msgstr "首页"
|
|
||||||
|
|
||||||
#~ msgid "Off"
|
#~ msgid "Off"
|
||||||
#~ msgstr "关闭"
|
#~ msgstr "关闭"
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
File diff suppressed because it is too large.
Load diff
+19
-17
@@ -1,5 +1,4 @@
|
|||||||
import logging
|
import logging
|
||||||
import contextlib
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
@@ -74,14 +73,17 @@ class Printer:
|
|||||||
if x.startswith('output_pin ') and not x.split()[1].startswith("_"):
|
if x.startswith('output_pin ') and not x.split()[1].startswith("_"):
|
||||||
self.output_pin_count += 1
|
self.output_pin_count += 1
|
||||||
if x.startswith('bed_mesh '):
|
if x.startswith('bed_mesh '):
|
||||||
r = self.config[x]
|
try:
|
||||||
r['x_count'] = int(r['x_count'])
|
r = self.config[x]
|
||||||
r['y_count'] = int(r['y_count'])
|
r['x_count'] = int(r['x_count'])
|
||||||
r['max_x'] = float(r['max_x'])
|
r['y_count'] = int(r['y_count'])
|
||||||
r['min_x'] = float(r['min_x'])
|
r['max_x'] = float(r['max_x'])
|
||||||
r['max_y'] = float(r['max_y'])
|
r['min_x'] = float(r['min_x'])
|
||||||
r['min_y'] = float(r['min_y'])
|
r['max_y'] = float(r['max_y'])
|
||||||
r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")]
|
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)
|
self.process_update(data)
|
||||||
|
|
||||||
logging.info(f"Klipper version: {printer_info['software_version']}")
|
logging.info(f"Klipper version: {printer_info['software_version']}")
|
||||||
@@ -112,14 +114,14 @@ class Printer:
|
|||||||
# webhooks states: startup, ready, shutdown, error
|
# webhooks states: startup, ready, shutdown, error
|
||||||
# print_stats: standby, printing, paused, error, complete
|
# print_stats: standby, printing, paused, error, complete
|
||||||
# idle_timeout: Idle, Printing, Ready
|
# idle_timeout: Idle, Printing, Ready
|
||||||
if self.data['webhooks']['state'] == "ready":
|
if self.data['webhooks']['state'] == "ready" and (
|
||||||
with contextlib.suppress(KeyError):
|
'print_stats' in self.data and 'state' in self.data['print_stats']):
|
||||||
if self.data['print_stats']['state'] == 'paused':
|
if self.data['print_stats']['state'] == 'paused':
|
||||||
return "paused"
|
return "paused"
|
||||||
if self.data['print_stats']['state'] == 'printing':
|
if self.data['print_stats']['state'] == 'printing':
|
||||||
return "printing"
|
return "printing"
|
||||||
if self.data['idle_timeout']['state'].lower() == "printing":
|
if self.data['idle_timeout']['state'].lower() == "printing":
|
||||||
return "busy"
|
return "busy"
|
||||||
return self.data['webhooks']['state']
|
return self.data['webhooks']['state']
|
||||||
|
|
||||||
def process_status_update(self):
|
def process_status_update(self):
|
||||||
|
|||||||
@@ -60,11 +60,11 @@ class ScreenPanel:
|
|||||||
return self._gtk.PixbufFromHttp(loc[1], width, height)
|
return self._gtk.PixbufFromHttp(loc[1], width, height)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def menu_item_clicked(self, widget, panel_type, item):
|
def menu_item_clicked(self, widget, item):
|
||||||
if 'extra' in 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
|
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):
|
def load_menu(self, widget, name, title=None):
|
||||||
logging.info(f"loading menu {name}")
|
logging.info(f"loading menu {name}")
|
||||||
@@ -121,13 +121,13 @@ class ScreenPanel:
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def format_time(seconds):
|
def format_time(seconds):
|
||||||
if seconds is None or seconds <= 0:
|
if seconds is None or seconds < 1:
|
||||||
return "-"
|
return "-"
|
||||||
days = seconds // 86400
|
days = seconds // 86400
|
||||||
seconds %= 86400
|
seconds %= 86400
|
||||||
hours = seconds // 3600
|
hours = seconds // 3600
|
||||||
seconds %= 3600
|
seconds %= 3600
|
||||||
minutes = seconds // 60
|
minutes = round(seconds / 60)
|
||||||
seconds %= 60
|
seconds %= 60
|
||||||
return f"{f'{days:2.0f}d ' if days > 0 else ''}" \
|
return f"{f'{days:2.0f}d ' if days > 0 else ''}" \
|
||||||
f"{f'{hours:2.0f}h ' if hours > 0 else ''}" \
|
f"{f'{hours:2.0f}h ' if hours > 0 else ''}" \
|
||||||
@@ -159,6 +159,13 @@ class ScreenPanel:
|
|||||||
if size < unit:
|
if size < unit:
|
||||||
return f"{(1024 * size / unit):.1f} {suffix}"
|
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):
|
def update_temp(self, dev, temp, target, power, lines=1):
|
||||||
if temp is None:
|
if temp is None:
|
||||||
return
|
return
|
||||||
|
|||||||
+8
-11
@@ -1,19 +1,16 @@
|
|||||||
# Network in KlipperScreen is a connection in NetworkManager
|
# Network in KlipperScreen is a connection in NetworkManager
|
||||||
# Interface in KlipperScreen is a device in NetworkManager
|
# Interface in KlipperScreen is a device in NetworkManager
|
||||||
|
|
||||||
import contextlib
|
|
||||||
import logging
|
import logging
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
from ks_includes import NetworkManager
|
|
||||||
import dbus
|
import dbus
|
||||||
from dbus.mainloop.glib import DBusGMainLoop
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version('Gdk', '3.0')
|
gi.require_version('Gdk', '3.0')
|
||||||
from gi.repository import GLib
|
from gi.repository import GLib
|
||||||
|
from contextlib import suppress
|
||||||
from ks_includes.wifi import WifiChannels
|
from ks_includes.wifi import WifiChannels
|
||||||
|
from ks_includes import NetworkManager
|
||||||
|
|
||||||
|
|
||||||
class WifiManager:
|
class WifiManager:
|
||||||
@@ -21,7 +18,7 @@ class WifiManager:
|
|||||||
|
|
||||||
def __init__(self, interface_name, *args, **kwargs):
|
def __init__(self, interface_name, *args, **kwargs):
|
||||||
super().__init__(*args, **kwargs)
|
super().__init__(*args, **kwargs)
|
||||||
DBusGMainLoop(set_as_default=True)
|
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
|
||||||
self._callbacks = {
|
self._callbacks = {
|
||||||
"connected": [],
|
"connected": [],
|
||||||
"connecting_status": [],
|
"connecting_status": [],
|
||||||
@@ -56,7 +53,7 @@ class WifiManager:
|
|||||||
self.known_networks[ssid] = con
|
self.known_networks[ssid] = con
|
||||||
|
|
||||||
def _ap_added(self, nm, interface, signal, access_point):
|
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)
|
access_point.OnPropertiesChanged(self._ap_prop_changed)
|
||||||
ssid = self._add_ap(access_point)
|
ssid = self._add_ap(access_point)
|
||||||
for cb in self._callbacks['scan_results']:
|
for cb in self._callbacks['scan_results']:
|
||||||
@@ -183,7 +180,7 @@ class WifiManager:
|
|||||||
def connect(self, ssid):
|
def connect(self, ssid):
|
||||||
if ssid in self.known_networks:
|
if ssid in self.known_networks:
|
||||||
conn = self.known_networks[ssid]
|
conn = self.known_networks[ssid]
|
||||||
with contextlib.suppress(NetworkManager.ObjectVanished):
|
with suppress(NetworkManager.ObjectVanished):
|
||||||
msg = f"Connecting to: {ssid}"
|
msg = f"Connecting to: {ssid}"
|
||||||
logging.info(msg)
|
logging.info(msg)
|
||||||
self.callback("connecting_status", msg)
|
self.callback("connecting_status", msg)
|
||||||
@@ -208,7 +205,7 @@ class WifiManager:
|
|||||||
aps = self.wifi_dev.GetAccessPoints()
|
aps = self.wifi_dev.GetAccessPoints()
|
||||||
ret = {}
|
ret = {}
|
||||||
for ap in aps:
|
for ap in aps:
|
||||||
with contextlib.suppress(NetworkManager.ObjectVanished):
|
with suppress(NetworkManager.ObjectVanished):
|
||||||
ret[ap.Ssid] = ap
|
ret[ap.Ssid] = ap
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
@@ -216,7 +213,7 @@ class WifiManager:
|
|||||||
netinfo = {}
|
netinfo = {}
|
||||||
if ssid in self.known_networks:
|
if ssid in self.known_networks:
|
||||||
con = self.known_networks[ssid]
|
con = self.known_networks[ssid]
|
||||||
with contextlib.suppress(NetworkManager.ObjectVanished):
|
with suppress(NetworkManager.ObjectVanished):
|
||||||
settings = con.GetSettings()
|
settings = con.GetSettings()
|
||||||
if settings and '802-11-wireless' in settings:
|
if settings and '802-11-wireless' in settings:
|
||||||
netinfo.update({
|
netinfo.update({
|
||||||
@@ -227,7 +224,7 @@ class WifiManager:
|
|||||||
aps = self.visible_networks
|
aps = self.visible_networks
|
||||||
if path in aps:
|
if path in aps:
|
||||||
ap = aps[path]
|
ap = aps[path]
|
||||||
with contextlib.suppress(NetworkManager.ObjectVanished):
|
with suppress(NetworkManager.ObjectVanished):
|
||||||
netinfo.update({
|
netinfo.update({
|
||||||
"mac": ap.HwAddress,
|
"mac": ap.HwAddress,
|
||||||
"channel": WifiChannels.lookup(str(ap.Frequency))[1],
|
"channel": WifiChannels.lookup(str(ap.Frequency))[1],
|
||||||
|
|||||||
+4
-1
@@ -13,8 +13,10 @@ nav:
|
|||||||
- Configuration.md
|
- Configuration.md
|
||||||
- Quicktips.md
|
- Quicktips.md
|
||||||
- Macros: macros.md
|
- Macros: macros.md
|
||||||
- Android.md
|
|
||||||
- Thumbnails.md
|
- Thumbnails.md
|
||||||
|
- Remote screens:
|
||||||
|
- VNC.md
|
||||||
|
- Xserver-XSDL (Android): Android.md
|
||||||
- Troubleshooting:
|
- Troubleshooting:
|
||||||
- First Steps/Log: Troubleshooting.md
|
- First Steps/Log: Troubleshooting.md
|
||||||
- Network: Troubleshooting/Network.md
|
- Network: Troubleshooting/Network.md
|
||||||
@@ -61,6 +63,7 @@ markdown_extensions:
|
|||||||
- pymdownx.inlinehilite
|
- pymdownx.inlinehilite
|
||||||
- pymdownx.snippets
|
- pymdownx.snippets
|
||||||
- pymdownx.superfences
|
- pymdownx.superfences
|
||||||
|
- pymdownx.details
|
||||||
|
|
||||||
extra:
|
extra:
|
||||||
social:
|
social:
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import contextlib
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
@@ -9,7 +8,7 @@ from gi.repository import GLib, Gtk, Pango
|
|||||||
from jinja2 import Environment
|
from jinja2 import Environment
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from math import log
|
from math import log
|
||||||
|
from contextlib import suppress
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
@@ -39,7 +38,7 @@ class BasePanel(ScreenPanel):
|
|||||||
self.control['printer_select'].connect("clicked", self._screen.show_printer_select)
|
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'] = self._gtk.Button('custom-script', scale=abscale)
|
||||||
self.control['macros_shortcut'].connect("clicked", self.menu_item_clicked, "gcode_macros", {
|
self.control['macros_shortcut'].connect("clicked", self.menu_item_clicked, {
|
||||||
"name": "Macros",
|
"name": "Macros",
|
||||||
"panel": "gcode_macros"
|
"panel": "gcode_macros"
|
||||||
})
|
})
|
||||||
@@ -81,7 +80,7 @@ class BasePanel(ScreenPanel):
|
|||||||
self.titlelbl.set_ellipsize(Pango.EllipsizeMode.END)
|
self.titlelbl.set_ellipsize(Pango.EllipsizeMode.END)
|
||||||
self.set_title(title)
|
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'] = Gtk.Box()
|
||||||
self.control['time_box'].set_halign(Gtk.Align.END)
|
self.control['time_box'].set_halign(Gtk.Align.END)
|
||||||
self.control['time_box'].pack_end(self.control['time'], True, True, 10)
|
self.control['time_box'].pack_end(self.control['time'], True, True, 10)
|
||||||
@@ -118,7 +117,7 @@ class BasePanel(ScreenPanel):
|
|||||||
|
|
||||||
img_size = self._gtk.img_scale * self.bts
|
img_size = self._gtk.img_scale * self.bts
|
||||||
for device in self._printer.get_temp_store_devices():
|
for device in self._printer.get_temp_store_devices():
|
||||||
self.labels[device] = Gtk.Label(label="100º")
|
self.labels[device] = Gtk.Label()
|
||||||
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
|
self.labels[device].set_ellipsize(Pango.EllipsizeMode.START)
|
||||||
|
|
||||||
self.labels[f'{device}_box'] = Gtk.Box()
|
self.labels[f'{device}_box'] = Gtk.Box()
|
||||||
@@ -208,11 +207,11 @@ class BasePanel(ScreenPanel):
|
|||||||
if action == "notify_update_response":
|
if action == "notify_update_response":
|
||||||
if self.update_dialog is None:
|
if self.update_dialog is None:
|
||||||
self.show_update_dialog()
|
self.show_update_dialog()
|
||||||
with contextlib.suppress(KeyError):
|
with suppress(KeyError):
|
||||||
self.labels['update_progress'].set_text(
|
self.labels['update_progress'].set_text(
|
||||||
f"{self.labels['update_progress'].get_text().strip()}\n"
|
f"{self.labels['update_progress'].get_text().strip()}\n"
|
||||||
f"{data['message']}\n")
|
f"{data['message']}\n")
|
||||||
with contextlib.suppress(KeyError):
|
with suppress(KeyError):
|
||||||
if data['complete']:
|
if data['complete']:
|
||||||
logging.info("Update complete")
|
logging.info("Update complete")
|
||||||
if self.update_dialog is not None:
|
if self.update_dialog is not None:
|
||||||
@@ -236,13 +235,13 @@ class BasePanel(ScreenPanel):
|
|||||||
if not (device.startswith("extruder") or device.startswith("heater_bed")):
|
if not (device.startswith("extruder") or device.startswith("heater_bed")):
|
||||||
if self.titlebar_name_type == "full":
|
if self.titlebar_name_type == "full":
|
||||||
name = device.split()[1] if len(device.split()) > 1 else device
|
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":
|
elif self.titlebar_name_type == "short":
|
||||||
name = device.split()[1] if len(device.split()) > 1 else device
|
name = device.split()[1] if len(device.split()) > 1 else device
|
||||||
name = f"{name[:1].upper()}: "
|
name = f"{name[:1].upper()}: "
|
||||||
self.labels[device].set_label(f"{name}{int(temp)}°")
|
self.labels[device].set_label(f"{name}{int(temp)}°")
|
||||||
|
|
||||||
with contextlib.suppress(Exception):
|
with suppress(Exception):
|
||||||
if data["toolhead"]["extruder"] != self.current_extruder:
|
if data["toolhead"]["extruder"] != self.current_extruder:
|
||||||
self.control['temp_box'].remove(self.labels[f"{self.current_extruder}_box"])
|
self.control['temp_box'].remove(self.labels[f"{self.current_extruder}_box"])
|
||||||
self.current_extruder = data["toolhead"]["extruder"]
|
self.current_extruder = data["toolhead"]["extruder"]
|
||||||
|
|||||||
+1
-7
@@ -1,20 +1,14 @@
|
|||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
import math
|
import math
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
|
||||||
return BedLevelPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
# Find the screw closest to the point,
|
# Find the screw closest to the point,
|
||||||
# but return None if the distance is above max_distance.
|
# but return None if the distance is above max_distance.
|
||||||
# If remove is set to true, the screw is also removed
|
# 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
|
return closest
|
||||||
|
|
||||||
|
|
||||||
class BedLevelPanel(ScreenPanel):
|
class Panel(ScreenPanel):
|
||||||
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
|
|||||||
+6
-12
@@ -1,21 +1,14 @@
|
|||||||
import logging
|
import logging
|
||||||
import contextlib
|
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
from ks_includes.widgets.bedmap import BedMap
|
from ks_includes.widgets.bedmap import BedMap
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return BedMeshPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class BedMeshPanel(ScreenPanel):
|
|
||||||
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
@@ -193,9 +186,10 @@ class BedMeshPanel(ScreenPanel):
|
|||||||
if action == "notify_busy":
|
if action == "notify_busy":
|
||||||
self.process_busy(data)
|
self.process_busy(data)
|
||||||
return
|
return
|
||||||
if action == "notify_status_update":
|
if action != "notify_status_update":
|
||||||
with contextlib.suppress(KeyError):
|
return
|
||||||
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):
|
def remove_create(self):
|
||||||
if self.show_create is False:
|
if self.show_create is False:
|
||||||
@@ -275,7 +269,7 @@ class BedMeshPanel(ScreenPanel):
|
|||||||
|
|
||||||
# Load zcalibrate to do a manual mesh
|
# Load zcalibrate to do a manual mesh
|
||||||
if not self._printer.get_probe():
|
if not self._printer.get_probe():
|
||||||
self.menu_item_clicked(widget, "refresh", {"name": _("Mesh calibrate"), "panel": "zcalibrate"})
|
self.menu_item_clicked(widget, {"name": _("Mesh calibrate"), "panel": "zcalibrate"})
|
||||||
|
|
||||||
def send_clear_mesh(self, widget):
|
def send_clear_mesh(self, widget):
|
||||||
self._screen._ws.klippy.gcode_script("BED_MESH_CLEAR")
|
self._screen._ws.klippy.gcode_script("BED_MESH_CLEAR")
|
||||||
|
|||||||
+4
-9
@@ -1,19 +1,14 @@
|
|||||||
import contextlib
|
|
||||||
import mpv
|
import mpv
|
||||||
import logging
|
import logging
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
from contextlib import suppress
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return CameraPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class CameraPanel(ScreenPanel):
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self.mpv = None
|
self.mpv = None
|
||||||
@@ -47,11 +42,11 @@ class CameraPanel(ScreenPanel):
|
|||||||
# Create mpv after show or the 'window' property will be 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(log_handler=self.log, vo='gpu,wlshm,xv,x11')
|
||||||
|
|
||||||
with contextlib.suppress(Exception):
|
with suppress(Exception):
|
||||||
self.mpv.profile = 'sw-fast'
|
self.mpv.profile = 'sw-fast'
|
||||||
|
|
||||||
# LOW LATENCY PLAYBACK
|
# LOW LATENCY PLAYBACK
|
||||||
with contextlib.suppress(Exception):
|
with suppress(Exception):
|
||||||
self.mpv.profile = 'low-latency'
|
self.mpv.profile = 'low-latency'
|
||||||
self.mpv.untimed = True
|
self.mpv.untimed = True
|
||||||
self.mpv.audio = 'no'
|
self.mpv.audio = 'no'
|
||||||
|
|||||||
+1
-7
@@ -1,19 +1,13 @@
|
|||||||
import time
|
import time
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
|
||||||
return ConsolePanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
COLORS = {
|
COLORS = {
|
||||||
"command": "#bad8ff",
|
"command": "#bad8ff",
|
||||||
"error": "#ff6975",
|
"error": "#ff6975",
|
||||||
@@ -23,7 +17,7 @@ COLORS = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class ConsolePanel(ScreenPanel):
|
class Panel(ScreenPanel):
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self.autoscroll = True
|
self.autoscroll = True
|
||||||
|
|||||||
+1
-6
@@ -2,15 +2,10 @@ import gi
|
|||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return ExamplePanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class ExamplePanel(ScreenPanel):
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
|
|
||||||
|
|||||||
+27
-34
@@ -1,20 +1,13 @@
|
|||||||
import contextlib
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
from ks_includes.widgets.objectmap import ObjectMap
|
from ks_includes.widgets.objectmap import ObjectMap
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return ExcludeObjectPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class ExcludeObjectPanel(ScreenPanel):
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self._screen = screen
|
self._screen = screen
|
||||||
@@ -92,32 +85,32 @@ class ExcludeObjectPanel(ScreenPanel):
|
|||||||
|
|
||||||
def process_update(self, action, data):
|
def process_update(self, action, data):
|
||||||
if action == "notify_status_update":
|
if action == "notify_status_update":
|
||||||
with contextlib.suppress(KeyError):
|
if "exclude_object" in data:
|
||||||
# Update objects
|
if "object" in data["exclude_object"]: # Update objects
|
||||||
self.objects = data["exclude_object"]["objects"]
|
self.objects = data["exclude_object"]["objects"]
|
||||||
logging.info(f'Objects: {data["exclude_object"]["objects"]}')
|
logging.info(f'Objects: {data["exclude_object"]["objects"]}')
|
||||||
for obj in self.buttons:
|
for obj in self.buttons:
|
||||||
self.object_list.remove(self.buttons[obj])
|
self.object_list.remove(self.buttons[obj])
|
||||||
self.buttons = {}
|
self.buttons = {}
|
||||||
for obj in self.objects:
|
for obj in self.objects:
|
||||||
logging.info(f"Adding {obj['name']}")
|
logging.info(f"Adding {obj['name']}")
|
||||||
self.add_object(obj["name"])
|
self.add_object(obj["name"])
|
||||||
self.content.show_all()
|
self.content.show_all()
|
||||||
with contextlib.suppress(KeyError):
|
if "current_object" in data["exclude_object"]: # Update objects
|
||||||
# Update current objects
|
# Update current objects
|
||||||
if data["exclude_object"]["current_object"]:
|
if data["exclude_object"]["current_object"]:
|
||||||
self.current_object.set_label(f'{data["exclude_object"]["current_object"].replace("_", " ")}')
|
self.current_object.set_label(f'{data["exclude_object"]["current_object"].replace("_", " ")}')
|
||||||
self.update_graph()
|
self.update_graph()
|
||||||
with contextlib.suppress(KeyError):
|
if "excluded_objects" in data["exclude_object"]: # Update objects
|
||||||
# Update excluded objects
|
# Update excluded objects
|
||||||
logging.info(f'Excluded objects: {data["exclude_object"]["excluded_objects"]}')
|
logging.info(f'Excluded objects: {data["exclude_object"]["excluded_objects"]}')
|
||||||
self.excluded_objects = data["exclude_object"]["excluded_objects"]
|
self.excluded_objects = data["exclude_object"]["excluded_objects"]
|
||||||
for name in self.excluded_objects:
|
for name in self.excluded_objects:
|
||||||
if name in self.buttons:
|
if name in self.buttons:
|
||||||
self.object_list.remove(self.buttons[name])
|
self.object_list.remove(self.buttons[name])
|
||||||
self.update_graph()
|
self.update_graph()
|
||||||
if len(self.excluded_objects) == len(self.objects):
|
if len(self.excluded_objects) == len(self.objects):
|
||||||
self._screen._menu_go_back()
|
self._screen._menu_go_back()
|
||||||
elif action == "notify_gcode_response" and "Excluding object" in data:
|
elif action == "notify_gcode_response" and "Excluding object" in data:
|
||||||
self._screen.show_popup_message(data, level=1)
|
self._screen.show_popup_message(data, level=1)
|
||||||
self.update_graph()
|
self.update_graph()
|
||||||
|
|||||||
+8
-13
@@ -1,20 +1,14 @@
|
|||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return ExtrudePanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class ExtrudePanel(ScreenPanel):
|
|
||||||
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
@@ -50,7 +44,7 @@ class ExtrudePanel(ScreenPanel):
|
|||||||
self.buttons['load'].connect("clicked", self.load_unload, "+")
|
self.buttons['load'].connect("clicked", self.load_unload, "+")
|
||||||
self.buttons['unload'].connect("clicked", self.load_unload, "-")
|
self.buttons['unload'].connect("clicked", self.load_unload, "-")
|
||||||
self.buttons['retract'].connect("clicked", self.extrude, "-")
|
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",
|
"name": "Temperature",
|
||||||
"panel": "temperature"
|
"panel": "temperature"
|
||||||
})
|
})
|
||||||
@@ -63,7 +57,8 @@ class ExtrudePanel(ScreenPanel):
|
|||||||
self.labels[extruder] = self._gtk.Button(f"extruder-{i}", f"T{self._printer.get_tool_number(extruder)}")
|
self.labels[extruder] = self._gtk.Button(f"extruder-{i}", f"T{self._printer.get_tool_number(extruder)}")
|
||||||
else:
|
else:
|
||||||
self.labels[extruder] = self._gtk.Button("extruder", "")
|
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:
|
if extruder == self.current_extruder:
|
||||||
self.labels[extruder].get_style_context().add_class("button_active")
|
self.labels[extruder].get_style_context().add_class("button_active")
|
||||||
if i < limit:
|
if i < limit:
|
||||||
@@ -117,6 +112,7 @@ class ExtrudePanel(ScreenPanel):
|
|||||||
|
|
||||||
filament_sensors = self._printer.get_filament_sensors()
|
filament_sensors = self._printer.get_filament_sensors()
|
||||||
sensors = Gtk.Grid()
|
sensors = Gtk.Grid()
|
||||||
|
sensors.set_size_request(self._gtk.content_width, -1)
|
||||||
if len(filament_sensors) > 0:
|
if len(filament_sensors) > 0:
|
||||||
sensors.set_column_spacing(5)
|
sensors.set_column_spacing(5)
|
||||||
sensors.set_row_spacing(5)
|
sensors.set_row_spacing(5)
|
||||||
@@ -127,7 +123,7 @@ class ExtrudePanel(ScreenPanel):
|
|||||||
break
|
break
|
||||||
name = x[23:].strip()
|
name = x[23:].strip()
|
||||||
self.labels[x] = {
|
self.labels[x] = {
|
||||||
'label': Gtk.Label(name.capitalize().replace('_', ' ')),
|
'label': Gtk.Label(self.prettify(name)),
|
||||||
'switch': Gtk.Switch(),
|
'switch': Gtk.Switch(),
|
||||||
'box': Gtk.Box()
|
'box': Gtk.Box()
|
||||||
}
|
}
|
||||||
@@ -137,10 +133,9 @@ class ExtrudePanel(ScreenPanel):
|
|||||||
self.labels[x]['switch'].set_property("width-request", round(self._gtk.font_size * 2))
|
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'].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]['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]['label'], True, True, 10)
|
||||||
self.labels[x]['box'].pack_start(self.labels[x]['switch'], False, False, 5)
|
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'].get_style_context().add_class("filament_sensor")
|
||||||
self.labels[x]['box'].set_hexpand(True)
|
|
||||||
sensors.attach(self.labels[x]['box'], s, 0, 1, 1)
|
sensors.attach(self.labels[x]['box'], s, 0, 1, 1)
|
||||||
|
|
||||||
grid = Gtk.Grid()
|
grid = Gtk.Grid()
|
||||||
|
|||||||
+1
-7
@@ -1,22 +1,16 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, GLib, Pango
|
from gi.repository import Gtk, GLib, Pango
|
||||||
|
|
||||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
|
||||||
return FanPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
CHANGEABLE_FANS = ["fan", "fan_generic"]
|
CHANGEABLE_FANS = ["fan", "fan_generic"]
|
||||||
|
|
||||||
|
|
||||||
class FanPanel(ScreenPanel):
|
class Panel(ScreenPanel):
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self.fan_speed = {}
|
self.fan_speed = {}
|
||||||
|
|||||||
+73
-65
@@ -1,26 +1,22 @@
|
|||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
import contextlib
|
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
|
||||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return FineTunePanel(*args)
|
z_deltas = ["0.01", "0.05"]
|
||||||
|
z_delta = z_deltas[-1]
|
||||||
|
speed_deltas = ['5', '25']
|
||||||
class FineTunePanel(ScreenPanel):
|
s_delta = speed_deltas[-1]
|
||||||
bs_deltas = ["0.01", "0.05"]
|
extrude_deltas = ['1', '2']
|
||||||
bs_delta = bs_deltas[-1]
|
e_delta = extrude_deltas[-1]
|
||||||
percent_deltas = ['1', '5', '10', '25']
|
|
||||||
percent_delta = percent_deltas[-2]
|
|
||||||
speed = extrusion = 100
|
speed = extrusion = 100
|
||||||
|
z_offset = 0.0
|
||||||
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
@@ -29,40 +25,53 @@ class FineTunePanel(ScreenPanel):
|
|||||||
if re.match(r'^[0-9,\.\s]+$', bs):
|
if re.match(r'^[0-9,\.\s]+$', bs):
|
||||||
bs = [str(i.strip()) for i in bs.split(',')]
|
bs = [str(i.strip()) for i in bs.split(',')]
|
||||||
if 1 < len(bs) < 3:
|
if 1 < len(bs) < 3:
|
||||||
self.bs_deltas = bs
|
self.z_deltas = bs
|
||||||
self.bs_delta = self.bs_deltas[-1]
|
self.z_delta = self.z_deltas[-1]
|
||||||
|
|
||||||
# babystepping grid
|
zgrid = Gtk.Grid()
|
||||||
bsgrid = Gtk.Grid()
|
for j, i in enumerate(self.z_deltas):
|
||||||
for j, i in enumerate(self.bs_deltas):
|
self.labels[f"zdelta{i}"] = self._gtk.Button(label=i)
|
||||||
self.labels[f"bdelta{i}"] = self._gtk.Button(label=i)
|
self.labels[f"zdelta{i}"].connect("clicked", self.change_percent_delta, "z_offset", float(i))
|
||||||
self.labels[f"bdelta{i}"].connect("clicked", self.change_bs_delta, float(i))
|
ctx = self.labels[f"zdelta{i}"].get_style_context()
|
||||||
ctx = self.labels[f"bdelta{i}"].get_style_context()
|
|
||||||
if j == 0:
|
if j == 0:
|
||||||
ctx.add_class("distbutton_top")
|
ctx.add_class("distbutton_top")
|
||||||
elif j == len(self.bs_deltas) - 1:
|
elif j == len(self.z_deltas) - 1:
|
||||||
ctx.add_class("distbutton_bottom")
|
ctx.add_class("distbutton_bottom")
|
||||||
else:
|
else:
|
||||||
ctx.add_class("distbutton")
|
ctx.add_class("distbutton")
|
||||||
if i == self.bs_delta:
|
if i == self.z_delta:
|
||||||
ctx.add_class("distbutton_active")
|
ctx.add_class("distbutton_active")
|
||||||
bsgrid.attach(self.labels[f"bdelta{i}"], j, 0, 1, 1)
|
zgrid.attach(self.labels[f"zdelta{i}"], j, 0, 1, 1)
|
||||||
# Grid for percentage
|
|
||||||
deltgrid = Gtk.Grid()
|
spdgrid = Gtk.Grid()
|
||||||
for j, i in enumerate(self.percent_deltas):
|
for j, i in enumerate(self.speed_deltas):
|
||||||
self.labels[f"pdelta{i}"] = self._gtk.Button(label=f"{i}%")
|
self.labels[f"sdelta{i}"] = self._gtk.Button(label=f"{i}%")
|
||||||
self.labels[f"pdelta{i}"].connect("clicked", self.change_percent_delta, int(i))
|
self.labels[f"sdelta{i}"].connect("clicked", self.change_percent_delta, "speed", int(i))
|
||||||
ctx = self.labels[f"pdelta{i}"].get_style_context()
|
ctx = self.labels[f"sdelta{i}"].get_style_context()
|
||||||
if j == 0:
|
if j == 0:
|
||||||
ctx.add_class("distbutton_top")
|
ctx.add_class("distbutton_top")
|
||||||
elif j == len(self.percent_deltas) - 1:
|
elif j == len(self.speed_deltas) - 1:
|
||||||
ctx.add_class("distbutton_bottom")
|
ctx.add_class("distbutton_bottom")
|
||||||
else:
|
else:
|
||||||
ctx.add_class("distbutton")
|
ctx.add_class("distbutton")
|
||||||
if i == self.percent_delta:
|
if i == self.s_delta:
|
||||||
ctx.add_class("distbutton_active")
|
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 = self._gtk.HomogeneousGrid()
|
||||||
grid.set_row_homogeneous(False)
|
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+'], 0, 0, 1, 1)
|
||||||
grid.attach(self.labels['z-'], 1, 0, 1, 1)
|
grid.attach(self.labels['z-'], 1, 0, 1, 1)
|
||||||
grid.attach(self.labels['zoffset'], 2, 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-'], 0, 2, 1, 1)
|
||||||
grid.attach(self.labels['speed+'], 1, 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['speedfactor'], 2, 2, 1, 1)
|
||||||
grid.attach(self.labels['extrude-'], 0, 3, 1, 1)
|
grid.attach(spdgrid, 0, 3, 3, 1)
|
||||||
grid.attach(self.labels['extrude+'], 1, 3, 1, 1)
|
grid.attach(self.labels['extrude-'], 0, 4, 1, 1)
|
||||||
grid.attach(self.labels['extrudefactor'], 2, 3, 1, 1)
|
grid.attach(self.labels['extrude+'], 1, 4, 1, 1)
|
||||||
grid.attach(deltgrid, 0, 4, 3, 1)
|
grid.attach(self.labels['extrudefactor'], 2, 4, 1, 1)
|
||||||
|
grid.attach(extgrid, 0, 5, 3, 1)
|
||||||
else:
|
else:
|
||||||
grid.attach(self.labels['zoffset'], 0, 0, 1, 1)
|
grid.attach(self.labels['zoffset'], 0, 0, 1, 1)
|
||||||
grid.attach(self.labels['z+'], 0, 1, 1, 1)
|
grid.attach(self.labels['z+'], 0, 1, 1, 1)
|
||||||
grid.attach(self.labels['z-'], 0, 2, 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['speedfactor'], 1, 0, 1, 1)
|
||||||
grid.attach(self.labels['speed+'], 1, 1, 1, 1)
|
grid.attach(self.labels['speed+'], 1, 1, 1, 1)
|
||||||
grid.attach(self.labels['speed-'], 1, 2, 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['extrudefactor'], 2, 0, 1, 1)
|
||||||
grid.attach(self.labels['extrude+'], 2, 1, 1, 1)
|
grid.attach(self.labels['extrude+'], 2, 1, 1, 1)
|
||||||
grid.attach(self.labels['extrude-'], 2, 2, 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['z+'].connect("clicked", self.change_babystepping, "+")
|
||||||
self.labels['zoffset'].connect("clicked", self.change_babystepping, "reset")
|
self.labels['zoffset'].connect("clicked", self.change_babystepping, "reset")
|
||||||
@@ -117,13 +128,12 @@ class FineTunePanel(ScreenPanel):
|
|||||||
self.content.add(grid)
|
self.content.add(grid)
|
||||||
|
|
||||||
def process_update(self, action, data):
|
def process_update(self, action, data):
|
||||||
|
|
||||||
if action != "notify_status_update":
|
if action != "notify_status_update":
|
||||||
return
|
return
|
||||||
|
|
||||||
if "gcode_move" in data:
|
if "gcode_move" in data:
|
||||||
if "homing_origin" in data["gcode_move"]:
|
if "homing_origin" in data["gcode_move"]:
|
||||||
self.labels['zoffset'].set_label(f' {data["gcode_move"]["homing_origin"][2]:.3f}mm')
|
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"]:
|
if "extrude_factor" in data["gcode_move"]:
|
||||||
self.extrusion = round(float(data["gcode_move"]["extrude_factor"]) * 100)
|
self.extrusion = round(float(data["gcode_move"]["extrude_factor"]) * 100)
|
||||||
self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%")
|
self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%")
|
||||||
@@ -135,39 +145,30 @@ class FineTunePanel(ScreenPanel):
|
|||||||
if direction == "reset":
|
if direction == "reset":
|
||||||
self.labels['zoffset'].set_label(' 0.00mm')
|
self.labels['zoffset'].set_label(' 0.00mm')
|
||||||
self._screen._ws.klippy.gcode_script("SET_GCODE_OFFSET Z=0 MOVE=1")
|
self._screen._ws.klippy.gcode_script("SET_GCODE_OFFSET Z=0 MOVE=1")
|
||||||
elif direction in ["+", "-"]:
|
return
|
||||||
with contextlib.suppress(KeyError):
|
elif direction == "+":
|
||||||
z_offset = float(self._printer.data["gcode_move"]["homing_origin"][2])
|
self.z_offset += float(self.z_delta)
|
||||||
if direction == "+":
|
elif direction == "-":
|
||||||
z_offset += float(self.bs_delta)
|
self.z_offset -= float(self.z_delta)
|
||||||
else:
|
self.labels['zoffset'].set_label(f' {self.z_offset:.3f}mm')
|
||||||
z_offset -= float(self.bs_delta)
|
self._screen._ws.klippy.gcode_script(f"SET_GCODE_OFFSET Z_ADJUST={direction}{self.z_delta} MOVE=1")
|
||||||
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
|
|
||||||
|
|
||||||
def change_extrusion(self, widget, direction):
|
def change_extrusion(self, widget, direction):
|
||||||
if direction == "+":
|
if direction == "+":
|
||||||
self.extrusion += int(self.percent_delta)
|
self.extrusion += int(self.e_delta)
|
||||||
elif direction == "-":
|
elif direction == "-":
|
||||||
self.extrusion -= int(self.percent_delta)
|
self.extrusion -= int(self.e_delta)
|
||||||
elif direction == "reset":
|
elif direction == "reset":
|
||||||
self.extrusion = 100
|
self.extrusion = 100
|
||||||
|
|
||||||
self.extrusion = max(self.extrusion, 1)
|
self.extrusion = max(self.extrusion, 1)
|
||||||
self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%")
|
self.labels['extrudefactor'].set_label(f" {self.extrusion:3}%")
|
||||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_extrusion_rate(self.extrusion))
|
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_extrusion_rate(self.extrusion))
|
||||||
|
|
||||||
def change_speed(self, widget, direction):
|
def change_speed(self, widget, direction):
|
||||||
if direction == "+":
|
if direction == "+":
|
||||||
self.speed += int(self.percent_delta)
|
self.speed += int(self.s_delta)
|
||||||
elif direction == "-":
|
elif direction == "-":
|
||||||
self.speed -= int(self.percent_delta)
|
self.speed -= int(self.s_delta)
|
||||||
elif direction == "reset":
|
elif direction == "reset":
|
||||||
self.speed = 100
|
self.speed = 100
|
||||||
|
|
||||||
@@ -175,8 +176,15 @@ class FineTunePanel(ScreenPanel):
|
|||||||
self.labels['speedfactor'].set_label(f" {self.speed:3}%")
|
self.labels['speedfactor'].set_label(f" {self.speed:3}%")
|
||||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_speed_rate(self.speed))
|
self._screen._ws.klippy.gcode_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}")
|
logging.info(f"### Delta {delta}")
|
||||||
self.labels[f"pdelta{self.percent_delta}"].get_style_context().remove_class("distbutton_active")
|
widget.get_style_context().add_class("distbutton_active")
|
||||||
self.labels[f"pdelta{delta}"].get_style_context().add_class("distbutton_active")
|
if array == "z_offset":
|
||||||
self.percent_delta = delta
|
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,15 +4,10 @@ import gi
|
|||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, GLib, Pango
|
from gi.repository import Gtk, GLib, Pango
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return MacroPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class MacroPanel(ScreenPanel):
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self.sort_reverse = False
|
self.sort_reverse = False
|
||||||
@@ -102,8 +97,7 @@ class MacroPanel(ScreenPanel):
|
|||||||
if result:
|
if result:
|
||||||
result = result.groupdict()
|
result = result.groupdict()
|
||||||
default = result["default"] if "default" in result else ""
|
default = result["default"] if "default" in result else ""
|
||||||
entry = Gtk.Entry()
|
entry = Gtk.Entry(placeholder_text=default)
|
||||||
entry.set_text(default)
|
|
||||||
self.macros[macro]["params"].update({result["param"]: entry})
|
self.macros[macro]["params"].update({result["param"]: entry})
|
||||||
|
|
||||||
for param in self.macros[macro]["params"]:
|
for param in self.macros[macro]["params"]:
|
||||||
|
|||||||
@@ -1,18 +1,12 @@
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
|
||||||
return InputShaperPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
# X and Y frequencies
|
# X and Y frequencies
|
||||||
XY_FREQ = [
|
XY_FREQ = [
|
||||||
{'name': 'X', 'config': 'shaper_freq_x', 'min': 0, 'max': 133},
|
{'name': 'X', 'config': 'shaper_freq_x', 'min': 0, 'max': 133},
|
||||||
@@ -21,7 +15,7 @@ XY_FREQ = [
|
|||||||
SHAPERS = ['zv', 'mzv', 'zvd', 'ei', '2hump_ei', '3hump_ei']
|
SHAPERS = ['zv', 'mzv', 'zvd', 'ei', '2hump_ei', '3hump_ei']
|
||||||
|
|
||||||
|
|
||||||
class InputShaperPanel(ScreenPanel):
|
class Panel(ScreenPanel):
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self.freq_xy_adj = {}
|
self.freq_xy_adj = {}
|
||||||
@@ -29,7 +23,7 @@ class InputShaperPanel(ScreenPanel):
|
|||||||
self.calibrate_btn = self._gtk.Button("move", _('Finding ADXL'), "color1", lines=1)
|
self.calibrate_btn = self._gtk.Button("move", _('Finding ADXL'), "color1", lines=1)
|
||||||
self.calibrate_btn.connect("clicked", self.on_popover_clicked)
|
self.calibrate_btn.connect("clicked", self.on_popover_clicked)
|
||||||
self.calibrate_btn.set_sensitive(False)
|
self.calibrate_btn.set_sensitive(False)
|
||||||
self.status = Gtk.Label("")
|
self.status = Gtk.Label()
|
||||||
self.status.set_hexpand(True)
|
self.status.set_hexpand(True)
|
||||||
self.status.set_vexpand(False)
|
self.status.set_vexpand(False)
|
||||||
self.status.set_halign(Gtk.Align.START)
|
self.status.set_halign(Gtk.Align.START)
|
||||||
|
|||||||
+144
-171
@@ -1,42 +1,38 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
import contextlib
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import GLib, Gtk, Pango
|
from gi.repository import GLib, Gtk, Pango
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from contextlib import suppress
|
||||||
from math import pi, sqrt
|
from math import pi, sqrt
|
||||||
from statistics import median
|
from statistics import median
|
||||||
from time import time
|
from time import time
|
||||||
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return JobStatusPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class JobStatusPanel(ScreenPanel):
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self.grid = self._gtk.HomogeneousGrid()
|
self.grid = self._gtk.HomogeneousGrid()
|
||||||
self.grid.set_row_homogeneous(False)
|
self.grid.set_row_homogeneous(False)
|
||||||
self.pos_z = 0
|
self.pos_z = 0.0
|
||||||
self.extrusion = 100
|
self.extrusion = 100
|
||||||
self.speed_factor = 1
|
self.speed_factor = 1.0
|
||||||
self.speed = 100
|
self.speed = 100
|
||||||
self.req_speed = 0
|
self.req_speed = 0
|
||||||
self.f_layer_h = self.layer_h = 1
|
self.f_layer_h = self.layer_h = 1
|
||||||
self.oheight = 0
|
self.oheight = 0.0
|
||||||
self.current_extruder = None
|
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.filename_label = self.filename = self.prev_pos = self.prev_gpos = None
|
||||||
self.can_close = False
|
self.can_close = False
|
||||||
self.flow_timeout = self.animation_timeout = None
|
self.flow_timeout = self.animation_timeout = None
|
||||||
self.file_metadata = self.fans = {}
|
self.file_metadata = self.fans = {}
|
||||||
self.state = "standby"
|
self.state = "standby"
|
||||||
self.timeleft_type = "auto"
|
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.flowstore = []
|
||||||
self.mm = _("mm")
|
self.mm = _("mm")
|
||||||
self.mms = _("mm/s")
|
self.mms = _("mm/s")
|
||||||
@@ -50,7 +46,7 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
'flowrate']
|
'flowrate']
|
||||||
|
|
||||||
for item in data:
|
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_vexpand(True)
|
||||||
self.labels[item].set_hexpand(True)
|
self.labels[item].set_hexpand(True)
|
||||||
|
|
||||||
@@ -86,12 +82,12 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
"speed": "-"
|
"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'].get_style_context().add_class("printing-filename")
|
||||||
self.labels['file'].set_hexpand(True)
|
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['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")
|
self.labels['lcdmessage'].get_style_context().add_class("printing-status")
|
||||||
|
|
||||||
for label in self.labels:
|
for label in self.labels:
|
||||||
@@ -109,7 +105,7 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
|
|
||||||
box = Gtk.Box()
|
box = Gtk.Box()
|
||||||
box.set_halign(Gtk.Align.CENTER)
|
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")
|
self.labels['progress_text'].get_style_context().add_class("printing-progress-text")
|
||||||
box.add(self.labels['progress_text'])
|
box.add(self.labels['progress_text'])
|
||||||
|
|
||||||
@@ -152,21 +148,21 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
}
|
}
|
||||||
for button in buttons:
|
for button in buttons:
|
||||||
buttons[button].set_halign(Gtk.Align.START)
|
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.buttons.update(buttons)
|
||||||
|
|
||||||
self.labels['temp_grid'] = Gtk.Grid()
|
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
|
n = 0
|
||||||
self.buttons['extruder'] = {}
|
self.buttons['extruder'] = {}
|
||||||
if self._printer.get_tools():
|
if self._printer.get_tools():
|
||||||
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
|
self.current_extruder = self._printer.get_stat("toolhead", "extruder")
|
||||||
for i, extruder in enumerate(self._printer.get_tools()):
|
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,
|
self.buttons['extruder'][extruder] = self._gtk.Button(f"extruder-{i}", "", None, self.bts,
|
||||||
Gtk.PositionType.LEFT, 1)
|
Gtk.PositionType.LEFT, 1)
|
||||||
self.buttons['extruder'][extruder].set_label(self.labels[extruder].get_text())
|
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"),
|
{"panel": "temperature", "name": _("Temperature"),
|
||||||
'extra': self.current_extruder})
|
'extra': self.current_extruder})
|
||||||
self.buttons['extruder'][extruder].set_halign(Gtk.Align.START)
|
self.buttons['extruder'][extruder].set_halign(Gtk.Align.START)
|
||||||
@@ -177,9 +173,9 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
self.buttons['heater'] = {}
|
self.buttons['heater'] = {}
|
||||||
if self._printer.has_heated_bed():
|
if self._printer.has_heated_bed():
|
||||||
self.buttons['heater']['heater_bed'] = self._gtk.Button("bed", "", None, self.bts, Gtk.PositionType.LEFT, 1)
|
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'].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"),
|
{"panel": "temperature", "name": _("Temperature"),
|
||||||
'extra': 'heater_bed'})
|
'extra': 'heater_bed'})
|
||||||
self.buttons['heater']['heater_bed'].set_halign(Gtk.Align.START)
|
self.buttons['heater']['heater_bed'].set_halign(Gtk.Align.START)
|
||||||
@@ -190,9 +186,9 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
break
|
break
|
||||||
if dev.startswith("heater_generic"):
|
if dev.startswith("heater_generic"):
|
||||||
self.buttons['heater'][dev] = self._gtk.Button("heater", "", None, self.bts, Gtk.PositionType.LEFT, 1)
|
self.buttons['heater'][dev] = self._gtk.Button("heater", "", None, self.bts, Gtk.PositionType.LEFT, 1)
|
||||||
self.labels[dev] = Gtk.Label("-")
|
self.labels[dev] = Gtk.Label(label="-")
|
||||||
self.buttons['heater'][dev].set_label(self.labels[dev].get_text())
|
self.buttons['heater'][dev].set_label(self.labels[dev].get_text())
|
||||||
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})
|
{"panel": "temperature", "name": _("Temperature"), "extra": dev})
|
||||||
self.buttons['heater'][dev].set_halign(Gtk.Align.START)
|
self.buttons['heater'][dev].set_halign(Gtk.Align.START)
|
||||||
self.labels['temp_grid'].attach(self.buttons['heater'][dev], n, 0, 1, 1)
|
self.labels['temp_grid'].attach(self.buttons['heater'][dev], n, 0, 1, 1)
|
||||||
@@ -215,9 +211,9 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
break
|
break
|
||||||
self.buttons['heater'][device] = self._gtk.Button("heat-up", "", None, self.bts,
|
self.buttons['heater'][device] = self._gtk.Button("heat-up", "", None, self.bts,
|
||||||
Gtk.PositionType.LEFT, 1)
|
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].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",
|
{"panel": "temperature",
|
||||||
"name": _("Temperature")})
|
"name": _("Temperature")})
|
||||||
self.buttons['heater'][device].set_halign(Gtk.Align.START)
|
self.buttons['heater'][device].set_halign(Gtk.Align.START)
|
||||||
@@ -351,11 +347,6 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
ctx.stroke()
|
ctx.stroke()
|
||||||
|
|
||||||
def activate(self):
|
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:
|
if self.flow_timeout is None:
|
||||||
self.flow_timeout = GLib.timeout_add_seconds(2, self.update_flow)
|
self.flow_timeout = GLib.timeout_add_seconds(2, self.update_flow)
|
||||||
self._screen.base_panel_show_all()
|
self._screen.base_panel_show_all()
|
||||||
@@ -380,7 +371,7 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
}
|
}
|
||||||
self.buttons['cancel'].connect("clicked", self.cancel)
|
self.buttons['cancel'].connect("clicked", self.cancel)
|
||||||
self.buttons['control'].connect("clicked", self._screen._go_to_submenu, "")
|
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")})
|
"panel": "fine_tune", "name": _("Fine Tuning")})
|
||||||
self.buttons['menu'].connect("clicked", self.close_panel)
|
self.buttons['menu'].connect("clicked", self.close_panel)
|
||||||
self.buttons['pause'].connect("clicked", self.pause)
|
self.buttons['pause'].connect("clicked", self.pause)
|
||||||
@@ -426,13 +417,16 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
self._screen._ws.klippy.gcode_script("SAVE_CONFIG")
|
self._screen._ws.klippy.gcode_script("SAVE_CONFIG")
|
||||||
|
|
||||||
def restart(self, widget):
|
def restart(self, widget):
|
||||||
if self.filename != "none":
|
if self.filename:
|
||||||
self.disable_button("restart")
|
self.disable_button("restart")
|
||||||
if self.state == "error":
|
if self.state == "error":
|
||||||
script = {"script": "SDCARD_RESET_FILE"}
|
script = {"script": "SDCARD_RESET_FILE"}
|
||||||
self._screen._send_action(None, "printer.gcode.script", script)
|
self._screen._send_action(None, "printer.gcode.script", script)
|
||||||
self._screen._ws.klippy.print_start(self.filename)
|
self._screen._ws.klippy.print_start(self.filename)
|
||||||
|
logging.info(f"Starting print: {self.filename}")
|
||||||
self.new_print()
|
self.new_print()
|
||||||
|
else:
|
||||||
|
logging.info(f"Could not restart {self.filename}")
|
||||||
|
|
||||||
def resume(self, widget):
|
def resume(self, widget):
|
||||||
self._screen._ws.klippy.print_resume()
|
self._screen._ws.klippy.print_resume()
|
||||||
@@ -465,7 +459,7 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
def cancel_confirm(self, dialog, response_id):
|
def cancel_confirm(self, dialog, response_id):
|
||||||
self._gtk.remove_dialog(dialog)
|
self._gtk.remove_dialog(dialog)
|
||||||
if response_id == Gtk.ResponseType.APPLY:
|
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
|
return
|
||||||
if response_id == Gtk.ResponseType.CANCEL:
|
if response_id == Gtk.ResponseType.CANCEL:
|
||||||
self.enable_button("pause", "cancel")
|
self.enable_button("pause", "cancel")
|
||||||
@@ -495,12 +489,12 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
|
|
||||||
def new_print(self):
|
def new_print(self):
|
||||||
self._screen.close_screensaver()
|
self._screen.close_screensaver()
|
||||||
self.state_check()
|
self.update_progress(0.0)
|
||||||
|
|
||||||
def process_update(self, action, data):
|
def process_update(self, action, data):
|
||||||
if action == "notify_gcode_response":
|
if action == "notify_gcode_response":
|
||||||
if "action:cancel" in data:
|
if "action:cancel" in data:
|
||||||
self.set_state("cancelling")
|
self.set_state("cancelled")
|
||||||
elif "action:paused" in data:
|
elif "action:paused" in data:
|
||||||
self.set_state("paused")
|
self.set_state("paused")
|
||||||
elif "action:resumed" in data:
|
elif "action:resumed" in data:
|
||||||
@@ -528,43 +522,46 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
)
|
)
|
||||||
self.buttons['heater'][x].set_label(self.labels[x].get_text())
|
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:
|
if data["toolhead"]["extruder"] != self.current_extruder:
|
||||||
self.labels['temp_grid'].remove_column(0)
|
self.labels['temp_grid'].remove_column(0)
|
||||||
self.labels['temp_grid'].insert_column(0)
|
self.labels['temp_grid'].insert_column(0)
|
||||||
self.current_extruder = data["toolhead"]["extruder"]
|
self.current_extruder = data["toolhead"]["extruder"]
|
||||||
self.labels['temp_grid'].attach(self.buttons['extruder'][self.current_extruder], 0, 0, 1, 1)
|
self.labels['temp_grid'].attach(self.buttons['extruder'][self.current_extruder], 0, 0, 1, 1)
|
||||||
self._screen.show_all()
|
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}")
|
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}")
|
self.labels['advance'].set_label(f"{data['extruder']['pressure_advance']:.2f}")
|
||||||
|
|
||||||
if "gcode_move" in data:
|
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.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 ''}")
|
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.extrusion = round(float(data["gcode_move"]["extrude_factor"]) * 100)
|
||||||
self.labels['extrude_factor'].set_label(f"{self.extrusion:3}%")
|
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 = round(float(data["gcode_move"]["speed_factor"]) * 100)
|
||||||
self.speed_factor = float(data["gcode_move"]["speed_factor"])
|
self.speed_factor = float(data["gcode_move"]["speed_factor"])
|
||||||
self.labels['speed_factor'].set_label(f"{self.speed:3}%")
|
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.req_speed = round(float(data["gcode_move"]["speed"]) / 60 * self.speed_factor)
|
||||||
self.labels['req_speed'].set_label(
|
self.labels['req_speed'].set_label(
|
||||||
f"{self.speed}% {self.vel:3.0f}/{self.req_speed:3.0f} "
|
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 ''}"
|
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())
|
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.zoffset = float(data["gcode_move"]["homing_origin"][2])
|
||||||
self.labels['zoffset'].set_label(f"{self.zoffset:.3f} {self.mm}")
|
self.labels['zoffset'].set_label(f"{self.zoffset:.3f} {self.mm}")
|
||||||
if "motion_report" in data:
|
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_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_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}")
|
self.labels['pos_z'].set_label(f"Z: {data['motion_report']['live_position'][2]:6.2f}")
|
||||||
@@ -576,52 +573,52 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
evelocity = (pos[3] - self.prev_pos[0][3]) / interval
|
evelocity = (pos[3] - self.prev_pos[0][3]) / interval
|
||||||
self.flowstore.append(self.fila_section * evelocity)
|
self.flowstore.append(self.fila_section * evelocity)
|
||||||
self.prev_pos = [pos, now]
|
self.prev_pos = [pos, now]
|
||||||
with contextlib.suppress(KeyError):
|
with suppress(KeyError):
|
||||||
self.vel = float(data["motion_report"]["live_velocity"])
|
self.vel = float(data["motion_report"]["live_velocity"])
|
||||||
self.labels['req_speed'].set_label(
|
self.labels['req_speed'].set_label(
|
||||||
f"{self.speed}% {self.vel:3.0f}/{self.req_speed:3.0f} "
|
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 ''}"
|
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())
|
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"]))
|
self.flowstore.append(self.fila_section * float(data["motion_report"]["live_extruder_velocity"]))
|
||||||
fan_label = ""
|
fan_label = ""
|
||||||
for fan in self.fans:
|
for fan in self.fans:
|
||||||
with contextlib.suppress(KeyError):
|
self.fans[fan]['speed'] = f"{self._printer.get_fan_speed(fan) * 100:3.0f}%"
|
||||||
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']}"
|
||||||
fan_label += f" {self.fans[fan]['name']}{self.fans[fan]['speed']}"
|
|
||||||
if fan_label:
|
if fan_label:
|
||||||
self.buttons['fan'].set_label(fan_label[:12])
|
self.buttons['fan'].set_label(fan_label[:12])
|
||||||
|
if "print_stats" in data:
|
||||||
self.state_check()
|
with suppress(KeyError):
|
||||||
if self.state not in ["printing", "paused"]:
|
self.set_state(
|
||||||
return
|
data["print_stats"]["state"],
|
||||||
|
msg=f'{data["print_stats"]["message"] if "message" in data["print_stats"] else ""}'
|
||||||
ps = self._printer.get_stat("print_stats")
|
)
|
||||||
if 'filename' in ps and (ps['filename'] != self.filename):
|
with suppress(KeyError):
|
||||||
logging.debug(f"Changing filename: '{self.filename}' to '{ps['filename']}'")
|
self.update_filename(data['print_stats']["filename"])
|
||||||
self.update_filename()
|
with suppress(KeyError):
|
||||||
else:
|
if 'print_duration' in data["print_stats"]:
|
||||||
self.update_percent_complete()
|
if 'filament_used' in data["print_stats"]:
|
||||||
if 'info' in ps and 'total_layer' in ps['info'] and ps['info']['total_layer'] is not None:
|
self.labels['filament_used'].set_label(
|
||||||
self.labels['total_layers'].set_label(f"{ps['info']['total_layer']}")
|
f"{float(data['print_stats']['filament_used']) / 1000:.1f} m"
|
||||||
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()}")
|
if 'info' in data["print_stats"]:
|
||||||
elif "layer_height" in self.file_metadata and "object_height" in self.file_metadata:
|
with suppress(KeyError):
|
||||||
self.labels['layer'].set_label(
|
if data["print_stats"]['info']['total_layer'] is not None:
|
||||||
f"{1 + round((self.pos_z - self.f_layer_h) / self.layer_h)} / {self.labels['total_layers'].get_text()}")
|
self.labels['total_layers'].set_label(f"{data['print_stats']['info']['total_layer']}")
|
||||||
|
with suppress(KeyError):
|
||||||
if 'print_duration' in ps:
|
if data["print_stats"]['info']['current_layer'] is not None:
|
||||||
if 'filament_used' in ps:
|
self.labels['layer'].set_label(
|
||||||
self.labels['filament_used'].set_label(f"{float(ps['filament_used']) / 1000:.1f} m")
|
f"{data['print_stats']['info']['current_layer']} / "
|
||||||
self.update_time_left(ps['total_duration'], ps['print_duration'], ps['filament_used'])
|
f"{self.labels['total_layers'].get_text()}"
|
||||||
else:
|
)
|
||||||
self.update_time_left(ps['total_duration'], ps['print_duration'])
|
elif "layer_height" in self.file_metadata and "object_height" in self.file_metadata:
|
||||||
|
self.labels['layer'].set_label(
|
||||||
elapsed_label = f"{self.labels['elapsed'].get_text()} {self.labels['duration'].get_text()}"
|
f"{1 + round((self.pos_z - self.f_layer_h) / self.layer_h)} / "
|
||||||
self.buttons['elapsed'].set_label(elapsed_label)
|
f"{self.labels['total_layers'].get_text()}"
|
||||||
remaining_label = f"{self.labels['left'].get_text()} {self.labels['time_left'].get_text()}"
|
)
|
||||||
self.buttons['left'].set_label(remaining_label)
|
if self.state in ["printing"]:
|
||||||
|
self.update_time_left()
|
||||||
|
|
||||||
def update_flow(self):
|
def update_flow(self):
|
||||||
if not self.flowstore:
|
if not self.flowstore:
|
||||||
@@ -632,26 +629,34 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
self.buttons['extrusion'].set_label(f"{self.extrusion:3}% {self.flowrate:5.1f} {self.mms3}")
|
self.buttons['extrusion'].set_label(f"{self.extrusion:3}% {self.flowrate:5.1f} {self.mms3}")
|
||||||
return True
|
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 not print_duration: # 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))
|
self.labels["duration"].set_label(self.format_time(total_duration))
|
||||||
|
elapsed_label = f"{self.labels['elapsed'].get_text()} {self.labels['duration'].get_text()}"
|
||||||
|
self.buttons['elapsed'].set_label(elapsed_label)
|
||||||
non_printing = total_duration - print_duration
|
non_printing = total_duration - print_duration
|
||||||
estimated = None
|
estimated = None
|
||||||
slicer_time = filament_time = file_time = None
|
slicer_time = filament_time = file_time = None
|
||||||
timeleft_type = self._config.get_config()['main'].get('print_estimate_method', 'auto')
|
timeleft_type = self._config.get_config()['main'].get('print_estimate_method', 'auto')
|
||||||
|
|
||||||
with contextlib.suppress(KeyError):
|
with suppress(KeyError):
|
||||||
if self.file_metadata['estimated_time'] > 0:
|
if self.file_metadata['estimated_time'] > 0:
|
||||||
# speed_factor compensation based on empirical testing
|
# speed_factor compensation based on empirical testing
|
||||||
spdcomp = sqrt(self.speed_factor)
|
spdcomp = sqrt(self.speed_factor)
|
||||||
slicer_time = ((self.file_metadata['estimated_time']) / spdcomp) + non_printing
|
slicer_time = ((self.file_metadata['estimated_time']) / spdcomp) + non_printing
|
||||||
self.labels["slicer_time"].set_label(self.format_time(slicer_time))
|
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:
|
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'])) + non_printing
|
||||||
self.labels["filament_time"].set_label(self.format_time(filament_time))
|
self.labels["filament_time"].set_label(self.format_time(filament_time))
|
||||||
with contextlib.suppress(ZeroDivisionError):
|
with suppress(ZeroDivisionError):
|
||||||
file_time = (total_duration / self.progress) + non_printing
|
file_time = (print_duration / progress) + non_printing
|
||||||
self.labels["file_time"].set_label(self.format_time(file_time))
|
self.labels["file_time"].set_label(self.format_time(file_time))
|
||||||
|
|
||||||
if timeleft_type == "file":
|
if timeleft_type == "file":
|
||||||
@@ -661,71 +666,58 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
elif slicer_time is not None:
|
elif slicer_time is not None:
|
||||||
if timeleft_type == "slicer":
|
if timeleft_type == "slicer":
|
||||||
estimated = slicer_time
|
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)
|
# Weighted arithmetic mean (Slicer is the most accurate)
|
||||||
estimated = (slicer_time * 3 + filament_time + file_time) / 5
|
estimated = (slicer_time * 3 + filament_time + file_time) / 5
|
||||||
else:
|
else:
|
||||||
# At the begining file and filament are innacurate
|
# At the begining file and filament are innacurate
|
||||||
estimated = slicer_time
|
estimated = slicer_time
|
||||||
elif file_time is not None:
|
if (estimated is None or estimated < 1) and file_time is not None:
|
||||||
if filament_time is not None:
|
if filament_time is not None and filament_time > 1:
|
||||||
estimated = (filament_time + file_time) / 2
|
estimated = (filament_time + file_time) / 2
|
||||||
else:
|
estimated = file_time
|
||||||
estimated = file_time
|
|
||||||
self.labels["est_time"].set_label(self.format_time(estimated))
|
self.labels["est_time"].set_label(self.format_time(estimated))
|
||||||
self.labels["time_left"].set_label(self.format_eta(estimated, total_duration))
|
self.labels["time_left"].set_label(self.format_eta(estimated, total_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(total_duration / estimated, 0), 1))
|
||||||
|
|
||||||
def state_check(self):
|
def update_progress(self, progress: float):
|
||||||
ps = self._printer.get_stat("print_stats")
|
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:
|
def set_state(self, state, msg=""):
|
||||||
return True
|
if state == "printing":
|
||||||
|
self.labels["status"].set_label(_("Printing"))
|
||||||
if ps['state'] == "printing":
|
elif state == "complete":
|
||||||
if self.state == "cancelling":
|
self.update_progress(1)
|
||||||
return True
|
self.labels["status"].set_label(_("Complete"))
|
||||||
self.set_state("printing")
|
self.buttons['left'].set_label("-")
|
||||||
self.update_filename()
|
self._add_timeout(self._config.get_main_config().getint("job_complete_timeout", 0))
|
||||||
elif ps['state'] == "complete":
|
elif state == "error":
|
||||||
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")
|
|
||||||
self.labels['status'].set_label(_("Error"))
|
self.labels['status'].set_label(_("Error"))
|
||||||
self._screen.show_popup_message(ps['message'])
|
self._screen.show_popup_message(msg)
|
||||||
return self._add_timeout(self._config.get_main_config().getint("job_error_timeout", 0))
|
self._add_timeout(self._config.get_main_config().getint("job_error_timeout", 0))
|
||||||
elif ps['state'] == "cancelled":
|
elif state == "cancelling":
|
||||||
self.set_state("cancelled")
|
self.labels["status"].set_label(_("Cancelling"))
|
||||||
return self._add_timeout(self._config.get_main_config().getint("job_cancelled_timeout", 0))
|
elif state == "cancelled" or (state == "standby" and self.state == "cancelled"):
|
||||||
elif ps['state'] == "paused":
|
self.labels["status"].set_label(_("Cancelled"))
|
||||||
self.set_state("paused")
|
self._add_timeout(self._config.get_main_config().getint("job_cancelled_timeout", 0))
|
||||||
elif ps['state'] == "standby":
|
elif state == "paused":
|
||||||
self.set_state("standby")
|
self.labels["status"].set_label(_("Paused"))
|
||||||
return True
|
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):
|
def _add_timeout(self, timeout):
|
||||||
self._screen.close_screensaver()
|
self._screen.close_screensaver()
|
||||||
if timeout != 0:
|
if timeout != 0:
|
||||||
GLib.timeout_add_seconds(timeout, self.close_panel)
|
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):
|
def show_buttons_for_state(self):
|
||||||
self.buttons['button_grid'].remove_row(0)
|
self.buttons['button_grid'].remove_row(0)
|
||||||
self.buttons['button_grid'].insert_row(0)
|
self.buttons['button_grid'].insert_row(0)
|
||||||
@@ -747,21 +739,26 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
offset = self._printer.get_stat("gcode_move", "homing_origin")
|
offset = self._printer.get_stat("gcode_move", "homing_origin")
|
||||||
self.zoffset = float(offset[2]) if offset else 0
|
self.zoffset = float(offset[2]) if offset else 0
|
||||||
if self.zoffset != 0:
|
if self.zoffset != 0:
|
||||||
endstop = (self._printer.config_section_exists("stepper_z") and
|
endstop = (
|
||||||
not self._printer.get_config_section("stepper_z")['endstop_pin'].startswith("probe"))
|
(
|
||||||
|
self._printer.config_section_exists("stepper_z")
|
||||||
|
and not self._printer.get_config_section("stepper_z")['endstop_pin'].startswith("probe")
|
||||||
|
)
|
||||||
|
or "delta" in self._printer.get_config_section("printer")['kinematics']
|
||||||
|
)
|
||||||
if endstop:
|
if endstop:
|
||||||
self.buttons['button_grid'].attach(self.buttons["save_offset_endstop"], 0, 0, 1, 1)
|
self.buttons['button_grid'].attach(self.buttons["save_offset_endstop"], 0, 0, 1, 1)
|
||||||
else:
|
else:
|
||||||
self.buttons['button_grid'].attach(Gtk.Label(""), 0, 0, 1, 1)
|
self.buttons['button_grid'].attach(Gtk.Label(), 0, 0, 1, 1)
|
||||||
if self._printer.get_probe():
|
if self._printer.get_probe():
|
||||||
self.buttons['button_grid'].attach(self.buttons["save_offset_probe"], 1, 0, 1, 1)
|
self.buttons['button_grid'].attach(self.buttons["save_offset_probe"], 1, 0, 1, 1)
|
||||||
else:
|
else:
|
||||||
self.buttons['button_grid'].attach(Gtk.Label(""), 1, 0, 1, 1)
|
self.buttons['button_grid'].attach(Gtk.Label(), 1, 0, 1, 1)
|
||||||
else:
|
else:
|
||||||
self.buttons['button_grid'].attach(Gtk.Label(""), 0, 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)
|
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.buttons['button_grid'].attach(self.buttons['restart'], 2, 0, 1, 1)
|
||||||
self.enable_button("restart")
|
self.enable_button("restart")
|
||||||
else:
|
else:
|
||||||
@@ -785,8 +782,10 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
pixbuf = self._gtk.PixbufFromIcon("file", width / 2, height / 2)
|
pixbuf = self._gtk.PixbufFromIcon("file", width / 2, height / 2)
|
||||||
self.labels['thumbnail'].set_from_pixbuf(pixbuf)
|
self.labels['thumbnail'].set_from_pixbuf(pixbuf)
|
||||||
|
|
||||||
def update_filename(self):
|
def update_filename(self, filename):
|
||||||
self.filename = self._printer.get_stat('print_stats', 'filename')
|
if not filename:
|
||||||
|
return
|
||||||
|
self.filename = filename
|
||||||
self.labels["file"].set_label(os.path.splitext(self.filename)[0])
|
self.labels["file"].set_label(os.path.splitext(self.filename)[0])
|
||||||
self.filename_label = {
|
self.filename_label = {
|
||||||
"complete": self.labels['file'].get_label(),
|
"complete": self.labels['file'].get_label(),
|
||||||
@@ -797,7 +796,6 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
}
|
}
|
||||||
if self.animation_timeout is None and (self.filename_label['length'] - self.filename_label['limit']) > 0:
|
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.animation_timeout = GLib.timeout_add_seconds(1, self.animate_label)
|
||||||
self.update_percent_complete()
|
|
||||||
self.update_file_metadata()
|
self.update_file_metadata()
|
||||||
|
|
||||||
def animate_label(self):
|
def animate_label(self):
|
||||||
@@ -833,28 +831,3 @@ class JobStatusPanel(ScreenPanel):
|
|||||||
logging.debug("Cannot find file metadata. Listening for updated metadata")
|
logging.debug("Cannot find file metadata. Listening for updated metadata")
|
||||||
self._screen.files.add_file_callback(self._callback_metadata)
|
self._screen.files.add_file_callback(self._callback_metadata)
|
||||||
self.show_file_thumbnail()
|
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 logging
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return LimitsPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class LimitsPanel(ScreenPanel):
|
|
||||||
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
|
|||||||
+9
-12
@@ -1,20 +1,14 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, GLib
|
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.heatergraph import HeaterGraph
|
||||||
from ks_includes.widgets.keypad import Keypad
|
from ks_includes.widgets.keypad import Keypad
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args, **kwargs):
|
class Panel(MenuPanel):
|
||||||
return MainPanel(*args, **kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
class MainPanel(MenuPanel):
|
|
||||||
def __init__(self, screen, title, items=None):
|
def __init__(self, screen, title, items=None):
|
||||||
super().__init__(screen, title, items)
|
super().__init__(screen, title, items)
|
||||||
self.graph_retry_timeout = None
|
self.graph_retry_timeout = None
|
||||||
@@ -27,6 +21,7 @@ class MainPanel(MenuPanel):
|
|||||||
self.main_menu.set_hexpand(True)
|
self.main_menu.set_hexpand(True)
|
||||||
self.main_menu.set_vexpand(True)
|
self.main_menu.set_vexpand(True)
|
||||||
self.graph_retry = 0
|
self.graph_retry = 0
|
||||||
|
scroll = self._gtk.ScrolledWindow()
|
||||||
|
|
||||||
logging.info("### Making MainMenu")
|
logging.info("### Making MainMenu")
|
||||||
|
|
||||||
@@ -36,10 +31,12 @@ class MainPanel(MenuPanel):
|
|||||||
self.main_menu.attach(self.create_left_panel(), 0, 0, 1, 1)
|
self.main_menu.attach(self.create_left_panel(), 0, 0, 1, 1)
|
||||||
if self._screen.vertical_mode:
|
if self._screen.vertical_mode:
|
||||||
self.labels['menu'] = self.arrangeMenuItems(items, 3, True)
|
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:
|
else:
|
||||||
self.labels['menu'] = self.arrangeMenuItems(items, 2, True)
|
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)
|
self.content.add(self.main_menu)
|
||||||
|
|
||||||
def update_graph_visibility(self):
|
def update_graph_visibility(self):
|
||||||
@@ -148,7 +145,7 @@ class MainPanel(MenuPanel):
|
|||||||
if can_target:
|
if can_target:
|
||||||
self.labels['da'].add_object(device, "targets", rgb, True, False)
|
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.connect("clicked", self.toggle_visibility, device)
|
||||||
name.set_alignment(0, .5)
|
name.set_alignment(0, .5)
|
||||||
visible = self._config.get_config().getboolean(f"graph {self._screen.connected_printer}", device, fallback=True)
|
visible = self._config.get_config().getboolean(f"graph {self._screen.connected_printer}", device, fallback=True)
|
||||||
@@ -236,7 +233,7 @@ class MainPanel(MenuPanel):
|
|||||||
self.labels['devices'].get_style_context().add_class('heater-grid')
|
self.labels['devices'].get_style_context().add_class('heater-grid')
|
||||||
self.labels['devices'].set_vexpand(False)
|
self.labels['devices'].set_vexpand(False)
|
||||||
|
|
||||||
name = Gtk.Label(label="")
|
name = Gtk.Label()
|
||||||
temp = Gtk.Label(_("Temp (°C)"))
|
temp = Gtk.Label(_("Temp (°C)"))
|
||||||
temp.get_style_context().add_class("heater-grid-temp")
|
temp.get_style_context().add_class("heater-grid-temp")
|
||||||
|
|
||||||
|
|||||||
+3
-10
@@ -1,21 +1,14 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import gi
|
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
from jinja2 import Template
|
from jinja2 import Template
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args, **kwargs):
|
class Panel(ScreenPanel):
|
||||||
return MenuPanel(*args, **kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
class MenuPanel(ScreenPanel):
|
|
||||||
j2_data = None
|
j2_data = None
|
||||||
|
|
||||||
def __init__(self, screen, title, items=None):
|
def __init__(self, screen, title, items=None):
|
||||||
@@ -86,7 +79,7 @@ class MenuPanel(ScreenPanel):
|
|||||||
|
|
||||||
if item['panel'] is not None:
|
if item['panel'] is not None:
|
||||||
panel = self._screen.env.from_string(item['panel']).render(printer)
|
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:
|
elif item['method'] is not None:
|
||||||
params = {}
|
params = {}
|
||||||
|
|
||||||
|
|||||||
+5
-8
@@ -1,19 +1,13 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return MovePanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class MovePanel(ScreenPanel):
|
|
||||||
distances = ['.1', '.5', '1', '5', '10', '25', '50']
|
distances = ['.1', '.5', '1', '5', '10', '25', '50']
|
||||||
distance = distances[-2]
|
distance = distances[-2]
|
||||||
|
|
||||||
@@ -114,6 +108,9 @@ class MovePanel(ScreenPanel):
|
|||||||
printer_cfg = self._printer.get_config_section("printer")
|
printer_cfg = self._printer.get_config_section("printer")
|
||||||
# The max_velocity parameter is not optional in klipper config.
|
# The max_velocity parameter is not optional in klipper config.
|
||||||
max_velocity = int(float(printer_cfg["max_velocity"]))
|
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:
|
if "max_z_velocity" in printer_cfg:
|
||||||
max_z_velocity = int(float(printer_cfg["max_z_velocity"]))
|
max_z_velocity = int(float(printer_cfg["max_z_velocity"]))
|
||||||
else:
|
else:
|
||||||
@@ -258,4 +255,4 @@ class MovePanel(ScreenPanel):
|
|||||||
name = "homing"
|
name = "homing"
|
||||||
disname = self._screen._config.get_menu_name("move", name)
|
disname = self._screen._config.get_menu_name("move", name)
|
||||||
menuitems = self._screen._config.get_menu_items("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 logging
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
import netifaces
|
import netifaces
|
||||||
|
|
||||||
@@ -9,11 +8,7 @@ from gi.repository import Gtk, Gdk, GLib, Pango
|
|||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return NetworkPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class NetworkPanel(ScreenPanel):
|
|
||||||
initialized = False
|
initialized = False
|
||||||
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
@@ -96,7 +91,7 @@ class NetworkPanel(ScreenPanel):
|
|||||||
if self.update_timeout is None:
|
if self.update_timeout is None:
|
||||||
self.update_timeout = GLib.timeout_add_seconds(5, self.update_all_networks)
|
self.update_timeout = GLib.timeout_add_seconds(5, self.update_all_networks)
|
||||||
else:
|
else:
|
||||||
self.labels['networkinfo'] = Gtk.Label("")
|
self.labels['networkinfo'] = Gtk.Label()
|
||||||
self.labels['networkinfo'].get_style_context().add_class('temperature_entry')
|
self.labels['networkinfo'].get_style_context().add_class('temperature_entry')
|
||||||
box.pack_start(self.labels['networkinfo'], False, False, 0)
|
box.pack_start(self.labels['networkinfo'], False, False, 0)
|
||||||
self.update_single_network_info()
|
self.update_single_network_info()
|
||||||
@@ -144,7 +139,7 @@ class NetworkPanel(ScreenPanel):
|
|||||||
if connected_ssid == ssid:
|
if connected_ssid == ssid:
|
||||||
display_name += " (" + _("Connected") + ")"
|
display_name += " (" + _("Connected") + ")"
|
||||||
|
|
||||||
name = Gtk.Label("")
|
name = Gtk.Label()
|
||||||
name.set_markup(f"<big><b>{display_name}</b></big>")
|
name.set_markup(f"<big><b>{display_name}</b></big>")
|
||||||
name.set_hexpand(True)
|
name.set_hexpand(True)
|
||||||
name.set_halign(Gtk.Align.START)
|
name.set_halign(Gtk.Align.START)
|
||||||
|
|||||||
+1
-7
@@ -1,18 +1,12 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, GLib, Pango
|
from gi.repository import Gtk, GLib, Pango
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return OutputPinPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class OutputPinPanel(ScreenPanel):
|
|
||||||
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
|
|||||||
+1
-7
@@ -1,18 +1,12 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return PowerPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class PowerPanel(ScreenPanel):
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self.devices = {}
|
self.devices = {}
|
||||||
|
|||||||
+1
-7
@@ -1,21 +1,15 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, GLib, Pango
|
from gi.repository import Gtk, GLib, Pango
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return PrintPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class PrintPanel(ScreenPanel):
|
|
||||||
cur_directory = "gcodes"
|
cur_directory = "gcodes"
|
||||||
dir_panels = {}
|
dir_panels = {}
|
||||||
filelist = {'gcodes': {'directories': [], 'files': []}}
|
filelist = {'gcodes': {'directories': [], 'files': []}}
|
||||||
|
|||||||
@@ -5,11 +5,7 @@ from gi.repository import Gtk, GLib
|
|||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return PrinterSelect(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class PrinterSelect(ScreenPanel):
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
printers = self._config.get_printers()
|
printers = self._config.get_printers()
|
||||||
|
|||||||
@@ -1,19 +1,13 @@
|
|||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return FWRetractionPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class FWRetractionPanel(ScreenPanel):
|
|
||||||
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
|
|||||||
+1
-6
@@ -2,15 +2,10 @@ import gi
|
|||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return SettingsPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class SettingsPanel(ScreenPanel):
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self.printers = self.settings = self.langs = {}
|
self.printers = self.settings = self.langs = {}
|
||||||
|
|||||||
@@ -1,19 +1,13 @@
|
|||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango
|
from gi.repository import Gtk, Pango
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
class Panel(ScreenPanel):
|
||||||
return SplashScreenPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class SplashScreenPanel(ScreenPanel):
|
|
||||||
|
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
|
|||||||
+2
-8
@@ -1,18 +1,12 @@
|
|||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, Pango, GLib
|
from gi.repository import Gtk, Pango, GLib
|
||||||
|
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args):
|
|
||||||
return SystemPanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
# Same as ALLOWED_SERVICES in moonraker
|
# Same as ALLOWED_SERVICES in moonraker
|
||||||
# https://github.com/Arksine/moonraker/blob/master/moonraker/components/machine.py
|
# https://github.com/Arksine/moonraker/blob/master/moonraker/components/machine.py
|
||||||
ALLOWED_SERVICES = (
|
ALLOWED_SERVICES = (
|
||||||
@@ -27,7 +21,7 @@ ALLOWED_SERVICES = (
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class SystemPanel(ScreenPanel):
|
class Panel(ScreenPanel):
|
||||||
def __init__(self, screen, title):
|
def __init__(self, screen, title):
|
||||||
super().__init__(screen, title)
|
super().__init__(screen, title)
|
||||||
self.refresh = None
|
self.refresh = None
|
||||||
@@ -65,7 +59,7 @@ class SystemPanel(ScreenPanel):
|
|||||||
items = sorted(list(vi))
|
items = sorted(list(vi))
|
||||||
i = 0
|
i = 0
|
||||||
for prog in items:
|
for prog in items:
|
||||||
self.labels[prog] = Gtk.Label("")
|
self.labels[prog] = Gtk.Label()
|
||||||
self.labels[prog].set_hexpand(True)
|
self.labels[prog].set_hexpand(True)
|
||||||
self.labels[prog].set_halign(Gtk.Align.START)
|
self.labels[prog].set_halign(Gtk.Align.START)
|
||||||
|
|
||||||
|
|||||||
+9
-15
@@ -1,21 +1,15 @@
|
|||||||
import logging
|
import logging
|
||||||
import contextlib
|
|
||||||
|
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk, GLib
|
from gi.repository import Gtk, GLib
|
||||||
|
from contextlib import suppress
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
from ks_includes.widgets.heatergraph import HeaterGraph
|
from ks_includes.widgets.heatergraph import HeaterGraph
|
||||||
from ks_includes.widgets.keypad import Keypad
|
from ks_includes.widgets.keypad import Keypad
|
||||||
|
|
||||||
|
|
||||||
def create_panel(*args, **kwargs):
|
class Panel(ScreenPanel):
|
||||||
return TemperaturePanel(*args, **kwargs)
|
|
||||||
|
|
||||||
|
|
||||||
class TemperaturePanel(ScreenPanel):
|
|
||||||
graph_update = None
|
graph_update = None
|
||||||
active_heater = None
|
active_heater = None
|
||||||
|
|
||||||
@@ -230,7 +224,7 @@ class TemperaturePanel(ScreenPanel):
|
|||||||
target = None
|
target = None
|
||||||
max_temp = float(self._printer.get_config_section(heater)['max_temp'])
|
max_temp = float(self._printer.get_config_section(heater)['max_temp'])
|
||||||
name = heater.split()[1] if len(heater.split()) > 1 else heater
|
name = heater.split()[1] if len(heater.split()) > 1 else heater
|
||||||
with contextlib.suppress(KeyError):
|
with suppress(KeyError):
|
||||||
for i in self.preheat_options[setting]:
|
for i in self.preheat_options[setting]:
|
||||||
logging.info(f"{self.preheat_options[setting]}")
|
logging.info(f"{self.preheat_options[setting]}")
|
||||||
if i == name:
|
if i == name:
|
||||||
@@ -247,19 +241,19 @@ class TemperaturePanel(ScreenPanel):
|
|||||||
self._screen._ws.klippy.set_tool_temp(self._printer.get_tool_number(heater), target)
|
self._screen._ws.klippy.set_tool_temp(self._printer.get_tool_number(heater), target)
|
||||||
elif heater.startswith('heater_bed'):
|
elif heater.startswith('heater_bed'):
|
||||||
if target is None:
|
if target is None:
|
||||||
with contextlib.suppress(KeyError):
|
with suppress(KeyError):
|
||||||
target = self.preheat_options[setting]["bed"]
|
target = self.preheat_options[setting]["bed"]
|
||||||
if self.validate(heater, target, max_temp):
|
if self.validate(heater, target, max_temp):
|
||||||
self._screen._ws.klippy.set_bed_temp(target)
|
self._screen._ws.klippy.set_bed_temp(target)
|
||||||
elif heater.startswith('heater_generic '):
|
elif heater.startswith('heater_generic '):
|
||||||
if target is None:
|
if target is None:
|
||||||
with contextlib.suppress(KeyError):
|
with suppress(KeyError):
|
||||||
target = self.preheat_options[setting]["heater_generic"]
|
target = self.preheat_options[setting]["heater_generic"]
|
||||||
if self.validate(heater, target, max_temp):
|
if self.validate(heater, target, max_temp):
|
||||||
self._screen._ws.klippy.set_heater_temp(name, target)
|
self._screen._ws.klippy.set_heater_temp(name, target)
|
||||||
elif heater.startswith('temperature_fan '):
|
elif heater.startswith('temperature_fan '):
|
||||||
if target is None:
|
if target is None:
|
||||||
with contextlib.suppress(KeyError):
|
with suppress(KeyError):
|
||||||
target = self.preheat_options[setting]["temperature_fan"]
|
target = self.preheat_options[setting]["temperature_fan"]
|
||||||
if self.validate(heater, target, max_temp):
|
if self.validate(heater, target, max_temp):
|
||||||
self._screen._ws.klippy.set_temp_fan_temp(name, target)
|
self._screen._ws.klippy.set_temp_fan_temp(name, target)
|
||||||
@@ -279,7 +273,7 @@ class TemperaturePanel(ScreenPanel):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def preheat_gcode(self, setting):
|
def preheat_gcode(self, setting):
|
||||||
with contextlib.suppress(KeyError):
|
with suppress(KeyError):
|
||||||
self._screen._ws.klippy.gcode_script(self.preheat_options[setting]['gcode'])
|
self._screen._ws.klippy.gcode_script(self.preheat_options[setting]['gcode'])
|
||||||
return False
|
return False
|
||||||
|
|
||||||
@@ -328,7 +322,7 @@ class TemperaturePanel(ScreenPanel):
|
|||||||
|
|
||||||
rgb = self._gtk.get_temp_color(dev_type)
|
rgb = self._gtk.get_temp_color(dev_type)
|
||||||
|
|
||||||
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.set_alignment(0, .5)
|
name.set_alignment(0, .5)
|
||||||
visible = self._config.get_config().getboolean(f"graph {self._screen.connected_printer}", device, fallback=True)
|
visible = self._config.get_config().getboolean(f"graph {self._screen.connected_printer}", device, fallback=True)
|
||||||
if visible:
|
if visible:
|
||||||
@@ -443,7 +437,7 @@ class TemperaturePanel(ScreenPanel):
|
|||||||
self.labels['devices'].get_style_context().add_class('heater-grid')
|
self.labels['devices'].get_style_context().add_class('heater-grid')
|
||||||
self.labels['devices'].set_vexpand(False)
|
self.labels['devices'].set_vexpand(False)
|
||||||
|
|
||||||
name = Gtk.Label("")
|
name = Gtk.Label()
|
||||||
temp = Gtk.Label(_("Temp (°C)"))
|
temp = Gtk.Label(_("Temp (°C)"))
|
||||||
temp.get_style_context().add_class("heater-grid-temp")
|
temp.get_style_context().add_class("heater-grid-temp")
|
||||||
|
|
||||||
|
|||||||
+4
-10
@@ -1,19 +1,13 @@
|
|||||||
|
import logging
|
||||||
import gi
|
import gi
|
||||||
|
|
||||||
gi.require_version("Gtk", "3.0")
|
gi.require_version("Gtk", "3.0")
|
||||||
from gi.repository import Gtk
|
from gi.repository import Gtk
|
||||||
|
|
||||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||||
from ks_includes.screen_panel import ScreenPanel
|
from ks_includes.screen_panel import ScreenPanel
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
|
class Panel(ScreenPanel):
|
||||||
def create_panel(*args):
|
|
||||||
return ZCalibratePanel(*args)
|
|
||||||
|
|
||||||
|
|
||||||
class ZCalibratePanel(ScreenPanel):
|
|
||||||
widgets = {}
|
widgets = {}
|
||||||
distances = ['.01', '.05', '.1', '.5', '1', '5']
|
distances = ['.01', '.05', '.1', '.5', '1', '5']
|
||||||
distance = distances[-2]
|
distance = distances[-2]
|
||||||
@@ -25,12 +19,12 @@ class ZCalibratePanel(ScreenPanel):
|
|||||||
if self.probe:
|
if self.probe:
|
||||||
self.z_offset = float(self.probe['z_offset'])
|
self.z_offset = float(self.probe['z_offset'])
|
||||||
logging.info(f"Z offset: {self.z_offset}")
|
logging.info(f"Z offset: {self.z_offset}")
|
||||||
self.widgets['zposition'] = Gtk.Label("Z: ?")
|
self.widgets['zposition'] = Gtk.Label(label="Z: ?")
|
||||||
|
|
||||||
pos = self._gtk.HomogeneousGrid()
|
pos = self._gtk.HomogeneousGrid()
|
||||||
pos.attach(self.widgets['zposition'], 0, 1, 2, 1)
|
pos.attach(self.widgets['zposition'], 0, 1, 2, 1)
|
||||||
if self.z_offset is not None:
|
if self.z_offset is not None:
|
||||||
self.widgets['zoffset'] = Gtk.Label("?")
|
self.widgets['zoffset'] = Gtk.Label(label="?")
|
||||||
pos.attach(Gtk.Label(_("Probe Offset") + ": "), 0, 2, 2, 1)
|
pos.attach(Gtk.Label(_("Probe Offset") + ": "), 0, 2, 2, 1)
|
||||||
pos.attach(Gtk.Label(_("Saved")), 0, 3, 1, 1)
|
pos.attach(Gtk.Label(_("Saved")), 0, 3, 1, 1)
|
||||||
pos.attach(Gtk.Label(_("New")), 1, 3, 1, 1)
|
pos.attach(Gtk.Label(_("New")), 1, 3, 1, 1)
|
||||||
|
|||||||
@@ -80,12 +80,10 @@ class KlipperScreen(Gtk.Window):
|
|||||||
connected_printer = None
|
connected_printer = None
|
||||||
files = None
|
files = None
|
||||||
keyboard = None
|
keyboard = None
|
||||||
load_panel = {}
|
|
||||||
panels = {}
|
panels = {}
|
||||||
popup_message = None
|
popup_message = None
|
||||||
screensaver = None
|
screensaver = None
|
||||||
printers = printer = None
|
printers = printer = None
|
||||||
subscriptions = []
|
|
||||||
updating = False
|
updating = False
|
||||||
_ws = None
|
_ws = None
|
||||||
screensaver_timeout = None
|
screensaver_timeout = None
|
||||||
@@ -106,7 +104,6 @@ class KlipperScreen(Gtk.Window):
|
|||||||
self.version = version
|
self.version = version
|
||||||
self.dialogs = []
|
self.dialogs = []
|
||||||
self.confirm = None
|
self.confirm = None
|
||||||
self.panels_reinit = []
|
|
||||||
|
|
||||||
configfile = os.path.normpath(os.path.expanduser(args.configfile))
|
configfile = os.path.normpath(os.path.expanduser(args.configfile))
|
||||||
|
|
||||||
@@ -259,65 +256,43 @@ class KlipperScreen(Gtk.Window):
|
|||||||
|
|
||||||
self._ws.klippy.object_subscription(requested_updates)
|
self._ws.klippy.object_subscription(requested_updates)
|
||||||
|
|
||||||
def _load_panel(self, panel, *args, **kwargs):
|
@staticmethod
|
||||||
if panel not in self.load_panel:
|
def _load_panel(panel):
|
||||||
logging.debug(f"Loading panel: {panel}")
|
logging.debug(f"Loading panel: {panel}")
|
||||||
panel_path = os.path.join(os.path.dirname(__file__), 'panels', f"{panel}.py")
|
panel_path = os.path.join(os.path.dirname(__file__), 'panels', f"{panel}.py")
|
||||||
logging.info(f"Panel path: {panel_path}")
|
if not os.path.exists(panel_path):
|
||||||
if not os.path.exists(panel_path):
|
logging.error(f"Panel {panel} does not exist")
|
||||||
logging.error(f"Panel {panel} does not exist")
|
raise FileNotFoundError(os.strerror(2), "\n" + panel_path)
|
||||||
raise FileNotFoundError(os.strerror(2), "\n" + panel_path)
|
return import_module(f"panels.{panel}")
|
||||||
|
|
||||||
module = import_module(f"panels.{panel}")
|
|
||||||
if not hasattr(module, "create_panel"):
|
|
||||||
raise ImportError(f"Cannot locate create_panel function for {panel}")
|
|
||||||
self.load_panel[panel] = getattr(module, "create_panel")
|
|
||||||
|
|
||||||
|
def show_panel(self, panel, title, remove_all=False, **kwargs):
|
||||||
try:
|
try:
|
||||||
return self.load_panel[panel](*args, **kwargs)
|
if remove_all:
|
||||||
except Exception as e:
|
|
||||||
logging.exception(e)
|
|
||||||
raise RuntimeError(f"Unable to create panel: {panel}\n{e}") from e
|
|
||||||
|
|
||||||
def show_panel(self, panel_name, panel_type, title, remove=None, pop=True, **kwargs):
|
|
||||||
try:
|
|
||||||
if remove == 2:
|
|
||||||
self._remove_all_panels()
|
self._remove_all_panels()
|
||||||
self.panels_reinit = list(self.panels)
|
else:
|
||||||
elif remove == 1:
|
self._remove_current_panel()
|
||||||
self._remove_current_panel(pop)
|
if panel not in self.panels:
|
||||||
if panel_name not in self.panels:
|
|
||||||
try:
|
try:
|
||||||
self.panels[panel_name] = self._load_panel(panel_type, self, title, **kwargs)
|
self.panels[panel] = self._load_panel(panel).Panel(self, title, **kwargs)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
self.show_error_modal(f"Unable to load panel {panel}", f"{e}")
|
||||||
if panel_name in self.panels:
|
|
||||||
del self.panels[panel_name]
|
|
||||||
self.show_error_modal(f"Unable to load panel {panel_type}", f"{e}")
|
|
||||||
return
|
return
|
||||||
elif 'extra' in kwargs:
|
else:
|
||||||
logging.info(f"extra: {kwargs['extra']}")
|
self.panels[panel].__init__(self, title, **kwargs)
|
||||||
self.panels[panel_name].__init__(self, title, **kwargs)
|
self._cur_panels.append(panel)
|
||||||
|
self.attach_panel(panel)
|
||||||
self._cur_panels.append(panel_name)
|
|
||||||
if panel_name in self.panels_reinit:
|
|
||||||
logging.info("Reinitializing panel")
|
|
||||||
self.panels[panel_name].__init__(self, title, **kwargs)
|
|
||||||
self.panels_reinit.remove(panel_name)
|
|
||||||
self.attach_panel(panel_name)
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.exception(f"Error attaching panel:\n{e}")
|
logging.exception(f"Error attaching panel:\n{e}")
|
||||||
|
|
||||||
def attach_panel(self, panel_name):
|
def attach_panel(self, panel):
|
||||||
self.base_panel.add_content(self.panels[panel_name])
|
self.base_panel.add_content(self.panels[panel])
|
||||||
logging.debug(f"Current panel hierarchy: {' > '.join(self._cur_panels)}")
|
logging.debug(f"Current panel hierarchy: {' > '.join(self._cur_panels)}")
|
||||||
self.base_panel.show_back(len(self._cur_panels) > 1)
|
self.base_panel.show_back(len(self._cur_panels) > 1)
|
||||||
if hasattr(self.panels[panel_name], "process_update"):
|
if hasattr(self.panels[panel], "process_update"):
|
||||||
self.add_subscription(panel_name)
|
|
||||||
self.process_update("notify_status_update", self.printer.data)
|
self.process_update("notify_status_update", self.printer.data)
|
||||||
self.process_update("notify_busy", self.printer.busy)
|
self.process_update("notify_busy", self.printer.busy)
|
||||||
if hasattr(self.panels[panel_name], "activate"):
|
if hasattr(self.panels[panel], "activate"):
|
||||||
self.panels[panel_name].activate()
|
self.panels[panel].activate()
|
||||||
self.show_all()
|
self.show_all()
|
||||||
|
|
||||||
def show_popup_message(self, message, level=3):
|
def show_popup_message(self, message, level=3):
|
||||||
@@ -473,7 +448,7 @@ class KlipperScreen(Gtk.Window):
|
|||||||
def _go_to_submenu(self, widget, name):
|
def _go_to_submenu(self, widget, name):
|
||||||
logging.info(f"#### Go to submenu {name}")
|
logging.info(f"#### Go to submenu {name}")
|
||||||
# Find current menu item
|
# Find current menu item
|
||||||
if "main_panel" in self._cur_panels:
|
if "main_menu" in self._cur_panels:
|
||||||
menu = "__main"
|
menu = "__main"
|
||||||
elif "splash_screen" in self._cur_panels:
|
elif "splash_screen" in self._cur_panels:
|
||||||
menu = "__splashscreen"
|
menu = "__splashscreen"
|
||||||
@@ -484,7 +459,7 @@ class KlipperScreen(Gtk.Window):
|
|||||||
disname = self._config.get_menu_name(menu, name)
|
disname = self._config.get_menu_name(menu, name)
|
||||||
menuitems = self._config.get_menu_items(menu, name)
|
menuitems = self._config.get_menu_items(menu, name)
|
||||||
if len(menuitems) != 0:
|
if len(menuitems) != 0:
|
||||||
self.show_panel(name, "menu", disname, 1, False, items=menuitems)
|
self.show_panel("menu", disname, items=menuitems)
|
||||||
else:
|
else:
|
||||||
logging.info("No items in menu")
|
logging.info("No items in menu")
|
||||||
|
|
||||||
@@ -496,22 +471,13 @@ class KlipperScreen(Gtk.Window):
|
|||||||
for panel in list(self.panels):
|
for panel in list(self.panels):
|
||||||
if hasattr(self.panels[panel], "deactivate"):
|
if hasattr(self.panels[panel], "deactivate"):
|
||||||
self.panels[panel].deactivate()
|
self.panels[panel].deactivate()
|
||||||
self.subscriptions.clear()
|
|
||||||
self._cur_panels.clear()
|
self._cur_panels.clear()
|
||||||
self.close_screensaver()
|
self.close_screensaver()
|
||||||
|
|
||||||
def _remove_current_panel(self, pop=True):
|
def _remove_current_panel(self):
|
||||||
if len(self._cur_panels) < 1:
|
|
||||||
self.reload_panels()
|
|
||||||
return
|
|
||||||
self.base_panel.remove(self.panels[self._cur_panels[-1]].content)
|
self.base_panel.remove(self.panels[self._cur_panels[-1]].content)
|
||||||
if hasattr(self.panels[self._cur_panels[-1]], "deactivate"):
|
if hasattr(self.panels[self._cur_panels[-1]], "deactivate"):
|
||||||
self.panels[self._cur_panels[-1]].deactivate()
|
self.panels[self._cur_panels[-1]].deactivate()
|
||||||
if self._cur_panels[-1] in self.subscriptions:
|
|
||||||
self.subscriptions.remove(self._cur_panels[-1])
|
|
||||||
if pop:
|
|
||||||
del self._cur_panels[-1]
|
|
||||||
self.attach_panel(self._cur_panels[-1])
|
|
||||||
|
|
||||||
def _menu_go_back(self, widget=None, home=False):
|
def _menu_go_back(self, widget=None, home=False):
|
||||||
logging.info(f"#### Menu go {'home' if home else 'back'}")
|
logging.info(f"#### Menu go {'home' if home else 'back'}")
|
||||||
@@ -520,12 +486,13 @@ class KlipperScreen(Gtk.Window):
|
|||||||
self.close_popup_message()
|
self.close_popup_message()
|
||||||
while len(self._cur_panels) > 1:
|
while len(self._cur_panels) > 1:
|
||||||
self._remove_current_panel()
|
self._remove_current_panel()
|
||||||
|
del self._cur_panels[-1]
|
||||||
if not home:
|
if not home:
|
||||||
break
|
break
|
||||||
|
if len(self._cur_panels) < 1:
|
||||||
def add_subscription(self, panel_name):
|
self.reload_panels()
|
||||||
if panel_name not in self.subscriptions:
|
return
|
||||||
self.subscriptions.append(panel_name)
|
self.attach_panel(self._cur_panels[-1])
|
||||||
|
|
||||||
def reset_screensaver_timeout(self, *args):
|
def reset_screensaver_timeout(self, *args):
|
||||||
if self.screensaver_timeout is not None:
|
if self.screensaver_timeout is not None:
|
||||||
@@ -624,8 +591,9 @@ class KlipperScreen(Gtk.Window):
|
|||||||
os.system("xset -display :0 +dpms")
|
os.system("xset -display :0 +dpms")
|
||||||
if functions.get_DPMS_state() == functions.DPMS_State.Fail:
|
if functions.get_DPMS_state() == functions.DPMS_State.Fail:
|
||||||
logging.info("DPMS State FAIL")
|
logging.info("DPMS State FAIL")
|
||||||
self.show_popup_message("DPMS has failed to load")
|
self.show_popup_message(_("DPMS has failed to load and has been disabled"))
|
||||||
self._config.set("main", "use_dpms", "False")
|
self._config.set("main", "use_dpms", "False")
|
||||||
|
self._config.save_user_config_options()
|
||||||
else:
|
else:
|
||||||
logging.debug("Using DPMS")
|
logging.debug("Using DPMS")
|
||||||
os.system("xset -display :0 s off")
|
os.system("xset -display :0 s off")
|
||||||
@@ -640,7 +608,7 @@ class KlipperScreen(Gtk.Window):
|
|||||||
|
|
||||||
def show_printer_select(self, widget=None):
|
def show_printer_select(self, widget=None):
|
||||||
self.base_panel.show_heaters(False)
|
self.base_panel.show_heaters(False)
|
||||||
self.show_panel("printer_select", "printer_select", _("Printer Select"), 2)
|
self.show_panel("printer_select", _("Printer Select"), remove_all=True)
|
||||||
|
|
||||||
def process_busy_state(self, busy):
|
def process_busy_state(self, busy):
|
||||||
self.process_update("notify_busy", busy)
|
self.process_update("notify_busy", busy)
|
||||||
@@ -678,13 +646,17 @@ class KlipperScreen(Gtk.Window):
|
|||||||
self.base_panel_show_all()
|
self.base_panel_show_all()
|
||||||
for dialog in self.dialogs:
|
for dialog in self.dialogs:
|
||||||
self.gtk.remove_dialog(dialog)
|
self.gtk.remove_dialog(dialog)
|
||||||
self.show_panel('job_status', "job_status", _("Printing"), 2)
|
self.show_panel("job_status", _("Printing"), remove_all=True)
|
||||||
|
|
||||||
def state_ready(self, wait=True):
|
def state_ready(self, wait=True):
|
||||||
# Do not return to main menu if completing a job, timeouts/user input will return
|
# Do not return to main menu if completing a job, timeouts/user input will return
|
||||||
if "job_status" in self._cur_panels and wait:
|
if "job_status" in self._cur_panels and wait:
|
||||||
return
|
return
|
||||||
self.show_panel('main_panel', "main_menu", None, 2, items=self._config.get_menu_items("__main"))
|
if not self.initialized:
|
||||||
|
logging.debug("Printer not initialized yet")
|
||||||
|
self.printer.state = "not ready"
|
||||||
|
return
|
||||||
|
self.show_panel("main_menu", None, remove_all=True, items=self._config.get_menu_items("__main"))
|
||||||
self.base_panel_show_all()
|
self.base_panel_show_all()
|
||||||
|
|
||||||
def state_startup(self):
|
def state_startup(self):
|
||||||
@@ -725,11 +697,14 @@ class KlipperScreen(Gtk.Window):
|
|||||||
elif action == "notify_klippy_shutdown":
|
elif action == "notify_klippy_shutdown":
|
||||||
self.printer.process_update({'webhooks': {'state': "shutdown"}})
|
self.printer.process_update({'webhooks': {'state': "shutdown"}})
|
||||||
elif action == "notify_klippy_ready":
|
elif action == "notify_klippy_ready":
|
||||||
|
if not self.initialized:
|
||||||
|
logging.debug("Still not initialized")
|
||||||
|
return
|
||||||
self.printer.process_update({'webhooks': {'state': "ready"}})
|
self.printer.process_update({'webhooks': {'state': "ready"}})
|
||||||
elif action == "notify_status_update" and self.printer.state != "shutdown":
|
elif action == "notify_status_update" and self.printer.state != "shutdown":
|
||||||
self.printer.process_update(data)
|
self.printer.process_update(data)
|
||||||
if 'manual_probe' in data and data['manual_probe']['is_active'] and 'zoffset' not in self._cur_panels:
|
if 'manual_probe' in data and data['manual_probe']['is_active'] and 'zcalibrate' not in self._cur_panels:
|
||||||
self.show_panel('zoffset', "zcalibrate", None, 1, False)
|
self.show_panel("zcalibrate", _('Z Calibrate'))
|
||||||
elif action == "notify_filelist_changed":
|
elif action == "notify_filelist_changed":
|
||||||
if self.files is not None:
|
if self.files is not None:
|
||||||
self.files.process_update(data)
|
self.files.process_update(data)
|
||||||
@@ -765,9 +740,9 @@ class KlipperScreen(Gtk.Window):
|
|||||||
self.process_update(action, data)
|
self.process_update(action, data)
|
||||||
|
|
||||||
def process_update(self, *args):
|
def process_update(self, *args):
|
||||||
GLib.idle_add(self.base_panel.process_update, *args)
|
self.base_panel.process_update(*args)
|
||||||
for x in self.subscriptions:
|
if self._cur_panels and hasattr(self.panels[self._cur_panels[-1]], "process_update"):
|
||||||
GLib.idle_add(self.panels[x].process_update, *args)
|
self.panels[self._cur_panels[-1]].process_update(*args)
|
||||||
|
|
||||||
def _confirm_send_action(self, widget, text, method, params=None):
|
def _confirm_send_action(self, widget, text, method, params=None):
|
||||||
buttons = [
|
buttons = [
|
||||||
@@ -808,7 +783,7 @@ class KlipperScreen(Gtk.Window):
|
|||||||
|
|
||||||
def printer_initializing(self, msg, remove=False):
|
def printer_initializing(self, msg, remove=False):
|
||||||
if 'splash_screen' not in self.panels or remove:
|
if 'splash_screen' not in self.panels or remove:
|
||||||
self.show_panel('splash_screen', "splash_screen", None, 2)
|
self.show_panel("splash_screen", None, remove_all=True)
|
||||||
self.panels['splash_screen'].update_text(msg)
|
self.panels['splash_screen'].update_text(msg)
|
||||||
|
|
||||||
def search_power_devices(self, devices):
|
def search_power_devices(self, devices):
|
||||||
@@ -887,9 +862,7 @@ class KlipperScreen(Gtk.Window):
|
|||||||
extra_items))
|
extra_items))
|
||||||
if data is False:
|
if data is False:
|
||||||
return self._init_printer("Error getting printer object data with extra items")
|
return self._init_printer("Error getting printer object data with extra items")
|
||||||
self.printer.process_update(data['result']['status'])
|
|
||||||
self.init_tempstore()
|
self.init_tempstore()
|
||||||
GLib.timeout_add_seconds(2, self.init_tempstore) # If devices changed it takes a while to register
|
|
||||||
|
|
||||||
self.files.initialize()
|
self.files.initialize()
|
||||||
self.files.refresh_files()
|
self.files.refresh_files()
|
||||||
@@ -898,6 +871,7 @@ class KlipperScreen(Gtk.Window):
|
|||||||
self.initialized = True
|
self.initialized = True
|
||||||
self.reinit_count = 0
|
self.reinit_count = 0
|
||||||
self.initializing = False
|
self.initializing = False
|
||||||
|
self.printer.process_update(data['result']['status'])
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def init_tempstore(self):
|
def init_tempstore(self):
|
||||||
@@ -909,7 +883,6 @@ class KlipperScreen(Gtk.Window):
|
|||||||
logging.info(f"Temperature store size: {self.printer.tempstore_size}")
|
logging.info(f"Temperature store size: {self.printer.tempstore_size}")
|
||||||
except KeyError:
|
except KeyError:
|
||||||
logging.error("Couldn't get the temperature store size")
|
logging.error("Couldn't get the temperature store size")
|
||||||
return False
|
|
||||||
|
|
||||||
def base_panel_show_all(self):
|
def base_panel_show_all(self):
|
||||||
self.base_panel.show_macro_shortcut(self._config.get_main_config().getboolean('side_macro_shortcut', True))
|
self.base_panel.show_macro_shortcut(self._config.get_main_config().getboolean('side_macro_shortcut', True))
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
jinja2==3.1.2
|
jinja2==3.1.2
|
||||||
netifaces==0.11.0
|
netifaces==0.11.0
|
||||||
requests==2.31.0
|
requests==2.31.0
|
||||||
websocket-client==1.6.0
|
websocket-client==1.6.1
|
||||||
pycairo==1.23.0
|
pycairo==1.23.0
|
||||||
PyGObject==3.44.1
|
PyGObject==3.44.1
|
||||||
python-mpv==0.5.2
|
python-mpv==0.5.2
|
||||||
|
|||||||
Reference in new issue
Block a user