Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e3b919c62 | ||
|
|
e75a10a888 | ||
|
|
9951323e91 | ||
|
|
5333218ec5 | ||
|
|
178abc2c9a | ||
|
|
22528885ff | ||
|
|
449f3274c6 | ||
|
|
bd1650fd18 | ||
|
|
f8ca339de5 | ||
|
|
ce8c8e44fc | ||
|
|
b27814845b | ||
|
|
96d252ba3c | ||
|
|
236fb0c4ff | ||
|
|
d2fea57c39 | ||
|
|
7b9c98a0a8 | ||
|
|
c2c4e9c42e | ||
|
|
7b6efa0521 | ||
|
|
b39d433c46 | ||
|
|
9dce74fac1 | ||
|
|
a8fc7b6337 | ||
|
|
0ae0593907 | ||
|
|
bb8689175e | ||
|
|
e7b3b963c3 | ||
|
|
0e1c30879b | ||
|
|
3494f8a7d4 | ||
|
|
02ea32506b | ||
|
|
bac2d9f23e | ||
|
|
75cd4749d6 | ||
|
|
c0cbe25531 | ||
|
|
791b1c37d4 | ||
|
|
40b9f4e56b | ||
|
|
86e2174152 | ||
|
|
f3e7941acf | ||
|
|
d61e5983da | ||
|
|
6fd25994d4 | ||
|
|
fe1721debd | ||
|
|
543654b499 | ||
|
|
496850faec | ||
|
|
7743f2aa63 | ||
|
|
47e233928e | ||
|
|
344df0a869 | ||
|
|
84ca1ded7c | ||
|
|
396467d50f | ||
|
|
6f8ee80574 | ||
|
|
029c59436c | ||
|
|
55193e227f | ||
|
|
66570f4ac6 | ||
|
|
b7ad50deff | ||
|
|
3e505d7a71 | ||
|
|
5e31e3cfa6 | ||
|
|
dd08d3d9c8 | ||
|
|
5c1a23914a | ||
|
|
8c7d9726d7 | ||
|
|
78fd11c4f1 | ||
|
|
5f931fa09d | ||
|
|
b264719cd9 | ||
|
|
f3001f3c76 | ||
|
|
988608f9d3 | ||
|
|
f14f494fee | ||
|
|
f04b14c813 | ||
|
|
e1f45b3c1a | ||
|
|
81477f4b0a | ||
|
|
90d115d1f4 | ||
|
|
fadf4488be | ||
|
|
774f273858 | ||
|
|
cdfd25357f | ||
|
|
f6f2f3f143 | ||
|
|
b78ebea687 | ||
|
|
3f2ed97385 | ||
|
|
a57ab7f9d5 | ||
|
|
a19661ca90 | ||
|
|
cd8929bcb0 | ||
|
|
aed61f4aba | ||
|
|
c0b4b464bd | ||
|
|
c8fe6de747 | ||
|
|
316ff627ac | ||
|
|
0c73b3831b | ||
|
|
56731e77f6 | ||
|
|
da1bdcfb6c | ||
|
|
106a72b8f5 | ||
|
|
3326551d5e | ||
|
|
41e2008249 | ||
|
|
b303c61c1b | ||
|
|
a02913d631 | ||
|
|
3d234af67c | ||
|
|
41e5963ad7 | ||
|
|
cea0df8658 | ||
|
|
cfb24dd885 | ||
|
|
e41c330cf1 | ||
|
|
0bfe649882 | ||
|
|
0efdd2ca06 | ||
|
|
e111053a67 | ||
|
|
08b1e0d17a | ||
|
|
52e3f53333 | ||
|
|
693c45e2d7 | ||
|
|
0a25b4e502 | ||
|
|
8a9072c5d0 |
No files matched your search
@@ -1,45 +1,15 @@
|
||||
# KlipperScreen
|
||||
KlipperScreen is an idea based from [OctoScreen](https://github.com/Z-Bolt/OctoScreen/), but instead of needing OctoPrint or to compile go, KlipperScreen is python based and interacts directly with [Moonraker](https://github.com/arksine/moonraker), Klipper's API service.
|
||||
|
||||
Current feature list:
|
||||
- [x] Homing
|
||||
- [x] Preheating
|
||||
- [x] Job Status and control
|
||||
- [x] Temperature control
|
||||
- [x] Extrude control
|
||||
- [x] Fan control
|
||||
- [x] Disable steppers
|
||||
- [x] Configure Z Offset using PROBE_CALIBRATE
|
||||
- [x] Print tuning (Z Babystepping, Speed Control, Flow Control)
|
||||
- [x] Manual bed leveling assist
|
||||
- [x] Using thumbnails from prusa on job status page
|
||||
- [x] Scale UI based off of resolution
|
||||
- [ ] Better system panel
|
||||
- [ ] Wifi selection
|
||||
KlipperScreen is touchscreen GUI for Klipper based 3D printers. KlipperScreen interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker).
|
||||
|
||||
[Changelog](docs/changelog.md)
|
||||
Multiple printers update is here! Please check the configuration information for specifying several printers.
|
||||
|
||||
### Required Hardware
|
||||
KlipperScreen should run on any touchscreen that you can connect to a computer. The required video driver may be
|
||||
slightly different depending on what model you get. KlipperScreen will scale to the resolution of the screen being used.
|
||||
However, three resolutions are tested during development: 1024x600, 800x480, 480x320.
|
||||
### Documentation
|
||||
|
||||
There are no recommended screens, but there are several screens that work with KlipperScreen. They include screens that
|
||||
use HDMI/USB, Raspberry Pi GPIO, or the Rapsberry Pi DSI (ribbon cable) port.
|
||||
[Click here to access the documentation.](https://klipperscreen.readthedocs.io/en/latest/)
|
||||
|
||||
### Links
|
||||
Screenshots are included in the documentation.
|
||||
|
||||
[Installation](docs/Installation.md)
|
||||
|
||||
[Configuration](docs/Configuration.md)
|
||||
|
||||
[Panels](docs/panels.md)
|
||||
|
||||
|
||||
### Sample Panels
|
||||
|
||||
Main Menu
|
||||

|
||||
|
||||
Job Status
|
||||

|
||||
### Inspiration
|
||||
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
|
||||
will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [Moonraker](https://github.com/arksine/moonraker).
|
||||
@@ -7,7 +7,14 @@ _${KlipperScreen_Directory}/KlipperScreen.conf_
|
||||
|
||||
If one of those files are found, it will be used over the default configuration. The default configuration will be
|
||||
merged with the custom configuration, so if you do not define any menus the default menus will be used.The default
|
||||
config is included here: [ks_includes/KlipperScreen.conf](../ks_includes/KlipperScreen.conf)
|
||||
config is included here: [ks_includes/KlipperScreen.conf](/ks_includes/KlipperScreen.conf)
|
||||
|
||||
## Include files
|
||||
```
|
||||
[include conf.d/*.conf]
|
||||
# Include another configuration file. Wildcards (*) will expand to match anything.
|
||||
```
|
||||
|
||||
|
||||
## Main Options
|
||||
```
|
||||
@@ -24,6 +31,9 @@ job_complete_timeout: 30
|
||||
# If this option is 0, the user must click on a button to go back to the main menu.
|
||||
job_error_timeout: 0
|
||||
|
||||
# Allows the cursor to be displayed on the screen
|
||||
show_cursor: False
|
||||
|
||||
#
|
||||
# The following main options are deprecated and will be removed in the near future
|
||||
#
|
||||
@@ -45,6 +55,9 @@ moonraker_host: 127.0.0.1
|
||||
moonraker_port: 7125
|
||||
# Moonraker API key if this is not connecting from a trusted client IP
|
||||
moonraker_api_key: False
|
||||
|
||||
# Define the z_babystep intervals in a CSV list. Currently only 2 are supported
|
||||
z_babystep_values: 0.01, 0.05
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
# Hardware
|
||||
|
||||
KlipperScreen should run on any touchscreen that you can connect to a computer. The required video driver may
|
||||
be slightly different depending on what model you get. I am developing on a 1024x600 resolution screen. Due to this,
|
||||
other resolutions may not be scaled properly at this moment. UI scaling is a future development item.
|
||||
|
||||
#### Configure Hardware
|
||||
|
||||
Add the following to _/boot/config.txt_. You can alter the hdmi_cvt to your screen specifications. This example is setup
|
||||
for a resolution of 1024x600 and a refresh rate of 60hz.
|
||||
```
|
||||
hdmi_cvt=1024 600 60 6 0 0 0
|
||||
hdmi_group=2
|
||||
hdmi_mode=87
|
||||
hdmi_drive=2
|
||||
```
|
||||
* Development has been using 1024x600 for a screen resolution. Other resolutions may have issues currently
|
||||
|
||||
After changing _/boot/config.txt_ you must reboot your raspberry pi. Please also ensure you followed setting up your screen via the screen instructions. This will likely have a xorg.conf.d file for input from the touchscreen that you need to create.
|
||||
|
||||
#### Hardware known to work
|
||||
|
||||
[Click here](https://klipper.discourse.group/t/hardware-known-to-work-with-klipperscreen/35) to go to a post on the Klipper discourse server for known hardware or see the below list.
|
||||
|
||||
[BTT PI TFT50](https://www.biqu.equipment/collections/lcd/products/bigtreetech-pi-tft50-v1-0-tft-display-for-raspberry-pi-3d-printer-part)
|
||||
[Raspberry PI 7" Touchscreen](https://www.raspberrypi.org/products/raspberry-pi-touch-display/)
|
||||
@@ -1,23 +1,4 @@
|
||||
### Required Hardware
|
||||
KlipperScreen should run on any HDMI touchscreen that you can connect to a computer. The required video driver may
|
||||
be slightly different depending on what model you get. I am developing on a 1024x600 resolution screen. Due to this,
|
||||
other resolutions may not be scaled properly at this moment. UI scaling is a future development item.
|
||||
|
||||
#### Configure Hardware
|
||||
|
||||
Add the following to _/boot/config.txt_. You can alter the hdmi_cvt to your screen specifications. This example is setup
|
||||
for a resolution of 1024x600 and a refresh rate of 60hz.
|
||||
```
|
||||
hdmi_cvt=1024 600 60 6 0 0 0
|
||||
hdmi_group=2
|
||||
hdmi_mode=87
|
||||
hdmi_drive=2
|
||||
```
|
||||
* Development has been using 1024x600 for a screen resolution. Other resolutions may have issues currently
|
||||
|
||||
After changing _/boot/config.txt_ you must reboot your raspberry pi. Please also ensure you followed setting up your screen via the screen instructions. This will likely have a xorg.conf.d file for input from the touchscreen that you need to create.
|
||||
|
||||
### Installation
|
||||
# Installation
|
||||
|
||||
#### Setup Raspberry Pi
|
||||
This install process is meant for Raspbian non-desktop version. If you have installed it on the GUI version, use
|
||||
@@ -73,10 +54,18 @@ If you need a custom location for the configuration file, you can add -c or --co
|
||||
the location of your configuration file.
|
||||
|
||||
#### Touchscreen Calibration
|
||||
Most people don't need to calibrate, but if you do need to calibrate your touchscreen, follow this process:
|
||||
Most people don't need to calibrate, but if you do need to calibrate your touchscreen, follow the below steps.
|
||||
|
||||
Run this command:
|
||||
```
|
||||
DISPLAY=:0 xinput_calibrator --list
|
||||
```
|
||||
It will output something such as:
|
||||
```
|
||||
Device "wch.cn USB2IIC_CTP_CONTROL" id=6
|
||||
```
|
||||
|
||||
Find the ID of your display and put it in the following command:
|
||||
```
|
||||
DISPLAY=:0 xinput_calibrator -v --device <id from last command>
|
||||
```
|
||||
@@ -1,4 +1,31 @@
|
||||
## Changelog
|
||||
# Changelog
|
||||
|
||||
#### 2021 03 07
|
||||
* Move fine tuning from control menu to job_status screen for easier access.
|
||||
|
||||
#### 2021 03 06
|
||||
* Added ability to include configuration files.
|
||||
|
||||
#### 2021 03 05
|
||||
* Multiple printers are now available in the main branch.
|
||||
|
||||
#### 2021 02 22
|
||||
* Add configurable z_babystep intervals
|
||||
* Add QUAD_GANTRY_LEVEL and Z_TILT_ADJUST to Homing menu
|
||||
* Fixed cursor issue on startup
|
||||
* Fixed font ratio for large, but short screens
|
||||
* Configurable cursor display
|
||||
* Re-vamped logging system
|
||||
|
||||
#### 2021 02 19
|
||||
* Added support for heater generic
|
||||
|
||||
#### 2021 02 18
|
||||
* Add directory support to print panel
|
||||
* Add macros to print menu
|
||||
|
||||
#### 2021 02 17
|
||||
* Fix issues with word wrapping in different languages
|
||||
|
||||
#### 2021 02 15
|
||||
* Added action bar to left side (moves the Back, E-stop, and Home buttons)
|
||||
|
||||
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 114 KiB |
|
Before Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 104 KiB |
|
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 62 KiB |
|
Before Width: | Height: | Size: 131 KiB After Width: | Height: | Size: 120 KiB |
|
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 107 KiB |
|
Before Width: | Height: | Size: 273 KiB After Width: | Height: | Size: 243 KiB |
|
Before Width: | Height: | Size: 79 KiB After Width: | Height: | Size: 86 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 113 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 107 KiB |
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 33 KiB |
|
After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 62 KiB After Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 267 KiB After Width: | Height: | Size: 227 KiB |
|
After Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 78 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 86 KiB After Width: | Height: | Size: 84 KiB |
@@ -0,0 +1,38 @@
|
||||
# KlipperScreen
|
||||
|
||||
KlipperScreen is touchscreen GUI for Klipper based 3D printers. KlipperScreen interfaces with [Klipper](https://github.com/kevinOConnor/klipper) via [Moonraker](https://github.com/arksine/moonraker).
|
||||
|
||||
Multiple printers update is here! Please check the configuration information for specifying several printers.
|
||||
|
||||
|
||||
[Changelog](changelog.md)
|
||||
|
||||
### Required Hardware
|
||||
KlipperScreen should run on any touchscreen that you can connect to a computer. The required video driver may be
|
||||
slightly different depending on what model you get. KlipperScreen will scale to the resolution of the screen being used.
|
||||
However, three resolutions are tested during development: 1024x600, 800x480, 480x320.
|
||||
|
||||
There are no recommended screens, but there are several screens that work with KlipperScreen. They include screens that
|
||||
use HDMI/USB, Raspberry Pi GPIO, or the Rapsberry Pi DSI (ribbon cable) port.
|
||||
|
||||
### Links
|
||||
|
||||
[Installation](Installation.md)
|
||||
|
||||
[Configuration](Configuration.md)
|
||||
|
||||
[Panels](panels.md)
|
||||
|
||||
|
||||
### Sample Panels
|
||||
|
||||
Main Menu
|
||||

|
||||
|
||||
Job Status
|
||||

|
||||
|
||||
|
||||
### Inspiration
|
||||
KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that
|
||||
will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [Moonraker](https://github.com/arksine/moonraker).
|
||||
@@ -1,21 +1,4 @@
|
||||
## Panels
|
||||
|
||||
### Index
|
||||
* [Main menu](#main-menu)
|
||||
* [Job Status](#job-status)
|
||||
* [bed_level](#bed-level)
|
||||
* [extrude](#extrude)
|
||||
* [fan](#fan)
|
||||
* [fine_tune](#finetune)
|
||||
* [gcode_macros](#gcode-macros)
|
||||
* [move](#move)
|
||||
* [network](#network)
|
||||
* [preheat](#preheat)
|
||||
* [print](#print)
|
||||
* [system](#system)
|
||||
* [temperature](#temperature)
|
||||
* [zcalibrate](#zcalibrate)
|
||||
|
||||
# Panels
|
||||
|
||||
### Main Menu
|
||||

|
||||
@@ -25,7 +8,7 @@
|
||||
|
||||
### Bed Level
|
||||
type: bed_level
|
||||

|
||||

|
||||
|
||||
The bed level panel has the ability to have preset locations from Klipper. Please see documentation on the following
|
||||
Klipper Sections:
|
||||
@@ -39,6 +22,9 @@ This panel will favor screws_tilt_adjust over the bed_screws section. If screws_
|
||||
for _Screws Calibrate_ will appear. This button runs the SCREWS_TILT_CALCULATE command and shows the results on the
|
||||
panel.
|
||||
|
||||
### Bed Mesh
|
||||
type: bed_mesh
|
||||

|
||||
|
||||
### Extrude
|
||||
type: extrude
|
||||
@@ -68,6 +54,10 @@ type: move
|
||||
type: network
|
||||

|
||||
|
||||
### Power
|
||||
type: power
|
||||

|
||||
|
||||
### Preheat
|
||||
type: preheat
|
||||

|
||||
@@ -76,6 +66,10 @@ type: preheat
|
||||
type: print
|
||||

|
||||
|
||||
### Settings
|
||||
type: settings
|
||||

|
||||
|
||||
### System
|
||||
type: system
|
||||

|
||||
|
||||
@@ -24,11 +24,11 @@ panel: preheat
|
||||
|
||||
[menu __main actions]
|
||||
name: {{ gettext('Actions') }}
|
||||
icon: actions
|
||||
icon: move
|
||||
|
||||
[menu __main config]
|
||||
name: {{ gettext('Configuration') }}
|
||||
icon: control
|
||||
icon: settings
|
||||
|
||||
[menu __main print]
|
||||
name: {{ gettext('Print') }}
|
||||
@@ -65,6 +65,21 @@ icon: home
|
||||
method: printer.gcode.script
|
||||
params: {"script":"G28 X Y"}
|
||||
|
||||
[menu __main homing quad_gantry_level]
|
||||
name: {{ gettext('Quad Gantry Level') }}
|
||||
icon: home-z
|
||||
method: printer.gcode.script
|
||||
params: {"script":"QUAD_GANTRY_LEVEL"}
|
||||
enable: {{ printer.quad_gantry_level is defined }}
|
||||
|
||||
[menu __main homing Z-Tilt]
|
||||
name: {{ gettext('Z Tilt') }}
|
||||
icon: z-tilt
|
||||
method: printer.gcode.script
|
||||
params: {"script":"Z_TILT_ADJUST"}
|
||||
enable: {{ printer.z_tilt is defined }}
|
||||
|
||||
|
||||
[menu __main actions move]
|
||||
name: {{ gettext('Move') }}
|
||||
icon: move
|
||||
@@ -85,13 +100,6 @@ name: {{ gettext('Temperature') }}
|
||||
icon: heat-up
|
||||
panel: temperature
|
||||
|
||||
[menu __main actions quad_gantry_level]
|
||||
name: {{ gettext('Quad Gantry Level') }}
|
||||
icon: home-z
|
||||
method: printer.gcode.script
|
||||
params: {"script":"QUAD_GANTRY_LEVEL"}
|
||||
enable: {{ printer.quad_gantry_level is defined }}
|
||||
|
||||
[menu __main actions macros]
|
||||
name: {{ gettext('Macros') }}
|
||||
icon: custom-script
|
||||
@@ -123,7 +131,7 @@ enable: {{ printer.bed_mesh is defined }}
|
||||
|
||||
[menu __main config zoffset]
|
||||
name: {{ gettext('Z Calibrate') }}
|
||||
icon: z-offset-increase
|
||||
icon: z-farther
|
||||
panel: zcalibrate
|
||||
enable: {{ ((printer.bltouch is defined) or (printer.probe is defined)) }}
|
||||
|
||||
@@ -160,11 +168,6 @@ name: {{ gettext('Temperature') }}
|
||||
icon: heat-up
|
||||
panel: temperature
|
||||
|
||||
[menu __print tuning]
|
||||
name: {{ gettext('Fine Tuning') }}
|
||||
icon: fan
|
||||
panel: fine_tune
|
||||
|
||||
[menu __print fan]
|
||||
name: {{ gettext('Fan') }}
|
||||
icon: fan
|
||||
@@ -182,6 +185,12 @@ icon: shutdown
|
||||
panel: power
|
||||
enable: {{ printer.power_devices.count > 0 }}
|
||||
|
||||
[menu __print macros]
|
||||
name: {{ gettext('Macros') }}
|
||||
icon: custom-script
|
||||
panel: gcode_macros
|
||||
enable: {{ printer.gcode_macros.count > 0 }}
|
||||
|
||||
[menu __print network]
|
||||
name: {{ gettext('Network') }}
|
||||
icon: network
|
||||
|
||||
@@ -13,7 +13,7 @@ class KlippyGcodes:
|
||||
EXTRUDE_REL = "M83"
|
||||
|
||||
SET_EXT_TEMP = "M104"
|
||||
MAX_EXT_TEMP = 300
|
||||
MAX_EXT_TEMP = 450
|
||||
|
||||
SET_BED_TEMP = "M140"
|
||||
MAX_BED_TEMP = 150
|
||||
@@ -40,6 +40,10 @@ class KlippyGcodes:
|
||||
def set_ext_temp(temp, tool=0):
|
||||
return "%s T%s S%s" % (KlippyGcodes.SET_EXT_TEMP, str(tool), str(temp))
|
||||
|
||||
@staticmethod
|
||||
def set_heater_temp(heater, temp):
|
||||
return 'SET_HEATER_TEMPERATURE heater="%s" target=%s' % (heater, str(temp))
|
||||
|
||||
@staticmethod
|
||||
def set_fan_speed(speed):
|
||||
speed = str( int(float(int(speed) % 101)/100*255) )
|
||||
|
||||
@@ -3,23 +3,26 @@ import gi
|
||||
import logging
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GdkPixbuf, GLib, Pango
|
||||
from gi.repository import Gtk, Gdk, GdkPixbuf, Gio, GLib, Pango
|
||||
import os
|
||||
klipperscreendir = os.getcwd()
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.KlippyGtk")
|
||||
|
||||
class KlippyGtk:
|
||||
labels = {}
|
||||
font_ratio = 51
|
||||
font_ratio = [51, 30]
|
||||
width_ratio = 16
|
||||
height_ratio = 9.375
|
||||
|
||||
def __init__(self, width, height):
|
||||
def __init__(self, screen, width, height, theme):
|
||||
self.screen = screen
|
||||
|
||||
self.width = width
|
||||
self.height = height
|
||||
|
||||
self.font_size = int(round(self.width / self.font_ratio))
|
||||
self.theme = theme
|
||||
self.font_size = int(min(
|
||||
self.width / self.font_ratio[0],
|
||||
self.height / self.font_ratio[1]
|
||||
))
|
||||
self.header_size = int(round((self.width / self.width_ratio) / 1.33))
|
||||
self.img_width = int(round(self.width / self.width_ratio))
|
||||
self.img_height = int(round(self.height / self.height_ratio))
|
||||
@@ -27,7 +30,7 @@ class KlippyGtk:
|
||||
self.header_image_scale_width = 1.2
|
||||
self.header_image_scale_height = 1.4
|
||||
|
||||
logger.debug("img width: %s height: %s" % (self.img_width, self.img_height))
|
||||
logging.debug("img width: %s height: %s" % (self.img_width, self.img_height))
|
||||
|
||||
def get_action_bar_width(self):
|
||||
return self.action_bar_width
|
||||
@@ -62,7 +65,7 @@ class KlippyGtk:
|
||||
def ImageLabel(self, image_name, text, size=20, style=False, width_scale=.32, height_scale=.32):
|
||||
box1 = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=15)
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
"%s/styles/z-bolt/images/%s.svg" % (klipperscreendir, str(image_name)),
|
||||
"%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name)),
|
||||
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
|
||||
|
||||
image = Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
@@ -80,7 +83,7 @@ class KlippyGtk:
|
||||
|
||||
def Image(self, image_name, style=False, width_scale=1, height_scale=1):
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
"%s/styles/z-bolt/images/%s" % (klipperscreendir, str(image_name)),
|
||||
"%s/styles/%s/images/%s" % (klipperscreendir, self.theme, str(image_name)),
|
||||
int(round(self.img_width * width_scale)), int(round(self.img_height * height_scale)), True)
|
||||
|
||||
return Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
@@ -97,6 +100,16 @@ class KlippyGtk:
|
||||
|
||||
return pixbuf
|
||||
|
||||
def PixbufFromHttp(self, resource, style=False, width_scale=1, height_scale=1):
|
||||
response = self.screen.apiclient.get_thumbnail_stream(resource)
|
||||
if response == False:
|
||||
return None
|
||||
stream = Gio.MemoryInputStream.new_from_data(response, None)
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_stream_at_scale(stream, int(round(self.img_width * width_scale)),
|
||||
int(round(self.img_height * height_scale)), True)
|
||||
|
||||
return pixbuf
|
||||
|
||||
def ProgressBar(self, style=False):
|
||||
bar = Gtk.ProgressBar()
|
||||
|
||||
@@ -119,8 +132,8 @@ class KlippyGtk:
|
||||
return b
|
||||
|
||||
def ButtonImage(self, image_name, label=None, style=None, width_scale=1, height_scale=1,
|
||||
position=Gtk.PositionType.TOP):
|
||||
filename = "%s/styles/z-bolt/images/%s.svg" % (klipperscreendir, str(image_name))
|
||||
position=Gtk.PositionType.TOP, word_wrap=True):
|
||||
filename = "%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name))
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
filename,
|
||||
int(round(self.img_width * width_scale)),
|
||||
@@ -139,13 +152,14 @@ class KlippyGtk:
|
||||
b.set_always_show_image(True)
|
||||
b.props.relief = Gtk.ReliefStyle.NONE
|
||||
|
||||
#try:
|
||||
# # Get the label object
|
||||
# child = b.get_children()[0].get_children()[0].get_children()[1]
|
||||
# child.set_line_wrap(True)
|
||||
# child.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
#except:
|
||||
# pass
|
||||
if word_wrap is True:
|
||||
try:
|
||||
# Get the label object
|
||||
child = b.get_children()[0].get_children()[0].get_children()[1]
|
||||
child.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
child.set_line_wrap(True)
|
||||
except:
|
||||
pass
|
||||
|
||||
if style != None:
|
||||
b.get_style_context().add_class(style)
|
||||
@@ -185,7 +199,7 @@ class KlippyGtk:
|
||||
|
||||
|
||||
def ToggleButtonImage(self, image_name, label, style=False, width_scale=1, height_scale=1):
|
||||
filename = "%s/styles/z-bolt/images/%s.svg" % (klipperscreendir, str(image_name))
|
||||
filename = "%s/styles/%s/images/%s.svg" % (klipperscreendir, self.theme, str(image_name))
|
||||
pixbuf = GdkPixbuf.Pixbuf.new_from_file_at_scale(
|
||||
filename,
|
||||
int(round(self.img_width * width_scale)),
|
||||
@@ -244,5 +258,5 @@ class KlippyGtk:
|
||||
|
||||
def formatTemperatureString(self, temp, target):
|
||||
if (target > temp-2 and target < temp+2) or round(target,0) == 0:
|
||||
return str(round(temp,2)) + "°C" #°C →"
|
||||
return str(round(temp,1)) + "°C" #°C →"
|
||||
return str(round(temp)) + " → " + str(round(target)) + "°C"
|
||||
@@ -2,8 +2,6 @@ import json
|
||||
import requests
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.KlippyRest")
|
||||
|
||||
class KlippyRest:
|
||||
def __init__(self, ip, port=7125, api_key=False):
|
||||
self.ip = ip
|
||||
@@ -22,9 +20,17 @@ class KlippyRest:
|
||||
def get_printer_info(self):
|
||||
return self.send_request("printer/info")
|
||||
|
||||
def get_thumbnail_stream(self, thumbnail):
|
||||
url = "http://%s:%s/server/files/gcodes/%s" % (self.ip, self.port, thumbnail)
|
||||
response = requests.get(url, stream=True)
|
||||
if response.status_code == 200:
|
||||
response.raw.decode_content = True
|
||||
return response.content
|
||||
return False
|
||||
|
||||
def send_request(self, method):
|
||||
url = "http://%s:%s/%s" % (self.ip, self.port, method)
|
||||
logger.debug("Sending request to %s" % url)
|
||||
logging.debug("Sending request to %s" % url)
|
||||
headers = {} if self.api_key == False else {"x-api-key":self.api_key}
|
||||
try:
|
||||
r = requests.get(url, headers=headers)
|
||||
@@ -37,7 +43,7 @@ class KlippyRest:
|
||||
try:
|
||||
data = json.loads(r.content)
|
||||
except:
|
||||
logger.exception("Unable to parse response from moonraker:\n %s" % r.content)
|
||||
logging.exception("Unable to parse response from moonraker:\n %s" % r.content)
|
||||
return False
|
||||
|
||||
return data
|
||||
@@ -9,7 +9,6 @@ import requests
|
||||
import websocket
|
||||
import asyncio
|
||||
import logging
|
||||
logger = logging.getLogger("KlipperScreen.KlipperWebsocket")
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
@@ -51,12 +50,13 @@ class KlippyWebsocket(threading.Thread):
|
||||
# Enable a timeout so that way if moonraker is not running, it will attempt to reconnect
|
||||
if self.timeout == None:
|
||||
self.timeout = GLib.timeout_add(500, self.reconnect)
|
||||
self.connect()
|
||||
|
||||
def connect (self):
|
||||
try:
|
||||
token = self._screen.apiclient.get_oneshot_token()
|
||||
except:
|
||||
logger.debug("Unable to get oneshot token")
|
||||
logging.debug("Unable to get oneshot token")
|
||||
return False
|
||||
|
||||
self.ws_url = "ws://%s/websocket?token=%s" % (self._url, token)
|
||||
@@ -72,10 +72,11 @@ class KlippyWebsocket(threading.Thread):
|
||||
try:
|
||||
self._wst.start()
|
||||
except Exception:
|
||||
logger.debug("Error starting web socket")
|
||||
logging.debug("Error starting web socket")
|
||||
|
||||
def close(self):
|
||||
self.closing = True
|
||||
self.ws.close()
|
||||
|
||||
def is_connected(self):
|
||||
return self.connected
|
||||
@@ -122,10 +123,12 @@ class KlippyWebsocket(threading.Thread):
|
||||
return True
|
||||
|
||||
def on_open(self, ws):
|
||||
logger.info("Moonraker Websocket Open")
|
||||
logger.info("Self.connected = %s" % self.is_connected())
|
||||
logging.info("Moonraker Websocket Open")
|
||||
logging.info("Self.connected = %s" % self.is_connected())
|
||||
self.connected = True
|
||||
self.timeout = None
|
||||
if self.timeout != None:
|
||||
GLib.source_remove(self.timeout)
|
||||
self.timeout = None
|
||||
if "on_connect" in self._callback:
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_HIGH_IDLE,
|
||||
@@ -134,15 +137,15 @@ class KlippyWebsocket(threading.Thread):
|
||||
|
||||
def on_close(self, ws):
|
||||
if self.is_connected() == False:
|
||||
logger.debug("Connection already closed")
|
||||
logging.debug("Connection already closed")
|
||||
return
|
||||
|
||||
if self.closing == True:
|
||||
logger.debug("Closing websocket")
|
||||
logging.debug("Closing websocket")
|
||||
self.ws.stop()
|
||||
return
|
||||
|
||||
logger.info("Moonraker Websocket Closed")
|
||||
logging.info("Moonraker Websocket Closed")
|
||||
self.connected = False
|
||||
if self.timeout == None:
|
||||
self.timeout = GLib.timeout_add(500, self.reconnect)
|
||||
@@ -155,17 +158,17 @@ class KlippyWebsocket(threading.Thread):
|
||||
)
|
||||
|
||||
def reconnect(self):
|
||||
logger.debug("Attempting to reconnect")
|
||||
if self.is_connected():
|
||||
logger.debug("Reconnected")
|
||||
logging.debug("Reconnected")
|
||||
return False
|
||||
|
||||
logging.debug("Attempting to reconnect")
|
||||
self.connect()
|
||||
return True
|
||||
|
||||
|
||||
def on_error(self, ws, error):
|
||||
logger.debug("Websocket error: %s" % error)
|
||||
logging.debug("Websocket error: %s" % error)
|
||||
if error.status_code == 401:
|
||||
# Check for any pending reconnects and remove. No amount of trying will help
|
||||
if self.timeout != None:
|
||||
@@ -181,13 +184,13 @@ class MoonrakerApi:
|
||||
self._ws = ws
|
||||
|
||||
def emergency_stop(self):
|
||||
logger.info("Sending printer.emergency_stop")
|
||||
logging.info("Sending printer.emergency_stop")
|
||||
return self._ws.send_method(
|
||||
"printer.emergency_stop"
|
||||
)
|
||||
|
||||
def gcode_script(self, script, callback=None, *args):
|
||||
logger.debug("Sending printer.gcode.script: %s", script)
|
||||
logging.debug("Sending printer.gcode.script: %s", script)
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{"script": script},
|
||||
@@ -197,7 +200,7 @@ class MoonrakerApi:
|
||||
|
||||
def get_file_list(self, callback=None, *args):
|
||||
#Commenting this log for being too noisy
|
||||
#logger.debug("Sending server.files.list")
|
||||
logging.debug("Sending server.files.list")
|
||||
return self._ws.send_method(
|
||||
"server.files.list",
|
||||
{},
|
||||
@@ -206,7 +209,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def get_file_metadata(self, filename, callback=None, *args):
|
||||
logger.debug("Sending server.files.metadata: %s", filename)
|
||||
#logging.debug("Sending server.files.metadata: %s", filename)
|
||||
return self._ws.send_method(
|
||||
"server.files.metadata",
|
||||
{"filename": filename},
|
||||
@@ -215,14 +218,14 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def object_subscription(self, updates):
|
||||
logger.debug("Sending printer.objects.subscribe: %s", str(updates))
|
||||
logging.debug("Sending printer.objects.subscribe: %s", str(updates))
|
||||
return self._ws.send_method(
|
||||
"printer.objects.subscribe",
|
||||
updates
|
||||
)
|
||||
|
||||
def power_device_off(self, device, callback=None, *args):
|
||||
logger.debug("Sending machine.device_power.off: %s" % device)
|
||||
logging.debug("Sending machine.device_power.off: %s" % device)
|
||||
return self._ws.send_method(
|
||||
"machine.device_power.off",
|
||||
{device: False},
|
||||
@@ -231,7 +234,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def power_device_on(self, device, callback=None, *args):
|
||||
logger.debug("Sending machine.device_power.on %s" % device)
|
||||
logging.debug("Sending machine.device_power.on %s" % device)
|
||||
return self._ws.send_method(
|
||||
"machine.device_power.on",
|
||||
{device: False},
|
||||
@@ -240,7 +243,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def print_cancel(self, callback=None, *args):
|
||||
logger.debug("Sending printer.print.cancel")
|
||||
logging.debug("Sending printer.print.cancel")
|
||||
return self._ws.send_method(
|
||||
"printer.print.cancel",
|
||||
{},
|
||||
@@ -249,7 +252,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def print_pause(self, callback=None, *args):
|
||||
logger.debug("Sending printer.print.pause")
|
||||
logging.debug("Sending printer.print.pause")
|
||||
return self._ws.send_method(
|
||||
"printer.print.pause",
|
||||
{},
|
||||
@@ -258,7 +261,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def print_resume(self, callback=None, *args):
|
||||
logger.debug("Sending printer.print.resume")
|
||||
logging.debug("Sending printer.print.resume")
|
||||
return self._ws.send_method(
|
||||
"printer.print.resume",
|
||||
{},
|
||||
@@ -267,7 +270,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def print_start(self, filename, callback=None, *args):
|
||||
logger.debug("Sending printer.print.start")
|
||||
logging.debug("Sending printer.print.start")
|
||||
return self._ws.send_method(
|
||||
"printer.print.start",
|
||||
{
|
||||
@@ -279,7 +282,7 @@ class MoonrakerApi:
|
||||
|
||||
def temperature_set(self, heater, target, callback=None, *args):
|
||||
if heater == "heater_bed":
|
||||
logger.debug("Sending printer.gcode.script: %s", KlippyGcodes.set_bed_temp(target))
|
||||
logging.debug("Sending printer.gcode.script: %s", KlippyGcodes.set_bed_temp(target))
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
@@ -289,7 +292,7 @@ class MoonrakerApi:
|
||||
*args
|
||||
)
|
||||
else:
|
||||
logger.debug("Sending printer.gcode.script: %s",
|
||||
logging.debug("Sending printer.gcode.script: %s",
|
||||
KlippyGcodes.set_ext_temp(target, heater.replace("tool","")))
|
||||
#TODO: Add max/min limits
|
||||
return self._ws.send_method(
|
||||
@@ -302,7 +305,7 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def set_bed_temp(self, target, callback=None, *args):
|
||||
logger.debug("Sending set_bed_temp: %s", KlippyGcodes.set_bed_temp(target))
|
||||
logging.debug("Sending set_bed_temp: %s", KlippyGcodes.set_bed_temp(target))
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
@@ -312,8 +315,19 @@ class MoonrakerApi:
|
||||
*args
|
||||
)
|
||||
|
||||
def set_heater_temp(self, heater, target, callback=None, *args):
|
||||
logging.debug("Sending heater %s to temp: %s", heater, target)
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
"script": KlippyGcodes.set_heater_temp(heater, target)
|
||||
},
|
||||
callback,
|
||||
*args
|
||||
)
|
||||
|
||||
def set_tool_temp(self, tool, target, callback=None, *args):
|
||||
logger.debug("Sending set_tool_temp: %s", KlippyGcodes.set_ext_temp(target, tool))
|
||||
logging.debug("Sending set_tool_temp: %s", KlippyGcodes.set_ext_temp(target, tool))
|
||||
return self._ws.send_method(
|
||||
"printer.gcode.script",
|
||||
{
|
||||
@@ -324,13 +338,13 @@ class MoonrakerApi:
|
||||
)
|
||||
|
||||
def restart(self):
|
||||
logger.debug("Sending printer.restart")
|
||||
logging.debug("Sending printer.restart")
|
||||
return self._ws.send_method(
|
||||
"printer.restart"
|
||||
)
|
||||
|
||||
def restart_firmware(self):
|
||||
logger.debug("Sending printer.firmware_restart")
|
||||
logging.debug("Sending printer.firmware_restart")
|
||||
return self._ws.send_method(
|
||||
"printer.firmware_restart"
|
||||
)
|
||||
@@ -8,8 +8,6 @@ from io import StringIO
|
||||
|
||||
from os import path
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.config")
|
||||
|
||||
SCREEN_BLANKING_OPTIONS = [
|
||||
"300", #5 Minutes
|
||||
"900", #15 Minutes
|
||||
@@ -36,6 +34,10 @@ class KlipperScreenConfig:
|
||||
{"invert_x": {"section": "main", "name": _("Invert X"), "type": "binary", "value": "False"}},
|
||||
{"invert_y": {"section": "main", "name": _("Invert Y"), "type": "binary", "value": "False"}},
|
||||
{"invert_z": {"section": "main", "name": _("Invert Z"), "type": "binary", "value": "False"}},
|
||||
{"move_speed": {"section": "main", "name": _("Move Speed (mm/s)"), "type": "scale", "value": "20",
|
||||
"range": [5,100], "step": 1
|
||||
}},
|
||||
{"print_sort_dir": {"section": "main", "type": None, "value": "name_asc"}},
|
||||
{"print_estimate_method": {"section": "main", "name": _("Estimated Time Method"), "type": "dropdown",
|
||||
"value": "file","options":[
|
||||
{"name": _("File Estimation (default)"), "value": "file"},
|
||||
@@ -43,9 +45,14 @@ class KlipperScreenConfig:
|
||||
{"name": _("Filament Used"), "value": "filament"},
|
||||
{"name": _("Slicer"), "value": "slicer"}
|
||||
]}},
|
||||
{"screen_blanking": {"section": "main", "name": _("Screen Blanking Time"), "type": "dropdown",
|
||||
{"screen_blanking": {"section": "main", "name": _("Screen Power Off Time"), "type": "dropdown",
|
||||
"value": "3600", "callback": screen.set_screenblanking_timeout, "options":[
|
||||
{"name": _("Off"), "value": "off"}
|
||||
]}},
|
||||
{"theme": {"section": "main", "name": _("Icon Theme"), "type": "dropdown",
|
||||
"value": "z-bolt","options":[
|
||||
{"name": _("Z-bolt (default)"), "value": "z-bolt"},
|
||||
{"name": _("Colorized"), "value": "colorized"}
|
||||
]}}
|
||||
#{"": {"section": "main", "name": _(""), "type": ""}}
|
||||
]
|
||||
@@ -66,7 +73,7 @@ class KlipperScreenConfig:
|
||||
self.default_config_path = "%s/ks_includes/%s" % (os.getcwd(), self.configfile_name)
|
||||
self.config = configparser.ConfigParser()
|
||||
self.config_path = self.get_config_file_location(configfile)
|
||||
logger.debug("Config path location: %s" % self.config_path)
|
||||
logging.debug("Config path location: %s" % self.config_path)
|
||||
self.defined_config = None
|
||||
|
||||
try:
|
||||
@@ -75,22 +82,29 @@ class KlipperScreenConfig:
|
||||
user_def, saved_def = self.separate_saved_config(self.config_path)
|
||||
self.defined_config = configparser.ConfigParser()
|
||||
self.defined_config.read_string(user_def)
|
||||
|
||||
includes = [i[8:] for i in self.defined_config.sections() if i.startswith("include ")]
|
||||
for include in includes:
|
||||
self._include_config("/".join(self.config_path.split("/")[:-1]),include)
|
||||
|
||||
self.log_config(self.defined_config)
|
||||
self.config.read_string(user_def)
|
||||
if saved_def != None:
|
||||
self.config.read_string(saved_def)
|
||||
logging.info("====== Saved Def ======\n%s\n=======================" % saved_def)
|
||||
except KeyError:
|
||||
raise ConfigError(f"Error reading config: {self.config_path}")
|
||||
except:
|
||||
logging.exception("Unknown error with config")
|
||||
|
||||
printers = [i for i in self.config.sections() if i.startswith("printer ")]
|
||||
logger.debug("Printers: %s %s" % (len(printers), printers))
|
||||
printers = sorted([i for i in self.config.sections() if i.startswith("printer ")])
|
||||
self.printers = []
|
||||
for printer in printers:
|
||||
self.printers.append({
|
||||
printer[8:]: {
|
||||
"moonraker_host": self.config.get(printer, "moonraker_host", fallback="127.0.0.1"),
|
||||
"moonraker_port": self.config.get(printer, "moonraker_port", fallback="7125"),
|
||||
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback="")
|
||||
"moonraker_api_key": self.config.get(printer, "moonraker_api_key", fallback=False)
|
||||
}
|
||||
})
|
||||
if len(printers) <= 0:
|
||||
@@ -102,7 +116,13 @@ class KlipperScreenConfig:
|
||||
}
|
||||
})
|
||||
|
||||
logger.debug("Configured printers: %s" % json.dumps(self.printers, indent=2))
|
||||
conf_printers_debug = self.printers.copy()
|
||||
for printer in conf_printers_debug:
|
||||
name = list(printer)[0]
|
||||
item = conf_printers_debug[conf_printers_debug.index(printer)]
|
||||
if item[list(printer)[0]]['moonraker_api_key'] != "":
|
||||
item[list(printer)[0]]['moonraker_api_key'] = "redacted"
|
||||
logging.debug("Configured printers: %s" % json.dumps(conf_printers_debug, indent=2))
|
||||
|
||||
for item in self.configurable_options:
|
||||
name = list(item)[0]
|
||||
@@ -113,6 +133,37 @@ class KlipperScreenConfig:
|
||||
self.config.set(vals['section'], name, vals['value'])
|
||||
#self.build_main_menu(self.config)
|
||||
|
||||
def _include_config(self, dir, path):
|
||||
full_path = path if path[0] == "/" else "%s/%s" % (dir, path)
|
||||
parse_files = []
|
||||
|
||||
if "*" in full_path:
|
||||
parent_dir = "/".join(full_path.split("/")[:-1])
|
||||
file = full_path.split("/")[-1]
|
||||
if not os.path.exists(parent_dir):
|
||||
logging.info("Config Error: Directory %s does not exist" % parent_dir)
|
||||
return
|
||||
files = os.listdir(parent_dir)
|
||||
regex = "^%s$" % file.replace('*','.*')
|
||||
for file in files:
|
||||
if re.match(regex, file):
|
||||
parse_files.append(os.path.join(parent_dir, file))
|
||||
else:
|
||||
if not os.path.exists(os.path.join(full_path)):
|
||||
logging.info("Config Error: %s does not exist" % full_path)
|
||||
return
|
||||
parse_files.append(full_path)
|
||||
|
||||
logging.info("Parsing files: %s" % parse_files)
|
||||
for file in parse_files:
|
||||
config = configparser.ConfigParser()
|
||||
config.read(file)
|
||||
includes = [i[8:] for i in config.sections() if i.startswith("include ")]
|
||||
for include in includes:
|
||||
self._include_config("/".join(full_path.split("/")[:-1]), include)
|
||||
self.config.read(file)
|
||||
self.defined_config.read(file)
|
||||
|
||||
def separate_saved_config(self, config_path):
|
||||
user_def = []
|
||||
saved_def = None
|
||||
@@ -134,12 +185,13 @@ class KlipperScreenConfig:
|
||||
return ["\n".join(user_def), None if saved_def == None else "\n".join(saved_def)]
|
||||
|
||||
def get_config_file_location(self, file):
|
||||
logging.info("Passed config file: %s" % file)
|
||||
if not path.exists(file):
|
||||
file = "%s/%s" % (os.getcwd(), self.configfile_name)
|
||||
if not path.exists(file):
|
||||
file = self.default_config_path
|
||||
|
||||
logger.info("Found configuration file at: %s" % file)
|
||||
logging.info("Found configuration file at: %s" % file)
|
||||
return file
|
||||
|
||||
def get_config(self):
|
||||
@@ -184,6 +236,14 @@ class KlipperScreenConfig:
|
||||
|
||||
return preheat_options
|
||||
|
||||
def get_printer_config(self, name):
|
||||
if not name.startswith("printer "):
|
||||
name = "printer %s" % name
|
||||
|
||||
if name not in self.config:
|
||||
return None
|
||||
return self.config[name]
|
||||
|
||||
def get_printer_power_name(self):
|
||||
return self.config['settings'].get("printer_power_name", "printer")
|
||||
|
||||
@@ -207,16 +267,17 @@ class KlipperScreenConfig:
|
||||
save_config.add_section(opt['section'])
|
||||
save_config.set(opt['section'], name, str(curval))
|
||||
|
||||
if "displayed_macros" in self.config.sections():
|
||||
for item in self.config.options('displayed_macros'):
|
||||
value = self.config['displayed_macros'].getboolean(item, fallback=True)
|
||||
macro_sections = [i for i in self.config.sections() if i.startswith("displayed_macros")]
|
||||
for macro_sec in macro_sections:
|
||||
for item in self.config.options(macro_sec):
|
||||
value = self.config[macro_sec].getboolean(item, fallback=True)
|
||||
if value == False or (self.defined_config != None and
|
||||
"displayed_macros" in self.defined_config.sections() and
|
||||
self.defined_config['displayed_macros'].getboolean(item, fallback=True) == False and
|
||||
self.defined_config['displayed_macros'].getboolean(item, fallback=True) != value):
|
||||
if "displayed_macros" not in save_config.sections():
|
||||
save_config.add_section("displayed_macros")
|
||||
save_config.set("displayed_macros", item, str(value))
|
||||
macro_sec in self.defined_config.sections() and
|
||||
self.defined_config[macro_sec].getboolean(item, fallback=True) == False and
|
||||
self.defined_config[macro_sec].getboolean(item, fallback=True) != value):
|
||||
if macro_sec not in save_config.sections():
|
||||
save_config.add_section(macro_sec)
|
||||
save_config.set(macro_sec, item, str(value))
|
||||
|
||||
save_output = self._build_config_string(save_config).split("\n")
|
||||
for i in range(len(save_output)):
|
||||
@@ -242,7 +303,7 @@ class KlipperScreenConfig:
|
||||
file.write(contents)
|
||||
file.close()
|
||||
except:
|
||||
logger.error("Error writing configuration file")
|
||||
logging.error("Error writing configuration file")
|
||||
|
||||
def set(self, section, name, value):
|
||||
self.config.set(section, name, value)
|
||||
@@ -258,7 +319,7 @@ class KlipperScreenConfig:
|
||||
),
|
||||
"======================="
|
||||
]
|
||||
logger.info("\n".join(lines))
|
||||
logging.info("\n".join(lines))
|
||||
|
||||
def _build_config_string(self, config):
|
||||
sfile = StringIO()
|
||||
@@ -282,7 +343,7 @@ class KlipperScreenConfig:
|
||||
try:
|
||||
item["params"] = json.loads(cfg.get("params", "{}"))
|
||||
except:
|
||||
logger.debug("Unable to parse parameters for [%s]" % name)
|
||||
logging.debug("Unable to parse parameters for [%s]" % name)
|
||||
item["params"] = {}
|
||||
|
||||
return {name[(len(menu) + 6):]: item}
|
||||
@@ -293,6 +354,7 @@ class KlipperScreenConfig:
|
||||
cfg = self.config[name]
|
||||
item = {
|
||||
"extruder": cfg.getint("extruder", 0),
|
||||
"bed": cfg.getint("bed", 0)
|
||||
"bed": cfg.getint("bed", 0),
|
||||
"heater_generic": cfg.getint("heater_generic", 0)
|
||||
}
|
||||
return item
|
||||
@@ -1,64 +1,36 @@
|
||||
import logging
|
||||
import asyncio
|
||||
import json
|
||||
import os
|
||||
import base64
|
||||
|
||||
from contextlib import suppress
|
||||
from threading import Thread
|
||||
|
||||
import gi
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.KlippyFiles")
|
||||
|
||||
RESCAN_INTERVAL = 4
|
||||
|
||||
class KlippyFiles(Thread):
|
||||
callbacks = []
|
||||
filelist = []
|
||||
files = {}
|
||||
metadata_timeout = {}
|
||||
timeout = None
|
||||
class KlippyFiles():
|
||||
thumbnail_dir = "/tmp/.KS-thumbnails"
|
||||
|
||||
def __init__(self, screen, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
def __init__(self, screen):
|
||||
self.loop = None
|
||||
self._poll_task = None
|
||||
self._screen = screen
|
||||
self.callbacks = []
|
||||
self.files = {}
|
||||
self.filelist = []
|
||||
self.metadata_timeout = {}
|
||||
|
||||
if not os.path.exists(self.thumbnail_dir):
|
||||
os.makedirs(self.thumbnail_dir)
|
||||
|
||||
def run(self):
|
||||
self.loop = asyncio.new_event_loop()
|
||||
loop = self.loop
|
||||
asyncio.set_event_loop(loop)
|
||||
try:
|
||||
self._poll_task = asyncio.ensure_future(self._poll())
|
||||
loop.run_forever()
|
||||
loop.run_until_complete(loop.shutdown_asyncgens())
|
||||
|
||||
self._poll_task.cancel()
|
||||
with suppress(asyncio.CancelledError):
|
||||
loop.run_until_complete(self._poll_task)
|
||||
finally:
|
||||
loop.close()
|
||||
|
||||
def stop(self):
|
||||
self.loop.call_soon_threadsafe(self.loop.stop)
|
||||
|
||||
async def _poll(self):
|
||||
await self.ret_files()
|
||||
while True:
|
||||
try:
|
||||
await self.ret_files()
|
||||
except:
|
||||
logger.exception("Poll files error")
|
||||
await asyncio.sleep(4)
|
||||
self.gcodes_path = None
|
||||
|
||||
def initialize(self):
|
||||
self.gcodes_path = None
|
||||
if "virtual_sdcard" in self._screen.printer.get_config_section_list():
|
||||
vsd = self._screen.printer.get_config_section("virtual_sdcard")
|
||||
if "path" in vsd:
|
||||
self.gcodes_path = vsd['path']
|
||||
logging.info("Gcodes path: %s" % self.gcodes_path)
|
||||
|
||||
def _callback(self, result, method, params):
|
||||
if method == "server.files.list":
|
||||
@@ -66,64 +38,86 @@ class KlippyFiles(Thread):
|
||||
newfiles = []
|
||||
deletedfiles = self.filelist.copy()
|
||||
for item in result['result']:
|
||||
if item['filename'] in self.files:
|
||||
deletedfiles.remove(item['filename'])
|
||||
file = item['filename'] if "filename" in item else item['path']
|
||||
if file in self.files:
|
||||
deletedfiles.remove(file)
|
||||
else:
|
||||
newfiles.append(item['filename'])
|
||||
logger.debug("New file: %s", item['filename'])
|
||||
self.filelist.append(item['filename'])
|
||||
self.files[item['filename']] = {
|
||||
"size": item['size'],
|
||||
"modified": item['modified']
|
||||
}
|
||||
self.request_metadata(item['filename'])
|
||||
newfiles.append(file)
|
||||
self.add_file(item, False)
|
||||
|
||||
if len(self.callbacks) > 0 and (len(newfiles) > 0 or len(deletedfiles) > 0):
|
||||
logger.debug("Running callbacks...")
|
||||
for cb in self.callbacks:
|
||||
cb(newfiles, deletedfiles, [])
|
||||
if len(newfiles) > 0 or len(deletedfiles) > 0:
|
||||
self.run_callbacks(newfiles, deletedfiles)
|
||||
|
||||
if len(deletedfiles) > 0:
|
||||
logger.debug("Deleted files: %s", deletedfiles)
|
||||
for file in deletedfiles:
|
||||
self.filelist.remove(file)
|
||||
self.files.pop(file, None)
|
||||
self.remove_file(file)
|
||||
|
||||
elif method == "server.files.metadata":
|
||||
if "error" in result.keys():
|
||||
logger.debug("Error in getting metadata for %s. Retrying in 6 seconds" %(params['filename']))
|
||||
logging.debug("Error in getting metadata for %s. Retrying in 6 seconds" %(params['filename']))
|
||||
return
|
||||
|
||||
logger.debug("Got metadata for %s" % (result['result']['filename']))
|
||||
|
||||
for x in result['result']:
|
||||
self.files[params['filename']][x] = result['result'][x]
|
||||
if "thumbnails" in self.files[params['filename']]:
|
||||
self.files[params['filename']]['thumbnails'].sort(key=lambda x: x['size'], reverse=True)
|
||||
|
||||
for thumbnail in self.files[params['filename']]['thumbnails']:
|
||||
f = open("%s/%s-%s" % (self.thumbnail_dir, params['filename'].split('/')[-1], thumbnail['size']),
|
||||
"wb")
|
||||
f.write(base64.b64decode(thumbnail['data']))
|
||||
f.close()
|
||||
for cb in self.callbacks:
|
||||
logger.debug("Running metadata callbacks")
|
||||
cb([], [], [params['filename']])
|
||||
thumbnail['local'] = False
|
||||
if self.gcodes_path != None:
|
||||
fpath = os.path.join(self.gcodes_path, params['filename'])
|
||||
fdir = os.path.dirname(fpath)
|
||||
path = os.path.join(fdir, thumbnail['relative_path'])
|
||||
if os.access(path, os.R_OK):
|
||||
thumbnail['local'] = True
|
||||
thumbnail['path'] = path
|
||||
if thumbnail['local'] == False:
|
||||
fdir = os.path.dirname(params['filename'])
|
||||
thumbnail['path'] = os.path.join(fdir, thumbnail['relative_path'])
|
||||
self.run_callbacks(mods=[params['filename']])
|
||||
|
||||
def add_file(self, item, notify=True):
|
||||
if 'filename' not in item and 'path' not in item:
|
||||
logging.info("Error adding item, unknown filename or path: %s" % item)
|
||||
return
|
||||
|
||||
filename = item['path'] if "path" in item else item['filename']
|
||||
if filename in self.filelist:
|
||||
logging.info("File already exists: %s" % filename)
|
||||
return
|
||||
|
||||
self.filelist.append(filename)
|
||||
self.files[filename] = {
|
||||
"size": item['size'],
|
||||
"modified": item['modified']
|
||||
}
|
||||
self.request_metadata(filename)
|
||||
if notify == True:
|
||||
self.run_callbacks(newfiles=[filename])
|
||||
|
||||
def add_file_callback(self, callback):
|
||||
try:
|
||||
self.callbacks.append(callback)
|
||||
except:
|
||||
logger.debug("Callback not found: %s" % callback)
|
||||
logging.debug("Callback not found: %s" % callback)
|
||||
|
||||
def process_update(self, data):
|
||||
if 'item' in data and data['item']['root'] != 'gcodes':
|
||||
return
|
||||
|
||||
if data['action'] == "create_file":
|
||||
self.add_file(data['item'])
|
||||
elif data['action'] == "delete_file":
|
||||
self.remove_file(data['item']['path'])
|
||||
elif data['action'] == "move_file":
|
||||
self.add_file(data['item'], False)
|
||||
self.remove_file(data['source_item']['path'], False)
|
||||
self.run_callbacks(newfiles=[data['item']['path']], deletedfiles=[data['source_item']['path']])
|
||||
|
||||
def remove_file_callback(self, callback):
|
||||
if callback in self.callbacks:
|
||||
self.callbacks.pop(self.callbacks.index(callback))
|
||||
|
||||
def add_timeout(self):
|
||||
if self.timeout == None:
|
||||
self.timeout = GLib.timeout_add(4000, self.ret_files)
|
||||
|
||||
def file_exists(self, filename):
|
||||
return True if filename in self.filelist else False
|
||||
|
||||
@@ -137,39 +131,51 @@ class KlippyFiles(Thread):
|
||||
def get_thumbnail_location(self, filename):
|
||||
if not self.has_thumbnail(filename):
|
||||
return None
|
||||
return "%s/%s-%s" % (self.thumbnail_dir, filename.split('/')[-1], self.files[filename]['thumbnails'][0]['size'])
|
||||
|
||||
thumb = self.files[filename]['thumbnails'][0]
|
||||
if thumb['local'] == False:
|
||||
return ['http', thumb['path']]
|
||||
return ['file', thumb['path']]
|
||||
|
||||
def has_thumbnail(self, filename):
|
||||
if filename not in self.files:
|
||||
return False
|
||||
return "thumbnails" in self.files[filename] and len(self.files[filename]) > 0
|
||||
|
||||
def remove_timeout(self):
|
||||
if self.timeout != None:
|
||||
self.timeout = None
|
||||
|
||||
def request_metadata(self, filename):
|
||||
if filename not in self.filelist:
|
||||
return False
|
||||
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
|
||||
|
||||
async def ret_files(self, retval=True):
|
||||
logger.debug("Scanning for files")
|
||||
if not self._screen._ws.klippy.get_file_list(self._callback):
|
||||
self.timeout = None
|
||||
def refresh_files(self):
|
||||
self._screen._ws.klippy.get_file_list(self._callback)
|
||||
|
||||
def remove_file(self, filename, notify=True):
|
||||
if filename not in self.filelist:
|
||||
return
|
||||
|
||||
self.filelist.remove(filename)
|
||||
self.files.pop(filename, None)
|
||||
|
||||
if notify == True:
|
||||
self.run_callbacks(deletedfiles=[filename])
|
||||
|
||||
def ret_file_data (self, filename):
|
||||
print("Getting file info for %s" % (filename))
|
||||
self._screen._ws.klippy.get_file_metadata(filename, self._callback)
|
||||
|
||||
def run_callbacks(self, newfiles=[], deletedfiles=[], mods=[]):
|
||||
if len(self.callbacks) <= 0:
|
||||
return
|
||||
|
||||
for cb in self.callbacks:
|
||||
GLib.idle_add(cb, newfiles, deletedfiles, mods)
|
||||
|
||||
def get_file_list(self):
|
||||
return self.filelist
|
||||
|
||||
def get_file_info(self, filename):
|
||||
if filename not in self.files:
|
||||
return None
|
||||
return {"path":None,"modified":0,"size":0}
|
||||
|
||||
return self.files[filename]
|
||||
|
||||
def add_file(self, file_name, size, modified, old_file_name = None):
|
||||
print(file_name)
|
||||
@@ -0,0 +1,167 @@
|
||||
import logging
|
||||
import logging.handlers
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
import threading
|
||||
import time
|
||||
import traceback
|
||||
from queue import SimpleQueue as Queue
|
||||
|
||||
import ctypes
|
||||
import struct
|
||||
|
||||
dpms_loaded = False
|
||||
try:
|
||||
ctypes.cdll.LoadLibrary('libXext.so.6')
|
||||
libXext = ctypes.CDLL('libXext.so.6')
|
||||
|
||||
class DPMS_State:
|
||||
Fail = -1
|
||||
On = 0
|
||||
Standby = 1
|
||||
Suspend = 2
|
||||
Off = 3
|
||||
|
||||
def get_DPMS_state(display_name_in_byte_string=b':0'):
|
||||
state = DPMS_State.Fail
|
||||
if not isinstance(display_name_in_byte_string, bytes):
|
||||
raise TypeError
|
||||
display_name = ctypes.c_char_p()
|
||||
display_name.value = display_name_in_byte_string
|
||||
libXext.XOpenDisplay.restype = ctypes.c_void_p
|
||||
display = ctypes.c_void_p(libXext.XOpenDisplay(display_name))
|
||||
dummy1_i_p = ctypes.create_string_buffer(8)
|
||||
dummy2_i_p = ctypes.create_string_buffer(8)
|
||||
if display.value:
|
||||
if libXext.DPMSQueryExtension(display, dummy1_i_p, dummy2_i_p)\
|
||||
and libXext.DPMSCapable(display):
|
||||
onoff_p = ctypes.create_string_buffer(1)
|
||||
state_p = ctypes.create_string_buffer(2)
|
||||
if libXext.DPMSInfo(display, state_p, onoff_p):
|
||||
onoff = struct.unpack('B', onoff_p.raw)[0]
|
||||
if onoff:
|
||||
state = struct.unpack('H', state_p.raw)[0]
|
||||
libXext.XCloseDisplay(display)
|
||||
return state
|
||||
dpms_loaded = True
|
||||
except:
|
||||
pass
|
||||
|
||||
def get_network_interfaces():
|
||||
stream = os.popen("ip addr | grep ^'[0-9]' | cut -d ' ' -f 2 | grep -o '[a-zA-Z0-9\.]*'")
|
||||
return [i for i in stream.read().strip().split('\n') if not i.startswith('lo')]
|
||||
|
||||
def get_wireless_interfaces():
|
||||
p = subprocess.Popen(["which","iwconfig"], stdout=subprocess.PIPE)
|
||||
|
||||
while p.poll() is None:
|
||||
time.sleep(.1)
|
||||
if p.poll() != 0:
|
||||
return None
|
||||
|
||||
try:
|
||||
p = subprocess.Popen(["iwconfig"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
result = p.stdout.read().decode('ascii').split('\n')
|
||||
except:
|
||||
logging.info("Error with running iwconfig command")
|
||||
return None
|
||||
interfaces = []
|
||||
for line in result:
|
||||
match = re.search('^(\S+)\s+.*$', line)
|
||||
if match:
|
||||
interfaces.append(match.group(1))
|
||||
|
||||
return interfaces
|
||||
|
||||
def get_software_version():
|
||||
prog = ('git', '-C', os.path.dirname(__file__), 'describe', '--always',
|
||||
'--tags', '--long', '--dirty')
|
||||
try:
|
||||
process = subprocess.Popen(prog, stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
ver, err = process.communicate()
|
||||
retcode = process.wait()
|
||||
if retcode == 0:
|
||||
version = ver.strip()
|
||||
if isinstance(version, bytes):
|
||||
version = version.decode()
|
||||
return version
|
||||
else:
|
||||
logging.debug(f"Error getting git version: {err}")
|
||||
except OSError:
|
||||
logging.exception("Error runing git describe")
|
||||
return "?"
|
||||
|
||||
def patch_threading_excepthook():
|
||||
"""Installs our exception handler into the threading modules Thread object
|
||||
Inspired by https://bugs.python.org/issue1230540
|
||||
"""
|
||||
old_init = threading.Thread.__init__
|
||||
def new_init(self, *args, **kwargs):
|
||||
old_init(self, *args, **kwargs)
|
||||
old_run = self.run
|
||||
def run_with_excepthook(*args, **kwargs):
|
||||
try:
|
||||
old_run(*args, **kwargs)
|
||||
except (KeyboardInterrupt, SystemExit):
|
||||
raise
|
||||
except:
|
||||
sys.excepthook(*sys.exc_info(), thread_identifier=threading.get_ident())
|
||||
self.run = run_with_excepthook
|
||||
threading.Thread.__init__ = new_init
|
||||
|
||||
# Timed rotating file handler based on Klipper and Moonraker's implementation
|
||||
class KlipperScreenLoggingHandler(logging.handlers.TimedRotatingFileHandler):
|
||||
def __init__(self, software_version, filename, **kwargs):
|
||||
super(KlipperScreenLoggingHandler, self).__init__(filename, **kwargs)
|
||||
self.rollover_info = {
|
||||
'header': f"{'-'*20}KlipperScreen Log Start{'-'*20}",
|
||||
'version': f"Git Version: {software_version}",
|
||||
}
|
||||
lines = [line for line in self.rollover_info.values() if line]
|
||||
if self.stream is not None:
|
||||
self.stream.write("\n".join(lines) + "\n")
|
||||
|
||||
def set_rollover_info(self, name, item):
|
||||
self.rollover_info[name] = item
|
||||
|
||||
def doRollover(self):
|
||||
super(KlipperScreenLoggingHandler, self).doRollover()
|
||||
lines = [line for line in self.rollover_info.values() if line]
|
||||
if self.stream is not None:
|
||||
self.stream.write("\n".join(lines) + "\n")
|
||||
|
||||
# Logging based on Arksine's logging setup
|
||||
def setup_logging(log_file, software_version):
|
||||
root_logger = logging.getLogger()
|
||||
queue = Queue()
|
||||
queue_handler = logging.handlers.QueueHandler(queue)
|
||||
root_logger.addHandler(queue_handler)
|
||||
root_logger.setLevel(logging.DEBUG)
|
||||
|
||||
stdout_hdlr = logging.StreamHandler(sys.stdout)
|
||||
stdout_fmt = logging.Formatter(
|
||||
'%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
|
||||
stdout_hdlr.setFormatter(stdout_fmt)
|
||||
|
||||
fh = None
|
||||
if log_file:
|
||||
fh = KlipperScreenLoggingHandler(software_version, log_file, when='midnight', backupCount=2)
|
||||
formatter = logging.Formatter(
|
||||
'%(asctime)s [%(filename)s:%(funcName)s()] - %(message)s')
|
||||
fh.setFormatter(formatter)
|
||||
listener = logging.handlers.QueueListener(
|
||||
queue, fh, stdout_hdlr)
|
||||
else:
|
||||
listener = logging.handlers.QueueListener(
|
||||
queue, stdout_hdlr)
|
||||
listener.start()
|
||||
|
||||
def logging_exception_handler(type, value, tb, thread_identifier=None):
|
||||
logging.exception("Uncaught exception %s: %s\nTraceback: %s" % (type, value, "\n".join(traceback.format_tb(tb))))
|
||||
sys.excepthook = logging_exception_handler
|
||||
logging.captureWarnings(True)
|
||||
|
||||
return listener, fh
|
||||
@@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"POT-Creation-Date: 2021-02-26 15:56+0000\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@@ -17,519 +17,430 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:26
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:29
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:32
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:104
|
||||
msgid "Calibrate"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:45
|
||||
msgid "Cancel Change"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:305
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Channel"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:30
|
||||
msgid "Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:492
|
||||
msgid "Connected"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr ""
|
||||
|
||||
#: panels/preheat.py:54
|
||||
msgid "Cooldown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr ""
|
||||
|
||||
#: panels/settings.py:28
|
||||
msgid "Disconnect"
|
||||
msgstr ""
|
||||
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:57
|
||||
msgid "Extrusion +"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:61
|
||||
msgid "Extrusion -"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan Off"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:38
|
||||
msgid "Fan On"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:45
|
||||
msgid "Home X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:63
|
||||
msgid "Home XY"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:51
|
||||
msgid "Home Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:57
|
||||
msgid "Home Z"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:29 ks_includes/KlipperScreen.conf:17
|
||||
msgid "Homing"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Hostname"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr ""
|
||||
|
||||
msgid "Increase"
|
||||
msgstr ""
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Interface"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:22
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:39
|
||||
msgid "Lower Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Modified"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr ""
|
||||
|
||||
#: panels/network.py:31
|
||||
msgid "Network Info"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:55
|
||||
msgid "Number Pad"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:48
|
||||
msgid "Off"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:21
|
||||
msgid "Preheat"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr ""
|
||||
|
||||
msgid "Screen will show in less than one second"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Set Speed"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:51
|
||||
msgid "Speed -"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:27
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X+"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:27
|
||||
msgid "X-"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y+"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:32
|
||||
msgid "Y-"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:28
|
||||
msgid "Z Offset"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:36 panels/move.py:35
|
||||
msgid "Z Tilt"
|
||||
msgstr ""
|
||||
|
||||
msgid "Z+"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:40 panels/move.py:37
|
||||
msgid "Z-"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "dBm"
|
||||
msgstr ""
|
||||
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr ""
|
||||
@@ -1,83 +1,74 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR Elektrickser@gmail.com, 2021
|
||||
#
|
||||
# Jakob Kais <schpuntik@freenet.de>, 2021.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"PO-Revision-Date: 2021-02-12 02:02+0100\n"
|
||||
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
|
||||
"Language-Team: Russian <kde-i18n-de@kde.org>\n"
|
||||
"POT-Creation-Date: 2021-02-26 15:56+0000\n"
|
||||
"PO-Revision-Date: 2021-04-20 19:04+0200\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: de_DE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.3\n"
|
||||
"X-Generator: Poedit 2.4.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "Abbrechen"
|
||||
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "OK"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:26
|
||||
msgid "Actions"
|
||||
msgstr "Aktionen"
|
||||
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr "Druckbett Mesh Profil hinzufügen"
|
||||
msgstr "Mesh-Level Profil hinzufügen"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "Möchten Sie wirklich drucken"
|
||||
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Möchten Sie diesen Druck wirklich abbrechen?"
|
||||
|
||||
#: panels/system.py:29
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Möchten Sie das System wirklich neu starten?"
|
||||
|
||||
#: panels/system.py:32
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Möchten Sie das System wirklich herunterfahren?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "Druckbett leveln"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "Druckbett Mesh-Level"
|
||||
|
||||
#: panels/bed_mesh.py:104
|
||||
msgid "Calibrate"
|
||||
msgstr "Kalibrieren"
|
||||
msgstr "Höheneinstellung"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "Abbruch"
|
||||
|
||||
#: panels/fan.py:45
|
||||
msgid "Cancel Change"
|
||||
msgstr "Änderung abbrechen"
|
||||
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "Druck abbrechen"
|
||||
|
||||
#: screen.py:305
|
||||
msgid "Cancelled"
|
||||
msgstr "Abgebrochen"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "Kanal"
|
||||
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
@@ -85,195 +76,173 @@ msgstr ""
|
||||
"Prüfe /tmp/KlipperScreen.log für weitere Informationen.\n"
|
||||
"Bitte eröffne einen Fehlerbericht auf https://git.io/JLNn4 für Hilfe."
|
||||
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "Schließen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:30
|
||||
msgid "Complete"
|
||||
msgstr "Fertiggestellt"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
#: screen.py:492
|
||||
msgid "Connected"
|
||||
msgstr "Verbunden"
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr "Verbinden zu %s"
|
||||
|
||||
msgid "Continue"
|
||||
msgstr "Fortsetzen"
|
||||
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "Steuerung"
|
||||
|
||||
#: panels/preheat.py:54
|
||||
msgid "Cooldown"
|
||||
msgstr "Abkühlen"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr "Datum"
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "Verringern"
|
||||
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr "Löschen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "Motoren deaktivieren"
|
||||
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "Achse XY deaktivieren"
|
||||
|
||||
#: panels/settings.py:28
|
||||
msgid "Disconnect"
|
||||
msgstr "Nicht verbunden"
|
||||
|
||||
msgid "Displayed Macros"
|
||||
msgstr "Aktive Macros"
|
||||
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "Entfernung (mm)"
|
||||
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr "Reine Druckzeit"
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "Verstrichene Zeit:"
|
||||
msgstr "Druckzeit:"
|
||||
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "NOT-STOP"
|
||||
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Error"
|
||||
msgstr "Fehler"
|
||||
|
||||
msgid "Estimated Time Method"
|
||||
msgstr "Druckzeit"
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "Filament fördern"
|
||||
|
||||
#: panels/fine_tune.py:57
|
||||
msgid "Extrusion +"
|
||||
msgstr "Extrusion +"
|
||||
|
||||
#: panels/fine_tune.py:61
|
||||
msgid "Extrusion -"
|
||||
msgstr "Extrusion -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "Lüfter"
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan Off"
|
||||
msgstr "Lüfter Aus"
|
||||
|
||||
#: panels/fan.py:38
|
||||
msgid "Fan On"
|
||||
msgstr "Lüfter An"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "Schnell"
|
||||
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr "Filamentverbrauch"
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr "Dateischätzung (Standard)"
|
||||
msgstr "Dateischätzung"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "Feintuning"
|
||||
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr ""
|
||||
"Firmware\n"
|
||||
" neustarten"
|
||||
msgstr "Firmware neustarten"
|
||||
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "Zurück"
|
||||
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
"Alle Achsen\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:45
|
||||
msgid "Home X"
|
||||
msgstr ""
|
||||
"Achse X\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:63
|
||||
msgid "Home XY"
|
||||
msgstr ""
|
||||
"Achse XY\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:51
|
||||
msgid "Home Y"
|
||||
msgstr ""
|
||||
"Achse Y\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:57
|
||||
msgid "Home Z"
|
||||
msgstr ""
|
||||
"Achse Z\n"
|
||||
"zurücksetzen"
|
||||
|
||||
#: panels/zcalibrate.py:29 ks_includes/KlipperScreen.conf:17
|
||||
msgid "Homing"
|
||||
msgstr "Grundposition"
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Hostname"
|
||||
msgstr "Hostname"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Increase"
|
||||
msgstr "Erhöhen"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "Startvorgang"
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Drucker wird initialisiert..."
|
||||
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Interface"
|
||||
msgstr "Interface"
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr "Achse X invertieren"
|
||||
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr "Achse Y invertieren"
|
||||
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr "Achse Z invertieren"
|
||||
|
||||
#: panels/system.py:22
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
"Klipper\n"
|
||||
" neustarten"
|
||||
msgstr "Klipper neustarten"
|
||||
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "Klipper Version"
|
||||
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper nicht verbunden"
|
||||
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
@@ -281,11 +250,9 @@ msgstr ""
|
||||
"Klipper hat einen Fehler mit dem Mainboard festgestellt.\n"
|
||||
"Bitte Mainboard neu programmieren."
|
||||
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper hat einen Fehler festgestellt."
|
||||
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
@@ -293,203 +260,153 @@ msgstr ""
|
||||
"Klipper hat einen Fehler festgestellt.\n"
|
||||
"Führe einen FIRMWARE_RESTART durch um den Fehler zu beheben."
|
||||
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper abgeschaltet"
|
||||
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper ist startbereit"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper startet neu"
|
||||
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "KlipperScreen Version"
|
||||
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "Restzeit:"
|
||||
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr "Belastung"
|
||||
msgstr "Last"
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "Durchschnittslast"
|
||||
|
||||
#: panels/zcalibrate.py:39
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "Düse absenken"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "Makros"
|
||||
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "Hauptmenü"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "Mittel"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
msgid "Menu"
|
||||
msgstr "Menü"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Modified"
|
||||
msgstr "Modifiziert"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Bewegen"
|
||||
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "Bewegungsdistanz (mm)"
|
||||
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr "Name"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "Netzwerk"
|
||||
|
||||
#: panels/network.py:31
|
||||
msgid "Network Info"
|
||||
msgstr "Netzwerkinfo"
|
||||
|
||||
#: panels/temperature.py:55
|
||||
msgid "Number Pad"
|
||||
msgstr "Nummernblock"
|
||||
|
||||
#: ks_includes/config.py:48
|
||||
msgid "Off"
|
||||
msgstr "Ausschalten"
|
||||
msgstr "Aus"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "Pause"
|
||||
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "Pausiert"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "Ein"
|
||||
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "Drucker einschalten"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:21
|
||||
msgid "Preheat"
|
||||
msgstr "Vorheizen"
|
||||
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "Druck"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "Druck Steuerung"
|
||||
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "Druckzeit"
|
||||
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr "Drucken"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr "Profil Name:"
|
||||
msgstr "Profilname:"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr "Quad Gantry Level"
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "Düse anheben"
|
||||
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "Neustart"
|
||||
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "Fortsetzen"
|
||||
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "Zurückziehen"
|
||||
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr "Speichern"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "Einstellungen speichern"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "Speichere Einstellungen."
|
||||
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgstr "Bildschirm Ausblenden in"
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Bildschirm abschalten in"
|
||||
|
||||
msgid "Screen will show in less than one second"
|
||||
msgstr "Der Bildschirm wird in weniger als einer Sekunde angezeigt"
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "Schrauben Einstellen"
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Set Speed"
|
||||
msgstr "Geschwindigkeit einstellen"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "Größe"
|
||||
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "Langsam"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr "Sortieren nach: "
|
||||
msgstr "Sortierung:"
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "Geschwindigkeit +"
|
||||
|
||||
#: panels/fine_tune.py:51
|
||||
msgid "Speed -"
|
||||
msgstr "Geschwindigkeit -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "System"
|
||||
|
||||
#: panels/system.py:27
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
@@ -497,7 +414,6 @@ msgstr ""
|
||||
"Drucker\n"
|
||||
"Neustarten"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
@@ -505,58 +421,47 @@ msgstr ""
|
||||
"Drucker\n"
|
||||
"Ausschalten"
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "Temperatur"
|
||||
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "Druckkopf"
|
||||
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "Hochgeladen"
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X+"
|
||||
msgstr "X+"
|
||||
|
||||
#: panels/move.py:27
|
||||
msgid "X-"
|
||||
msgstr "X-"
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y+"
|
||||
msgstr "Y+"
|
||||
|
||||
#: panels/move.py:32
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Höhe Kalibrieren"
|
||||
|
||||
#: panels/zcalibrate.py:28
|
||||
msgid "Z Offset"
|
||||
msgstr "Z Offset"
|
||||
|
||||
#: panels/fine_tune.py:36 panels/move.py:35
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z-Achse ausrichten"
|
||||
|
||||
msgid "Z+"
|
||||
msgstr "Z+"
|
||||
|
||||
#: panels/fine_tune.py:40 panels/move.py:37
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "dBm"
|
||||
msgstr "dBm"
|
||||
|
||||
msgid "minutes"
|
||||
msgstr "Minuten"
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "Klipper"
|
||||
@@ -1,516 +1,427 @@
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "Abort"
|
||||
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:26
|
||||
msgid "Actions"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:29
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:32
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:104
|
||||
msgid "Calibrate"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:45
|
||||
msgid "Cancel Change"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:305
|
||||
msgid "Cancelled"
|
||||
msgstr ""
|
||||
|
||||
msgid "Channel"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:30
|
||||
msgid "Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:492
|
||||
msgid "Connected"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr ""
|
||||
|
||||
#: panels/preheat.py:54
|
||||
msgid "Cooldown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr ""
|
||||
|
||||
#: panels/settings.py:28
|
||||
msgid "Disconnect"
|
||||
msgstr ""
|
||||
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:57
|
||||
msgid "Extrusion +"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:61
|
||||
msgid "Extrusion -"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan Off"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:38
|
||||
msgid "Fan On"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:45
|
||||
msgid "Home X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:63
|
||||
msgid "Home XY"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:51
|
||||
msgid "Home Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:57
|
||||
msgid "Home Z"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:29 ks_includes/KlipperScreen.conf:17
|
||||
msgid "Homing"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Hostname"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr ""
|
||||
|
||||
msgid "Increase"
|
||||
msgstr ""
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Interface"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:22
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:39
|
||||
msgid "Lower Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
msgid "Menu"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Modified"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr ""
|
||||
|
||||
#: panels/network.py:31
|
||||
msgid "Network Info"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:55
|
||||
msgid "Number Pad"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:48
|
||||
msgid "Off"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr ""
|
||||
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:21
|
||||
msgid "Preheat"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr ""
|
||||
|
||||
msgid "Screen will show in less than one second"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Set Speed"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:51
|
||||
msgid "Speed -"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:27
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X+"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:27
|
||||
msgid "X-"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y+"
|
||||
msgstr ""
|
||||
|
||||
#: panels/move.py:32
|
||||
msgid "Y-"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:28
|
||||
msgid "Z Offset"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:36 panels/move.py:35
|
||||
msgid "Z Tilt Adjust"
|
||||
msgstr ""
|
||||
|
||||
msgid "Z+"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:40 panels/move.py:37
|
||||
msgid "Z-"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "dBm"
|
||||
msgstr ""
|
||||
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr ""
|
||||
@@ -0,0 +1,456 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-26 15:56+0000\n"
|
||||
"PO-Revision-Date: 2021-04-25 11:23-0300\n"
|
||||
"Last-Translator: alfrix\n"
|
||||
"Language-Team: \n"
|
||||
"Language: es\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.4.2\n"
|
||||
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
msgid "Abort"
|
||||
msgstr "Cancelar"
|
||||
|
||||
msgid "Accept"
|
||||
msgstr "Aceptar"
|
||||
|
||||
msgid "Actions"
|
||||
msgstr "Acciones"
|
||||
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr "Agregar pefil de malla de cama"
|
||||
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "Está seguro que desea imprimir"
|
||||
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Está seguro que desea cancelar esta impresión?"
|
||||
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Está seguro que desea reiniciar el sistema?"
|
||||
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Está seguro que desea apagar el sistema?"
|
||||
|
||||
msgid "Bed Level"
|
||||
msgstr "Nivelar cama"
|
||||
|
||||
msgid "Bed Mesh"
|
||||
msgstr "Malla de cama"
|
||||
|
||||
msgid "Calibrate"
|
||||
msgstr "Calibrar"
|
||||
|
||||
msgid "Cancel"
|
||||
msgstr "Cancelar"
|
||||
|
||||
msgid "Cancel Change"
|
||||
msgstr "Cancelar Cambio"
|
||||
|
||||
msgid "Cancel Print"
|
||||
msgstr "Cancelar Impresión"
|
||||
|
||||
msgid "Cancelled"
|
||||
msgstr "Cancelado"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "Canal"
|
||||
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
msgstr ""
|
||||
"Revise /tmp/KlipperScreen.log para mas información.\n"
|
||||
"Por favor crear un 'issue' en GitHub para ser ayudado."
|
||||
|
||||
msgid "Close"
|
||||
msgstr "Cerrar"
|
||||
|
||||
msgid "Complete"
|
||||
msgstr "Completado"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Configuración"
|
||||
|
||||
msgid "Connected"
|
||||
msgstr "Conectado"
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr "Conectando a %s"
|
||||
|
||||
msgid "Continue"
|
||||
msgstr "Continuar"
|
||||
|
||||
msgid "Control"
|
||||
msgstr "Control"
|
||||
|
||||
msgid "Cooldown"
|
||||
msgstr "Enfriar"
|
||||
|
||||
msgid "Date"
|
||||
msgstr "Fecha"
|
||||
|
||||
msgid "Decrease"
|
||||
msgstr "Disminuir"
|
||||
|
||||
msgid "Delete"
|
||||
msgstr "Borrar"
|
||||
|
||||
msgid "Disable Motors"
|
||||
msgstr "Desactivar Motores"
|
||||
|
||||
msgid "Disable XY"
|
||||
msgstr "Desactivar XY"
|
||||
|
||||
msgid "Disconnect"
|
||||
msgstr "Desconectar"
|
||||
|
||||
msgid "Displayed Macros"
|
||||
msgstr "Macros Mostrados"
|
||||
|
||||
msgid "Distance (mm)"
|
||||
msgstr "Distancia (mm)"
|
||||
|
||||
msgid "Duration Only"
|
||||
msgstr "Duración Solamente"
|
||||
|
||||
msgid "Elapsed:"
|
||||
msgstr "Transcurrido:"
|
||||
|
||||
msgid "Emergency Stop"
|
||||
msgstr "Parada de Emergencia"
|
||||
|
||||
msgid "Error"
|
||||
msgstr "Error"
|
||||
|
||||
msgid "Estimated Time Method"
|
||||
msgstr "Metodo para Tiempo Estimado"
|
||||
|
||||
msgid "Extrude"
|
||||
msgstr "Extruir"
|
||||
|
||||
msgid "Extrusion +"
|
||||
msgstr "Extrusor +"
|
||||
|
||||
msgid "Extrusion -"
|
||||
msgstr "Extrusor -"
|
||||
|
||||
msgid "Fan"
|
||||
msgstr "Ventilador"
|
||||
|
||||
msgid "Fan Off"
|
||||
msgstr "Apagar Ventilador"
|
||||
|
||||
msgid "Fan On"
|
||||
msgstr "Encender Ventilador"
|
||||
|
||||
msgid "Fast"
|
||||
msgstr "Rápido"
|
||||
|
||||
msgid "Filament Used"
|
||||
msgstr "Filamento Usado"
|
||||
|
||||
msgid "File Estimation (default)"
|
||||
msgstr "Estimación de Archivo (por defecto)"
|
||||
|
||||
msgid "Fine Tuning"
|
||||
msgstr "Ajuste Fino"
|
||||
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Reiniciar Firmware"
|
||||
|
||||
msgid "Go Back"
|
||||
msgstr "Volver"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Llevar al origen"
|
||||
|
||||
msgid "Home X"
|
||||
msgstr "Origen X"
|
||||
|
||||
msgid "Home XY"
|
||||
msgstr "Origen XY"
|
||||
|
||||
msgid "Home Y"
|
||||
msgstr "Origen Y"
|
||||
|
||||
msgid "Home Z"
|
||||
msgstr "Origen Z"
|
||||
|
||||
msgid "Homing"
|
||||
msgstr "Llevar al origen"
|
||||
|
||||
msgid "Hostname"
|
||||
msgstr "Hostname"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Increase"
|
||||
msgstr "Aumentar"
|
||||
|
||||
msgid "Initializing"
|
||||
msgstr "Iniciando"
|
||||
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Iniciando Impresora..."
|
||||
|
||||
msgid "Interface"
|
||||
msgstr "Interfaz"
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr "Invertir X"
|
||||
|
||||
msgid "Invert Y"
|
||||
msgstr "Invertir Y"
|
||||
|
||||
msgid "Invert Z"
|
||||
msgstr "Invertir Z"
|
||||
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Reiniciar Klipper"
|
||||
|
||||
msgid "Klipper Version"
|
||||
msgstr "Versión de Klipper"
|
||||
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper se desconectó"
|
||||
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
msgstr ""
|
||||
"Klipper encontró un error en el microcontrolador.\n"
|
||||
"Por favor recompile y flasheelo."
|
||||
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper encontró un error."
|
||||
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
msgstr ""
|
||||
"Klipper encontró un error.\n"
|
||||
"Ejecute FIRMWARE_RESTART para tratar de arreglarlo."
|
||||
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper se apagó"
|
||||
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper está intentando iniciar"
|
||||
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper se reiniciará"
|
||||
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "Versión de KlipperScreen"
|
||||
|
||||
msgid "Left:"
|
||||
msgstr "Restante:"
|
||||
|
||||
msgid "Load"
|
||||
msgstr "Cargar"
|
||||
|
||||
msgid "Load Average"
|
||||
msgstr "Carga media"
|
||||
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "Bajar Boquilla"
|
||||
|
||||
msgid "Macros"
|
||||
msgstr "Macros"
|
||||
|
||||
msgid "Main Menu"
|
||||
msgstr "Menú Principal"
|
||||
|
||||
msgid "Medium"
|
||||
msgstr "Medio"
|
||||
|
||||
msgid "Menu"
|
||||
msgstr "Menú"
|
||||
|
||||
msgid "Modified"
|
||||
msgstr "Modificado"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Mover"
|
||||
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "Mover Distancia (mm)"
|
||||
|
||||
msgid "Name"
|
||||
msgstr "Nombre"
|
||||
|
||||
msgid "Network"
|
||||
msgstr "Red"
|
||||
|
||||
msgid "Number Pad"
|
||||
msgstr "Teclado Númerico"
|
||||
|
||||
msgid "Off"
|
||||
msgstr "Apagar"
|
||||
|
||||
msgid "Pause"
|
||||
msgstr "Pausar"
|
||||
|
||||
msgid "Paused"
|
||||
msgstr "Pausado"
|
||||
|
||||
msgid "Power"
|
||||
msgstr "Energía"
|
||||
|
||||
msgid "Power On Printer"
|
||||
msgstr "Encender Impresora"
|
||||
|
||||
msgid "Preheat"
|
||||
msgstr "Precalentar"
|
||||
|
||||
msgid "Print"
|
||||
msgstr "Imprimir"
|
||||
|
||||
msgid "Print Control"
|
||||
msgstr "Control de impresión"
|
||||
|
||||
msgid "Print Time"
|
||||
msgstr "Tiempo de impresión"
|
||||
|
||||
msgid "Printing"
|
||||
msgstr "Imprimiendo"
|
||||
|
||||
msgid "Profile Name:"
|
||||
msgstr "Nombre del perfil:"
|
||||
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr "Nivelación cuádruple"
|
||||
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "Levantar Boquilla"
|
||||
|
||||
msgid "Restart"
|
||||
msgstr "Reiniciar"
|
||||
|
||||
msgid "Resume"
|
||||
msgstr "Continuar"
|
||||
|
||||
msgid "Retract"
|
||||
msgstr "Retraer"
|
||||
|
||||
msgid "Save"
|
||||
msgstr "Guardar"
|
||||
|
||||
msgid "Save Config"
|
||||
msgstr "Guardar Config"
|
||||
|
||||
msgid "Save configuration."
|
||||
msgstr "Guardar Configuración."
|
||||
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Apagar pantalla tras"
|
||||
|
||||
msgid "Screen will show in less than one second"
|
||||
msgstr "La pantalla se mostrará en menos de un segundo"
|
||||
|
||||
msgid "Screws Adjust"
|
||||
msgstr "Ajustar Tornillos"
|
||||
|
||||
msgid "Set Speed"
|
||||
msgstr "Establecer Velocidad"
|
||||
|
||||
msgid "Settings"
|
||||
msgstr "Opciones"
|
||||
|
||||
msgid "Size"
|
||||
msgstr "Tamaño"
|
||||
|
||||
msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
msgid "Slow"
|
||||
msgstr "Lento"
|
||||
|
||||
msgid "Sort by: "
|
||||
msgstr "Ordenar por:"
|
||||
|
||||
msgid "Speed +"
|
||||
msgstr "Velocidad +"
|
||||
|
||||
msgid "Speed -"
|
||||
msgstr "Velocidad -"
|
||||
|
||||
msgid "System"
|
||||
msgstr "Sistema"
|
||||
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr ""
|
||||
"Reiniciar\n"
|
||||
"Sistema"
|
||||
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
"Apagar\n"
|
||||
"Sistema"
|
||||
|
||||
msgid "Temperature"
|
||||
msgstr "Temperatura"
|
||||
|
||||
msgid "Tool"
|
||||
msgstr "Herrmienta"
|
||||
|
||||
msgid "Uploaded"
|
||||
msgstr "Subido"
|
||||
|
||||
msgid "X+"
|
||||
msgstr "X+"
|
||||
|
||||
msgid "X-"
|
||||
msgstr "X-"
|
||||
|
||||
msgid "Y+"
|
||||
msgstr "Y+"
|
||||
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Calibrar Z"
|
||||
|
||||
msgid "Z Offset"
|
||||
msgstr "Desfase Z"
|
||||
|
||||
msgid "Z Tilt"
|
||||
msgstr "Inclinación Z"
|
||||
|
||||
msgid "Z+"
|
||||
msgstr "Z+"
|
||||
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
msgid "dBm"
|
||||
msgstr "dBm"
|
||||
|
||||
msgid "minutes"
|
||||
msgstr "minutos"
|
||||
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"POT-Creation-Date: 2021-02-26 15:56+0000\n"
|
||||
"PO-Revision-Date: 2021-01-03 23:18+0200\n"
|
||||
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -18,70 +18,61 @@ msgstr ""
|
||||
"X-Generator: Poedit 2.4.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "Accepter"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:26
|
||||
msgid "Actions"
|
||||
msgstr "Actions"
|
||||
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "Es tu sure de vouloir imprimer"
|
||||
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Es tu sure de vouloir annuler cette impression?"
|
||||
|
||||
#: panels/system.py:29
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Es tu sure de vouloir annuler cette impression?"
|
||||
|
||||
#: panels/system.py:32
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Es tu sure de vouloir annuler cette impression?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "Nivelage du plateau"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "Grille du plateau"
|
||||
|
||||
#: panels/bed_mesh.py:104
|
||||
#, fuzzy
|
||||
msgid "Calibrate"
|
||||
msgstr "Calibration Z"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "Annuler"
|
||||
|
||||
#: panels/fan.py:45
|
||||
msgid "Cancel Change"
|
||||
msgstr "Annuler le changement"
|
||||
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "Annuler l'impression"
|
||||
|
||||
#: screen.py:305
|
||||
#, fuzzy
|
||||
msgid "Cancelled"
|
||||
msgstr "Annuler"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
@@ -89,181 +80,163 @@ msgstr ""
|
||||
"Verifier /tmp/KlipperScreen.log pour plus d'imformation.\n"
|
||||
"SVP envoie une requte sur GITHUB pour obtenir de l'aide"
|
||||
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "Fermer"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:30
|
||||
msgid "Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Configuration"
|
||||
|
||||
#: screen.py:492
|
||||
msgid "Connected"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue"
|
||||
msgstr "Continuer"
|
||||
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "Controle"
|
||||
|
||||
#: panels/preheat.py:54
|
||||
msgid "Cooldown"
|
||||
msgstr "Refroidir"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "Diminuer"
|
||||
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "Déactiver les moteurs"
|
||||
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "Deactiver XY"
|
||||
|
||||
#: panels/settings.py:28
|
||||
msgid "Disconnect"
|
||||
msgstr ""
|
||||
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "Distance (mm)"
|
||||
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "Écoulé:"
|
||||
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "Arret d'urgence"
|
||||
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "Extruder"
|
||||
|
||||
#: panels/fine_tune.py:57
|
||||
msgid "Extrusion +"
|
||||
msgstr "Extrusion +"
|
||||
|
||||
#: panels/fine_tune.py:61
|
||||
msgid "Extrusion -"
|
||||
msgstr "Extrusion +"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "Ventilateur"
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan Off"
|
||||
msgstr "ventilateur éteint"
|
||||
|
||||
#: panels/fan.py:38
|
||||
msgid "Fan On"
|
||||
msgstr "Ventilateur en marche"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "Rapide"
|
||||
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "Fin réglage"
|
||||
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr "Redemarrer le FW"
|
||||
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "Retourner"
|
||||
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr "Réinitialiser XYZ"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:45
|
||||
msgid "Home X"
|
||||
msgstr "Réinitialiser X"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:63
|
||||
msgid "Home XY"
|
||||
msgstr "Réinitialiser XY"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:51
|
||||
msgid "Home Y"
|
||||
msgstr "Réinitialiser Y"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:57
|
||||
msgid "Home Z"
|
||||
msgstr "Réinitialiser Z"
|
||||
|
||||
#: panels/zcalibrate.py:29 ks_includes/KlipperScreen.conf:17
|
||||
msgid "Homing"
|
||||
msgstr "Réinitialisation"
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Hostname"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr ""
|
||||
|
||||
msgid "Increase"
|
||||
msgstr "Augmenter"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "Initialisation"
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Initialisation l'imprimante"
|
||||
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Interface"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:22
|
||||
msgid "Klipper Restart"
|
||||
msgstr "Redémarrer klipper"
|
||||
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "Version de klipper"
|
||||
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper s'est déconnecté"
|
||||
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
@@ -271,282 +244,224 @@ msgstr ""
|
||||
"Klipper a rencontré une erreur avec le microcontrôleur.\n"
|
||||
"Veuillez recompiler et reflasher."
|
||||
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper a rencontré une erreur."
|
||||
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
msgstr ""
|
||||
"Klipper a rencontré une erreur. Taper FIRMWARE_RESTART pour fixer l'erreur."
|
||||
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper s'est arrêté"
|
||||
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper tente de démarrer"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper va redémarrer"
|
||||
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "Version de KlipperScreen"
|
||||
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "Gauche:"
|
||||
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "Charge moyenne"
|
||||
|
||||
#: panels/zcalibrate.py:39
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "Rapprocher la buse"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "Macros"
|
||||
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "Menu principal"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "Moyen"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
#, fuzzy
|
||||
msgid "Menu"
|
||||
msgstr "Menu principal"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Modified"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Mouvement"
|
||||
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "Distance de mouvement (mm)"
|
||||
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "Réseau"
|
||||
|
||||
#: panels/network.py:31
|
||||
msgid "Network Info"
|
||||
msgstr "Information réseau "
|
||||
|
||||
#: panels/temperature.py:55
|
||||
msgid "Number Pad"
|
||||
msgstr "Pad numerique"
|
||||
|
||||
#: ks_includes/config.py:48
|
||||
#, fuzzy
|
||||
msgid "Off"
|
||||
msgstr "ventilateur éteint"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "Pause"
|
||||
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "En pause"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "Energie"
|
||||
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "Allumer l'imrimante"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:21
|
||||
msgid "Preheat"
|
||||
msgstr "Préchauffer"
|
||||
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "Imprimer"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "Controle de l'imprimante"
|
||||
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "Temps d'impression"
|
||||
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr "imprime"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "Éloigner la buse"
|
||||
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "Redémarrage"
|
||||
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "Resumer"
|
||||
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "Rétracter"
|
||||
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "Enregistrer la config"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "Enregistrer la configuration"
|
||||
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr ""
|
||||
|
||||
msgid "Screen will show in less than one second"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "Ajuster les vis"
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Set Speed"
|
||||
msgstr "Régler la vitesse"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
#, fuzzy
|
||||
msgid "Settings"
|
||||
msgstr "Paramètres"
|
||||
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "dimensions"
|
||||
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "Lent"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "Vitesse+"
|
||||
|
||||
#: panels/fine_tune.py:51
|
||||
msgid "Speed -"
|
||||
msgstr "Vitesse-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "Systeme"
|
||||
|
||||
#: panels/system.py:27
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr "Redémarrage"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "Temperature"
|
||||
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "outil"
|
||||
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "Telecharger"
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X+"
|
||||
msgstr "X+"
|
||||
|
||||
#: panels/move.py:27
|
||||
msgid "X-"
|
||||
msgstr "X-"
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y+"
|
||||
msgstr "Y+"
|
||||
|
||||
#: panels/move.py:32
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Calibration Z"
|
||||
|
||||
#: panels/zcalibrate.py:28
|
||||
msgid "Z Offset"
|
||||
msgstr "Décalage Z"
|
||||
|
||||
#: panels/fine_tune.py:36 panels/move.py:35
|
||||
msgid "Z Tilt Adjust"
|
||||
msgstr ""
|
||||
|
||||
msgid "Z+"
|
||||
msgstr "Z+"
|
||||
|
||||
#: panels/fine_tune.py:40 panels/move.py:37
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "dBm"
|
||||
msgstr ""
|
||||
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
|
||||
#~ msgid "Network Info"
|
||||
#~ msgstr "Information réseau "
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "Redémarrer klipper"
|
||||
|
||||
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Klipperscreen\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"POT-Creation-Date: 2021-02-26 15:56+0000\n"
|
||||
"PO-Revision-Date: 2021-01-08 08:21-0500\n"
|
||||
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -20,70 +20,61 @@ msgstr ""
|
||||
"2 : 3);\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "בטל"
|
||||
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "אשר"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:26
|
||||
msgid "Actions"
|
||||
msgstr "פעולות"
|
||||
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "האם אתה בטוח שברצונך להדפיס"
|
||||
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
|
||||
|
||||
#: panels/system.py:29
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
|
||||
|
||||
#: panels/system.py:32
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "האם אתה בטוח שברצונך לבטל את ההדפסה?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "פילוס מיטה"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "מיפוי מיטה"
|
||||
|
||||
#: panels/bed_mesh.py:104
|
||||
#, fuzzy
|
||||
msgid "Calibrate"
|
||||
msgstr "כיול Z"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "ביטול"
|
||||
|
||||
#: panels/fan.py:45
|
||||
msgid "Cancel Change"
|
||||
msgstr "בטל שינוי"
|
||||
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "בטל הדפסה"
|
||||
|
||||
#: screen.py:305
|
||||
#, fuzzy
|
||||
msgid "Cancelled"
|
||||
msgstr "ביטול"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
@@ -91,191 +82,171 @@ msgstr ""
|
||||
"בדוק KlipperScreen.log, בתיקית tmp ליותר פרטים.\n"
|
||||
"אנא שלח דוח תקלה ב- GITHUB, לעזרה."
|
||||
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "סגור"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:30
|
||||
msgid "Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "קונפיגורציה"
|
||||
|
||||
#: screen.py:492
|
||||
msgid "Connected"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue"
|
||||
msgstr "המשך"
|
||||
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "שליטה"
|
||||
|
||||
#: panels/preheat.py:54
|
||||
msgid "Cooldown"
|
||||
msgstr "קירור"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "הקטן"
|
||||
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "בטל מנועים"
|
||||
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "בטל XY"
|
||||
|
||||
#: panels/settings.py:28
|
||||
msgid "Disconnect"
|
||||
msgstr ""
|
||||
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "מרחק (מ''מ)"
|
||||
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "זמן שעבר:"
|
||||
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "עצירת חירום"
|
||||
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "אקסטרוזיה"
|
||||
|
||||
#: panels/fine_tune.py:57
|
||||
msgid "Extrusion +"
|
||||
msgstr "שיחול +"
|
||||
|
||||
#: panels/fine_tune.py:61
|
||||
msgid "Extrusion -"
|
||||
msgstr "שיחול -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "מאוורר"
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan Off"
|
||||
msgstr "כבה מאוורר"
|
||||
|
||||
#: panels/fan.py:38
|
||||
msgid "Fan On"
|
||||
msgstr "הפעל מאוורר"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "מהיר"
|
||||
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "כיולים עדינים"
|
||||
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr "התחל קושחה"
|
||||
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "חזרה"
|
||||
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr "איפוס XYZ"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:45
|
||||
msgid "Home X"
|
||||
msgstr "איפוס X"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:63
|
||||
msgid "Home XY"
|
||||
msgstr "איפוס XY"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:51
|
||||
msgid "Home Y"
|
||||
msgstr "איפוס Y"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:57
|
||||
msgid "Home Z"
|
||||
msgstr "איפוס Z"
|
||||
|
||||
#: panels/zcalibrate.py:29 ks_includes/KlipperScreen.conf:17
|
||||
msgid "Homing"
|
||||
msgstr "איפוס צירים"
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Hostname"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr ""
|
||||
|
||||
msgid "Increase"
|
||||
msgstr "הגדל"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "מאתחל"
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr "מאתחל מדפסת..."
|
||||
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Interface"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:22
|
||||
msgid "Klipper Restart"
|
||||
msgstr "אתחול קליפר"
|
||||
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "גרסא של קליפר"
|
||||
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "קליפר התנתק"
|
||||
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
msgstr "בעיית תקשורת בין קליפר ללוח בקרה. אנא לקמפל קושחה ולצרובה מחדש. "
|
||||
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "קילפר נתקל בבעיה."
|
||||
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
@@ -283,270 +254,214 @@ msgstr ""
|
||||
"קליפר נתקל בבעיה. \n"
|
||||
"נסה להריץ firmware_restart, כדי לפתור את הבעיה."
|
||||
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "קליפר נכבה"
|
||||
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "קליפר מנסה לרוץ"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "קליפר יבצע אתחול"
|
||||
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "גרסא של KlipperScreen"
|
||||
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "זמן שנותר:"
|
||||
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "עומס ממוצע"
|
||||
|
||||
#: panels/zcalibrate.py:39
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "הנמך דיזה"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "מקרואים"
|
||||
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "תפריט ראשי"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "ממוצע"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
#, fuzzy
|
||||
msgid "Menu"
|
||||
msgstr "תפריט ראשי"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Modified"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "הזזת צירים"
|
||||
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "מרחק הזזה (מ''מ)"
|
||||
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "רשת"
|
||||
|
||||
#: panels/network.py:31
|
||||
msgid "Network Info"
|
||||
msgstr "מידע על הרשת"
|
||||
|
||||
#: panels/temperature.py:55
|
||||
msgid "Number Pad"
|
||||
msgstr "פד נומרי"
|
||||
|
||||
#: ks_includes/config.py:48
|
||||
#, fuzzy
|
||||
msgid "Off"
|
||||
msgstr "כבה מאוורר"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "השהיה"
|
||||
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "מושהה"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "הפעלה"
|
||||
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "הפעל מדפסת"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:21
|
||||
msgid "Preheat"
|
||||
msgstr "חימום מראש"
|
||||
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "הדפס"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "שליטה בהדפסה"
|
||||
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "זמן הדפסה"
|
||||
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr "מדפיס"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "הגבה"
|
||||
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "אתחל"
|
||||
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "המשך"
|
||||
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "שיחול לאחור"
|
||||
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "שמור קונפיג"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "שמור קונפיגורציה"
|
||||
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr ""
|
||||
|
||||
msgid "Screen will show in less than one second"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "סידור ברגים"
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Set Speed"
|
||||
msgstr "קבע מהירות"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr "הגדרות"
|
||||
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "גודל"
|
||||
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "האט"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "מהירות +"
|
||||
|
||||
#: panels/fine_tune.py:51
|
||||
msgid "Speed -"
|
||||
msgstr "מהירות -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "מערכת"
|
||||
|
||||
#: panels/system.py:27
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr "אתחל"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "טמפרטורה"
|
||||
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "כלי"
|
||||
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "הועלה"
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X+"
|
||||
msgstr "X+"
|
||||
|
||||
#: panels/move.py:27
|
||||
msgid "X-"
|
||||
msgstr "X-"
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y+"
|
||||
msgstr "Y+"
|
||||
|
||||
#: panels/move.py:32
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "כיול Z"
|
||||
|
||||
#: panels/zcalibrate.py:28
|
||||
msgid "Z Offset"
|
||||
msgstr "הפרז גובה Z"
|
||||
|
||||
#: panels/fine_tune.py:36 panels/move.py:35
|
||||
msgid "Z Tilt Adjust"
|
||||
msgstr ""
|
||||
|
||||
msgid "Z+"
|
||||
msgstr "Z+"
|
||||
|
||||
#: panels/fine_tune.py:40 panels/move.py:37
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "dBm"
|
||||
msgstr ""
|
||||
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "מ''מ"
|
||||
|
||||
#~ msgid "Network Info"
|
||||
#~ msgstr "מידע על הרשת"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "אתחול קליפר"
|
||||
|
||||
@@ -6,8 +6,8 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"PO-Revision-Date: 2021-02-12 02:24+0100\n"
|
||||
"POT-Creation-Date: 2021-03-06 18:14+0100\n"
|
||||
"PO-Revision-Date: 2021-03-06 22:09+0100\n"
|
||||
"Last-Translator: Jakob Kais <schpuntik@freenet.de>\n"
|
||||
"Language-Team: Russian <kde-i18n-de@kde.org>\n"
|
||||
"Language: ru\n"
|
||||
@@ -19,67 +19,63 @@ msgstr ""
|
||||
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
|
||||
"X-Poedit-Flags-xgettext: --add-comments\n"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "Отменить"
|
||||
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "Применить"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:26
|
||||
msgid "Actions"
|
||||
msgstr "Действия"
|
||||
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add Printer"
|
||||
msgstr "Добавить принтер"
|
||||
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr "Добавить профиль сетки стола"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "Вы хотите это распечатать"
|
||||
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "Вы хотите отменить эту печать?"
|
||||
|
||||
#: panels/system.py:29
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "Вы уверены что хотите перезагрузить систему?"
|
||||
|
||||
#: panels/system.py:32
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "Вы хотите выключить принтер?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "Уровень стола"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "Сетка стола"
|
||||
|
||||
#: panels/bed_mesh.py:104
|
||||
msgid "Calibrate"
|
||||
msgstr "Калибровка"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "Отменить"
|
||||
|
||||
#: panels/fan.py:45
|
||||
msgid "Cancel Change"
|
||||
msgstr "Отменить изменения"
|
||||
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "Отменить печать"
|
||||
|
||||
#: screen.py:305
|
||||
msgid "Cancelled"
|
||||
msgstr "Отменено"
|
||||
|
||||
msgid "Change Printer"
|
||||
msgstr "Сменить принтер"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr "Канал"
|
||||
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
@@ -87,185 +83,167 @@ msgstr ""
|
||||
"Проверьте /tmp/KlipperScreen.log для дополнитольной информации.\n"
|
||||
"Создайте issues на GitHub что-бы получить помощь."
|
||||
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "Закрыть"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:30
|
||||
msgid "Complete"
|
||||
msgstr "Готово"
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "Конфигурация"
|
||||
|
||||
#: screen.py:492
|
||||
msgid "Connected"
|
||||
msgstr "Соединенный"
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr "Соединенный с %s"
|
||||
|
||||
msgid "Continue"
|
||||
msgstr "Продолжить"
|
||||
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "Управление"
|
||||
|
||||
#: panels/preheat.py:54
|
||||
msgid "Cooldown"
|
||||
msgstr "Остудить"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr "Дата"
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "Уменьшить"
|
||||
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr "Удалить"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "Отключить моторы"
|
||||
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "Отключить XY"
|
||||
|
||||
#: panels/settings.py:28
|
||||
msgid "Disconnect"
|
||||
msgstr "Отключить"
|
||||
|
||||
msgid "Displayed Macros"
|
||||
msgstr "Показать макросы"
|
||||
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "Расстояние (mm)"
|
||||
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr "Продолжительность печати"
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "Прошло:"
|
||||
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "Аварийный стоп"
|
||||
msgid "Error"
|
||||
msgstr "Ошибка"
|
||||
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Estimated Time Method"
|
||||
msgstr "Расчётное время"
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "Заправить"
|
||||
|
||||
#: panels/fine_tune.py:57
|
||||
msgid "Extrusion +"
|
||||
msgstr "Экструзия +"
|
||||
|
||||
#: panels/fine_tune.py:61
|
||||
msgid "Extrusion -"
|
||||
msgstr "Экструзия -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "Обдув"
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan Off"
|
||||
msgstr "Вентилятор выкл"
|
||||
|
||||
#: panels/fan.py:38
|
||||
msgid "Fan On"
|
||||
msgstr "Вентилятор вкл"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "Быстро"
|
||||
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr "Использование филамента"
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr "По файлу (по умолчанию)"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "Точная настройка"
|
||||
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr ""
|
||||
"Перезагрузка\n"
|
||||
"прошивки"
|
||||
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "Назад"
|
||||
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home"
|
||||
msgstr "Парковка"
|
||||
|
||||
msgid "Home All"
|
||||
msgstr "Парковать все"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:45
|
||||
msgid "Home X"
|
||||
msgstr "Парковать X"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:63
|
||||
msgid "Home XY"
|
||||
msgstr "Парковать XY"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:51
|
||||
msgid "Home Y"
|
||||
msgstr "Парковать Y"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:57
|
||||
msgid "Home Z"
|
||||
msgstr "Парковать Z"
|
||||
|
||||
#: panels/zcalibrate.py:29 ks_includes/KlipperScreen.conf:17
|
||||
msgid "Homing"
|
||||
msgstr "Парковка"
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Hostname"
|
||||
msgstr "Имя хоста"
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr "IPv4"
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr "IPv6"
|
||||
|
||||
msgid "Increase"
|
||||
msgstr "Поднять"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "Запуск"
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr "Принтер стартует..."
|
||||
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Interface"
|
||||
msgstr "Интерфейс"
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr "Инвертировать X"
|
||||
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr "Инвертировать Y"
|
||||
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr "Инвертировать Z"
|
||||
|
||||
#: panels/system.py:22
|
||||
msgid "Klipper Restart"
|
||||
msgstr ""
|
||||
"Перезагрузка\n"
|
||||
"Klipper"
|
||||
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "Версия Klipper"
|
||||
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Нет связи с Klipper"
|
||||
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
@@ -273,11 +251,9 @@ msgstr ""
|
||||
"Klipper определил ошибку в микроконтроллере.\n"
|
||||
"Прошейте заново."
|
||||
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper обнаружил ошибку."
|
||||
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
@@ -285,203 +261,156 @@ msgstr ""
|
||||
"Klipper обнаружил ошибку.\n"
|
||||
"Выполните перезагрузку прошивки, чтобы попытаться исправить проблему."
|
||||
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper отключился"
|
||||
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper готов"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper перезагружается"
|
||||
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "Версия KlipperScreen"
|
||||
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "Осталось:"
|
||||
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr "Загрузить"
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "Средняя нагрузка"
|
||||
|
||||
#: panels/zcalibrate.py:39
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "Опустить сопло"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "Макросы"
|
||||
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "Главное меню"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "Среднее"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
msgid "Menu"
|
||||
msgstr "Меню"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Modified"
|
||||
msgstr "Изменено"
|
||||
|
||||
msgid "Move"
|
||||
msgstr "Двигать"
|
||||
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "Дистанция перемещения (mm)"
|
||||
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr "Имя"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "Сеть"
|
||||
|
||||
#: panels/network.py:31
|
||||
msgid "Network Info"
|
||||
msgstr "Информация о сети"
|
||||
|
||||
#: panels/temperature.py:55
|
||||
msgid "Number Pad"
|
||||
msgstr "Номер блока"
|
||||
|
||||
#: ks_includes/config.py:48
|
||||
msgid "Off"
|
||||
msgstr "Выкл"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "Пауза"
|
||||
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "Приостановлено"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "Включено"
|
||||
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "Включить принтер"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:21
|
||||
msgid "Preheat"
|
||||
msgstr "Разогрев"
|
||||
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "Печать"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "Управление печатью"
|
||||
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "Время печати"
|
||||
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printer Connections"
|
||||
msgstr "Подключение принтера"
|
||||
|
||||
msgid "Printing"
|
||||
msgstr "Печатается"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr "Имя профиля:"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr "Уровень Quad Gantry"
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "Поднять сопло"
|
||||
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "Перезагрузка"
|
||||
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "Продолжить"
|
||||
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "Выгрузить"
|
||||
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr "Сохранить"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "Сохранить настройки"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "Настройки сохраняются."
|
||||
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgstr "Скрыть экран через"
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr "Время выключения экрана"
|
||||
|
||||
msgid "Screen will show in less than one second"
|
||||
msgstr "Экран отобразится менее чем через одну секунду"
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "Настроить винты"
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Set Speed"
|
||||
msgstr "Скорость"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
msgid "Settings"
|
||||
msgstr "Настройки"
|
||||
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "Размер"
|
||||
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr "Slicer"
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "Медленно"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr "Сортировать по: "
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "Скорость +"
|
||||
|
||||
#: panels/fine_tune.py:51
|
||||
msgid "Speed -"
|
||||
msgstr "Скорость -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "Система"
|
||||
|
||||
#: panels/system.py:27
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
@@ -489,64 +418,52 @@ msgstr ""
|
||||
"Перегрузить\n"
|
||||
"Систему"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr "Выключить"
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "Температура"
|
||||
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "Инструмент"
|
||||
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "Загружено"
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X+"
|
||||
msgstr "X+"
|
||||
|
||||
#: panels/move.py:27
|
||||
msgid "X-"
|
||||
msgstr "X-"
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y+"
|
||||
msgstr "Y+"
|
||||
|
||||
#: panels/move.py:32
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Калибровка Z"
|
||||
|
||||
#: panels/zcalibrate.py:28
|
||||
msgid "Z Offset"
|
||||
msgstr "Офсет Z"
|
||||
|
||||
#: panels/fine_tune.py:36 panels/move.py:35
|
||||
msgid "Z Tilt"
|
||||
msgstr "Z Наклон"
|
||||
|
||||
msgid "Z+"
|
||||
msgstr "Z+"
|
||||
|
||||
#: panels/fine_tune.py:40 panels/move.py:37
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "dBm"
|
||||
msgstr "dBm"
|
||||
|
||||
msgid "minutes"
|
||||
msgstr "минут"
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "mm"
|
||||
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "Klipper"
|
||||
@@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-02-11 22:13+0100\n"
|
||||
"POT-Creation-Date: 2021-02-26 15:56+0000\n"
|
||||
"PO-Revision-Date: 2021-01-06 00:35+0200\n"
|
||||
"Last-Translator: Emanuel Sharvit <manu7irl@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
@@ -18,70 +18,61 @@ msgstr ""
|
||||
"X-Generator: Poedit 2.4.2\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "?"
|
||||
msgstr "?"
|
||||
|
||||
#: panels/zcalibrate.py:71
|
||||
msgid "Abort"
|
||||
msgstr "中止"
|
||||
|
||||
#: panels/zcalibrate.py:68
|
||||
msgid "Accept"
|
||||
msgstr "接受"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:26
|
||||
msgid "Actions"
|
||||
msgstr "动作"
|
||||
|
||||
#: panels/bed_mesh.py:33
|
||||
msgid "Add bed mesh profile"
|
||||
msgstr ""
|
||||
|
||||
#: panels/print.py:247
|
||||
msgid "Are you sure you want to print"
|
||||
msgstr "您确定要打印吗"
|
||||
|
||||
#: panels/job_status.py:306
|
||||
msgid "Are you sure you wish to cancel this print?"
|
||||
msgstr "您要取消此打印吗?"
|
||||
|
||||
#: panels/system.py:29
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to reboot the system?"
|
||||
msgstr "您要取消此打印吗?"
|
||||
|
||||
#: panels/system.py:32
|
||||
#, fuzzy
|
||||
msgid "Are you sure you wish to shutdown the system?"
|
||||
msgstr "您要取消此打印吗?"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:114
|
||||
msgid "Bed Level"
|
||||
msgstr "床位"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:119
|
||||
msgid "Bed Mesh"
|
||||
msgstr "床网"
|
||||
|
||||
#: panels/bed_mesh.py:104
|
||||
#, fuzzy
|
||||
msgid "Calibrate"
|
||||
msgstr "Z校准"
|
||||
|
||||
#: screen.py:493 panels/job_status.py:268 panels/print.py:243
|
||||
msgid "Cancel"
|
||||
msgstr "取消"
|
||||
|
||||
#: panels/fan.py:45
|
||||
msgid "Cancel Change"
|
||||
msgstr "取消变更"
|
||||
|
||||
#: panels/job_status.py:301
|
||||
msgid "Cancel Print"
|
||||
msgstr "取消列印"
|
||||
|
||||
#: screen.py:305
|
||||
#, fuzzy
|
||||
msgid "Cancelled"
|
||||
msgstr "取消"
|
||||
|
||||
msgid "Channel"
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
"Check /tmp/KlipperScreen.log for more information.\n"
|
||||
"Please submit an issue on GitHub for help."
|
||||
@@ -89,181 +80,163 @@ msgstr ""
|
||||
"检查/tmp/KlipperScreen.log以获取更多信息。\n"
|
||||
"请在GitHub上提交问题以寻求帮助。"
|
||||
|
||||
#: panels/bed_mesh.py:290 panels/temperature.py:150
|
||||
msgid "Close"
|
||||
msgstr "关"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:30
|
||||
msgid "Complete"
|
||||
msgstr ""
|
||||
|
||||
msgid "Configuration"
|
||||
msgstr "组态"
|
||||
|
||||
#: screen.py:492
|
||||
msgid "Connected"
|
||||
msgstr ""
|
||||
|
||||
#, python-format
|
||||
msgid "Connecting to %s"
|
||||
msgstr ""
|
||||
|
||||
msgid "Continue"
|
||||
msgstr "继续"
|
||||
|
||||
#: panels/job_status.py:270
|
||||
msgid "Control"
|
||||
msgstr "控制"
|
||||
|
||||
#: panels/preheat.py:54
|
||||
msgid "Cooldown"
|
||||
msgstr "冷却"
|
||||
|
||||
#: panels/print.py:24
|
||||
msgid "Date"
|
||||
msgstr ""
|
||||
|
||||
#: panels/temperature.py:53
|
||||
msgid "Decrease"
|
||||
msgstr "减少"
|
||||
|
||||
#: panels/bed_mesh.py:122
|
||||
msgid "Delete"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:108
|
||||
msgid "Disable Motors"
|
||||
msgstr "禁用马达"
|
||||
|
||||
#: panels/bed_level.py:107
|
||||
msgid "Disable XY"
|
||||
msgstr "禁用XY"
|
||||
|
||||
#: panels/settings.py:28
|
||||
msgid "Disconnect"
|
||||
msgstr ""
|
||||
|
||||
msgid "Displayed Macros"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:64
|
||||
msgid "Distance (mm)"
|
||||
msgstr "距离(毫米)"
|
||||
|
||||
#: ks_includes/config.py:42
|
||||
msgid "Duration Only"
|
||||
msgstr ""
|
||||
|
||||
#: panels/job_status.py:136
|
||||
msgid "Elapsed:"
|
||||
msgstr "过去"
|
||||
|
||||
#: panels/job_status.py:272
|
||||
msgid "Emergency Stop"
|
||||
msgstr "紧急停止"
|
||||
|
||||
#: ks_includes/config.py:39
|
||||
msgid "Error"
|
||||
msgstr ""
|
||||
|
||||
msgid "Estimated Time Method"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:46 ks_includes/KlipperScreen.conf:74
|
||||
#: ks_includes/KlipperScreen.conf:174
|
||||
msgid "Extrude"
|
||||
msgstr "拉伸"
|
||||
|
||||
#: panels/fine_tune.py:57
|
||||
msgid "Extrusion +"
|
||||
msgstr "挤压+"
|
||||
|
||||
#: panels/fine_tune.py:61
|
||||
msgid "Extrusion -"
|
||||
msgstr "挤压-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:79 ks_includes/KlipperScreen.conf:169
|
||||
msgid "Fan"
|
||||
msgstr "风扇"
|
||||
|
||||
#: panels/fan.py:35
|
||||
msgid "Fan Off"
|
||||
msgstr "散开"
|
||||
|
||||
#: panels/fan.py:38
|
||||
msgid "Fan On"
|
||||
msgstr "扇上"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Fast"
|
||||
msgstr "快速"
|
||||
|
||||
#: ks_includes/config.py:43
|
||||
msgid "Filament Used"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:41
|
||||
msgid "File Estimation (default)"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:164
|
||||
msgid "Fine Tuning"
|
||||
msgstr "微调"
|
||||
|
||||
#: panels/splash_screen.py:64 panels/system.py:24
|
||||
msgid "Firmware Restart"
|
||||
msgstr "固件重启"
|
||||
|
||||
#: screen.py:300 panels/job_status.py:302
|
||||
msgid "Go Back"
|
||||
msgstr "回去"
|
||||
|
||||
#: panels/bed_level.py:104 panels/move.py:40 ks_includes/KlipperScreen.conf:39
|
||||
msgid "Home All"
|
||||
msgstr "全部回家"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:45
|
||||
msgid "Home X"
|
||||
msgstr "X家庭"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:63
|
||||
msgid "Home XY"
|
||||
msgstr "XY首页"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:51
|
||||
msgid "Home Y"
|
||||
msgstr "Y家"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:57
|
||||
msgid "Home Z"
|
||||
msgstr "Z家"
|
||||
|
||||
#: panels/zcalibrate.py:29 ks_includes/KlipperScreen.conf:17
|
||||
msgid "Homing"
|
||||
msgstr "归巢"
|
||||
|
||||
#: panels/temperature.py:51
|
||||
msgid "Hostname"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv4"
|
||||
msgstr ""
|
||||
|
||||
msgid "IPv6"
|
||||
msgstr ""
|
||||
|
||||
msgid "Increase"
|
||||
msgstr "增加"
|
||||
|
||||
#. self._load_panels()
|
||||
#: screen.py:149
|
||||
msgid "Initializing"
|
||||
msgstr "Initializing"
|
||||
|
||||
#: panels/splash_screen.py:23
|
||||
msgid "Initializing printer..."
|
||||
msgstr "初始化打印机..."
|
||||
|
||||
#: ks_includes/config.py:36
|
||||
msgid "Interface"
|
||||
msgstr ""
|
||||
|
||||
msgid "Invert X"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:37
|
||||
msgid "Invert Y"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/config.py:38
|
||||
msgid "Invert Z"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:22
|
||||
msgid "Klipper Restart"
|
||||
msgstr "快闪重启"
|
||||
|
||||
#: panels/system.py:42
|
||||
msgid "Klipper Version"
|
||||
msgstr "快艇版本"
|
||||
|
||||
#: screen.py:418
|
||||
msgid "Klipper has disconnected"
|
||||
msgstr "Klipper已断开连接"
|
||||
|
||||
#: screen.py:429
|
||||
msgid ""
|
||||
"Klipper has encountered an error with the micro-controller.\n"
|
||||
"Please recompile and flash."
|
||||
@@ -271,11 +244,9 @@ msgstr ""
|
||||
"Klipper的微控制器出错。\n"
|
||||
"请重新编译并刷新。"
|
||||
|
||||
#: screen.py:433
|
||||
msgid "Klipper has encountered an error."
|
||||
msgstr "Klipper遇到错误。"
|
||||
|
||||
#: screen.py:425
|
||||
msgid ""
|
||||
"Klipper has encountered an error.\n"
|
||||
"Issue a FIRMWARE_RESTART to attempt fixing the issue."
|
||||
@@ -283,271 +254,215 @@ msgstr ""
|
||||
"Klipper遇到错误。\n"
|
||||
"发出FIRMWARE_RESTART尝试解决此问题。"
|
||||
|
||||
#: screen.py:453
|
||||
msgid "Klipper has shutdown"
|
||||
msgstr "Klipper已关闭"
|
||||
|
||||
#: screen.py:449
|
||||
msgid "Klipper is attempting to start"
|
||||
msgstr "Klipper正在尝试启动"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:148
|
||||
msgid "Klipper will reboot"
|
||||
msgstr "Klipper将重新启动"
|
||||
|
||||
#: panels/system.py:46
|
||||
msgid "KlipperScreen Version"
|
||||
msgstr "KlipperScreen版本"
|
||||
|
||||
#: panels/job_status.py:124
|
||||
msgid "Left:"
|
||||
msgstr "剩下的时间"
|
||||
|
||||
#: panels/bed_mesh.py:98
|
||||
msgid "Load"
|
||||
msgstr ""
|
||||
|
||||
#: panels/system.py:66
|
||||
msgid "Load Average"
|
||||
msgstr "平均负载"
|
||||
|
||||
#: panels/zcalibrate.py:39
|
||||
msgid "Lower Nozzle"
|
||||
msgstr "下喷嘴"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:96
|
||||
msgid "Macros"
|
||||
msgstr "巨集"
|
||||
|
||||
#: panels/job_status.py:274 ks_includes/KlipperScreen.conf:14
|
||||
msgid "Main Menu"
|
||||
msgstr "主菜单"
|
||||
|
||||
#: panels/extrude.py:31
|
||||
msgid "Medium"
|
||||
msgstr "中"
|
||||
|
||||
#: panels/splash_screen.py:59 ks_includes/KlipperScreen.conf:202
|
||||
#, fuzzy
|
||||
msgid "Menu"
|
||||
msgstr "主菜单"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:69
|
||||
msgid "Modified"
|
||||
msgstr ""
|
||||
|
||||
msgid "Move"
|
||||
msgstr "移动"
|
||||
|
||||
#: panels/move.py:91
|
||||
msgid "Move Distance (mm)"
|
||||
msgstr "移动距离(mm)"
|
||||
|
||||
#: panels/print.py:23
|
||||
msgid "Name"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:131 ks_includes/KlipperScreen.conf:186
|
||||
#: ks_includes/KlipperScreen.conf:211
|
||||
msgid "Network"
|
||||
msgstr "网络"
|
||||
|
||||
#: panels/network.py:31
|
||||
msgid "Network Info"
|
||||
msgstr "网络信息"
|
||||
|
||||
#: panels/temperature.py:55
|
||||
msgid "Number Pad"
|
||||
msgstr "数字键盘"
|
||||
|
||||
#: ks_includes/config.py:48
|
||||
#, fuzzy
|
||||
msgid "Off"
|
||||
msgstr "散开"
|
||||
|
||||
#: panels/job_status.py:276
|
||||
msgid "Pause"
|
||||
msgstr "暂停"
|
||||
|
||||
#: panels/job_status.py:470
|
||||
msgid "Paused"
|
||||
msgstr "已暂停"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:102 ks_includes/KlipperScreen.conf:180
|
||||
#: ks_includes/KlipperScreen.conf:205
|
||||
msgid "Power"
|
||||
msgstr "功率"
|
||||
|
||||
#: panels/splash_screen.py:61
|
||||
msgid "Power On Printer"
|
||||
msgstr "开启打印机电源"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:21
|
||||
msgid "Preheat"
|
||||
msgstr "预热"
|
||||
|
||||
#: panels/print.py:242 ks_includes/KlipperScreen.conf:34
|
||||
msgid "Print"
|
||||
msgstr "打印"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:156
|
||||
msgid "Print Control"
|
||||
msgstr "打印控制"
|
||||
|
||||
#: panels/print.py:171
|
||||
msgid "Print Time"
|
||||
msgstr "打印时间"
|
||||
|
||||
#: panels/job_status.py:232
|
||||
msgid "Printing"
|
||||
msgstr "印刷"
|
||||
|
||||
#: panels/bed_mesh.py:264
|
||||
msgid "Profile Name:"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:89
|
||||
msgid "Quad Gantry Level"
|
||||
msgstr ""
|
||||
|
||||
#: panels/zcalibrate.py:37
|
||||
msgid "Raise Nozzle"
|
||||
msgstr "升高喷嘴"
|
||||
|
||||
#: panels/job_status.py:278 panels/splash_screen.py:62
|
||||
msgid "Restart"
|
||||
msgstr "重新开始"
|
||||
|
||||
#: panels/job_status.py:280
|
||||
msgid "Resume"
|
||||
msgstr "恢复"
|
||||
|
||||
#: panels/extrude.py:48
|
||||
msgid "Retract"
|
||||
msgstr "缩回"
|
||||
|
||||
#: panels/bed_mesh.py:116 panels/bed_mesh.py:269
|
||||
msgid "Save"
|
||||
msgstr ""
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:141
|
||||
msgid "Save Config"
|
||||
msgstr "保存配置"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:146
|
||||
msgid "Save configuration."
|
||||
msgstr "保存配置"
|
||||
|
||||
#: ks_includes/config.py:46
|
||||
msgid "Screen Blanking Time"
|
||||
msgid "Screen Power Off Time"
|
||||
msgstr ""
|
||||
|
||||
msgid "Screen will show in less than one second"
|
||||
msgstr ""
|
||||
|
||||
#: panels/bed_level.py:114
|
||||
msgid "Screws Adjust"
|
||||
msgstr "螺丝调整"
|
||||
|
||||
#: panels/fan.py:42
|
||||
msgid "Set Speed"
|
||||
msgstr "设定速度"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:151 ks_includes/KlipperScreen.conf:196
|
||||
#, fuzzy
|
||||
msgid "Settings"
|
||||
msgstr "设置"
|
||||
|
||||
#: panels/print.py:169
|
||||
msgid "Size"
|
||||
msgstr "尺寸"
|
||||
|
||||
#: ks_includes/config.py:44
|
||||
msgid "Slicer"
|
||||
msgstr ""
|
||||
|
||||
#. This line for translations only
|
||||
#: panels/extrude.py:31
|
||||
msgid "Slow"
|
||||
msgstr "慢"
|
||||
|
||||
#: panels/print.py:39
|
||||
msgid "Sort by: "
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:47
|
||||
msgid "Speed +"
|
||||
msgstr "速度 +"
|
||||
|
||||
#: panels/fine_tune.py:51
|
||||
msgid "Speed -"
|
||||
msgstr "速度 -"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:136 ks_includes/KlipperScreen.conf:191
|
||||
#: ks_includes/KlipperScreen.conf:216
|
||||
msgid "System"
|
||||
msgstr "系统"
|
||||
|
||||
#: panels/system.py:27
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Restart"
|
||||
msgstr "重新开始"
|
||||
|
||||
#: panels/system.py:30
|
||||
msgid ""
|
||||
"System\n"
|
||||
"Shutdown"
|
||||
msgstr ""
|
||||
|
||||
#: panels/extrude.py:50 ks_includes/KlipperScreen.conf:84
|
||||
#: ks_includes/KlipperScreen.conf:159
|
||||
msgid "Temperature"
|
||||
msgstr "温度"
|
||||
|
||||
#: panels/extrude.py:38
|
||||
msgid "Tool"
|
||||
msgstr "工具"
|
||||
|
||||
#: panels/print.py:167
|
||||
msgid "Uploaded"
|
||||
msgstr "已上传"
|
||||
|
||||
#: panels/move.py:25
|
||||
msgid "X+"
|
||||
msgstr "X+"
|
||||
|
||||
#: panels/move.py:27
|
||||
msgid "X-"
|
||||
msgstr "X-"
|
||||
|
||||
#: panels/move.py:30
|
||||
msgid "Y+"
|
||||
msgstr "Y ="
|
||||
|
||||
#: panels/move.py:32
|
||||
msgid "Y-"
|
||||
msgstr "Y-"
|
||||
|
||||
#: ks_includes/KlipperScreen.conf:125
|
||||
msgid "Z Calibrate"
|
||||
msgstr "Z校准"
|
||||
|
||||
#: panels/zcalibrate.py:28
|
||||
msgid "Z Offset"
|
||||
msgstr "Z偏移"
|
||||
|
||||
#: panels/fine_tune.py:36 panels/move.py:35
|
||||
msgid "Z Tilt Adjust"
|
||||
msgstr ""
|
||||
|
||||
msgid "Z+"
|
||||
msgstr "Z+"
|
||||
|
||||
#: panels/fine_tune.py:40 panels/move.py:37
|
||||
msgid "Z-"
|
||||
msgstr "Z-"
|
||||
|
||||
#: ks_includes/config.py:60
|
||||
msgid "dBm"
|
||||
msgstr ""
|
||||
|
||||
msgid "minutes"
|
||||
msgstr ""
|
||||
|
||||
#: panels/fine_tune.py:38
|
||||
msgid "mm"
|
||||
msgstr "毫米"
|
||||
|
||||
#~ msgid "Network Info"
|
||||
#~ msgstr "网络信息"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "Klipper"
|
||||
#~ msgstr "快闪重启"
|
||||
|
||||
@@ -1,8 +1,15 @@
|
||||
import gi
|
||||
import logging
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.Printer")
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gdk, GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
|
||||
|
||||
class Printer:
|
||||
data = {}
|
||||
devices = {}
|
||||
power_devices = {}
|
||||
state_callbacks = {
|
||||
"disconnected": None,
|
||||
"error": None,
|
||||
@@ -12,13 +19,14 @@ class Printer:
|
||||
"startup": None,
|
||||
"shutdown": None
|
||||
}
|
||||
tools = []
|
||||
|
||||
def __init__(self, printer_info, data):
|
||||
self.state = "disconnected"
|
||||
self.power_devices = {}
|
||||
|
||||
def reinit(self, printer_info, data):
|
||||
logger.debug("Moonraker object status: %s" % data)
|
||||
logging.debug("Moonraker object status: %s" % data)
|
||||
self.config = data['configfile']['config']
|
||||
self.toolcount = 0
|
||||
self.extrudercount = 0
|
||||
@@ -46,7 +54,7 @@ class Printer:
|
||||
if "shared_heater" in self.config[x]:
|
||||
continue
|
||||
self.extrudercount += 1
|
||||
if x.startswith('heater_bed'):
|
||||
if x == 'heater_bed' or x.startswith('heater_generic ') or x.startswith('temperature_sensor '):
|
||||
self.devices[x] = {
|
||||
"temperature": 0,
|
||||
"target": 0
|
||||
@@ -62,12 +70,13 @@ class Printer:
|
||||
r['points'] = [[float(j.strip()) for j in i.split(",")] for i in r['points'].strip().split("\n")]
|
||||
self.process_update(data)
|
||||
|
||||
logger.info("Klipper version: %s", self.klipper['version'])
|
||||
logger.info("### Toolcount: " + str(self.toolcount) + " Heaters: " + str(self.extrudercount))
|
||||
logging.info("Klipper version: %s", self.klipper['version'])
|
||||
logging.info("### Toolcount: " + str(self.toolcount) + " Heaters: " + str(self.extrudercount))
|
||||
|
||||
def process_update(self, data):
|
||||
keys = [
|
||||
'bed_mesh',
|
||||
'display_status',
|
||||
'fan',
|
||||
'gcode_move',
|
||||
'idle_timeout',
|
||||
@@ -85,23 +94,20 @@ class Printer:
|
||||
for y in data[x]:
|
||||
self.data[x][y] = data[x][y]
|
||||
|
||||
if "heater_bed" in data:
|
||||
d = data["heater_bed"]
|
||||
if "target" in d:
|
||||
self.set_dev_stat("heater_bed", "target", d["target"])
|
||||
if "temperature" in d:
|
||||
self.set_dev_stat("heater_bed", "temperature", d["temperature"])
|
||||
for x in self.get_tools():
|
||||
for x in (self.get_tools() + self.get_heaters()):
|
||||
if x in data:
|
||||
d = data[x]
|
||||
if "target" in d:
|
||||
self.set_dev_stat(x, "target", d["target"])
|
||||
if "temperature" in d:
|
||||
self.set_dev_stat(x, "temperature", d["temperature"])
|
||||
for i in d:
|
||||
self.set_dev_stat(x, i, d[i])
|
||||
|
||||
if "webhooks" in data or "idle_timeout" in data or "pause_resume" in data or "print_stats" in data:
|
||||
if "webhooks" in data or "idle_timeout" in data or "print_stats" in data:
|
||||
self.evaluate_state()
|
||||
|
||||
def get_updates(self):
|
||||
updates = self.data.copy()
|
||||
updates.update(self.devices)
|
||||
return updates
|
||||
|
||||
def evaluate_state(self):
|
||||
wh_state = self.data['webhooks']['state'].lower() # possible values: startup, ready, shutdown, error
|
||||
idle_state = self.data['idle_timeout']['state'].lower() # possible values: Idle, printing, ready
|
||||
@@ -111,10 +117,13 @@ class Printer:
|
||||
new_state = "ready"
|
||||
if print_state == "paused":
|
||||
new_state = "paused"
|
||||
elif idle_state == "printing" and print_state != "printing": # Not printing a file, toolhead moving
|
||||
new_state = "busy"
|
||||
elif idle_state == "printing":
|
||||
new_state = "printing"
|
||||
if print_state == "complete":
|
||||
new_state = "ready"
|
||||
elif print_state != "printing": # Not printing a file, toolhead moving
|
||||
new_state = "busy"
|
||||
else:
|
||||
new_state = "printing"
|
||||
|
||||
if new_state != "busy":
|
||||
self.change_state(new_state)
|
||||
@@ -129,26 +138,31 @@ class Printer:
|
||||
if state == self.state or state not in list(self.state_callbacks):
|
||||
return
|
||||
|
||||
logger.debug("Changing state from '%s' to '%s'" % (self.state, state))
|
||||
logging.debug("Changing state from '%s' to '%s'" % (self.state, state))
|
||||
self.state = state
|
||||
if self.state_callbacks[state] != None:
|
||||
logger.debug("Running callback for state: %s" % state)
|
||||
self.state_callbacks[state]()
|
||||
logging.debug("Adding callback for state: %s" % state)
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_HIGH_IDLE,
|
||||
self.state_callbacks[state]
|
||||
)
|
||||
|
||||
def configure_power_devices(self, data):
|
||||
self.power_devices = {}
|
||||
|
||||
logger.debug("Processing power devices: %s" % data)
|
||||
logging.debug("Processing power devices: %s" % data)
|
||||
for x in data['devices']:
|
||||
self.power_devices[x['device']] = {
|
||||
"status": "on" if x['status'] == "on" else "off"
|
||||
}
|
||||
logger.debug("Power devices: %s" % self.power_devices)
|
||||
logging.debug("Power devices: %s" % self.power_devices)
|
||||
|
||||
def config_section_exists(self, section):
|
||||
return section in list(self.config)
|
||||
|
||||
def get_config_section_list(self, search=""):
|
||||
if not hasattr(self, "config"):
|
||||
return []
|
||||
return [i for i in list(self.config) if i.startswith(search)]
|
||||
|
||||
def get_config_section(self, section):
|
||||
@@ -162,6 +176,16 @@ class Printer:
|
||||
def get_gcode_macros(self):
|
||||
return self.get_config_section_list("gcode_macro ")
|
||||
|
||||
def get_heaters(self):
|
||||
heaters = []
|
||||
if self.has_heated_bed():
|
||||
heaters.append("heater_bed")
|
||||
for h in self.get_config_section_list("heater_generic "):
|
||||
heaters.append(h)
|
||||
for h in self.get_config_section_list("temperature_sensor "):
|
||||
heaters.append(h)
|
||||
return heaters
|
||||
|
||||
def get_printer_status_data(self):
|
||||
data = {
|
||||
"printer": {
|
||||
@@ -178,7 +202,7 @@ class Printer:
|
||||
}
|
||||
}
|
||||
|
||||
sections = ["bed_mesh","bltouch","probe","quad_gantry_level"]
|
||||
sections = ["bed_mesh","bltouch","probe","quad_gantry_level","z_tilt"]
|
||||
for section in sections:
|
||||
if self.config_section_exists(section):
|
||||
data["printer"][section] = self.get_config_section(section).copy()
|
||||
@@ -198,11 +222,11 @@ class Printer:
|
||||
|
||||
def get_stat(self, stat, substat = None):
|
||||
if stat not in self.data:
|
||||
return None
|
||||
return {}
|
||||
if substat != None:
|
||||
if substat in self.data[stat]:
|
||||
return self.data[stat][substat]
|
||||
return None
|
||||
return {}
|
||||
return self.data[stat]
|
||||
|
||||
def get_state(self):
|
||||
|
||||
@@ -7,13 +7,12 @@ from jinja2 import Environment, Template
|
||||
|
||||
from ks_includes.KlippyGtk import KlippyGtk
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
logger = logging.getLogger("KlipperScreen.ScreenPanel")
|
||||
|
||||
class ScreenPanel:
|
||||
title_spacing = 50
|
||||
control = {}
|
||||
|
||||
def __init__(self, screen, title, back=True):
|
||||
def __init__(self, screen, title, back=True, action_bar=True, printer_name=True):
|
||||
self._screen = screen
|
||||
self._config = screen._config
|
||||
self._files = screen.files
|
||||
@@ -25,34 +24,41 @@ class ScreenPanel:
|
||||
self.layout = Gtk.Layout()
|
||||
self.layout.set_size(self._screen.width, self._screen.height)
|
||||
|
||||
action_bar_width = self._gtk.get_action_bar_width()
|
||||
action_bar_width = self._gtk.get_action_bar_width() if action_bar == True else 0
|
||||
|
||||
self.control_grid = self._gtk.HomogeneousGrid()
|
||||
self.control_grid.set_size_request(action_bar_width - 2, self._screen.height)
|
||||
self.control_grid.get_style_context().add_class('action_bar')
|
||||
if action_bar == True:
|
||||
self.control_grid = self._gtk.HomogeneousGrid()
|
||||
self.control_grid.set_size_request(action_bar_width - 2, self._screen.height)
|
||||
self.control_grid.get_style_context().add_class('action_bar')
|
||||
|
||||
button_scale = self._gtk.get_header_image_scale()
|
||||
logger.debug("Button scale: %s" % button_scale)
|
||||
if back == True:
|
||||
self.control['back'] = self._gtk.ButtonImage('back', None, None, button_scale[0], button_scale[1])
|
||||
self.control['back'].connect("clicked", self._screen._menu_go_back)
|
||||
self.control_grid.attach(self.control['back'], 0, 0, 1, 1)
|
||||
button_scale = self._gtk.get_header_image_scale()
|
||||
logging.debug("Button scale: %s" % button_scale)
|
||||
|
||||
self.control['home'] = self._gtk.ButtonImage('home', None, None, button_scale[0], button_scale[1])
|
||||
self.control['home'].connect("clicked", self.menu_return, True)
|
||||
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
|
||||
if back == True:
|
||||
self.control['back'] = self._gtk.ButtonImage('back', None, None, button_scale[0], button_scale[1])
|
||||
self.control['back'].connect("clicked", self._screen._menu_go_back)
|
||||
self.control_grid.attach(self.control['back'], 0, 0, 1, 1)
|
||||
|
||||
self.control['printer_select'] = Gtk.Label("")
|
||||
self.control['home'] = self._gtk.ButtonImage('main', None, None, button_scale[0], button_scale[1])
|
||||
self.control['home'].connect("clicked", self.menu_return, True)
|
||||
self.control_grid.attach(self.control['home'], 0, 1, 1, 1)
|
||||
else:
|
||||
for i in range(2):
|
||||
self.control['space%s' % i] = Gtk.Label("")
|
||||
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
|
||||
|
||||
if len(self._config.get_printers()) > 1:
|
||||
self.control['printer_select'] = self._gtk.ButtonImage(
|
||||
'shuffle', None, None, button_scale[0], button_scale[1])
|
||||
self.control['printer_select'].connect("clicked", self._screen.show_printer_select)
|
||||
else:
|
||||
self.control['printer_select'] = Gtk.Label("")
|
||||
self.control_grid.attach(self.control['printer_select'], 0, 2, 1, 1)
|
||||
else:
|
||||
for i in range(3):
|
||||
self.control['space%s' % i] = Gtk.Label("")
|
||||
self.control_grid.attach(self.control['space%s' % i], 0, i, 1, 1)
|
||||
|
||||
self.control['estop'] = self._gtk.ButtonImage('emergency', None, None, button_scale[0], button_scale[1])
|
||||
self.control['estop'].connect("clicked", self.emergency_stop)
|
||||
self.control_grid.attach(self.control['estop'], 0, 3, 1, 1)
|
||||
#self.layout.put(self.control['estop'], int(self._screen.width/4*3 - button_scale[0]/2), 0)
|
||||
self.control['estop'] = self._gtk.ButtonImage('emergency', None, None, button_scale[0], button_scale[1])
|
||||
self.control['estop'].connect("clicked", self.emergency_stop)
|
||||
self.control_grid.attach(self.control['estop'], 0, 3, 1, 1)
|
||||
#self.layout.put(self.control['estop'], int(self._screen.width/4*3 - button_scale[0]/2), 0)
|
||||
|
||||
try:
|
||||
env = Environment(extensions=["jinja2.ext.i18n"])
|
||||
@@ -60,20 +66,23 @@ class ScreenPanel:
|
||||
j2_temp = env.from_string(title)
|
||||
title = j2_temp.render()
|
||||
except:
|
||||
logger.debug("Error parsing jinja for title: %s" % title)
|
||||
logging.debug("Error parsing jinja for title: %s" % title)
|
||||
|
||||
self.title = Gtk.Label()
|
||||
self.title.set_size_request(self._screen.width - action_bar_width, self.title_spacing)
|
||||
self.title.set_hexpand(True)
|
||||
self.title.set_halign(Gtk.Align.CENTER)
|
||||
self.title.set_valign(Gtk.Align.CENTER)
|
||||
self.set_title(title)
|
||||
|
||||
if printer_name == True:
|
||||
self.set_title("%s | %s" % (self._screen.connected_printer, title))
|
||||
else:
|
||||
self.set_title(title)
|
||||
|
||||
self.content = Gtk.Box(spacing=0)
|
||||
self.content.set_size_request(self._screen.width - action_bar_width, self._screen.height - self.title_spacing)
|
||||
|
||||
self.layout.put(self.control_grid, 0, 0)
|
||||
if action_bar == True:
|
||||
self.layout.put(self.control_grid, 0, 0)
|
||||
self.layout.put(self.title, action_bar_width, 0)
|
||||
self.layout.put(self.content, action_bar_width, self.title_spacing)
|
||||
|
||||
@@ -91,7 +100,15 @@ class ScreenPanel:
|
||||
def get_file_image(self, filename, width=1.6, height=1.6):
|
||||
if not self._files.has_thumbnail(filename):
|
||||
return None
|
||||
return self._gtk.PixbufFromFile(self._files.get_thumbnail_location(filename), None, width, height)
|
||||
|
||||
loc = self._files.get_thumbnail_location(filename)
|
||||
if loc == None:
|
||||
return None
|
||||
if loc[0] == "file":
|
||||
return self._gtk.PixbufFromFile(loc[1], None, width, height)
|
||||
if loc[0] == "http":
|
||||
return self._gtk.PixbufFromHttp(loc[1], None, width, height)
|
||||
return None
|
||||
|
||||
def home(self, widget):
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.HOME)
|
||||
@@ -121,6 +138,9 @@ class ScreenPanel:
|
||||
if label in self.labels and 'l' in self.labels[label]:
|
||||
self.labels[label]['l'].set_text(text)
|
||||
|
||||
def update_temp(self, dev, temp, target):
|
||||
def update_temp(self, dev, temp, target, name=None):
|
||||
if dev in self.labels:
|
||||
self.labels[dev].set_label(self._gtk.formatTemperatureString(temp, target))
|
||||
if name == None:
|
||||
self.labels[dev].set_label(self._gtk.formatTemperatureString(temp, target))
|
||||
else:
|
||||
self.labels[dev].set_label("%s\n%s" % (name, self._gtk.formatTemperatureString(temp, target)))
|
||||
@@ -1,98 +1,198 @@
|
||||
import asyncio
|
||||
import os, signal
|
||||
import json
|
||||
import logging
|
||||
import re
|
||||
import socket
|
||||
import subprocess
|
||||
import threading
|
||||
import time
|
||||
|
||||
from contextlib import suppress
|
||||
from threading import Thread
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.WifiManager")
|
||||
from subprocess import PIPE, Popen, STDOUT
|
||||
from queue import Queue, Empty
|
||||
|
||||
RESCAN_INTERVAL = 120
|
||||
import gi
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
|
||||
class WifiManager(Thread):
|
||||
iw_regexes = [
|
||||
re.compile(r"^ESSID:\"(?P<essid>.*)\"$"),
|
||||
re.compile(r"^Protocol:(?P<protocol>.+)$"),
|
||||
re.compile(r"^Mode:(?P<mode>.+)$"),
|
||||
re.compile(r"^Frequency:(?P<frequency>[\d.]+) (?P<frequency_units>.+) \(Channel (?P<channel>\d+)\)$"),
|
||||
re.compile(r"^Encryption key:(?P<encryption>.+)$"),
|
||||
re.compile(r"^Quality=(?P<signal_quality>\d+)/(?P<signal_total>\d+)\s+Signal level=(?P<signal_level_dBm>.+) d.+$"),
|
||||
re.compile(r"^Signal level=(?P<signal_quality>\d+)/(?P<signal_total>\d+).*$")
|
||||
]
|
||||
RESCAN_INTERVAL = 180
|
||||
KS_SOCKET_FILE = "/tmp/.KS_wpa_supplicant"
|
||||
|
||||
class WifiManager():
|
||||
networks_in_supplicant = []
|
||||
wpa = {
|
||||
"wpa": re.compile(r"IE:\ WPA\ Version\ 1$"),
|
||||
"wpa2": re.compile(r"IE:\ IEEE\ 802\.11i/WPA2\ Version\ 1$")
|
||||
}
|
||||
connected = False
|
||||
_stop_loop = False
|
||||
thread = None
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
def __init__(self, interface, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.loop = None
|
||||
self._poll_task = None
|
||||
self._scanning = False
|
||||
self._callbacks = {
|
||||
"connected": [],
|
||||
"connecting_status": [],
|
||||
"scan_results": []
|
||||
}
|
||||
self._stop_loop = False
|
||||
self.connected = False
|
||||
self.connected_ssid = None
|
||||
self.connecting_info = []
|
||||
self.event = threading.Event()
|
||||
self.initialized = False
|
||||
self.interface = interface
|
||||
self.networks = {}
|
||||
self.read_wpa_supplicant()
|
||||
self.supplicant_networks = {}
|
||||
self.queue = Queue()
|
||||
self.tasks = []
|
||||
self.timeout = None
|
||||
self.scan_time = 0
|
||||
|
||||
if os.path.exists(KS_SOCKET_FILE):
|
||||
os.remove(KS_SOCKET_FILE)
|
||||
|
||||
def run(self):
|
||||
logger.debug("Setting up wifi event loop")
|
||||
self.loop = asyncio.new_event_loop()
|
||||
loop = self.loop
|
||||
asyncio.set_event_loop(loop)
|
||||
try:
|
||||
self._poll_task = asyncio.ensure_future(self._poll())
|
||||
loop.run_forever()
|
||||
loop.run_until_complete(loop.shutdown_asyncgens())
|
||||
self.soc = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM)
|
||||
self.soc.bind(KS_SOCKET_FILE)
|
||||
self.soc.connect("/var/run/wpa_supplicant/%s" % interface)
|
||||
except:
|
||||
logging.info("Error connecting to wifi socket: %s" % interface)
|
||||
return
|
||||
|
||||
self._poll_task.cancel()
|
||||
with suppress(asyncio.CancelledError):
|
||||
loop.run_until_complete(self._poll_task)
|
||||
finally:
|
||||
loop.close()
|
||||
self.wpa_thread = WpaSocket(self, self.queue, self.callback)
|
||||
self.wpa_thread.start()
|
||||
self.initialized = True
|
||||
|
||||
def stop(self):
|
||||
self.loop.call_soon_threadsafe(self.loop.stop)
|
||||
self.wpa_cli("ATTACH", False)
|
||||
self.wpa_cli("SCAN", False)
|
||||
GLib.idle_add(self.read_wpa_supplicant)
|
||||
self.timeout = GLib.timeout_add_seconds(RESCAN_INTERVAL, self.rescan)
|
||||
|
||||
def stop_loop(self):
|
||||
loop.stop()
|
||||
def add_callback(self, name, callback):
|
||||
if name in self._callbacks and callback not in self._callbacks[name]:
|
||||
self._callbacks[name].append(callback)
|
||||
|
||||
async def _poll(self):
|
||||
while True:
|
||||
try:
|
||||
await self.scan()
|
||||
await asyncio.sleep(RESCAN_INTERVAL)
|
||||
except:
|
||||
logger.exception("Poll wifi error")
|
||||
def add_network(self, ssid, psk):
|
||||
for id in list(self.supplicant_networks):
|
||||
if self.supplicant_networks[id]['ssid'] == ssid:
|
||||
#Modify network
|
||||
return
|
||||
|
||||
def get_current_wifi(self, interface="wlan0"):
|
||||
p = subprocess.Popen(["iwconfig",interface], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
content = p.stdout.read().decode('utf-8').split('\n')
|
||||
# TODO: Add wpa_cli error checking
|
||||
network_id = self.wpa_cli("ADD_NETWORK")
|
||||
commands = [
|
||||
'ENABLE_NETWORK %s' % (network_id),
|
||||
'SET_NETWORK %s ssid "%s"' % (network_id, ssid.replace('"','\"')),
|
||||
'SET_NETWORK %s psk "%s"' % (network_id, psk.replace('"','\"'))
|
||||
]
|
||||
self.wpa_cli_batch(commands)
|
||||
|
||||
essid = None
|
||||
mac = None
|
||||
for line in content:
|
||||
match = re.match(r'^.*ESSID:"(.*)"$', line.strip())
|
||||
if match:
|
||||
essid = match.group(1)
|
||||
continue
|
||||
match = re.match(r'^.*Access\s+Point:\s+([0-9A-Fa-f:]+)$', line.strip())
|
||||
if match:
|
||||
mac = match.group(1)
|
||||
self.read_wpa_supplicant()
|
||||
id = None
|
||||
for i in list(self.supplicant_networks):
|
||||
if self.supplicant_networks[i]['ssid'] == ssid:
|
||||
id = i
|
||||
break
|
||||
|
||||
if essid is None or mac is None:
|
||||
self.connected = False
|
||||
return None
|
||||
self.connected = True
|
||||
return [essid, mac]
|
||||
if id == None:
|
||||
logging.info("Error adding network")
|
||||
return False
|
||||
|
||||
def get_network_info(self, essid=None, mac=None):
|
||||
if essid is not None and essid in self.networks:
|
||||
return self.networks[essid]
|
||||
if mac is not None and essid is None:
|
||||
self.save_wpa_conf()
|
||||
return True
|
||||
|
||||
def callback(self, type, msg):
|
||||
if type in self._callbacks:
|
||||
for cb in self._callbacks[type]:
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_DEFAULT_IDLE,
|
||||
cb,
|
||||
msg)
|
||||
|
||||
def connect(self, ssid):
|
||||
id = None
|
||||
for netid, net in self.supplicant_networks.items():
|
||||
if net['ssid'] == ssid:
|
||||
id = netid
|
||||
break
|
||||
|
||||
if id == None:
|
||||
logging.info("Wifi network is not defined in wpa_supplicant")
|
||||
return False
|
||||
|
||||
logging.info("Attempting to connect to wifi: %s" % id)
|
||||
self.connecting_info = ["Attempting to connect to %s" % ssid]
|
||||
self.wpa_cli("SELECT_NETWORK %s" % id)
|
||||
self.save_wpa_conf()
|
||||
|
||||
def delete_network(self, ssid):
|
||||
id = None
|
||||
for i in list(self.supplicant_networks):
|
||||
if self.supplicant_networks[i]['ssid'] == ssid:
|
||||
id = i
|
||||
break
|
||||
|
||||
if id == None:
|
||||
logging.debug("Unable to find network in wpa_supplicant")
|
||||
return
|
||||
self.wpa_cli("REMOVE_NETWORK %s" % id)
|
||||
|
||||
for id in list(self.supplicant_networks):
|
||||
if self.supplicant_networks[id]['ssid'] == ssid:
|
||||
del self.supplicant_networks[id]
|
||||
break
|
||||
|
||||
self.save_wpa_conf()
|
||||
|
||||
def get_connected_ssid(self):
|
||||
return self.connected_ssid
|
||||
|
||||
def get_current_wifi(self, interface="wlan0"):
|
||||
logging.info("Getting current wifi information")
|
||||
status = self.wpa_cli("STATUS").split('\n')
|
||||
vars = {}
|
||||
for line in status:
|
||||
arr = line.split('=')
|
||||
vars[arr[0]] = "=".join(arr[1:])
|
||||
|
||||
prev_ssid = self.connected_ssid
|
||||
if "ssid" in vars and "bssid" in vars:
|
||||
self.connected = True
|
||||
self.connected_ssid = vars['ssid']
|
||||
for ssid, val in self.networks.items():
|
||||
if ssid == vars['ssid']:
|
||||
self.networks[ssid]['connected'] = True
|
||||
else:
|
||||
self.networks[ssid]['connected'] = False
|
||||
if prev_ssid != self.connected_ssid:
|
||||
for cb in self._callbacks['connected']:
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_DEFAULT_IDLE,
|
||||
cb, self.connected_ssid, prev_ssid)
|
||||
return [vars['ssid'], vars['bssid']]
|
||||
else:
|
||||
logging.info("Resetting connected_ssid")
|
||||
self.connected = False
|
||||
self.connected_ssid = None
|
||||
for ssid, val in self.networks.items():
|
||||
self.networks[ssid]['connected'] = False
|
||||
if prev_ssid != self.connected_ssid:
|
||||
for cb in self._callbacks['connected']:
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_DEFAULT_IDLE,
|
||||
cb, self.connected_ssid, prev_ssid)
|
||||
return None
|
||||
|
||||
def get_current_wifi_idle_add(self):
|
||||
self.get_current_wifi()
|
||||
return False
|
||||
|
||||
def get_network_info(self, ssid=None, mac=None):
|
||||
if ssid is not None and ssid in self.networks:
|
||||
return self.networks[ssid]
|
||||
if mac is not None and ssid is None:
|
||||
for net in self.networks:
|
||||
if mac == net['mac']:
|
||||
return net
|
||||
@@ -101,78 +201,272 @@ class WifiManager(Thread):
|
||||
def get_networks(self):
|
||||
return list(self.networks)
|
||||
|
||||
def get_supplicant_networks(self):
|
||||
return self.supplicant_networks
|
||||
|
||||
def is_connected(self):
|
||||
return self.connected
|
||||
|
||||
def parse(self, data):
|
||||
aps = []
|
||||
lines = data.split('\n')
|
||||
|
||||
for line in lines:
|
||||
line = line.strip()
|
||||
match = re.match(r'^Cell\s+([0-9]+)\s+-\s+Address:\s+(?P<mac>[0-9A-Fa-f:]+)$', line)
|
||||
if match:
|
||||
aps.append({"mac":match.group(2)})
|
||||
continue
|
||||
if len(aps) < 1:
|
||||
continue
|
||||
for w, wreg in self.wpa.items():
|
||||
t = wreg.search(line)
|
||||
if t is not None:
|
||||
aps[-1].update({'encryption': w})
|
||||
for exp in self.iw_regexes:
|
||||
result = exp.search(line)
|
||||
if result is not None:
|
||||
if "encryption" in result.groupdict():
|
||||
if result.groupdict()['encryption'] == 'on' :
|
||||
aps[-1].update({'encryption': 'wep'})
|
||||
else:
|
||||
aps[-1].update({'encryption': 'off'})
|
||||
else:
|
||||
aps[-1].update(result.groupdict())
|
||||
return aps
|
||||
def is_initialized(self):
|
||||
return self.initialized
|
||||
|
||||
def read_wpa_supplicant(self):
|
||||
wpaconf = "/etc/wpa_supplicant/wpa_supplicant.conf"
|
||||
if not os.path.exists(wpaconf):
|
||||
return None
|
||||
|
||||
regexes = [
|
||||
re.compile(r'^ssid\s*=\s*"(?P<ssid>.*)"$'),
|
||||
re.compile(r'^psk\s*=\s*"(?P<psk>.*)"$')
|
||||
]
|
||||
networks = []
|
||||
p = subprocess.Popen(["sudo","cat",wpaconf], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
contents = p.stdout.read().decode('utf-8').split('\n')
|
||||
|
||||
for line in contents:
|
||||
if re.match(r'^network\s*=\s*{$', line.strip()):
|
||||
networks.append({})
|
||||
continue
|
||||
if len(networks) < 1:
|
||||
continue
|
||||
for exp in regexes:
|
||||
result = exp.search(line.strip())
|
||||
if result is not None:
|
||||
networks[-1].update(result.groupdict())
|
||||
|
||||
results = self.wpa_cli("LIST_NETWORKS").split('\n')
|
||||
results.pop(0)
|
||||
self.supplicant_networks = {}
|
||||
self.networks_in_supplicant = []
|
||||
for network in networks:
|
||||
self.networks_in_supplicant.append(network)
|
||||
for net in [n.split('\t') for n in results]:
|
||||
self.supplicant_networks[net[0]] = {
|
||||
"ssid": net[1],
|
||||
"bssid": net[2],
|
||||
"flags": net[3] if len(net) == 4 else ""
|
||||
}
|
||||
self.networks_in_supplicant.append(self.supplicant_networks[net[0]])
|
||||
|
||||
def remove_callback(self, name, callback):
|
||||
if name in self._callbacks and callback in self._callbacks[name]:
|
||||
self._callbacks[name].remove(callback)
|
||||
|
||||
def rescan(self):
|
||||
self.wpa_cli("SCAN", False)
|
||||
return True
|
||||
|
||||
def save_wpa_conf(self):
|
||||
logging.info("Saving WPA config")
|
||||
self.wpa_cli("SAVE_CONFIG")
|
||||
|
||||
def scan_results(self, interface='wlan0'):
|
||||
new_networks = []
|
||||
deleted_networks = list(self.networks)
|
||||
|
||||
logging.info("Trying to get scan results")
|
||||
results = self.wpa_cli("SCAN_RESULTS").split('\n')
|
||||
results.pop(0)
|
||||
|
||||
aps = []
|
||||
for res in results:
|
||||
match = re.match("^([a-f0-9:]+)\s+([0-9]+)\s+([\-0-9]+)\s+(\S+)\s+(.+)?", res)
|
||||
if match:
|
||||
net = {
|
||||
"mac": match.group(1),
|
||||
"channel": WifiChannels.lookup(match.group(2))[1],
|
||||
"connected": False,
|
||||
"configured": False,
|
||||
"frequency": match.group(2),
|
||||
"flags": match.group(4),
|
||||
"signal_level_dBm": match.group(3),
|
||||
"ssid": match.group(5)
|
||||
}
|
||||
|
||||
if "WPA2" in net['flags']:
|
||||
net['encryption'] = "WPA2"
|
||||
elif "WPA" in net['flags']:
|
||||
net['encryption'] = "WPA"
|
||||
elif "WEP" in net['flags']:
|
||||
net['encryption'] = "WEP"
|
||||
else:
|
||||
net['encryption'] = "off"
|
||||
|
||||
aps.append(net)
|
||||
|
||||
async def scan(self, interface='wlan0'):
|
||||
logger.debug("Scanning %s" % interface)
|
||||
p = subprocess.Popen(["sudo","iwlist",interface,"scan"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
aps = self.parse(p.stdout.read().decode('utf-8'))
|
||||
cur_info = self.get_current_wifi()
|
||||
|
||||
|
||||
self.networks = {}
|
||||
for ap in aps:
|
||||
self.networks[ap['essid']] = ap
|
||||
if cur_info is not None and cur_info[0] == ap['essid'] and cur_info[1] == ap['mac']:
|
||||
self.networks[ap['essid']]['connected'] = True
|
||||
for net in self.networks_in_supplicant:
|
||||
if ap['essid'] == net['ssid'] and "psk" in net:
|
||||
ap['psk'] = net['psk']
|
||||
break
|
||||
self.networks[ap['ssid']] = ap
|
||||
if cur_info is not None and cur_info[0] == ap['ssid'] and cur_info[1].lower() == ap['mac'].lower():
|
||||
self.networks[ap['ssid']]['connected'] = True
|
||||
|
||||
for net in list(self.networks):
|
||||
if net in deleted_networks:
|
||||
deleted_networks.remove(net)
|
||||
else:
|
||||
new_networks.append(net)
|
||||
if len(new_networks) > 0 or len(deleted_networks) > 0:
|
||||
for cb in self._callbacks['scan_results']:
|
||||
Gdk.threads_add_idle(
|
||||
GLib.PRIORITY_DEFAULT_IDLE,
|
||||
cb, new_networks, deleted_networks)
|
||||
|
||||
def wpa_cli(self, command, wait=True):
|
||||
if wait == False:
|
||||
self.wpa_thread.skip_command()
|
||||
self.soc.send(command.encode())
|
||||
if wait == True:
|
||||
resp = self.queue.get()
|
||||
return resp
|
||||
|
||||
def wpa_cli_batch(self, commands):
|
||||
for cmd in commands:
|
||||
self.wpa_cli(cmd)
|
||||
|
||||
|
||||
class WpaSocket(Thread):
|
||||
def __init__ (self, wm, queue, callback):
|
||||
super().__init__()
|
||||
self.queue = queue
|
||||
self.callback = callback
|
||||
self.soc = wm.soc
|
||||
self._stop_loop = False
|
||||
self.skip_commands = 0
|
||||
self.wm = wm
|
||||
|
||||
def run(self):
|
||||
event = threading.Event()
|
||||
logging.debug("Setting up wifi event loop")
|
||||
while self._stop_loop == False:
|
||||
try:
|
||||
msg = self.soc.recv(4096).decode().strip()
|
||||
except:
|
||||
# TODO: Socket error
|
||||
continue
|
||||
if msg.startswith("<"):
|
||||
if "CTRL-EVENT-SCAN-RESULTS" in msg:
|
||||
logging.info("Adding scan_results to callbacks")
|
||||
Gdk.threads_add_idle(GLib.PRIORITY_DEFAULT_IDLE, self.wm.scan_results)
|
||||
elif "CTRL-EVENT-DISCONNECTED" in msg:
|
||||
self.callback("connecting_status", msg)
|
||||
match = re.match('<3>CTRL-EVENT-DISCONNECTED bssid=(\S+) reason=3 locally_generated=1', msg)
|
||||
if match:
|
||||
for net in self.wm.networks:
|
||||
if self.wm.networks[net]['mac'] == match.group(1):
|
||||
self.wm.networks[net]['connected'] = False
|
||||
break
|
||||
elif "Trying to associate" in msg:
|
||||
self.callback("connecting_status", msg)
|
||||
elif "CTRL-EVENT-REGDOM-CHANGE" in msg:
|
||||
self.callback("connecting_status", msg)
|
||||
elif "CTRL-EVENT-CONNECTED" in msg:
|
||||
Gdk.threads_add_idle(GLib.PRIORITY_DEFAULT_IDLE, self.wm.get_current_wifi_idle_add)
|
||||
self.callback("connecting_status", msg)
|
||||
else:
|
||||
if self.skip_commands > 0:
|
||||
self.skip_commands = self.skip_commands - 1
|
||||
else:
|
||||
self.queue.put(msg)
|
||||
logging.info("Wifi event loop ended")
|
||||
|
||||
def skip_command(self):
|
||||
self.skip_commands = self.skip_commands + 1
|
||||
|
||||
def stop(self):
|
||||
self._stop_loop = True
|
||||
|
||||
|
||||
class WifiChannels:
|
||||
@staticmethod
|
||||
def lookup(freq):
|
||||
if freq == "2412":
|
||||
return ("2.4","1")
|
||||
if freq == "2417":
|
||||
return ("2.4","2")
|
||||
if freq == "2422":
|
||||
return ("2.4","3")
|
||||
if freq == "2427":
|
||||
return ("2.4","4")
|
||||
if freq == "2432":
|
||||
return ("2.4","5")
|
||||
if freq == "2437":
|
||||
return ("2.4","6")
|
||||
if freq == "2442":
|
||||
return ("2.4","7")
|
||||
if freq == "2447":
|
||||
return ("2.4","8")
|
||||
if freq == "2452":
|
||||
return ("2.4","9")
|
||||
if freq == "2457":
|
||||
return ("2.4","10")
|
||||
if freq == "2462":
|
||||
return ("2.4","11")
|
||||
if freq == "2467":
|
||||
return ("2.4","12")
|
||||
if freq == "2472":
|
||||
return ("2.4","13")
|
||||
if freq == "2484":
|
||||
return ("2.4","14")
|
||||
if freq == "5035":
|
||||
return ("5","7")
|
||||
if freq == "5040":
|
||||
return ("5","8")
|
||||
if freq == "5045":
|
||||
return ("5","9")
|
||||
if freq == "5055":
|
||||
return ("5","11")
|
||||
if freq == "5060":
|
||||
return ("5","12")
|
||||
if freq == "5080":
|
||||
return ("5","16")
|
||||
if freq == "5170":
|
||||
return ("5","34")
|
||||
if freq == "5180":
|
||||
return ("5","36")
|
||||
if freq == "5190":
|
||||
return ("5","38")
|
||||
if freq == "5200":
|
||||
return ("5","40")
|
||||
if freq == "5210":
|
||||
return ("5","42")
|
||||
if freq == "5220":
|
||||
return ("5","44")
|
||||
if freq == "5230":
|
||||
return ("5","46")
|
||||
if freq == "5240":
|
||||
return ("5","48")
|
||||
if freq == "5260":
|
||||
return ("5","52")
|
||||
if freq == "5280":
|
||||
return ("5","56")
|
||||
if freq == "5300":
|
||||
return ("5","60")
|
||||
if freq == "5320":
|
||||
return ("5","64")
|
||||
if freq == "5500":
|
||||
return ("5","100")
|
||||
if freq == "5520":
|
||||
return ("5","104")
|
||||
if freq == "5540":
|
||||
return ("5","108")
|
||||
if freq == "5560":
|
||||
return ("5","112")
|
||||
if freq == "5580":
|
||||
return ("5","116")
|
||||
if freq == "5600":
|
||||
return ("5","120")
|
||||
if freq == "5620":
|
||||
return ("5","124")
|
||||
if freq == "5640":
|
||||
return ("5","128")
|
||||
if freq == "5660":
|
||||
return ("5","132")
|
||||
if freq == "5680":
|
||||
return ("5","136")
|
||||
if freq == "5700":
|
||||
return ("5","140")
|
||||
if freq == "5720":
|
||||
return ("5","144")
|
||||
if freq == "5745":
|
||||
return ("5","149")
|
||||
if freq == "5765":
|
||||
return ("5","153")
|
||||
if freq == "5785":
|
||||
return ("5","157")
|
||||
if freq == "5805":
|
||||
return ("5","161")
|
||||
if freq == "5825":
|
||||
return ("5","165")
|
||||
if freq == "4915":
|
||||
return ("5","183")
|
||||
if freq == "4920":
|
||||
return ("5","184")
|
||||
if freq == "4925":
|
||||
return ("5","185")
|
||||
if freq == "4935":
|
||||
return ("5","187")
|
||||
if freq == "4940":
|
||||
return ("5","188")
|
||||
if freq == "4945":
|
||||
return ("5","189")
|
||||
if freq == "4960":
|
||||
return ("5","192")
|
||||
if freq == "4980":
|
||||
return ("5","196")
|
||||
return None;
|
||||
@@ -0,0 +1,11 @@
|
||||
site_name: KlipperScreen
|
||||
nav:
|
||||
- Hardware.md
|
||||
- Installation.md
|
||||
- Configuration.md
|
||||
- changelog.md
|
||||
- panels.md
|
||||
theme: readthedocs
|
||||
repo_url: https://github.com/jordanruthe/KlipperScreen/
|
||||
plugins:
|
||||
- search
|
||||
@@ -8,8 +8,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.BedLevelPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return BedLevelPanel(*args)
|
||||
|
||||
@@ -34,8 +32,8 @@ class BedLevelPanel(ScreenPanel):
|
||||
if config_section_name != None:
|
||||
config_section = self._screen.printer.get_config_section(config_section_name)
|
||||
for item in config_section:
|
||||
logger.debug("Screws section: %s" % config_section[item])
|
||||
result = re.match(r"([0-9\.]+)\s*,\s*([0-9\.]+)", config_section[item])
|
||||
logging.debug("Screws section: %s" % config_section[item])
|
||||
result = re.match(r"([\-0-9\.]+)\s*,\s*([\-0-9\.]+)", config_section[item])
|
||||
if result:
|
||||
screws.append([
|
||||
round(float(result.group(1)),2),
|
||||
@@ -43,7 +41,7 @@ class BedLevelPanel(ScreenPanel):
|
||||
])
|
||||
|
||||
screws = sorted(screws, key=lambda x: (float(x[1]), float(x[0])))
|
||||
logger.debug("Bed screw locations [x,y]: %s", screws)
|
||||
logging.debug("Bed screw locations [x,y]: %s", screws)
|
||||
if ("bltouch" in self._screen.printer.get_config_section_list() and
|
||||
config_section_name == "screws_tilt_adjust"):
|
||||
x_offset = 0
|
||||
@@ -62,10 +60,10 @@ class BedLevelPanel(ScreenPanel):
|
||||
screws = new_screws
|
||||
|
||||
self.screws = screws
|
||||
logger.debug("Screws: %s" % screws)
|
||||
logging.debug("Screws: %s" % screws)
|
||||
|
||||
if len(screws) < 4:
|
||||
logger.debug("bed_screws not configured, calculating locations")
|
||||
logging.debug("bed_screws not configured, calculating locations")
|
||||
xconf = self._screen.printer.get_config_section("stepper_x")
|
||||
yconf = self._screen.printer.get_config_section("stepper_y")
|
||||
x = int(int(xconf['position_max'])/4)
|
||||
@@ -76,9 +74,9 @@ class BedLevelPanel(ScreenPanel):
|
||||
[x, y*3],
|
||||
[x*3, y*3],
|
||||
]
|
||||
logger.debug("Calculated screw locations [x,y]: %s", screws)
|
||||
logging.debug("Calculated screw locations [x,y]: %s", screws)
|
||||
else:
|
||||
logger.debug("Configured screw locations [x,y]: %s", screws)
|
||||
logging.debug("Configured screw locations [x,y]: %s", screws)
|
||||
|
||||
|
||||
self.labels['bl'] = self._gtk.ButtonImage("bed-level-t-l", None, None, 3, 3)
|
||||
@@ -124,7 +122,7 @@ class BedLevelPanel(ScreenPanel):
|
||||
self.labels['fr'].set_label("")
|
||||
|
||||
def go_to_position(self, widget, position):
|
||||
logger.debug("Going to position: %s", position)
|
||||
logging.debug("Going to position: %s", position)
|
||||
script = [
|
||||
"%s" % KlippyGcodes.MOVE_ABSOLUTE,
|
||||
"G1 Z7 F800\n",
|
||||
@@ -148,17 +146,17 @@ class BedLevelPanel(ScreenPanel):
|
||||
def process_update(self, action, data):
|
||||
if action == "notify_gcode_response":
|
||||
result = re.match(
|
||||
"^// (.*) : X ([0-9\.]+), Y ([0-9\.]+), Z [0-9\.]+ : Adjust -> ([CW]+ [0-9:]+)",
|
||||
"^// (.*) : X ([\-0-9\.]+), Y ([\-0-9\.]+), Z [\-0-9\.]+ : Adjust -> ([CW]+ [0-9:]+)",
|
||||
data
|
||||
)
|
||||
if result:
|
||||
screw_labels = ['fl','fr','bl','br']
|
||||
x = int(float(result.group(2)) + self.x_offset)
|
||||
y = int(float(result.group(3)) + self.y_offset)
|
||||
logger.debug(data)
|
||||
logger.debug("X: %s Y: %s" % (x,y))
|
||||
logging.debug(data)
|
||||
logging.debug("X: %s Y: %s" % (x,y))
|
||||
for i in range(len(self.screws)):
|
||||
logger.debug(self.screws[i])
|
||||
logging.debug(self.screws[i])
|
||||
if x == int(float(self.screws[i][0])) and y == int(float(self.screws[i][1])):
|
||||
break
|
||||
self.labels[screw_labels[i]].set_label(result.group(4))
|
||||
|
||||
@@ -1,14 +1,20 @@
|
||||
import gi
|
||||
import logging
|
||||
import numpy as np
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
|
||||
import matplotlib.pyplot as plt
|
||||
from matplotlib import cm
|
||||
from matplotlib import rc
|
||||
from mpl_toolkits.mplot3d import Axes3D
|
||||
from matplotlib.backends.backend_gtk3cairo import FigureCanvasGTK3Cairo as FigureCanvas
|
||||
from matplotlib.ticker import LinearLocator
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.BedMeshPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return BedMeshPanel(*args)
|
||||
|
||||
@@ -31,7 +37,7 @@ class BedMeshPanel(ScreenPanel):
|
||||
|
||||
|
||||
addprofile = self._gtk.ButtonImage("increase"," %s" % _("Add bed mesh profile"),
|
||||
"color1", .5, .5, Gtk.PositionType.LEFT)
|
||||
"color1", .5, .5, Gtk.PositionType.LEFT, False)
|
||||
addprofile.connect("clicked", self.show_create_profile)
|
||||
addprofile.set_size_request(60,0)
|
||||
addprofile.set_hexpand(False)
|
||||
@@ -66,7 +72,7 @@ class BedMeshPanel(ScreenPanel):
|
||||
if profile == "":
|
||||
profile = None
|
||||
|
||||
logger.debug("Activating profile: %s %s" % (self.active_mesh, profile))
|
||||
logging.debug("Activating profile: %s %s" % (self.active_mesh, profile))
|
||||
if profile != self.active_mesh:
|
||||
if profile not in self.profiles:
|
||||
self.add_profile(profile)
|
||||
@@ -107,6 +113,12 @@ class BedMeshPanel(ScreenPanel):
|
||||
refresh.set_hexpand(False)
|
||||
refresh.set_halign(Gtk.Align.END)
|
||||
|
||||
view = self._gtk.ButtonImage("bed-level",_("View Mesh"),"color1")
|
||||
view.connect("clicked", self.show_mesh, profile)
|
||||
view.set_size_request(60,0)
|
||||
view.set_hexpand(False)
|
||||
view.set_halign(Gtk.Align.END)
|
||||
|
||||
info = self._gtk.ButtonImage("info",None,"color3")
|
||||
info.connect("clicked", self.show_mesh, profile)
|
||||
info.set_size_request(60,0)
|
||||
@@ -119,7 +131,7 @@ class BedMeshPanel(ScreenPanel):
|
||||
save.set_hexpand(False)
|
||||
save.set_halign(Gtk.Align.END)
|
||||
|
||||
delete = self._gtk.ButtonImage("decrease",_("Delete"),"color3")
|
||||
delete = self._gtk.ButtonImage("cancel",_("Delete"),"color3")
|
||||
delete.connect("clicked", self.send_remove_mesh, profile)
|
||||
delete.set_size_request(60,0)
|
||||
delete.set_hexpand(False)
|
||||
@@ -138,7 +150,7 @@ class BedMeshPanel(ScreenPanel):
|
||||
dev.add(labels)
|
||||
|
||||
buttons = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
|
||||
logger.debug("Profile compare: '%s' '%s'" % (self.active_mesh, profile))
|
||||
logging.debug("Profile compare: '%s' '%s'" % (self.active_mesh, profile))
|
||||
if self.active_mesh == profile:
|
||||
buttons.pack_start(refresh, False, False, 0)
|
||||
else:
|
||||
@@ -148,6 +160,7 @@ class BedMeshPanel(ScreenPanel):
|
||||
if profile != "default":
|
||||
buttons.pack_end(save, False, False, 0)
|
||||
buttons.pack_end(delete, False, False, 0)
|
||||
buttons.pack_end(view, False, False, 0)
|
||||
|
||||
dev.add(buttons)
|
||||
frame.add(dev)
|
||||
@@ -158,7 +171,8 @@ class BedMeshPanel(ScreenPanel):
|
||||
"row": frame,
|
||||
"load": load,
|
||||
"refresh": refresh,
|
||||
"save": save
|
||||
"save": save,
|
||||
"view": view,
|
||||
}
|
||||
|
||||
l = list(self.profiles)
|
||||
@@ -286,10 +300,81 @@ class BedMeshPanel(ScreenPanel):
|
||||
def show_mesh(self, widget, profile):
|
||||
_ = self.lang.gettext
|
||||
|
||||
bm = self._printer.get_config_section("bed_mesh %s" % profile)
|
||||
if bm == False:
|
||||
logging.info("Unable to load profile: %s" % profile)
|
||||
return
|
||||
|
||||
if profile == self.active_mesh:
|
||||
abm = self._printer.get_stat("bed_mesh")
|
||||
if abm == None:
|
||||
logging.info("Unable to load active mesh: %s" % profile)
|
||||
return
|
||||
x_range = [int(abm['mesh_min'][0]), int(abm['mesh_max'][0])]
|
||||
y_range = [int(abm['mesh_min'][1]), int(abm['mesh_max'][1])]
|
||||
z_range = [min(min(abm['mesh_matrix'])), max(max(abm['mesh_matrix']))]
|
||||
counts = [len(abm['mesh_matrix'][0]), len(abm['mesh_matrix'])]
|
||||
deltas = [(x_range[1] - x_range[0] )/ (counts[0]-1), (y_range[1] - y_range[0]) / (counts[1]-1)]
|
||||
x = [(i*deltas[0])+x_range[0] for i in range(counts[0])]
|
||||
y = [(i*deltas[0])+y_range[0] for i in range(counts[1])]
|
||||
x, y = np.meshgrid(x, y)
|
||||
z = np.asarray(abm['mesh_matrix'])
|
||||
else:
|
||||
x_range = [int(bm['min_x']), int(bm['max_x'])]
|
||||
y_range = [int(bm['min_y']), int(bm['max_y'])]
|
||||
z_range = [min(min(bm['points'])), max(max(bm['points']))]
|
||||
deltas = [(x_range[1] - x_range[0] )/ (int(bm['x_count'])-1), (y_range[1] - y_range[0]) / (int(bm['y_count'])-1)]
|
||||
x = [(i*deltas[0])+x_range[0] for i in range(bm['x_count'])]
|
||||
y = [(i*deltas[0])+y_range[0] for i in range(bm['y_count'])]
|
||||
x, y = np.meshgrid(x, y)
|
||||
z = np.asarray(bm['points'])
|
||||
|
||||
rc('axes', edgecolor="#fff", labelcolor="#fff")
|
||||
rc(('xtick','ytick'), color="#fff")
|
||||
fig = plt.figure()
|
||||
fig.patch.set_facecolor("black")
|
||||
ax = Axes3D(fig, auto_add_to_figure=False)
|
||||
|
||||
ax.set_facecolor("black")
|
||||
ax.set(title=profile, xlabel="X", ylabel="Y")
|
||||
ax.spines['bottom'].set_color("#fff")
|
||||
|
||||
fig.add_axes(ax)
|
||||
surf = ax.plot_surface(x, y, z, rstride=1, cstride=1, cmap=cm.coolwarm)
|
||||
|
||||
ax.set_zlim(z_range[0], z_range[1])
|
||||
ax.zaxis.set_major_locator(LinearLocator(10))
|
||||
# A StrMethodFormatter is used automatically
|
||||
ax.zaxis.set_major_formatter('{x:.02f}')
|
||||
fig.colorbar(surf, shrink=0.5, aspect=5)
|
||||
|
||||
box = Gtk.VBox()
|
||||
box.set_hexpand(True)
|
||||
box.set_vexpand(True)
|
||||
|
||||
title = Gtk.Label()
|
||||
title.set_markup("<b>%s</b>" % profile)
|
||||
title.set_hexpand(True)
|
||||
title.set_halign(Gtk.Align.CENTER)
|
||||
|
||||
canvas_box = Gtk.Box()
|
||||
canvas_box.set_hexpand(True)
|
||||
canvas_box.set_vexpand(True)
|
||||
|
||||
box.add(title)
|
||||
box.add(canvas_box)
|
||||
|
||||
buttons = [
|
||||
{"name": _("Close"), "response": Gtk.ResponseType.CANCEL}
|
||||
]
|
||||
dialog = self._gtk.Dialog(self._screen, buttons, self.graphs[profile], self._close_dialog)
|
||||
dialog = self._gtk.Dialog(self._screen, buttons, box, self._close_dialog)
|
||||
|
||||
alloc = canvas_box.get_allocation()
|
||||
canvas = FigureCanvas(fig)
|
||||
canvas.set_size_request(alloc.width, self._screen.height/3*2)
|
||||
canvas_box.add(canvas)
|
||||
canvas_box.show_all()
|
||||
|
||||
|
||||
def _close_dialog(self, widget, response):
|
||||
widget.destroy()
|
||||
@@ -7,8 +7,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.ExamplePanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return ExamplePanel(*args)
|
||||
|
||||
|
||||
@@ -7,8 +7,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.ExtrudePanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return ExtrudePanel(*args)
|
||||
|
||||
|
||||
@@ -7,8 +7,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.FanPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return FanPanel(*args)
|
||||
|
||||
@@ -32,18 +30,18 @@ class FanPanel(ScreenPanel):
|
||||
self.labels["scale"].get_style_context().add_class("fan_slider")
|
||||
box.add(self.labels["scale"])
|
||||
|
||||
self.labels["fanoff"] = self._gtk.ButtonImage("fan-off", _("Fan Off"))
|
||||
self.labels["fanoff"] = self._gtk.ButtonImage("fan", _("Fan Off"))
|
||||
self.labels["fanoff"].get_style_context().add_class("color1")
|
||||
self.labels["fanoff"].connect("clicked", self.set_fan_on, False)
|
||||
self.labels["fanon"] = self._gtk.ButtonImage("fan", _("Fan On"))
|
||||
self.labels["fanon"] = self._gtk.ButtonImage("fan-on", _("Fan On"))
|
||||
self.labels["fanon"].get_style_context().add_class("color3")
|
||||
self.labels["fanon"].connect("clicked", self.set_fan_on, True)
|
||||
|
||||
self.labels["apply"] = self._gtk.ButtonImage("resume", _("Set Speed"))
|
||||
self.labels["apply"].get_style_context().add_class("color2")
|
||||
self.labels["apply"] = self._gtk.ButtonImage("complete", _("Set Speed"))
|
||||
self.labels["apply"].get_style_context().add_class("color4")
|
||||
self.labels["apply"].connect("clicked", self.set_fan_speed)
|
||||
self.labels["cancel"] = self._gtk.ButtonImage("stop", _("Cancel Change"))
|
||||
self.labels["cancel"].get_style_context().add_class("color4")
|
||||
self.labels["cancel"] = self._gtk.ButtonImage("cancel", _("Cancel Change"))
|
||||
self.labels["cancel"].get_style_context().add_class("color2")
|
||||
self.labels["cancel"].connect("clicked", self.cancel_select_fan_speed)
|
||||
self.labels["cancel"].hide()
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import gi
|
||||
import logging
|
||||
import re
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
@@ -7,8 +8,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.FineTunePanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return FineTunePanel(*args)
|
||||
|
||||
@@ -30,35 +29,46 @@ class FineTunePanel(ScreenPanel):
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid.set_row_homogeneous(False)
|
||||
logger.debug("FineTunePanel")
|
||||
logging.debug("FineTunePanel")
|
||||
|
||||
print_cfg = self._config.get_printer_config(self._screen.connected_printer)
|
||||
if print_cfg is not None:
|
||||
bs = print_cfg.get("z_babystep_values","0.01, 0.05")
|
||||
if re.match(r'^[0-9,\.\s]+$', bs):
|
||||
bs = [str(i.strip()) for i in bs.split(',')]
|
||||
if len(bs) <= 2:
|
||||
self.bs_deltas = bs
|
||||
else:
|
||||
self.bs_deltas = [bs[0], bs[-1]]
|
||||
self.bs_delta = self.bs_deltas[0]
|
||||
|
||||
|
||||
self.labels['z+'] = self._gtk.ButtonImage("move-z-", _("Z+"), "color1")
|
||||
self.labels['z+'] = self._gtk.ButtonImage("z-farther", _("Z+"), "color1")
|
||||
self.labels['z+'].connect("clicked", self.change_babystepping, "+")
|
||||
self.labels['zoffset'] = Gtk.Label("0.00" + _("mm"))
|
||||
self.labels['zoffset'].get_style_context().add_class('temperature_entry')
|
||||
self.labels['z-'] = self._gtk.ButtonImage("move-z+", _("Z-"), "color1")
|
||||
self.labels['z-'] = self._gtk.ButtonImage("z-closer", _("Z-"), "color1")
|
||||
self.labels['z-'].connect("clicked", self.change_babystepping, "-")
|
||||
|
||||
grid.attach(self.labels['z+'], 0, 0, 1, 1)
|
||||
grid.attach(self.labels['zoffset'], 0, 1, 1, 1)
|
||||
grid.attach(self.labels['z-'], 0, 2, 1, 1)
|
||||
|
||||
self.labels['speed+'] = self._gtk.ButtonImage("speed-step", _("Speed +"), "color3")
|
||||
self.labels['speed+'] = self._gtk.ButtonImage("speed+", _("Speed +"), "color3")
|
||||
self.labels['speed+'].connect("clicked", self.change_speed, "+")
|
||||
self.labels['speedfactor'] = Gtk.Label("100%")
|
||||
self.labels['speedfactor'].get_style_context().add_class('temperature_entry')
|
||||
self.labels['speed-'] = self._gtk.ButtonImage("speed-step", _("Speed -"), "color3")
|
||||
self.labels['speed-'] = self._gtk.ButtonImage("speed-", _("Speed -"), "color3")
|
||||
self.labels['speed-'].connect("clicked", self.change_speed, "-")
|
||||
grid.attach(self.labels['speed+'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['speedfactor'], 1, 1, 1, 1)
|
||||
grid.attach(self.labels['speed-'], 1, 2, 1, 1)
|
||||
|
||||
self.labels['extrude+'] = self._gtk.ButtonImage("extrude", _("Extrusion +"), "color4")
|
||||
self.labels['extrude+'] = self._gtk.ButtonImage("flow+", _("Extrusion +"), "color4")
|
||||
self.labels['extrude+'].connect("clicked", self.change_extrusion, "+")
|
||||
self.labels['extrudefactor'] = Gtk.Label("100%")
|
||||
self.labels['extrudefactor'].get_style_context().add_class('temperature_entry')
|
||||
self.labels['extrude-'] = self._gtk.ButtonImage("retract", _("Extrusion -"), "color4")
|
||||
self.labels['extrude-'] = self._gtk.ButtonImage("flow-", _("Extrusion -"), "color4")
|
||||
self.labels['extrude-'].connect("clicked", self.change_extrusion, "-")
|
||||
grid.attach(self.labels['extrude+'], 2, 0, 1, 1)
|
||||
grid.attach(self.labels['extrudefactor'], 2, 1, 1, 1)
|
||||
|
||||
@@ -7,8 +7,6 @@ from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.Macro")
|
||||
|
||||
def create_panel(*args):
|
||||
return MacroPanel(*args)
|
||||
|
||||
@@ -53,7 +51,7 @@ class MacroPanel(ScreenPanel):
|
||||
name.set_line_wrap(True)
|
||||
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
|
||||
open = self._gtk.ButtonImage("open",None,"color3")
|
||||
open = self._gtk.ButtonImage("resume",None,"color3")
|
||||
open.connect("clicked", self.run_gcode_macro, macro)
|
||||
open.set_hexpand(False)
|
||||
open.set_halign(Gtk.Align.END)
|
||||
@@ -83,28 +81,27 @@ class MacroPanel(ScreenPanel):
|
||||
|
||||
def load_gcode_macros(self):
|
||||
macros = self._screen.printer.get_gcode_macros()
|
||||
section_name = "displayed_macros %s" % self._screen.connected_printer
|
||||
logging.info("Macro section name [%s]" % section_name)
|
||||
|
||||
for x in macros:
|
||||
macro = x[12:].strip()
|
||||
|
||||
if macro in self.loaded_macros:
|
||||
continue
|
||||
|
||||
logger.debug("Evaluating '%s' value '%s'" % (macro.strip().lower(),
|
||||
self._config.get_config().getboolean("displayed_macros", macro.lower(), fallback=True)))
|
||||
|
||||
if ("displayed_macros" not in self._config.get_config().sections() or
|
||||
self._config.get_config().getboolean("displayed_macros", macro.lower(), fallback=True)):
|
||||
if (section_name not in self._config.get_config().sections() or
|
||||
self._config.get_config().getboolean(section_name, macro.lower(), fallback=True)):
|
||||
self.add_gcode_macro(macro)
|
||||
|
||||
def run_gcode_macro(self, widget, macro):
|
||||
self._screen._ws.klippy.gcode_script(macro)
|
||||
|
||||
def unload_gcode_macros(self):
|
||||
section_name = "displayed_macros %s" % self._screen.connected_printer
|
||||
for macro in self.loaded_macros:
|
||||
logger.debug("Evaluating '%s' value '%s'" % (macro.strip().lower(),
|
||||
self._config.get_config().getboolean("displayed_macros", macro.lower(), fallback=True)))
|
||||
if ("displayed_macros" in self._config.get_config().sections() and
|
||||
not self._config.get_config().getboolean("displayed_macros", macro.lower(), fallback=True)):
|
||||
if (section_name in self._config.get_config().sections() and
|
||||
not self._config.get_config().getboolean(section_name, macro.lower(), fallback=True)):
|
||||
macros = sorted(self.macros)
|
||||
pos = macros.index(macro)
|
||||
self.labels['macros'].remove_row(pos)
|
||||
|
||||
@@ -8,8 +8,6 @@ from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.JobStatusPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return JobStatusPanel(*args)
|
||||
|
||||
@@ -20,16 +18,22 @@ class JobStatusPanel(ScreenPanel):
|
||||
progress = 0
|
||||
state = "printing"
|
||||
|
||||
def __init__(self, screen, title, back=False):
|
||||
super().__init__(screen, title, False)
|
||||
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
self.layout = Gtk.Layout()
|
||||
self.layout.set_size(self._screen.width, self._screen.height)
|
||||
self.timeleft_type = "file"
|
||||
self.timeout = None
|
||||
self.close_timeouts = []
|
||||
|
||||
self.create_buttons()
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid.set_size_request(self._screen.width, self._screen.height)
|
||||
grid.set_row_homogeneous(False)
|
||||
|
||||
self.labels['button_grid'] = self._gtk.HomogeneousGrid()
|
||||
self.labels['button_grid'].set_vexpand(False)
|
||||
|
||||
fi_box = Gtk.VBox(spacing=0)
|
||||
fi_box.set_hexpand(True)
|
||||
@@ -46,28 +50,21 @@ class JobStatusPanel(ScreenPanel):
|
||||
self.labels['status'].set_halign(Gtk.Align.START)
|
||||
self.labels['status'].set_vexpand(False)
|
||||
self.labels['status'].get_style_context().add_class("printing-status")
|
||||
self.labels['lcdmessage'] = Gtk.Label("")
|
||||
self.labels['lcdmessage'].set_halign(Gtk.Align.START)
|
||||
self.labels['lcdmessage'].set_vexpand(False)
|
||||
self.labels['lcdmessage'].get_style_context().add_class("printing-status")
|
||||
|
||||
fi_box.add(self.labels['file']) #, True, True, 0)
|
||||
fi_box.add(self.labels['status']) #, True, True, 0)
|
||||
fi_box.add(self.labels['lcdmessage']) #, True, True, 0)
|
||||
fi_box.set_valign(Gtk.Align.CENTER)
|
||||
|
||||
info = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
info.props.valign = Gtk.Align.CENTER
|
||||
info.set_hexpand(True)
|
||||
info.set_vexpand(True)
|
||||
#info.add(self.labels['file']['b'])
|
||||
#info.add(self.labels['time']['b'])
|
||||
#info.add(self.labels['time_left']['b'])
|
||||
|
||||
#grid.attach(info,2,0,2,1)
|
||||
|
||||
#pbox = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
#pbox.pack_start(self.labels['file']['b'], False, True, 0)
|
||||
#pbox.pack_end(timegrid, False, False, 0)
|
||||
#pbox.pack_end(self.labels['progress'], False, False, 0)
|
||||
#pbox.pack_end(overlay, False, False, 0)
|
||||
|
||||
#grid.attach(pbox, 0, 0, 4, 3)
|
||||
self.labels['darea'] = Gtk.DrawingArea()
|
||||
self.labels['darea'].connect("draw", self.on_draw)
|
||||
|
||||
@@ -85,14 +82,6 @@ class JobStatusPanel(ScreenPanel):
|
||||
overlay.add(self.labels['darea'])
|
||||
overlay.add_overlay(box)
|
||||
|
||||
#self.labels['extruder'] = self._gtk.ButtonImage("extruder-1", self._gtk.formatTemperatureString(0, 0))
|
||||
#self.labels['extruder'].set_sensitive(False)
|
||||
#grid.attach(self.labels['extruder'], 0, 0, 1, 1)
|
||||
|
||||
#self.labels['heater_bed'] = self._gtk.ButtonImage("bed", self._gtk.formatTemperatureString(0, 0))
|
||||
#self.labels['heater_bed'].set_sensitive(False)
|
||||
#grid.attach(self.labels['heater_bed'], 0, 1, 1, 1)
|
||||
|
||||
self.labels['thumbnail'] = self._gtk.Image("file.svg", False, 1.6, 1.6)
|
||||
|
||||
i = 0
|
||||
@@ -163,7 +152,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
pos_box.add(posgrid)
|
||||
self.labels['pos_box'] = pos_box
|
||||
|
||||
speed = self._gtk.Image("speed-step.svg", None, .6, .6)
|
||||
speed = self._gtk.Image("speed+.svg", None, .6, .6)
|
||||
self.labels['speed'] = Gtk.Label(label="")
|
||||
self.labels['speed'].get_style_context().add_class("printing-info")
|
||||
speed_box = Gtk.Box(spacing=0)
|
||||
@@ -188,21 +177,27 @@ class JobStatusPanel(ScreenPanel):
|
||||
sfe_grid.attach(fan_box, 2, 0, 1, 1)
|
||||
self.labels['sfe_grid'] = sfe_grid
|
||||
|
||||
self.labels['i1_box'] = Gtk.VBox(spacing=0)
|
||||
self.labels['i1_box'] = Gtk.HBox(spacing=0)
|
||||
self.labels['i1_box'].set_vexpand(True)
|
||||
self.labels['i1_box'].get_style_context().add_class("printing-info-box")
|
||||
self.labels['i1_box'].set_valign(Gtk.Align.CENTER)
|
||||
self.labels['i2_box'] = Gtk.VBox(spacing=0)
|
||||
self.labels['i2_box'].set_vexpand(True)
|
||||
self.labels['i2_box'].get_style_context().add_class("printing-info-box")
|
||||
self.labels['i2_box'].set_valign(Gtk.Align.CENTER)
|
||||
self.labels['info_grid'] = self._gtk.HomogeneousGrid()
|
||||
self.labels['info_grid'].attach(self.labels['i1_box'], 0, 0, 1, 1)
|
||||
self.labels['info_grid'].attach(self.labels['i2_box'], 1, 0, 1, 1)
|
||||
|
||||
grid.attach(overlay, 0, 0, 1, 1)
|
||||
grid.attach(fi_box, 1, 0, 3, 1)
|
||||
grid.attach(self.labels['i1_box'], 0, 1, 2, 2)
|
||||
grid.attach(self.labels['i2_box'], 2, 1, 2, 2)
|
||||
grid.attach(self.labels['info_grid'], 0, 1, 4, 2)
|
||||
grid.attach(self.labels['button_grid'], 0, 3, 4, 1)
|
||||
|
||||
self.add_labels()
|
||||
|
||||
self.grid = grid
|
||||
self.layout.put(grid, 0, 0)
|
||||
self.content.add(grid)
|
||||
|
||||
self._screen.add_subscription(panel_name)
|
||||
|
||||
@@ -224,24 +219,21 @@ class JobStatusPanel(ScreenPanel):
|
||||
|
||||
def activate(self):
|
||||
_ = self.lang.gettext
|
||||
self.progress = self._printer.get_stat('virtual_sdcard','progress')
|
||||
self.update_progress()
|
||||
self.progress = 0
|
||||
self.enable_button("pause","cancel","resume")
|
||||
|
||||
state = "printing"
|
||||
self.update_text("status",_("Printing"))
|
||||
|
||||
self.filename = self._printer.get_stat('print_stats','filename')
|
||||
self.update_file_metadata()
|
||||
|
||||
self.grid.remove_row(3)
|
||||
self.grid.insert_row(3)
|
||||
|
||||
ps = self._printer.get_stat("print_stats")
|
||||
logger.debug("Act State: %s" % ps['state'])
|
||||
logging.debug("Act State: %s" % ps['state'])
|
||||
self.set_state(ps['state'])
|
||||
|
||||
self.show_buttons_for_state()
|
||||
|
||||
if self.timeout == None:
|
||||
GLib.timeout_add(500, self.state_check)
|
||||
|
||||
def add_labels(self):
|
||||
for child in self.labels['i1_box'].get_children():
|
||||
self.labels['i1_box'].remove(child)
|
||||
@@ -267,15 +259,16 @@ class JobStatusPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
self.labels['cancel'] = self._gtk.ButtonImage("stop",_("Cancel"),"color2")
|
||||
self.labels['cancel'].connect("clicked", self.cancel)
|
||||
self.labels['control'] = self._gtk.ButtonImage("control",_("Control"),"color3")
|
||||
self.labels['control'] = self._gtk.ButtonImage("settings",_("Settings"),"color3")
|
||||
self.labels['control'].connect("clicked", self._screen._go_to_submenu, "")
|
||||
self.labels['estop'] = self._gtk.ButtonImage("emergency",_("Emergency Stop"),"color4")
|
||||
self.labels['estop'].connect("clicked", self.emergency_stop)
|
||||
self.labels['fine_tune'] = self._gtk.ButtonImage("fine-tune",_("Fine Tuning"),"color4")
|
||||
self.labels['fine_tune'].connect("clicked", self.menu_item_clicked, "fine_tune",{
|
||||
"panel": "fine_tune", "name": _("Fine Tuning")})
|
||||
self.labels['menu'] = self._gtk.ButtonImage("complete",_("Main Menu"),"color4")
|
||||
self.labels['menu'].connect("clicked", self.close_panel)
|
||||
self.labels['pause'] = self._gtk.ButtonImage("pause",_("Pause"),"color1" )
|
||||
self.labels['pause'].connect("clicked",self.pause)
|
||||
self.labels['restart'] = self._gtk.ButtonImage("restart",_("Restart"),"color3")
|
||||
self.labels['restart'] = self._gtk.ButtonImage("refresh",_("Restart"),"color3")
|
||||
self.labels['restart'].connect("clicked", self.restart)
|
||||
self.labels['resume'] = self._gtk.ButtonImage("resume",_("Resume"),"color1")
|
||||
self.labels['resume'].connect("clicked",self.resume)
|
||||
@@ -284,6 +277,12 @@ class JobStatusPanel(ScreenPanel):
|
||||
if self.filename != "none":
|
||||
self._screen._ws.klippy.print_start(self.filename)
|
||||
|
||||
for to in self.close_timeouts:
|
||||
GLib.source_remove(to)
|
||||
self.close_timeouts.remove(to)
|
||||
if self.timeout == None:
|
||||
self.timeout = GLib.timeout_add(500, self.state_check)
|
||||
|
||||
def resume(self, widget):
|
||||
#self.disable_button("resume","cancel")
|
||||
self._screen._ws.klippy.print_resume(self._response_callback, "enable_button", "pause", "cancel")
|
||||
@@ -319,7 +318,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
self.enable_button("pause","cancel")
|
||||
return
|
||||
|
||||
logger.debug("Canceling print")
|
||||
logging.debug("Canceling print")
|
||||
self.disable_button("pause","resume","cancel")
|
||||
self._screen._ws.klippy.print_cancel(self._response_callback)
|
||||
|
||||
@@ -328,8 +327,12 @@ class JobStatusPanel(ScreenPanel):
|
||||
self.enable_button(*args)
|
||||
|
||||
def close_panel(self, widget=None):
|
||||
if self._screen.is_printing():
|
||||
self._screen.printer_ready()
|
||||
logging.debug("Closing job_status panel")
|
||||
for to in self.close_timeouts:
|
||||
GLib.source_remove(to)
|
||||
self.close_timeouts.remove(to)
|
||||
|
||||
self._screen.printer_ready()
|
||||
return False
|
||||
|
||||
def enable_button(self, *args):
|
||||
@@ -341,12 +344,27 @@ class JobStatusPanel(ScreenPanel):
|
||||
self.labels[arg].set_sensitive(False)
|
||||
|
||||
def _callback_metadata(self, newfiles, deletedfiles, modifiedfiles):
|
||||
if self.file_metadata == None and self.filename in modifiedfiles:
|
||||
if bool(self.file_metadata) == False and self.filename in modifiedfiles:
|
||||
self.update_file_metadata()
|
||||
self._files.remove_file_callback(self._callback_metadata)
|
||||
|
||||
def new_print(self):
|
||||
if self.state in ["cancelled","complete","error"]:
|
||||
for to in self.close_timeouts:
|
||||
GLib.source_remove(to)
|
||||
self.close_timeouts.remove(to)
|
||||
if self.timeout == None:
|
||||
GLib.timeout_add(500, self.state_check)
|
||||
self.state_check()
|
||||
|
||||
def process_update(self, action, data):
|
||||
if action != "notify_status_update":
|
||||
if action == "notify_gcode_response":
|
||||
if "action:cancel" in data:
|
||||
self.set_state("cancelling")
|
||||
elif "action:paused" in data:
|
||||
self.set_state("paused")
|
||||
return
|
||||
elif action != "notify_status_update":
|
||||
return
|
||||
_ = self.lang.gettext
|
||||
|
||||
@@ -361,6 +379,15 @@ class JobStatusPanel(ScreenPanel):
|
||||
self._printer.get_dev_stat(x,"target")
|
||||
)
|
||||
|
||||
ps = self._printer.get_stat("print_stats")
|
||||
vsd = self._printer.get_stat("virtual_sdcard")
|
||||
if 'display_status' in data and 'message' in data['display_status']:
|
||||
self.update_message()
|
||||
|
||||
if "print_stats" in data and "filename" in data['print_stats']:
|
||||
if data['print_stats']['filename'] != self.filename and self.state not in ["cancelling","cancelled","complete"]:
|
||||
logging.debug("filename: '%s' '%s' status: %s" % (self.filename, data['print_stats']['filename'], self.state))
|
||||
self.update_filename()
|
||||
|
||||
if "toolhead" in data:
|
||||
if "extruder" in data["toolhead"]:
|
||||
@@ -385,118 +412,130 @@ class JobStatusPanel(ScreenPanel):
|
||||
if "speed_factor" in data["gcode_move"]:
|
||||
self.speed = int(data["gcode_move"]["speed_factor"]*100)
|
||||
self.labels['speed'].set_text("%3d%%" % self.speed)
|
||||
|
||||
if "fan" in data and "speed" in data['fan']:
|
||||
self.fan = int(round(data['fan']['speed'],2)*100)
|
||||
self.labels['fan'].set_text("%3d%%" % self.fan)
|
||||
|
||||
if "print_stats" in data or "virtual_sdcard" in data:
|
||||
ps = self._printer.get_stat("print_stats")
|
||||
vsd = self._printer.get_stat("virtual_sdcard")
|
||||
if ps['state'] == "printing" and self.state != "printing":
|
||||
self.set_state("printing")
|
||||
self.show_buttons_for_state()
|
||||
if ps['state'] == "complete" and self.state != "complete":
|
||||
self.progress = 1
|
||||
self.update_progress()
|
||||
self.set_state("complete")
|
||||
self.show_buttons_for_state()
|
||||
timeout = self._config.get_main_config().getint("job_complete_timeout", 30)
|
||||
if timeout != 0:
|
||||
GLib.timeout_add(timeout * 1000, self.close_panel)
|
||||
elif ps['state'] == "error" and self.state != "error":
|
||||
logger.debug("Error!")
|
||||
self.set_state("error")
|
||||
self.labels['status'].set_text("Error - %s" % ps['message'])
|
||||
self.show_buttons_for_state()
|
||||
timeout = self._config.get_main_config().getint("job_error_timeout", 0)
|
||||
if timeout != 0:
|
||||
GLib.timeout_add(timeout * 1000, self.close_panel)
|
||||
elif ps['state'] == "standby":
|
||||
self.close_panel()
|
||||
if self.state in ["cancelling","cancelled","complete","error"]:
|
||||
return
|
||||
|
||||
if self.filename != ps['filename']:
|
||||
if ps['filename'] != "":
|
||||
self.filename = ps['filename']
|
||||
self.file_metadata = {}
|
||||
self.update_text("file", self.filename.split("/")[-1])
|
||||
else:
|
||||
file = "Unknown"
|
||||
self.update_text("file", "Unknown file")
|
||||
self.update_percent_complete()
|
||||
self.update_text("duration", str(self._gtk.formatTimeString(ps['print_duration'])))
|
||||
|
||||
if self.file_metadata != None:
|
||||
if "gcode_start_byte" in self.file_metadata:
|
||||
progress = (max(vsd['file_position'] - self.file_metadata['gcode_start_byte'],0) /
|
||||
(self.file_metadata['gcode_end_byte'] - self.file_metadata['gcode_start_byte']))
|
||||
else:
|
||||
progress = 0 if self._printer.get_stat('virtual_sdcard','progress') == 0 else (ps['print_duration']/
|
||||
self._printer.get_stat('virtual_sdcard','progress') - ps['print_duration'])
|
||||
progress = round(progress,2)
|
||||
timeleft_type = self._config.get_config()['main'].get('print_estimate_method','file')
|
||||
if timeleft_type != self.timeleft_type:
|
||||
if self.timeleft_type == "duration":
|
||||
self.labels['it_box'].add(self.labels['est_time'])
|
||||
elif timeleft_type == "duration":
|
||||
self.labels['it_box'].remove(self.labels['est_time'])
|
||||
self.timeleft_type = timeleft_type
|
||||
|
||||
if progress != self.progress:
|
||||
self.progress = progress
|
||||
self.labels['darea'].queue_draw()
|
||||
if timeleft_type in ['filament','file','slicer']:
|
||||
duration = ps['print_duration']
|
||||
if timeleft_type == "filament":
|
||||
estimated_filament = (self.file_metadata['filament_total'] if "filament_total" in self.file_metadata
|
||||
else 1)
|
||||
total_duration = duration / (max(ps['filament_used'],0.0001) / max(estimated_filament, 0.0001))
|
||||
elif timeleft_type == "file":
|
||||
total_duration = duration / max(self.progress, 0.0001)
|
||||
elif timeleft_type == "slicer":
|
||||
total_duration = (self.file_metadata['estimated_time'] if "estimated_time" in self.file_metadata
|
||||
else duration)
|
||||
time_left = max(total_duration - duration, 0)
|
||||
self.update_text("time_left", str(self._gtk.formatTimeString(time_left)))
|
||||
self.update_text("est_time","/ %s" % str(self._gtk.formatTimeString(total_duration)))
|
||||
|
||||
self.update_text("duration", str(self._gtk.formatTimeString(ps['print_duration'])))
|
||||
|
||||
timeleft_type = self._config.get_config()['main'].get('print_estimate_method','file')
|
||||
|
||||
if timeleft_type != self.timeleft_type:
|
||||
if self.timeleft_type == "duration":
|
||||
self.labels['it_box'].add(self.labels['est_time'])
|
||||
elif timeleft_type == "duration":
|
||||
self.labels['it_box'].remove(self.labels['est_time'])
|
||||
self.timeleft_type = timeleft_type
|
||||
|
||||
if timeleft_type in ['filament','file','slicer']:
|
||||
duration = ps['print_duration']
|
||||
if timeleft_type == "filament":
|
||||
estimated_filament = (self.file_metadata['filament_total'] if "filament_total" in self.file_metadata
|
||||
else 1)
|
||||
total_duration = duration / (max(ps['filament_used'],0.0001) / max(estimated_filament, 0.0001))
|
||||
elif timeleft_type == "file":
|
||||
total_duration = duration / max(self.progress, 0.0001)
|
||||
elif timeleft_type == "slicer":
|
||||
total_duration = (self.file_metadata['estimated_time'] if "estimated_time" in self.file_metadata
|
||||
else duration)
|
||||
|
||||
time_left = max(total_duration - duration, 0)
|
||||
self.update_text("time_left", str(self._gtk.formatTimeString(time_left)))
|
||||
def state_check(self):
|
||||
ps = self._printer.get_stat("print_stats")
|
||||
if ps['state'] == self.state:
|
||||
return True
|
||||
_ = self.lang.gettext
|
||||
|
||||
if ps['state'] == "printing" and self.state != "printing" and self.state != "cancelling":
|
||||
self.set_state("printing")
|
||||
elif ps['state'] == "complete" and self.state != "complete":
|
||||
self.progress = 1
|
||||
self.update_progress()
|
||||
self.set_state("complete")
|
||||
timeout = self._config.get_main_config().getint("job_complete_timeout", 30)
|
||||
if timeout != 0:
|
||||
self.close_timeouts.append(GLib.timeout_add(timeout * 1000, self.close_panel))
|
||||
return False
|
||||
elif ps['state'] == "error" and self.state != "error":
|
||||
logging.debug("Error!")
|
||||
self.set_state("error")
|
||||
self.labels['status'].set_text("%s - %s" % (_("Error"), ps['message']))
|
||||
timeout = self._config.get_main_config().getint("job_error_timeout", 0)
|
||||
if timeout != 0:
|
||||
self.close_timeouts.append(GLib.timeout_add(timeout * 1000, self.close_panel))
|
||||
return False
|
||||
elif ps['state'] == "standby":
|
||||
# Print was cancelled
|
||||
self.set_state("cancelled")
|
||||
timeout = self._config.get_main_config().getint("job_cancelled_timeout", 0)
|
||||
if timeout != 0:
|
||||
self.close_timeouts.append(GLib.timeout_add(timeout * 1000, self.close_panel))
|
||||
return False
|
||||
elif ps['state'] == "paused":
|
||||
self.set_state("paused")
|
||||
|
||||
if "pause_resume" in data and self.state != "complete":
|
||||
if self.state == "paused" and data['pause_resume']['is_paused'] == False:
|
||||
self.set_state("printing")
|
||||
self.update_text("status",_("Paused"))
|
||||
self.grid.attach(self.labels['pause'], 0, 3, 1, 1)
|
||||
self.grid.remove(self.labels['resume'])
|
||||
self.grid.show_all()
|
||||
if self.state != "paused" and data['pause_resume']['is_paused'] == True:
|
||||
self.set_state("paused")
|
||||
self.grid.attach(self.labels['resume'], 0, 3, 1, 1)
|
||||
self.grid.remove(self.labels['pause'])
|
||||
self.grid.show_all()
|
||||
# TODO: Remove this in the future
|
||||
if self.filename != ps['filename']:
|
||||
if ps['filename'] != "":
|
||||
self.filename = ps['filename']
|
||||
self.file_metadata = {}
|
||||
self.update_text("file", self.filename.split("/")[-1])
|
||||
else:
|
||||
file = "Unknown"
|
||||
self.update_text("file", "Unknown file")
|
||||
|
||||
return True
|
||||
|
||||
def set_state(self, state):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if self.state == state:
|
||||
return
|
||||
|
||||
logging.debug("Changing job_status state from '%s' to '%s'" % (self.state, state))
|
||||
self.state = state
|
||||
self.update_text("status",state.capitalize())
|
||||
if state == "paused":
|
||||
self.update_text("status",_("Paused"))
|
||||
elif state == "printing":
|
||||
self.update_text("status",_("Printing"))
|
||||
elif state == "cancelling":
|
||||
self.update_text("status",_("Cancelling"))
|
||||
elif state == "cancelled":
|
||||
self.update_text("status",_("Cancelled"))
|
||||
elif state == "complete":
|
||||
self.update_text("status",_("Complete"))
|
||||
self.show_buttons_for_state()
|
||||
|
||||
|
||||
def show_buttons_for_state(self):
|
||||
self.grid.remove_row(3)
|
||||
self.grid.insert_row(3)
|
||||
self.labels['button_grid'].remove_row(0)
|
||||
self.labels['button_grid'].insert_row(0)
|
||||
if self.state == "printing":
|
||||
self.grid.attach(self.labels['pause'], 0, 3, 1, 1)
|
||||
self.grid.attach(self.labels['cancel'], 1, 3, 1, 1)
|
||||
self.grid.attach(self.labels['estop'], 2, 3, 1, 1)
|
||||
self.grid.attach(self.labels['control'], 3, 3, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['pause'], 0, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['cancel'], 1, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['fine_tune'], 2, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['control'], 3, 0, 1, 1)
|
||||
elif self.state == "paused":
|
||||
self.grid.attach(self.labels['resume'], 0, 3, 1, 1)
|
||||
self.grid.attach(self.labels['cancel'], 1, 3, 1, 1)
|
||||
self.grid.attach(self.labels['estop'], 2, 3, 1, 1)
|
||||
self.grid.attach(self.labels['control'], 3, 3, 1, 1)
|
||||
elif self.state == "error" or self.state == "complete":
|
||||
self.grid.attach(self.labels['restart'], 2, 3, 1, 1)
|
||||
self.grid.attach(self.labels['menu'], 3, 3, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['resume'], 0, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['cancel'], 1, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['fine_tune'], 2, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['control'], 3, 0, 1, 1)
|
||||
elif self.state == "cancelling":
|
||||
self.labels['button_grid'].attach(Gtk.Label(""), 0, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(Gtk.Label(""), 1, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['fine_tune'], 2, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['control'], 3, 0, 1, 1)
|
||||
elif self.state == "error" or self.state == "complete" or self.state == "cancelled":
|
||||
self.labels['button_grid'].attach(Gtk.Label(""), 0, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(Gtk.Label(""), 1, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['restart'], 2, 0, 1, 1)
|
||||
self.labels['button_grid'].attach(self.labels['menu'], 3, 0, 1, 1)
|
||||
self.show_all()
|
||||
|
||||
def show_file_thumbnail(self):
|
||||
@@ -505,26 +544,51 @@ class JobStatusPanel(ScreenPanel):
|
||||
if pixbuf != None:
|
||||
self.labels['thumbnail'].set_from_pixbuf(pixbuf)
|
||||
|
||||
def update_filename(self):
|
||||
self.filename = self._printer.get_stat('print_stats','filename')
|
||||
self.update_text("file", self._printer.get_stat('print_stats','filename'))
|
||||
self.update_percent_complete()
|
||||
self.update_file_metadata()
|
||||
|
||||
def update_file_metadata(self):
|
||||
if self._files.file_metadata_exists(self.filename):
|
||||
self.file_metadata = self._files.get_file_info(self.filename)
|
||||
logger.debug("Parsing file metadata: %s" % list(self.file_metadata))
|
||||
self.update_text("est_time","/ %s" % str(self._gtk.formatTimeString(self.file_metadata['estimated_time'])))
|
||||
logging.debug("Parsing file metadata: %s" % list(self.file_metadata))
|
||||
if "estimated_time" in self.file_metadata and self.timeleft_type == "slicer":
|
||||
self.update_text("est_time","/ %s" %
|
||||
str(self._gtk.formatTimeString(self.file_metadata['estimated_time'])))
|
||||
if "thumbnails" in self.file_metadata:
|
||||
tmp = self.file_metadata['thumbnails'].copy()
|
||||
for i in tmp:
|
||||
i['data'] = ""
|
||||
logger.debug("Thumbnails: %s" % list(tmp))
|
||||
logging.debug("Thumbnails: %s" % list(tmp))
|
||||
self.show_file_thumbnail()
|
||||
else:
|
||||
self.file_metadata = None
|
||||
logger.debug("Cannot find file metadata. Listening for updated metadata")
|
||||
self.file_metadata = {}
|
||||
logging.debug("Cannot find file metadata. Listening for updated metadata")
|
||||
self._screen.files.add_file_callback(self._callback_metadata)
|
||||
|
||||
def update_image_text(self, label, text):
|
||||
if label in self.labels and 'l' in self.labels[label]:
|
||||
self.labels[label]['l'].set_text(text)
|
||||
|
||||
def update_percent_complete(self):
|
||||
if self.state in ["cancelling","cancelled","complete","error"]:
|
||||
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')
|
||||
progress = round(progress,2)
|
||||
|
||||
if progress != self.progress:
|
||||
self.progress = progress
|
||||
self.labels['darea'].queue_draw()
|
||||
self.update_progress()
|
||||
|
||||
def update_text(self, label, text):
|
||||
if label in self.labels:
|
||||
self.labels[label].set_text(text)
|
||||
@@ -532,6 +596,10 @@ class JobStatusPanel(ScreenPanel):
|
||||
def update_progress (self):
|
||||
self.labels['progress_text'].set_text("%s%%" % (str( min(int(self.progress*100),100) )))
|
||||
|
||||
def update_message (self):
|
||||
msg = self._printer.get_stat("display_status", "message")
|
||||
self.labels['lcdmessage'].set_text("" if msg == None else msg)
|
||||
|
||||
#def update_temp(self, dev, temp, target):
|
||||
# if dev in self.labels:
|
||||
# self.labels[dev].set_label(self._gtk.formatTemperatureString(temp, target))
|
||||
|
||||
@@ -6,8 +6,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
|
||||
from panels.menu import MenuPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.MainMenu")
|
||||
|
||||
def create_panel(*args):
|
||||
return MainPanel(*args)
|
||||
|
||||
@@ -23,23 +21,32 @@ class MainPanel(MenuPanel):
|
||||
grid.set_vexpand(True)
|
||||
|
||||
# Create Extruders and bed icons
|
||||
eq_grid = self._gtk.HomogeneousGrid()
|
||||
eq_grid = Gtk.Grid()
|
||||
eq_grid.set_hexpand(True)
|
||||
eq_grid.set_vexpand(True)
|
||||
|
||||
self.heaters = []
|
||||
|
||||
i = 0
|
||||
for x in self._printer.get_tools():
|
||||
if i > 3:
|
||||
break
|
||||
self.labels[x] = self._gtk.ButtonImage("extruder-"+str(i), self._gtk.formatTemperatureString(0, 0))
|
||||
col = 0 if len(self._printer.get_tools()) == 1 else i%2
|
||||
row = i/2
|
||||
eq_grid.attach(self.labels[x], col, row, 1, 1)
|
||||
self.heaters.append(x)
|
||||
i += 1
|
||||
|
||||
if self._printer.has_heated_bed():
|
||||
self.labels['heater_bed'] = self._gtk.ButtonImage("bed", self._gtk.formatTemperatureString(0, 0))
|
||||
add_heaters = self._printer.get_heaters()
|
||||
for h in add_heaters:
|
||||
if h == "heater_bed":
|
||||
self.labels[h] = self._gtk.ButtonImage("bed", self._gtk.formatTemperatureString(0, 0))
|
||||
else:
|
||||
name = " ".join(h.split(" ")[1:])
|
||||
self.labels[h] = self._gtk.ButtonImage("heat-up", name)
|
||||
self.heaters.append(h)
|
||||
|
||||
width = 2 if i > 1 else 1
|
||||
eq_grid.attach(self.labels['heater_bed'], 0, i/2+1, width, 1)
|
||||
i = 0
|
||||
cols = 3 if len(self.heaters) > 4 else (1 if len(self.heaters) <= 2 else 2)
|
||||
for h in self.heaters:
|
||||
eq_grid.attach(self.labels[h], i%cols, int(i/cols), 1, 1)
|
||||
i += 1
|
||||
|
||||
self.items = items
|
||||
self.create_menu_items()
|
||||
@@ -57,7 +64,7 @@ class MainPanel(MenuPanel):
|
||||
"heater_bed": 0,
|
||||
"extruder": 0
|
||||
}
|
||||
|
||||
|
||||
self.content.add(self.grid)
|
||||
self.layout.show_all()
|
||||
|
||||
@@ -66,21 +73,19 @@ class MainPanel(MenuPanel):
|
||||
def activate(self):
|
||||
return
|
||||
|
||||
def update_temp(self, dev, temp, target):
|
||||
if dev in self.labels:
|
||||
self.labels[dev].set_label(self._gtk.formatTemperatureString(temp, target))
|
||||
|
||||
def process_update(self, action, data):
|
||||
if action != "notify_status_update":
|
||||
return
|
||||
|
||||
self.update_temp("heater_bed",
|
||||
self._printer.get_dev_stat("heater_bed","temperature"),
|
||||
self._printer.get_dev_stat("heater_bed","target")
|
||||
)
|
||||
for x in self._printer.get_tools():
|
||||
self.update_temp(x,
|
||||
self._printer.get_dev_stat(x,"temperature"),
|
||||
self._printer.get_dev_stat(x,"target")
|
||||
)
|
||||
for h in self._printer.get_heaters():
|
||||
self.update_temp(h,
|
||||
self._printer.get_dev_stat(h,"temperature"),
|
||||
self._printer.get_dev_stat(h,"target"),
|
||||
None if h == "heater_bed" else " ".join(h.split(" ")[1:])
|
||||
)
|
||||
return
|
||||
@@ -8,8 +8,6 @@ from jinja2 import Environment, Template
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.MenuPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return MenuPanel(*args)
|
||||
|
||||
@@ -41,7 +39,7 @@ class MenuPanel(ScreenPanel):
|
||||
i = 0
|
||||
for item in items:
|
||||
key = list(item)[0]
|
||||
logger.debug("Evaluating item: %s" % key)
|
||||
logging.debug("Evaluating item: %s" % key)
|
||||
if not self.evaluate_enable(item[key]['enable']):
|
||||
continue
|
||||
|
||||
@@ -89,13 +87,13 @@ class MenuPanel(ScreenPanel):
|
||||
return False
|
||||
|
||||
try:
|
||||
logger.debug("Template: '%s'" % enable)
|
||||
logger.debug("Data: %s" % self.j2_data)
|
||||
logging.debug("Template: '%s'" % enable)
|
||||
logging.debug("Data: %s" % self.j2_data)
|
||||
j2_temp = Template(enable)
|
||||
result = j2_temp.render(self.j2_data)
|
||||
if result == 'True':
|
||||
return True
|
||||
return False
|
||||
except:
|
||||
logger.debug("Error evaluating enable statement: %s", enable)
|
||||
logging.debug("Error evaluating enable statement: %s", enable)
|
||||
return False
|
||||
@@ -7,8 +7,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.MovePanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return MovePanel(*args)
|
||||
|
||||
@@ -20,21 +18,21 @@ class MovePanel(ScreenPanel):
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid = Gtk.Grid()
|
||||
|
||||
self.labels['x+'] = self._gtk.ButtonImage("move-x+", _("X+"), "color1")
|
||||
self.labels['x+'] = self._gtk.ButtonImage("arrow-right", _("X+"), "color1")
|
||||
self.labels['x+'].connect("clicked", self.move, "X", "+")
|
||||
self.labels['x-'] = self._gtk.ButtonImage("move-x-", _("X-"), "color1")
|
||||
self.labels['x-'] = self._gtk.ButtonImage("arrow-left", _("X-"), "color1")
|
||||
self.labels['x-'].connect("clicked", self.move, "X", "-")
|
||||
|
||||
self.labels['y+'] = self._gtk.ButtonImage("move-y+", _("Y+"), "color2")
|
||||
self.labels['y+'] = self._gtk.ButtonImage("arrow-up", _("Y+"), "color2")
|
||||
self.labels['y+'].connect("clicked", self.move, "Y", "+")
|
||||
self.labels['y-'] = self._gtk.ButtonImage("move-y-", _("Y-"), "color2")
|
||||
self.labels['y-'] = self._gtk.ButtonImage("arrow-down", _("Y-"), "color2")
|
||||
self.labels['y-'].connect("clicked", self.move, "Y", "-")
|
||||
|
||||
self.labels['z+'] = self._gtk.ButtonImage("move-z-", _("Z+"), "color3")
|
||||
self.labels['z+'] = self._gtk.ButtonImage("z-farther", _("Z+"), "color3")
|
||||
self.labels['z+'].connect("clicked", self.move, "Z", "+")
|
||||
self.labels['z-'] = self._gtk.ButtonImage("move-z+", _("Z-"), "color3")
|
||||
self.labels['z-'] = self._gtk.ButtonImage("z-closer", _("Z-"), "color3")
|
||||
self.labels['z-'].connect("clicked", self.move, "Z", "-")
|
||||
|
||||
self.labels['home'] = self._gtk.ButtonImage("home", _("Home All"))
|
||||
@@ -127,9 +125,9 @@ class MovePanel(ScreenPanel):
|
||||
dir = "-" if dir == "+" else "+"
|
||||
|
||||
dist = str(self.distance) if dir == "+" else "-" + str(self.distance)
|
||||
logging.info("# Moving " + axis + " " + dist + "mm")
|
||||
|
||||
print("%s\n%s %s%s" % (KlippyGcodes.MOVE_RELATIVE, KlippyGcodes.MOVE, axis, dist))
|
||||
speed = self._config.get_config()['main'].getint("move_speed", 20)
|
||||
speed = min(max(1,speed),200) # Cap movement speed between 1-200mm/s
|
||||
self._screen._ws.klippy.gcode_script(
|
||||
"%s\n%s %s%s" % (KlippyGcodes.MOVE_RELATIVE, KlippyGcodes.MOVE, axis, dist)
|
||||
"%s\n%s %s%s F%s%s" % (KlippyGcodes.MOVE_RELATIVE, KlippyGcodes.MOVE, axis, dist, speed*60,
|
||||
"\nG90" if self._printer.get_stat("gcode_move", "absolute_coordinates") == True else "")
|
||||
)
|
||||
@@ -1,5 +1,7 @@
|
||||
import gi
|
||||
import json
|
||||
import logging
|
||||
import netifaces
|
||||
import os
|
||||
import re
|
||||
|
||||
@@ -8,15 +10,12 @@ from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.NetworkPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return NetworkPanel(*args)
|
||||
|
||||
class NetworkPanel(ScreenPanel):
|
||||
networks = {}
|
||||
network_list = []
|
||||
interface = "wlan0"
|
||||
|
||||
def initialize(self, menu):
|
||||
_ = self.lang.gettext
|
||||
@@ -27,8 +26,20 @@ class NetworkPanel(ScreenPanel):
|
||||
stream = os.popen('hostname -A')
|
||||
hostname = stream.read()
|
||||
# Get IP Address
|
||||
stream = os.popen('hostname -I')
|
||||
ip = stream.read()
|
||||
gws = netifaces.gateways()
|
||||
if "default" in gws and netifaces.AF_INET in gws["default"]:
|
||||
self.interface = gws["default"][netifaces.AF_INET][1]
|
||||
else:
|
||||
ints = netifaces.interfaces()
|
||||
if 'lo' in ints:
|
||||
ints.pop('lo')
|
||||
self.interfaces = ints[0]
|
||||
|
||||
res = netifaces.ifaddresses(self.interface)
|
||||
if netifaces.AF_INET in res and len(res[netifaces.AF_INET]) > 0:
|
||||
ip = res[netifaces.AF_INET][0]['addr']
|
||||
else:
|
||||
ip = "0.0.0.0"
|
||||
|
||||
self.labels['networks'] = {}
|
||||
|
||||
@@ -50,41 +61,65 @@ class NetworkPanel(ScreenPanel):
|
||||
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
||||
box.set_vexpand(True)
|
||||
box.pack_start(sbox, False, False, 0)
|
||||
box.pack_start(scroll, True, True, 0)
|
||||
|
||||
self.labels['networklist'] = Gtk.Grid()
|
||||
self.files = {}
|
||||
|
||||
GLib.idle_add(self.load_networks)
|
||||
if self._screen.wifi != None and self._screen.wifi.is_initialized():
|
||||
box.pack_start(sbox, False, False, 0)
|
||||
box.pack_start(scroll, True, True, 0)
|
||||
|
||||
scroll.add(self.labels['networklist'])
|
||||
GLib.idle_add(self.load_networks)
|
||||
scroll.add(self.labels['networklist'])
|
||||
|
||||
#self.labels['networkinfo'] = Gtk.Label(
|
||||
# _("Network Info") + "\n\n%s%s" % (hostname, ip)
|
||||
#)
|
||||
#self.labels['networkinfo'].get_style_context().add_class('temperature_entry')
|
||||
#grid.attach(self.labels['networkinfo'], 1, 0, 1, 1)
|
||||
self._screen.wifi.add_callback("connected", self.connected_callback)
|
||||
self._screen.wifi.add_callback("scan_results", self.scan_callback)
|
||||
self.timeout = GLib.timeout_add_seconds(5, self.update_all_networks)
|
||||
else:
|
||||
self.labels['networkinfo'] = Gtk.Label("")
|
||||
self.labels['networkinfo'].get_style_context().add_class('temperature_entry')
|
||||
box.pack_start(self.labels['networkinfo'], False, False, 0)
|
||||
self.update_single_network_info()
|
||||
self.timeout = GLib.timeout_add_seconds(5, self.update_single_network_info)
|
||||
|
||||
self.content.add(box)
|
||||
self.labels['main_box'] = box
|
||||
|
||||
def load_networks(self):
|
||||
networks = self._screen.wifi.get_networks()
|
||||
|
||||
conn_ssid = self._screen.wifi.get_connected_ssid()
|
||||
if conn_ssid in networks:
|
||||
networks.remove(conn_ssid)
|
||||
self.add_network(conn_ssid, False)
|
||||
|
||||
for net in networks:
|
||||
self.add_network(net, False)
|
||||
|
||||
self.update_all_networks()
|
||||
self.content.show_all()
|
||||
|
||||
def add_network(self, essid, show=True):
|
||||
def add_network(self, ssid, show=True):
|
||||
_ = self.lang.gettext
|
||||
|
||||
netinfo = self._screen.wifi.get_network_info(essid)
|
||||
if ssid == None:
|
||||
return
|
||||
ssid = ssid.strip()
|
||||
|
||||
if ssid in list(self.networks):
|
||||
logging.info("SSID already listed")
|
||||
return
|
||||
|
||||
netinfo = self._screen.wifi.get_network_info(ssid)
|
||||
if netinfo == None:
|
||||
logging.debug("Couldn't get netinfo")
|
||||
return
|
||||
|
||||
# For now, only add connected network
|
||||
if "connected" not in netinfo:
|
||||
return
|
||||
|
||||
configured_networks = self._screen.wifi.get_supplicant_networks()
|
||||
network_id = -1
|
||||
for net in list(configured_networks):
|
||||
if configured_networks[net]['ssid'] == ssid:
|
||||
network_id = net
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type",Gtk.ShadowType.NONE)
|
||||
@@ -92,42 +127,15 @@ class NetworkPanel(ScreenPanel):
|
||||
|
||||
|
||||
name = Gtk.Label()
|
||||
name.set_markup("<big><b>%s</b></big>" % (essid))
|
||||
name.set_markup("<big><b>%s</b></big>" % (ssid))
|
||||
name.set_hexpand(True)
|
||||
name.set_halign(Gtk.Align.START)
|
||||
name.set_line_wrap(True)
|
||||
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
|
||||
stream = os.popen('ip add show dev %s' % self.interface)
|
||||
content = stream.read()
|
||||
ipv4_re = re.compile(r'inet ([0-9\.]+)/[0-9]+', re.MULTILINE)
|
||||
ipv6_re = re.compile(r'inet6 ([a-fA-F0-9:\.]+)/[0-9+]', re.MULTILINE)
|
||||
match = ipv4_re.search(content)
|
||||
ipv4 = ""
|
||||
if match:
|
||||
ipv4 = "<b>%s:</b> %s " % (_("IPv4"), match.group(1))
|
||||
match = ipv6_re.search(content)
|
||||
ipv6 = ""
|
||||
if match:
|
||||
ipv6 = "<b>%s:</b> %s " % (_("IPv6"), match.group(1))
|
||||
|
||||
|
||||
stream = os.popen('hostname -f')
|
||||
hostname = stream.read().strip()
|
||||
|
||||
connected = ""
|
||||
if "connected" in netinfo:
|
||||
connected = "<b>%s</b>\n<b>%s:</b> %s\n%s%s\n" % (_("Connected"),_("Hostname"),hostname, ipv4, ipv6)
|
||||
elif "psk" in netinfo:
|
||||
connected = "Password saved."
|
||||
freq = "2.4 GHz" if netinfo['frequency'][0:1] == "2" else "5 Ghz"
|
||||
info = Gtk.Label()
|
||||
info.set_markup("%s%s <small>%s %s %s %s%s</small>" % ( connected,
|
||||
"" if netinfo['encryption'] == "off" else netinfo['encryption'].upper(),
|
||||
freq, _("Channel"), netinfo['channel'], netinfo['signal_level_dBm'], _("dBm")
|
||||
))
|
||||
info.set_halign(Gtk.Align.START)
|
||||
#info.set_markup(self.get_file_info_str(essid))
|
||||
#info.set_markup(self.get_file_info_str(ssid))
|
||||
labels = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
labels.add(name)
|
||||
labels.add(info)
|
||||
@@ -135,37 +143,270 @@ class NetworkPanel(ScreenPanel):
|
||||
labels.set_valign(Gtk.Align.CENTER)
|
||||
labels.set_halign(Gtk.Align.START)
|
||||
|
||||
actions = self._gtk.ButtonImage("print",None,"color3")
|
||||
#actions.connect("clicked", self.confirm_print, essid)
|
||||
actions.set_hexpand(False)
|
||||
actions.set_halign(Gtk.Align.END)
|
||||
connect = self._gtk.ButtonImage("load",None,"color3")
|
||||
connect.connect("clicked", self.connect_network, ssid)
|
||||
connect.set_hexpand(False)
|
||||
connect.set_halign(Gtk.Align.END)
|
||||
|
||||
delete = self._gtk.ButtonImage("delete","","color3")
|
||||
delete.connect("clicked", self.remove_wifi_network, ssid)
|
||||
delete.set_size_request(60,0)
|
||||
delete.set_hexpand(False)
|
||||
delete.set_halign(Gtk.Align.END)
|
||||
|
||||
network = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
|
||||
network.set_hexpand(True)
|
||||
network.set_vexpand(False)
|
||||
|
||||
network.add(labels)
|
||||
if not "connected" in netinfo:
|
||||
network.add(actions)
|
||||
|
||||
self.networks[essid] = frame
|
||||
buttons = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
|
||||
if network_id != -1:
|
||||
buttons.pack_end(delete, False, False, 0)
|
||||
if netinfo['connected'] == False:
|
||||
buttons.pack_end(connect, False, False, 0)
|
||||
|
||||
network.add(buttons)
|
||||
|
||||
self.networks[ssid] = frame
|
||||
frame.add(network)
|
||||
|
||||
reverse = False
|
||||
nets = sorted(self.networks, reverse=reverse)
|
||||
pos = nets.index(essid)
|
||||
if "connected" in netinfo:
|
||||
pos = 0
|
||||
elif self._screen.wifi.is_connected():
|
||||
pos += 1
|
||||
|
||||
self.labels['networks'][essid] = {
|
||||
pos = 0
|
||||
if netinfo['connected'] == True:
|
||||
pos = 0
|
||||
else:
|
||||
connected_ssid = self._screen.wifi.get_connected_ssid()
|
||||
nets = list(self.networks)
|
||||
if connected_ssid != None:
|
||||
if connected_ssid in nets:
|
||||
nets.remove(connected_ssid)
|
||||
nets = sorted(nets, reverse=reverse)
|
||||
pos = nets.index(ssid)
|
||||
if connected_ssid != None:
|
||||
pos += 1
|
||||
|
||||
self.labels['networks'][ssid] = {
|
||||
"connect": connect,
|
||||
"delete": delete,
|
||||
"info": info,
|
||||
"name": name,
|
||||
"row": network
|
||||
}
|
||||
|
||||
self.labels['networklist'].insert_row(pos)
|
||||
self.labels['networklist'].attach(self.networks[essid], 0, pos, 1, 1)
|
||||
self.labels['networklist'].attach(self.networks[ssid], 0, pos, 1, 1)
|
||||
if show == True:
|
||||
self.labels['networklist'].show_all()
|
||||
self.labels['networklist'].show()
|
||||
|
||||
def add_new_network(self, widget, ssid, connect=False):
|
||||
networks = self._screen.wifi.get_networks()
|
||||
psk = self.labels['network_psk'].get_text()
|
||||
result = self._screen.wifi.add_network(ssid, psk)
|
||||
|
||||
self.close_add_network(widget, ssid)
|
||||
|
||||
if connect == True:
|
||||
if result == True:
|
||||
self.connect_network(widget, ssid, False)
|
||||
else:
|
||||
self._screen.show_popup_message("Error adding network %s" % ssid)
|
||||
|
||||
def check_missing_networks(self):
|
||||
networks = self._screen.wifi.get_networks()
|
||||
for net in list(self.networks):
|
||||
if net in networks:
|
||||
networks.remove(net)
|
||||
|
||||
for net in networks:
|
||||
self.add_network(net)
|
||||
self.labels['networklist'].show_all()
|
||||
|
||||
def close_add_network(self, widget, ssid):
|
||||
for child in self.content.get_children():
|
||||
self.content.remove(child)
|
||||
self.content.add(self.labels['main_box'])
|
||||
self.content.show()
|
||||
|
||||
def close_dialog(self, widget, response_id):
|
||||
widget.destroy()
|
||||
|
||||
def connected_callback(self, ssid, prev_ssid):
|
||||
logging.info("Now connected to a new network")
|
||||
if ssid != None:
|
||||
self.remove_network(ssid)
|
||||
if prev_ssid != None:
|
||||
self.remove_network(prev_ssid)
|
||||
|
||||
self.check_missing_networks()
|
||||
|
||||
def connect_network(self, widget, ssid, showadd=True):
|
||||
_ = self.lang.gettext
|
||||
|
||||
snets = self._screen.wifi.get_supplicant_networks()
|
||||
isdef = False
|
||||
for id, net in snets.items():
|
||||
if net['ssid'] == ssid:
|
||||
isdef = True
|
||||
break
|
||||
|
||||
if isdef == False:
|
||||
if showadd == True:
|
||||
self.show_add_network(widget, ssid)
|
||||
return
|
||||
self.prev_network = self._screen.wifi.get_connected_ssid()
|
||||
|
||||
buttons = [
|
||||
{"name": _("Close"), "response": Gtk.ResponseType.CANCEL}
|
||||
]
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_hexpand(True)
|
||||
scroll.set_vexpand(True)
|
||||
scroll.set_size_request(800,400)
|
||||
self.labels['connecting_info'] = Gtk.Label(_("Starting WiFi Re-association"))
|
||||
self.labels['connecting_info'].set_halign(Gtk.Align.START)
|
||||
self.labels['connecting_info'].set_valign(Gtk.Align.START)
|
||||
scroll.add(self.labels['connecting_info'])
|
||||
dialog = self._gtk.Dialog(self._screen, buttons, scroll, self.close_dialog)
|
||||
self._screen.show_all()
|
||||
|
||||
if ssid in self.networks:
|
||||
self.remove_network(ssid)
|
||||
if self.prev_network in self.networks:
|
||||
self.remove_network(self.prev_network)
|
||||
#GLib.timeout_add(500, self.add_network, self.prev_network)
|
||||
|
||||
self._screen.wifi.add_callback("connecting_status", self.connecting_status_callback)
|
||||
self._screen.wifi.connect(ssid)
|
||||
|
||||
def connecting_status_callback(self, msg):
|
||||
self.labels['connecting_info'].set_text(self.labels['connecting_info'].get_text() + "\n" + msg)
|
||||
self.labels['connecting_info'].show_all()
|
||||
|
||||
def remove_network(self, ssid, show=True):
|
||||
if ssid not in self.networks:
|
||||
return
|
||||
|
||||
i = 0
|
||||
while self.labels['networklist'].get_child_at(0, i) != None:
|
||||
if self.networks[ssid] == self.labels['networklist'].get_child_at(0, i):
|
||||
self.labels['networklist'].remove_row(i)
|
||||
self.labels['networklist'].show()
|
||||
del self.networks[ssid]
|
||||
del self.labels['networks'][ssid]
|
||||
return
|
||||
i = i+1
|
||||
return
|
||||
|
||||
def remove_network_wid(self, widget, ssid):
|
||||
self.remove_network(ssid)
|
||||
|
||||
def remove_wifi_network(self, widget, ssid):
|
||||
self._screen.wifi.delete_network(ssid)
|
||||
self.remove_network(ssid)
|
||||
self.check_missing_networks()
|
||||
|
||||
def scan_callback(self, new_networks, old_networks):
|
||||
for net in old_networks:
|
||||
self.remove_network(net, False)
|
||||
for net in new_networks:
|
||||
self.add_network(net, False)
|
||||
self.content.show_all()
|
||||
|
||||
def show_add_network(self, widget, ssid):
|
||||
_ = self.lang.gettext
|
||||
for child in self.content.get_children():
|
||||
self.content.remove(child)
|
||||
|
||||
if "add_network" in self.labels:
|
||||
del self.labels['add_network']
|
||||
|
||||
self.labels['add_network'] = Gtk.VBox()
|
||||
self.labels['add_network'].set_valign(Gtk.Align.START)
|
||||
|
||||
box = Gtk.Box(spacing=5)
|
||||
box.set_size_request(self._gtk.get_content_width(), self._gtk.get_content_height() -
|
||||
self._screen.keyboard_height - 20)
|
||||
box.set_hexpand(True)
|
||||
box.set_vexpand(False)
|
||||
self.labels['add_network'].add(box)
|
||||
|
||||
l = self._gtk.Label("%s %s:" % (_("PSK for"), ssid))
|
||||
l.set_hexpand(False)
|
||||
entry = Gtk.Entry()
|
||||
entry.set_hexpand(True)
|
||||
|
||||
save = self._gtk.ButtonImage("sd",_("Save"),"color3")
|
||||
save.set_hexpand(False)
|
||||
save.connect("clicked", self.add_new_network, ssid, True)
|
||||
|
||||
|
||||
self.labels['network_psk'] = entry
|
||||
box.pack_start(l, False, False, 5)
|
||||
box.pack_start(entry, True, True, 5)
|
||||
box.pack_start(save, False, False, 5)
|
||||
|
||||
self.show_create = True
|
||||
self.labels['network_psk'].set_text('')
|
||||
self.content.add(self.labels['add_network'])
|
||||
self.content.show()
|
||||
self._screen.show_keyboard()
|
||||
self.labels['network_psk'].grab_focus_without_selecting()
|
||||
|
||||
def update_all_networks(self):
|
||||
for network in list(self.networks):
|
||||
self.update_network_info(network)
|
||||
return True
|
||||
|
||||
def update_network_info(self, ssid):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if ssid not in self.networks or ssid not in self.labels['networks']:
|
||||
return
|
||||
netinfo = self._screen.wifi.get_network_info(ssid)
|
||||
if netinfo == None:
|
||||
logging.debug("Couldn't get netinfo for update")
|
||||
return
|
||||
|
||||
connected = ""
|
||||
if netinfo['connected'] == True:
|
||||
stream = os.popen('hostname -f')
|
||||
hostname = stream.read().strip()
|
||||
ifadd = netifaces.ifaddresses(self.interface)
|
||||
ipv4 = ""
|
||||
ipv6 = ""
|
||||
if netifaces.AF_INET in ifadd and len(ifadd[netifaces.AF_INET]) > 0:
|
||||
ipv4 = "<b>%s:</b> %s " % (_("IPv4"), ifadd[netifaces.AF_INET][0]['addr'])
|
||||
if netifaces.AF_INET6 in ifadd and len(ifadd[netifaces.AF_INET6]) > 0:
|
||||
ipv6 = ipv6 = "<b>%s:</b> %s " % (_("IPv6"), ifadd[netifaces.AF_INET6][0]['addr'].split('%')[0])
|
||||
connected = "<b>%s</b>\n<b>%s:</b> %s\n%s%s\n" % (_("Connected"),_("Hostname"),hostname, ipv4, ipv6)
|
||||
elif "psk" in netinfo:
|
||||
connected = "Password saved."
|
||||
freq = "2.4 GHz" if netinfo['frequency'][0:1] == "2" else "5 Ghz"
|
||||
|
||||
self.labels['networks'][ssid]['info'].set_markup("%s%s <small>%s %s %s %s%s</small>" % ( connected,
|
||||
"" if netinfo['encryption'] == "off" else netinfo['encryption'].upper(),
|
||||
freq, _("Channel"), netinfo['channel'], netinfo['signal_level_dBm'], _("dBm")
|
||||
))
|
||||
self.labels['networks'][ssid]['info'].show_all()
|
||||
|
||||
def update_single_network_info(self):
|
||||
_ = self.lang.gettext
|
||||
|
||||
stream = os.popen('hostname -f')
|
||||
hostname = stream.read().strip()
|
||||
ifadd = netifaces.ifaddresses(self.interface)
|
||||
ipv4 = ""
|
||||
ipv6 = ""
|
||||
if netifaces.AF_INET in ifadd and len(ifadd[netifaces.AF_INET]) > 0:
|
||||
ipv4 = "<b>%s:</b> %s " % (_("IPv4"), ifadd[netifaces.AF_INET][0]['addr'])
|
||||
if netifaces.AF_INET6 in ifadd and len(ifadd[netifaces.AF_INET6]) > 0:
|
||||
ipv6 = ipv6 = "<b>%s:</b> %s " % (_("IPv6"), ifadd[netifaces.AF_INET6][0]['addr'].split('%')[0])
|
||||
connected = "<b>%s</b>\n\n<small><b>%s</b></small>\n<b>%s:</b> %s\n%s\n%s\n" % (self.interface, _("Connected"),_("Hostname"),
|
||||
hostname, ipv4, ipv6)
|
||||
|
||||
self.labels['networkinfo'].set_markup(connected)
|
||||
self.labels['networkinfo'].show_all()
|
||||
@@ -7,8 +7,6 @@ from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.PowerPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return PowerPanel(*args)
|
||||
|
||||
@@ -86,7 +84,7 @@ class PowerPanel(ScreenPanel):
|
||||
self.add_device(x)
|
||||
|
||||
def on_switch(self, switch, gparam, device):
|
||||
logger.debug("Power toggled %s" % device)
|
||||
logging.debug("Power toggled %s" % device)
|
||||
if switch.get_active():
|
||||
self._screen._ws.klippy.power_device_on(device)
|
||||
else:
|
||||
|
||||
@@ -6,8 +6,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.PreheatPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return PreheatPanel(*args)
|
||||
|
||||
@@ -17,27 +15,41 @@ class PreheatPanel(ScreenPanel):
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
self.preheat_options = self._screen._config.get_preheat_options()
|
||||
logger.debug("Preheat options: %s" % self.preheat_options)
|
||||
logging.debug("Preheat options: %s" % self.preheat_options)
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
|
||||
eq_grid = self._gtk.HomogeneousGrid()
|
||||
eq_grid = Gtk.Grid()
|
||||
eq_grid.set_hexpand(True)
|
||||
eq_grid.set_vexpand(True)
|
||||
|
||||
self.heaters = []
|
||||
i = 0
|
||||
for x in self._printer.get_tools():
|
||||
if i > 3:
|
||||
break
|
||||
elif i == 0:
|
||||
if i == 0:
|
||||
primary_tool = x
|
||||
self.labels[x] = self._gtk.ToggleButtonImage("extruder-"+str(i), self._gtk.formatTemperatureString(0, 0))
|
||||
self.labels[x].connect('clicked', self.select_heater, x)
|
||||
eq_grid.attach(self.labels[x], i%2, i/2, 1, 1)
|
||||
self.heaters.append(x)
|
||||
i += 1
|
||||
|
||||
add_heaters = self._printer.get_heaters()
|
||||
for h in add_heaters:
|
||||
if h.startswith("temperature_sensor "):
|
||||
continue
|
||||
if h == "heater_bed":
|
||||
self.labels[h] = self._gtk.ButtonImage("bed", self._gtk.formatTemperatureString(0, 0))
|
||||
else:
|
||||
name = " ".join(h.split(" ")[1:])
|
||||
self.labels[h] = self._gtk.ButtonImage("heat-up", name)
|
||||
self.heaters.append(h)
|
||||
|
||||
i = 0
|
||||
cols = 3 if len(self.heaters) > 4 else (1 if len(self.heaters) <= 2 else 2)
|
||||
for h in self.heaters:
|
||||
self.labels[h].connect('clicked', self.select_heater, h)
|
||||
eq_grid.attach(self.labels[h], i%cols, int(i/cols), 1, 1)
|
||||
i += 1
|
||||
|
||||
if self._printer.has_heated_bed():
|
||||
self.labels["heater_bed"] = self._gtk.ToggleButtonImage("bed", self._gtk.formatTemperatureString(0, 0))
|
||||
self.labels["heater_bed"].connect('clicked', self.select_heater, "heater_bed")
|
||||
width = 2 if i > 1 else 1
|
||||
eq_grid.attach(self.labels["heater_bed"], 0, i/2+1, width, 1)
|
||||
|
||||
self.labels["control_grid"] = self._gtk.HomogeneousGrid()
|
||||
|
||||
@@ -70,8 +82,11 @@ class PreheatPanel(ScreenPanel):
|
||||
if x not in self.active_heaters:
|
||||
self.select_heater(None, x)
|
||||
|
||||
if self._printer.has_heated_bed() and "heater_bed" not in self.active_heaters:
|
||||
self.select_heater(None, "heater_bed")
|
||||
for h in self._printer.get_heaters():
|
||||
if h.startswith("temperature_sensor "):
|
||||
continue
|
||||
if h not in self.active_heaters:
|
||||
self.select_heater(None, h)
|
||||
|
||||
def select_heater(self, widget, heater):
|
||||
if heater in self.active_heaters:
|
||||
@@ -86,7 +101,9 @@ class PreheatPanel(ScreenPanel):
|
||||
if setting == "cooldown":
|
||||
for heater in self.active_heaters:
|
||||
print ("Setting %s to %d" % (heater, 0))
|
||||
if heater.startswith('heater_bed'):
|
||||
if heater.startswith('heater_generic '):
|
||||
self._screen._ws.klippy.set_heater_temp(" ".join(heater.split(" ")[1:]), 0)
|
||||
elif heater.startswith('heater_bed'):
|
||||
self._screen._ws.klippy.set_bed_temp(0)
|
||||
self._printer.set_dev_stat(heater,"target", 0)
|
||||
else:
|
||||
@@ -95,7 +112,11 @@ class PreheatPanel(ScreenPanel):
|
||||
return
|
||||
|
||||
for heater in self.active_heaters:
|
||||
if heater.startswith('heater_bed'):
|
||||
if heater.startswith('heater_generic '):
|
||||
print ("Setting %s to %d" % (heater, self.preheat_options[setting]['heater_generic']))
|
||||
self._screen._ws.klippy.set_heater_temp(" ".join(heater.split(" ")[1:]),
|
||||
self.preheat_options[setting]["heater_generic"])
|
||||
elif heater.startswith('heater_bed'):
|
||||
print ("Setting %s to %d" % (heater, self.preheat_options[setting]['bed']))
|
||||
self._screen._ws.klippy.set_bed_temp(self.preheat_options[setting]["bed"])
|
||||
self._printer.set_dev_stat(heater,"target", int(self.preheat_options[setting]["bed"]))
|
||||
@@ -109,13 +130,14 @@ class PreheatPanel(ScreenPanel):
|
||||
if action != "notify_status_update":
|
||||
return
|
||||
|
||||
if self._printer.has_heated_bed():
|
||||
self.update_temp("heater_bed",
|
||||
self._printer.get_dev_stat("heater_bed","temperature"),
|
||||
self._printer.get_dev_stat("heater_bed","target")
|
||||
)
|
||||
for x in self._printer.get_tools():
|
||||
self.update_temp(x,
|
||||
self._printer.get_dev_stat(x,"temperature"),
|
||||
self._printer.get_dev_stat(x,"target")
|
||||
)
|
||||
for h in self._printer.get_heaters():
|
||||
self.update_temp(h,
|
||||
self._printer.get_dev_stat(h,"temperature"),
|
||||
self._printer.get_dev_stat(h,"target"),
|
||||
None if h == "heater_bed" else " ".join(h.split(" ")[1:])
|
||||
)
|
||||
@@ -1,5 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import gi
|
||||
import json
|
||||
import humanize
|
||||
import logging
|
||||
|
||||
@@ -10,14 +11,17 @@ from datetime import datetime
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.PrintPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return PrintPanel(*args)
|
||||
|
||||
class PrintPanel(ScreenPanel):
|
||||
cur_directory = "gcodes"
|
||||
dir_panels = {}
|
||||
filelist = {'gcodes':{'directories':[],'files':[]}}
|
||||
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
self.labels['directories'] = {}
|
||||
self.labels['files'] = {}
|
||||
self.sort_items = {
|
||||
"name": _("Name"),
|
||||
@@ -50,112 +54,300 @@ class PrintPanel(ScreenPanel):
|
||||
self.labels['sort_%s' % name] = s
|
||||
sbox.add(s)
|
||||
i += 1
|
||||
|
||||
refresh = self._gtk.ButtonImage("refresh", None, None, .5, .5)
|
||||
refresh.connect('clicked', self._refresh_files)
|
||||
sbox.add(refresh)
|
||||
sbox.set_hexpand(True)
|
||||
sbox.set_vexpand(False)
|
||||
|
||||
pbox = Gtk.Box(spacing=0)
|
||||
pbox.set_hexpand(True)
|
||||
pbox.set_vexpand(False)
|
||||
self.labels['path'] = Gtk.Label(" /")
|
||||
pbox.add(self.labels['path'])
|
||||
self.labels['path_box'] = pbox
|
||||
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
||||
box.set_vexpand(True)
|
||||
box.pack_start(sbox, False, False, 0)
|
||||
box.pack_start(pbox, False, False, 0)
|
||||
box.pack_start(scroll, True, True, 0)
|
||||
|
||||
self.labels['filelist'] = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
self.labels['filelist'].set_vexpand(True)
|
||||
|
||||
self.labels['filelist'] = Gtk.Grid()
|
||||
self.dir_panels['gcodes'] = Gtk.Grid()
|
||||
self.files = {}
|
||||
self.directories = {}
|
||||
|
||||
GLib.idle_add(self.reload_files)
|
||||
|
||||
scroll.add(self.labels['filelist'])
|
||||
scroll.add(self.dir_panels['gcodes'])
|
||||
self.scroll = scroll
|
||||
self.control['back'].disconnect_by_func(self._screen._menu_go_back)
|
||||
self.control['back'].connect("clicked", self.back)
|
||||
self.content.add(box)
|
||||
self._screen.files.add_file_callback(self._callback)
|
||||
|
||||
|
||||
return
|
||||
|
||||
def add_file(self, filename, show=True):
|
||||
fileinfo = self._screen.files.get_file_info(filename)
|
||||
if fileinfo == None:
|
||||
return
|
||||
def activate(self):
|
||||
if self.cur_directory != "gcodes":
|
||||
self.change_dir(None, "gcodes")
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type",Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
def add_directory(self, directory, show=True):
|
||||
parent_dir = '/'.join(directory.split('/')[:-1])
|
||||
if directory not in self.filelist:
|
||||
self.filelist[directory] = {'directories':[],'files':[],'modified': 0}
|
||||
self.filelist[parent_dir]['directories'].append(directory)
|
||||
|
||||
if directory not in self.labels['directories']:
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type",Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
#n = 50
|
||||
#name.set_markup("<big>%s</big>" % ("\n".join([filename[i:i+n] for i in range(0, len(filename), n)])))
|
||||
name.set_markup("<big><b>%s</b></big>" % (filename))
|
||||
name.set_hexpand(True)
|
||||
name.set_halign(Gtk.Align.START)
|
||||
name.set_line_wrap(True)
|
||||
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
name = Gtk.Label()
|
||||
name.set_markup("<big><b>%s</b></big>" % (directory.split("/")[-1]))
|
||||
name.set_hexpand(True)
|
||||
name.set_halign(Gtk.Align.START)
|
||||
name.set_line_wrap(True)
|
||||
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
|
||||
info = Gtk.Label("Uploaded: blah - Size: blah")
|
||||
info.set_halign(Gtk.Align.START)
|
||||
info.set_markup(self.get_file_info_str(filename))
|
||||
labels = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
labels.add(name)
|
||||
labels.add(info)
|
||||
labels.set_vexpand(True)
|
||||
labels.set_valign(Gtk.Align.CENTER)
|
||||
labels.set_halign(Gtk.Align.START)
|
||||
info = Gtk.Label()
|
||||
info.set_halign(Gtk.Align.START)
|
||||
|
||||
actions = self._gtk.ButtonImage("print",None,"color3")
|
||||
actions.connect("clicked", self.confirm_print, filename)
|
||||
actions.set_hexpand(False)
|
||||
actions.set_halign(Gtk.Align.END)
|
||||
labels = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
labels.add(name)
|
||||
labels.add(info)
|
||||
labels.set_vexpand(True)
|
||||
labels.set_valign(Gtk.Align.CENTER)
|
||||
labels.set_halign(Gtk.Align.START)
|
||||
|
||||
file = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
|
||||
file.set_hexpand(True)
|
||||
file.set_vexpand(False)
|
||||
actions = self._gtk.ButtonImage("load",None,"color3")
|
||||
actions.connect("clicked", self.change_dir, directory)
|
||||
actions.set_hexpand(False)
|
||||
actions.set_halign(Gtk.Align.END)
|
||||
|
||||
icon = self._gtk.Image("file.svg", False, 1.6, 1.6)
|
||||
pixbuf = self.get_file_image(filename)
|
||||
if pixbuf != None:
|
||||
icon.set_from_pixbuf(pixbuf)
|
||||
file = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
|
||||
file.set_hexpand(True)
|
||||
file.set_vexpand(False)
|
||||
|
||||
file.add(icon)
|
||||
file.add(labels)
|
||||
file.add(actions)
|
||||
frame.add(file)
|
||||
icon = self._gtk.Image("folder.svg", False, 1, 1)
|
||||
|
||||
self.files[filename] = frame
|
||||
file.add(icon)
|
||||
file.add(labels)
|
||||
file.add(actions)
|
||||
frame.add(file)
|
||||
|
||||
self.directories[directory] = frame
|
||||
|
||||
self.labels['directories'][directory] = {
|
||||
"icon": icon,
|
||||
"info": info,
|
||||
"name": name
|
||||
}
|
||||
|
||||
self.dir_panels[directory] = Gtk.Grid()
|
||||
|
||||
reverse = False if self.sort_current[1] == 0 else True
|
||||
if self.sort_current[0] == "date":
|
||||
files = sorted(self.files, reverse=reverse,
|
||||
key=lambda item: self._screen.files.get_file_info(item)['modified'])
|
||||
dirs = sorted(self.filelist[parent_dir]['directories'], reverse=reverse,
|
||||
key=lambda item: self.filelist[item]['modified'])
|
||||
else:
|
||||
files = sorted(self.files, reverse=reverse)
|
||||
pos = files.index(filename)
|
||||
dirs = sorted(self.filelist[parent_dir]['directories'], reverse=reverse)
|
||||
pos = dirs.index(directory)
|
||||
|
||||
self.labels['files'][filename] = {
|
||||
"icon": icon,
|
||||
"info": info,
|
||||
"name": name
|
||||
}
|
||||
|
||||
self.labels['filelist'].insert_row(pos)
|
||||
self.labels['filelist'].attach(self.files[filename], 0, pos, 1, 1)
|
||||
self.dir_panels[parent_dir].insert_row(pos)
|
||||
self.dir_panels[parent_dir].attach(self.directories[directory], 0, pos, 1, 1)
|
||||
if show == True:
|
||||
self.labels['filelist'].show_all()
|
||||
self.dir_panels[parent_dir].show_all()
|
||||
|
||||
def add_file(self, filepath, show=True):
|
||||
_ = self.lang.gettext
|
||||
|
||||
fileinfo = self._screen.files.get_file_info(filepath)
|
||||
if fileinfo == None:
|
||||
return
|
||||
|
||||
dir = ("gcodes/%s" % filepath).split('/')[:-1]
|
||||
directory = '/'.join(dir)
|
||||
filename = filepath.split('/')[-1]
|
||||
for i in range(1, len(dir)):
|
||||
curdir = "/".join(dir[0:i])
|
||||
newdir = "/".join(dir[0:i+1])
|
||||
if newdir not in self.filelist[curdir]['directories']:
|
||||
self.add_directory(newdir)
|
||||
|
||||
if filename not in self.filelist[directory]['files']:
|
||||
for i in range(1, len(dir)):
|
||||
curdir = "/".join(dir[0:i+1])
|
||||
if curdir != "gcodes" and fileinfo['modified'] > self.filelist[curdir]['modified']:
|
||||
self.filelist[curdir]['modified'] = fileinfo['modified']
|
||||
self.labels['directories'][curdir]['info'].set_markup("<small>%s: <b>%s</b></small>" %
|
||||
(_("Modified"), datetime.fromtimestamp(fileinfo['modified']).strftime("%Y-%m-%d %H:%M")))
|
||||
self.filelist[directory]['files'].append(filename)
|
||||
|
||||
if filepath not in self.files:
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type",Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
|
||||
name = Gtk.Label()
|
||||
name.set_markup("<big><b>%s</b></big>" % (filename))
|
||||
name.set_hexpand(True)
|
||||
name.set_halign(Gtk.Align.START)
|
||||
name.set_line_wrap(True)
|
||||
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
|
||||
info = Gtk.Label()
|
||||
info.set_halign(Gtk.Align.START)
|
||||
info.set_markup(self.get_file_info_str(filepath))
|
||||
labels = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
labels.add(name)
|
||||
labels.add(info)
|
||||
labels.set_vexpand(True)
|
||||
labels.set_valign(Gtk.Align.CENTER)
|
||||
labels.set_halign(Gtk.Align.START)
|
||||
|
||||
actions = self._gtk.ButtonImage("print",None,"color3")
|
||||
actions.connect("clicked", self.confirm_print, filepath)
|
||||
actions.set_hexpand(False)
|
||||
actions.set_halign(Gtk.Align.END)
|
||||
|
||||
file = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
|
||||
file.set_hexpand(True)
|
||||
file.set_vexpand(False)
|
||||
|
||||
icon = self._gtk.Image("file.svg", False, 1.6, 1.6)
|
||||
pixbuf = self.get_file_image(filepath)
|
||||
if pixbuf != None:
|
||||
icon.set_from_pixbuf(pixbuf)
|
||||
|
||||
file.add(icon)
|
||||
file.add(labels)
|
||||
file.add(actions)
|
||||
frame.add(file)
|
||||
|
||||
self.files[filepath] = frame
|
||||
self.labels['files'][filepath] = {
|
||||
"icon": icon,
|
||||
"info": info,
|
||||
"name": name
|
||||
}
|
||||
|
||||
reverse = False if self.sort_current[1] == 0 else True
|
||||
if self.sort_current[0] == "date":
|
||||
files = sorted(self.filelist[directory]['files'], reverse=reverse,
|
||||
key=lambda item: self._screen.files.get_file_info(("%s/%s" %(directory,item))[7:])['modified'])
|
||||
else:
|
||||
files = sorted(self.filelist[directory]['files'], reverse=reverse)
|
||||
pos = files.index(filename)
|
||||
pos += len(self.filelist[directory]['directories'])
|
||||
|
||||
self.dir_panels[directory].insert_row(pos)
|
||||
self.dir_panels[directory].attach(self.files[filepath], 0, pos, 1, 1)
|
||||
if show == True:
|
||||
self.dir_panels[directory].show_all()
|
||||
|
||||
def back(self, widget):
|
||||
if len(self.cur_directory.split('/')) > 1:
|
||||
self.change_dir(None, '/'.join(self.cur_directory.split('/')[:-1]))
|
||||
else:
|
||||
self._screen._menu_go_back()
|
||||
|
||||
def change_dir(self, widget, directory):
|
||||
if directory not in self.dir_panels:
|
||||
return
|
||||
logging.debug("Changing dir to %s" % directory)
|
||||
|
||||
for child in self.scroll.get_children():
|
||||
self.scroll.remove(child)
|
||||
self.cur_directory = directory
|
||||
self.labels['path'].set_text(" /%s" % self.cur_directory[7:])
|
||||
|
||||
self.scroll.add(self.dir_panels[directory])
|
||||
self.content.show_all()
|
||||
|
||||
def change_sort(self, widget, key):
|
||||
if self.sort_current[0] == key:
|
||||
self.sort_current[1] = (self.sort_current[1] + 1) % 2
|
||||
else:
|
||||
oldkey = self.sort_current[0]
|
||||
logger.info("Changing %s to %s" % ('sort_%s' % oldkey, self.sort_items[self.sort_current[0]]))
|
||||
logging.info("Changing %s to %s" % ('sort_%s' % oldkey, self.sort_items[self.sort_current[0]]))
|
||||
self.labels['sort_%s' % oldkey].set_label("%s" % self.sort_items[oldkey])
|
||||
self.labels['sort_%s' % oldkey].show_all()
|
||||
self.sort_current = [key, 0]
|
||||
self.labels['sort_%s' % key].set_label("%s %s" % (self.sort_items[key], self.sort_char[self.sort_current[1]]))
|
||||
self.labels['sort_%s' % key].show()
|
||||
|
||||
GLib.idle_add(self.reload_files)
|
||||
|
||||
self._config.set("main", "print_sort_dir", "%s_%s" % (key, "asc" if self.sort_current[1] == 0 else "desc"))
|
||||
self._config.save_user_config_options()
|
||||
|
||||
def confirm_print(self, widget, filename):
|
||||
_ = self.lang.gettext
|
||||
buttons = [
|
||||
{"name":_("Print"), "response": Gtk.ResponseType.OK},
|
||||
{"name":_("Cancel"),"response": Gtk.ResponseType.CANCEL}
|
||||
]
|
||||
|
||||
label = Gtk.Label()
|
||||
label.set_markup("%s <b>%s</b>%s" % (_("Are you sure you want to print"), filename, _("?")))
|
||||
label.set_hexpand(True)
|
||||
label.set_halign(Gtk.Align.CENTER)
|
||||
label.set_line_wrap(True)
|
||||
label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
|
||||
grid = Gtk.Grid()
|
||||
grid.add(label)
|
||||
grid.set_size_request(self._screen.width - 60, -1)
|
||||
|
||||
pixbuf = self.get_file_image(filename, 8, 3.2)
|
||||
if pixbuf != None:
|
||||
image = Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
grid.attach_next_to(image, label, Gtk.PositionType.BOTTOM, 1, 3)
|
||||
|
||||
#table.attach(label, 0, 1, 0, 1, Gtk.AttachOptions.SHRINK | Gtk.AttachOptions.FILL)
|
||||
grid.set_vexpand(True)
|
||||
grid.set_halign(Gtk.Align.CENTER)
|
||||
grid.set_valign(Gtk.Align.CENTER)
|
||||
|
||||
dialog = self._gtk.Dialog(self._screen, buttons, grid, self.confirm_print_response, filename)
|
||||
|
||||
def confirm_print_response(self, widget, response_id, filename):
|
||||
widget.destroy()
|
||||
|
||||
if response_id == Gtk.ResponseType.CANCEL:
|
||||
return
|
||||
|
||||
logging.info("Starting print: %s" % (filename))
|
||||
self._screen._ws.klippy.print_start(filename)
|
||||
|
||||
def delete_file(self, filename):
|
||||
dir_parts = ("gcodes/%s" % filename).split('/')[:-1]
|
||||
directory = '/'.join(dir_parts)
|
||||
self.filelist[directory]["files"].pop(self.filelist[directory]["files"].index(filename.split('/')[-1]))
|
||||
i = len(dir_parts)
|
||||
while i > 1:
|
||||
cur_dir = '/'.join(dir_parts[0:i])
|
||||
if len(self.filelist[cur_dir]['directories']) > 0 or len(self.filelist[cur_dir]['files']) > 0:
|
||||
break
|
||||
par_dir = '/'.join(cur_dir.split('/')[:-1])
|
||||
|
||||
if self.cur_directory == cur_dir:
|
||||
self.change_dir(None, par_dir)
|
||||
|
||||
del self.filelist[cur_dir]
|
||||
self.filelist[par_dir]['directories'].pop(self.filelist[par_dir]['directories'].index(cur_dir))
|
||||
self.dir_panels[par_dir].remove(self.directories[cur_dir])
|
||||
del self.directories[cur_dir]
|
||||
del self.labels['directories'][cur_dir]
|
||||
self.dir_panels[par_dir].show_all()
|
||||
i -= 1
|
||||
|
||||
self.dir_panels[directory].remove(self.files[filename])
|
||||
self.dir_panels[directory].show_all()
|
||||
self.files.pop(filename)
|
||||
|
||||
def get_file_info_str(self, filename):
|
||||
_ = self.lang.gettext
|
||||
|
||||
@@ -196,6 +388,16 @@ class PrintPanel(ScreenPanel):
|
||||
return print_str
|
||||
return "Unavailable"
|
||||
|
||||
def reload_files(self, widget=None):
|
||||
self.filelist = {'gcodes':{'directories':[],'files':[]}}
|
||||
for dirpan in self.dir_panels:
|
||||
for child in self.dir_panels[dirpan].get_children():
|
||||
self.dir_panels[dirpan].remove(child)
|
||||
|
||||
flist = sorted(self._screen.files.get_file_list(), key=lambda item: '/' in item)
|
||||
for file in flist:
|
||||
GLib.idle_add(self.add_file, file)
|
||||
|
||||
def update_file(self, filename):
|
||||
if filename not in self.labels['files']:
|
||||
return
|
||||
@@ -208,69 +410,16 @@ class PrintPanel(ScreenPanel):
|
||||
if pixbuf != None:
|
||||
self.labels['files'][filename]['icon'].set_from_pixbuf(pixbuf)
|
||||
|
||||
def delete_file(self, filename):
|
||||
files = sorted(self.files)
|
||||
pos = files.index(filename)
|
||||
self.labels['filelist'].remove_row(pos)
|
||||
self.labels['filelist'].show_all()
|
||||
self.files.pop(filename)
|
||||
|
||||
def reload_files(self, widget=None):
|
||||
for child in self.labels['filelist'].get_children():
|
||||
self.labels['filelist'].remove(child)
|
||||
self.labels['filelist'].show_all()
|
||||
|
||||
for file in self._screen.files.get_file_list():
|
||||
self.add_file(file, False)
|
||||
|
||||
self.labels['filelist'].show_all()
|
||||
|
||||
def _callback(self, newfiles, deletedfiles, updatedfiles=[]):
|
||||
logger.debug("newfiles: %s", newfiles)
|
||||
logging.debug("newfiles: %s", newfiles)
|
||||
for file in newfiles:
|
||||
self.add_file(file)
|
||||
logger.debug("deletedfiles: %s", deletedfiles)
|
||||
logging.debug("deletedfiles: %s", deletedfiles)
|
||||
for file in deletedfiles:
|
||||
self.delete_file(file)
|
||||
logger.debug("updatefiles: %s", updatedfiles)
|
||||
logging.debug("updatefiles: %s", updatedfiles)
|
||||
for file in updatedfiles:
|
||||
self.update_file(file)
|
||||
|
||||
def confirm_print(self, widget, filename):
|
||||
_ = self.lang.gettext
|
||||
buttons = [
|
||||
{"name":_("Print"), "response": Gtk.ResponseType.OK},
|
||||
{"name":_("Cancel"),"response": Gtk.ResponseType.CANCEL}
|
||||
]
|
||||
|
||||
label = Gtk.Label()
|
||||
label.set_markup("%s <b>%s</b>%s" % (_("Are you sure you want to print"), filename, _("?")))
|
||||
label.set_hexpand(True)
|
||||
label.set_halign(Gtk.Align.CENTER)
|
||||
label.set_line_wrap(True)
|
||||
label.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
|
||||
grid = Gtk.Grid()
|
||||
grid.add(label)
|
||||
grid.set_size_request(self._screen.width - 60, -1)
|
||||
|
||||
pixbuf = self.get_file_image(filename, 8, 3.2)
|
||||
if pixbuf != None:
|
||||
image = Gtk.Image.new_from_pixbuf(pixbuf)
|
||||
grid.attach_next_to(image, label, Gtk.PositionType.BOTTOM, 1, 3)
|
||||
|
||||
#table.attach(label, 0, 1, 0, 1, Gtk.AttachOptions.SHRINK | Gtk.AttachOptions.FILL)
|
||||
grid.set_vexpand(True)
|
||||
grid.set_halign(Gtk.Align.CENTER)
|
||||
grid.set_valign(Gtk.Align.CENTER)
|
||||
|
||||
dialog = self._gtk.Dialog(self._screen, buttons, grid, self.confirm_print_response, filename)
|
||||
|
||||
def confirm_print_response(self, widget, response_id, filename):
|
||||
widget.destroy()
|
||||
|
||||
if response_id == Gtk.ResponseType.CANCEL:
|
||||
return
|
||||
|
||||
logging.info("Starting print: %s" % (filename))
|
||||
self._screen._ws.klippy.print_start(filename)
|
||||
def _refresh_files(self, widget):
|
||||
self._files.refresh_files()
|
||||
@@ -0,0 +1,33 @@
|
||||
import gi
|
||||
import logging
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.PrinterSelect")
|
||||
|
||||
def create_panel(*args):
|
||||
return PrinterSelect(*args)
|
||||
|
||||
class PrinterSelect(ScreenPanel):
|
||||
def __init__(self, screen, title, back=True, action_bar=True, printer_name=True):
|
||||
super().__init__(screen, title, False, False, False)
|
||||
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
|
||||
printers = self._config.get_printers()
|
||||
|
||||
box = Gtk.Box()
|
||||
self.content.add(box)
|
||||
|
||||
i = 1
|
||||
for printer in printers:
|
||||
name = list(printer)[0]
|
||||
self.labels[name] = self._gtk.ButtonImage("extruder",name,"color%s" % (i%4))
|
||||
self.labels[name].connect("clicked", self._screen.connect_printer_widget, name)
|
||||
box.add(self.labels[name])
|
||||
i += 1
|
||||
@@ -0,0 +1,26 @@
|
||||
import gi
|
||||
import logging
|
||||
|
||||
gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib
|
||||
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
def create_panel(*args):
|
||||
return ScreenSaverPanel(*args)
|
||||
|
||||
class ScreenSaverPanel(ScreenPanel):
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
|
||||
box = Gtk.Box()
|
||||
box.set_hexpand(True)
|
||||
box.set_vexpand(True)
|
||||
box.set_halign(Gtk.Align.CENTER)
|
||||
|
||||
l = Gtk.Label(_("Screen will show in less than one second"))
|
||||
box.add(l)
|
||||
|
||||
|
||||
self.layout = box
|
||||
@@ -7,8 +7,6 @@ from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.Settings")
|
||||
|
||||
def create_panel(*args):
|
||||
return SettingsPanel(*args)
|
||||
|
||||
@@ -23,12 +21,23 @@ class SettingsPanel(ScreenPanel):
|
||||
self.labels['main_box'] = self.create_box('main')
|
||||
self.labels['macros_box'] = self.create_box('macros')
|
||||
|
||||
printbox = Gtk.Box(spacing=0)
|
||||
printbox.set_vexpand(False)
|
||||
self.labels['add_printer_button'] = self._gtk.Button(_("Add Printer"), "color1")
|
||||
#printbox.add(self.labels['add_printer_button'])
|
||||
self.labels['printers_box'] = self.create_box('printers', printbox)
|
||||
|
||||
options = self._config.get_configurable_options().copy()
|
||||
options.append({"macros": {
|
||||
"name": _("Displayed Macros"),
|
||||
"type": "menu",
|
||||
"menu": "macros"}
|
||||
})
|
||||
options.append({"printers": {
|
||||
"name": _("Printer Connections"),
|
||||
"type": "menu",
|
||||
"menu": "printers"
|
||||
}})
|
||||
|
||||
for option in options:
|
||||
name = list(option)[0]
|
||||
@@ -38,14 +47,25 @@ class SettingsPanel(ScreenPanel):
|
||||
macro = macro[12:]
|
||||
self.macros[macro] = {
|
||||
"name": macro,
|
||||
"section": "displayed_macros",
|
||||
"section": "displayed_macros %s" % self._screen.connected_printer,
|
||||
"type": "macro"
|
||||
}
|
||||
|
||||
for macro in list(self.macros):
|
||||
self.add_option('macros', self.macros, macro, self.macros[macro])
|
||||
|
||||
logger.debug("Macros: %s" % self.macros)
|
||||
self.printers = {}
|
||||
for printer in self._config.get_printers():
|
||||
logging.debug("Printer: %s" % printer)
|
||||
pname = list(printer)[0]
|
||||
self.printers[pname] = {
|
||||
"name": pname,
|
||||
"section": "printer %s" % pname,
|
||||
"type": "printer",
|
||||
"moonraker_host": printer[pname]['moonraker_host'],
|
||||
"moonraker_port": printer[pname]['moonraker_port'],
|
||||
}
|
||||
self.add_option("printers", self.printers, pname, self.printers[pname])
|
||||
|
||||
self.control['back'].disconnect_by_func(self._screen._menu_go_back)
|
||||
self.control['back'].connect("clicked", self.back)
|
||||
@@ -61,7 +81,7 @@ class SettingsPanel(ScreenPanel):
|
||||
else:
|
||||
self._screen._menu_go_back()
|
||||
|
||||
def create_box(self, name):
|
||||
def create_box(self, name, insert=None):
|
||||
# Create a scroll window for the macros
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
@@ -74,10 +94,15 @@ class SettingsPanel(ScreenPanel):
|
||||
# Create a box to contain all of the above
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL, spacing=0)
|
||||
box.set_vexpand(True)
|
||||
if insert is not None:
|
||||
box.pack_start(insert, False, False, 0)
|
||||
box.pack_start(scroll, True, True, 0)
|
||||
return box
|
||||
|
||||
def add_option(self, boxname, opt_array, opt_name, option):
|
||||
if option['type'] == None:
|
||||
return
|
||||
|
||||
frame = Gtk.Frame()
|
||||
frame.set_property("shadow-type",Gtk.ShadowType.NONE)
|
||||
frame.get_style_context().add_class("frame-item")
|
||||
@@ -91,7 +116,7 @@ class SettingsPanel(ScreenPanel):
|
||||
name.set_line_wrap(True)
|
||||
name.set_line_wrap_mode(Pango.WrapMode.WORD_CHAR)
|
||||
|
||||
#open = self._gtk.ButtonImage("open",None,"color3")
|
||||
#open = self._gtk.ButtonImage("resume",None,"color3")
|
||||
#open.connect("clicked", self.run_gcode_macro, macro)
|
||||
#open.set_hexpand(False)
|
||||
#open.set_halign(Gtk.Align.END)
|
||||
@@ -133,9 +158,26 @@ class SettingsPanel(ScreenPanel):
|
||||
#dropdown.props.relief = Gtk.ReliefStyle.NONE
|
||||
dropdown.set_entry_text_column(0)
|
||||
dev.add(dropdown)
|
||||
logger.debug("Children: %s" % dropdown.get_children())
|
||||
logging.debug("Children: %s" % dropdown.get_children())
|
||||
elif option['type'] == "scale":
|
||||
val = int(self._config.get_config().get(option['section'], opt_name, fallback=option['value']))
|
||||
adj = Gtk.Adjustment(val, option['range'][0], option['range'][1], option['step'], option['step']*5)
|
||||
scale = Gtk.Scale(orientation=Gtk.Orientation.HORIZONTAL, adjustment=adj)
|
||||
scale.set_hexpand(True)
|
||||
scale.set_digits(0)
|
||||
scale.connect("value-changed", self.scale_moved, option['section'], opt_name)
|
||||
dev.add(scale)
|
||||
elif option['type'] == "printer":
|
||||
logging.debug("Option: %s" % option)
|
||||
box = Gtk.Box()
|
||||
box.set_vexpand(False)
|
||||
label = Gtk.Label()
|
||||
url = "%s:%s" % (option['moonraker_host'], option['moonraker_port'])
|
||||
label.set_markup("<big>%s</big>\n%s" % (option['name'], url))
|
||||
box.add(label)
|
||||
dev.add(box)
|
||||
elif option['type'] == "menu":
|
||||
open = self._gtk.ButtonImage("open",None,"color3")
|
||||
open = self._gtk.ButtonImage("settings",None,"color3")
|
||||
open.connect("clicked", self.load_menu, option['menu'])
|
||||
open.set_hexpand(False)
|
||||
open.set_halign(Gtk.Align.END)
|
||||
@@ -169,7 +211,7 @@ class SettingsPanel(ScreenPanel):
|
||||
self.content.show_all()
|
||||
|
||||
def unload_menu(self, widget=None):
|
||||
logger.debug("self.menu: %s" % self.menu)
|
||||
logging.debug("self.menu: %s" % self.menu)
|
||||
if len(self.menu) <= 1 or self.menu[-2] not in self.labels:
|
||||
return
|
||||
|
||||
@@ -184,15 +226,21 @@ class SettingsPanel(ScreenPanel):
|
||||
if tree_iter is not None:
|
||||
model = combo.get_model()
|
||||
value = model[tree_iter][1]
|
||||
logger.debug("[%s] %s changed to %s" % (section, option, value))
|
||||
logging.debug("[%s] %s changed to %s" % (section, option, value))
|
||||
self._config.set(section, option, value)
|
||||
self._config.save_user_config_options()
|
||||
if callback is not None:
|
||||
callback(value)
|
||||
|
||||
def scale_moved(self, widget, section, option):
|
||||
logging.debug("[%s] %s changed to %s" % (section, option, widget.get_value()))
|
||||
if section not in self._config.get_config().sections():
|
||||
self._config.get_config().add_section(section)
|
||||
self._config.set(section, option, str(int(widget.get_value())))
|
||||
self._config.save_user_config_options()
|
||||
|
||||
def switch_config_option(self, switch, gparam, section, option):
|
||||
logger.debug("[%s] %s toggled %s" % (section, option, switch.get_active()))
|
||||
logging.debug("[%s] %s toggled %s" % (section, option, switch.get_active()))
|
||||
if section not in self._config.get_config().sections():
|
||||
self._config.get_config().add_section(section)
|
||||
self._config.set(section, option, "True" if switch.get_active() else "False")
|
||||
|
||||
@@ -7,18 +7,22 @@ from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.SplashScreenPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return SplashScreenPanel(*args)
|
||||
|
||||
class SplashScreenPanel(ScreenPanel):
|
||||
box = None
|
||||
|
||||
def __init__(self, screen, title, back=True):
|
||||
super().__init__(screen, title, back)
|
||||
|
||||
self.layout = Gtk.Layout()
|
||||
self.layout.set_size(self._screen.width, self._screen.height)
|
||||
|
||||
def initialize(self, panel_name):
|
||||
_ = self.lang.gettext
|
||||
|
||||
image = self._gtk.Image("klipper.png", None, 4, 3)
|
||||
image = self._gtk.Image("klipper.svg", None, 4, 4)
|
||||
|
||||
self.labels['text'] = Gtk.Label(_("Initializing printer..."))
|
||||
self.labels['text'].set_line_wrap(True)
|
||||
@@ -41,8 +45,9 @@ class SplashScreenPanel(ScreenPanel):
|
||||
|
||||
box = Gtk.VBox()
|
||||
box.add(main)
|
||||
box.set_size_request(self._screen.width, self._screen.height)
|
||||
|
||||
self.layout = box
|
||||
self.layout.put(box, 0, 0)
|
||||
|
||||
def update_text(self, text):
|
||||
self.labels['text'].set_text(text)
|
||||
@@ -56,28 +61,32 @@ class SplashScreenPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if "firmware_restart" not in self.labels:
|
||||
self.labels['menu'] = self._gtk.ButtonImage("control",_("Menu"),"color4")
|
||||
self.labels['printer_select'] = self._gtk.ButtonImage("shuffle",_("Change Printer"))
|
||||
self.labels['printer_select'].connect("clicked", self._screen.show_printer_select)
|
||||
self.labels['menu'] = self._gtk.ButtonImage("settings",_("Menu"),"color4")
|
||||
self.labels['menu'].connect("clicked", self._screen._go_to_submenu, "")
|
||||
self.labels['power'] = self._gtk.ButtonImage("reboot",_("Power On Printer"),"color3")
|
||||
self.labels['restart'] = self._gtk.ButtonImage("reboot",_("Restart"),"color1")
|
||||
self.labels['power'] = self._gtk.ButtonImage("shutdown",_("Power On Printer"),"color3")
|
||||
self.labels['restart'] = self._gtk.ButtonImage("refresh",_("Restart"),"color1")
|
||||
self.labels['restart'].connect("clicked", self.restart)
|
||||
self.labels['firmware_restart'] = self._gtk.ButtonImage("restart",_("Firmware Restart"),"color2")
|
||||
self.labels['firmware_restart'] = self._gtk.ButtonImage("refresh",_("Firmware Restart"),"color2")
|
||||
self.labels['firmware_restart'].connect("clicked", self.firmware_restart)
|
||||
|
||||
self.clear_action_bar()
|
||||
|
||||
devices = [i for i in self._printer.get_power_devices() if i.lower().startswith('printer')] if (
|
||||
self._printer is not None) else []
|
||||
logger.debug("Power devices: %s" % devices)
|
||||
logging.debug("Power devices: %s" % devices)
|
||||
if len(devices) > 0:
|
||||
logger.debug("Adding power button")
|
||||
logging.debug("Adding power button")
|
||||
self.labels['power'].connect("clicked", self.power_on, devices[0])
|
||||
self.labels['actions'].add(self.labels['power'])
|
||||
|
||||
self.labels['actions'].add(self.labels['restart'])
|
||||
self.labels['actions'].add(self.labels['firmware_restart'])
|
||||
self.labels['actions'].add(self.labels['menu'])
|
||||
self.labels['actions'].show()
|
||||
if len(self._config.get_printers()) > 1:
|
||||
self.labels['actions'].add(self.labels['printer_select'])
|
||||
self.labels['actions'].show_all()
|
||||
|
||||
def firmware_restart(self, widget):
|
||||
self._screen._ws.klippy.restart_firmware()
|
||||
|
||||
@@ -8,8 +8,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.SystemPanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return SystemPanel(*args)
|
||||
|
||||
@@ -18,13 +16,17 @@ class SystemPanel(ScreenPanel):
|
||||
_ = self.lang.gettext
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
grid.set_row_homogeneous(False)
|
||||
|
||||
restart = self._gtk.ButtonImage('reboot',"\n".join(_('Klipper Restart').split(' ')),'color1')
|
||||
restart = self._gtk.ButtonImage('refresh',"\n".join(_('Klipper Restart').split(' ')),'color1')
|
||||
restart.connect("clicked", self.restart_klippy)
|
||||
firmrestart = self._gtk.ButtonImage('restart',"\n".join(_('Firmware Restart').split(' ')),'color2')
|
||||
firmrestart = self._gtk.ButtonImage('refresh',"\n".join(_('Firmware Restart').split(' ')),'color2')
|
||||
firmrestart.connect("clicked", self.restart_klippy, "firmware")
|
||||
|
||||
reboot = self._gtk.ButtonImage('reboot',_('System\nRestart'),'color3')
|
||||
ks_restart = self._gtk.ButtonImage('refresh',"\n".join(_('Restart Klipper Screen').split(' ')))
|
||||
ks_restart.connect("clicked", self.restart_ks)
|
||||
|
||||
reboot = self._gtk.ButtonImage('refresh',_('System\nRestart'),'color3')
|
||||
reboot.connect("clicked", self._screen._confirm_send_action,
|
||||
_("Are you sure you wish to reboot the system?"), "machine.reboot")
|
||||
shutdown = self._gtk.ButtonImage('shutdown',_('System\nShutdown'),'color4')
|
||||
@@ -33,6 +35,7 @@ class SystemPanel(ScreenPanel):
|
||||
|
||||
info = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
info.set_vexpand(True)
|
||||
info.set_valign(Gtk.Align.CENTER)
|
||||
|
||||
self.labels['loadavg'] = Gtk.Label("temp")
|
||||
self.update_system_load()
|
||||
@@ -54,6 +57,7 @@ class SystemPanel(ScreenPanel):
|
||||
grid.attach(info, 0, 0, 5, 2)
|
||||
grid.attach(restart, 0, 2, 1, 1)
|
||||
grid.attach(firmrestart, 1, 2, 1, 1)
|
||||
grid.attach(ks_restart, 2, 2, 1, 1)
|
||||
grid.attach(reboot, 3, 2, 1, 1)
|
||||
grid.attach(shutdown, 4, 2, 1, 1)
|
||||
|
||||
@@ -74,3 +78,6 @@ class SystemPanel(ScreenPanel):
|
||||
self._screen._ws.klippy.restart_firmware()
|
||||
else:
|
||||
self._screen._ws.klippy.restart()
|
||||
|
||||
def restart_ks(self, widget):
|
||||
os.system("sudo systemctl restart KlipperScreen")
|
||||
@@ -8,8 +8,6 @@ from gi.repository import Gtk, Gdk, GLib
|
||||
from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
logger = logging.getLogger("KlipperScreen.TemperaturePanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return TemperaturePanel(*args)
|
||||
|
||||
@@ -23,28 +21,38 @@ class TemperaturePanel(ScreenPanel):
|
||||
|
||||
grid = self._gtk.HomogeneousGrid()
|
||||
|
||||
eq_grid = self._gtk.HomogeneousGrid()
|
||||
eq_grid = Gtk.Grid()
|
||||
eq_grid.set_hexpand(True)
|
||||
eq_grid.set_vexpand(True)
|
||||
|
||||
self.heaters = []
|
||||
i = 0
|
||||
for x in self._printer.get_tools():
|
||||
if i > 3:
|
||||
break
|
||||
elif i == 0:
|
||||
if i == 0:
|
||||
primary_tool = x
|
||||
self.labels[x] = self._gtk.ToggleButtonImage("extruder-"+str(i), self._gtk.formatTemperatureString(0, 0))
|
||||
self.labels[x].connect('clicked', self.select_heater, x)
|
||||
if i == 0:
|
||||
self.labels[x].set_active(True)
|
||||
eq_grid.attach(self.labels[x], i%2, i/2, 1, 1)
|
||||
self.heaters.append(x)
|
||||
i += 1
|
||||
|
||||
print ("Primary tool: " + primary_tool)
|
||||
self.labels[primary_tool].get_style_context().add_class('button_active')
|
||||
|
||||
if self._printer.has_heated_bed():
|
||||
self.labels["heater_bed"] = self._gtk.ToggleButtonImage("bed", self._gtk.formatTemperatureString(0, 0))
|
||||
self.labels["heater_bed"].connect('clicked', self.select_heater, "heater_bed")
|
||||
width = 2 if i > 1 else 1
|
||||
eq_grid.attach(self.labels["heater_bed"], 0, i/2+1, width, 1)
|
||||
add_heaters = self._printer.get_heaters()
|
||||
for h in add_heaters:
|
||||
if h == "heater_bed":
|
||||
self.labels[h] = self._gtk.ButtonImage("bed", self._gtk.formatTemperatureString(0, 0))
|
||||
else:
|
||||
name = " ".join(h.split(" ")[1:])
|
||||
self.labels[h] = self._gtk.ButtonImage("heat-up", name)
|
||||
self.heaters.append(h)
|
||||
|
||||
i = 0
|
||||
cols = 3 if len(self.heaters) > 4 else (1 if len(self.heaters) <= 2 else 2)
|
||||
for h in self.heaters:
|
||||
if not (h.startswith("temperature_sensor")):
|
||||
self.labels[h].connect('clicked', self.select_heater, h)
|
||||
eq_grid.attach(self.labels[h], i%cols, int(i/cols), 1, 1)
|
||||
i += 1
|
||||
|
||||
self.labels["control_grid"] = self._gtk.HomogeneousGrid()
|
||||
|
||||
@@ -52,7 +60,7 @@ class TemperaturePanel(ScreenPanel):
|
||||
self.labels["increase"].connect("clicked",self.change_target_temp, "+")
|
||||
self.labels["decrease"] = self._gtk.ButtonImage("decrease", _("Decrease"), "color3")
|
||||
self.labels["decrease"].connect("clicked",self.change_target_temp, "-")
|
||||
self.labels["npad"] = self._gtk.ButtonImage("settings", _("Number Pad"), "color2")
|
||||
self.labels["npad"] = self._gtk.ButtonImage("hashtag", _("Number Pad"), "color2")
|
||||
self.labels["npad"].connect("clicked", self.show_numpad)
|
||||
|
||||
tempgrid = Gtk.Grid()
|
||||
@@ -132,9 +140,9 @@ class TemperaturePanel(ScreenPanel):
|
||||
for i in range(len(keys)):
|
||||
id = 'button_' + str(keys[i][0])
|
||||
if keys[i][0] == "B":
|
||||
self.labels[id] = Gtk.Button("B") #self._gtk.ButtonImage("backspace")
|
||||
self.labels[id] = self._gtk.ButtonImage("backspace")
|
||||
elif keys[i][0] == "E":
|
||||
self.labels[id] = Gtk.Button("E") #self._gtk.ButtonImage("complete", None, None, .675, .675)
|
||||
self.labels[id] = self._gtk.ButtonImage("complete")
|
||||
else:
|
||||
self.labels[id] = Gtk.Button(keys[i][0])
|
||||
self.labels[id].connect('clicked', self.update_entry, keys[i][0])
|
||||
@@ -147,7 +155,7 @@ class TemperaturePanel(ScreenPanel):
|
||||
self.labels['entry'].props.xalign = 0.5
|
||||
ctx = self.labels['entry'].get_style_context()
|
||||
|
||||
b = self._gtk.ButtonImage('back', _('Close'))
|
||||
b = self._gtk.ButtonImage('cancel', _('Close'))
|
||||
b.connect("clicked", self.hide_numpad)
|
||||
|
||||
box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
|
||||
@@ -184,19 +192,21 @@ class TemperaturePanel(ScreenPanel):
|
||||
if action != "notify_status_update":
|
||||
return
|
||||
|
||||
if self._printer.has_heated_bed():
|
||||
self.update_temp("heater_bed",
|
||||
self._printer.get_dev_stat("heater_bed","temperature"),
|
||||
self._printer.get_dev_stat("heater_bed","target")
|
||||
)
|
||||
for x in self._printer.get_tools():
|
||||
self.update_temp(x,
|
||||
self._printer.get_dev_stat(x,"temperature"),
|
||||
self._printer.get_dev_stat(x,"target")
|
||||
)
|
||||
for h in self._printer.get_heaters():
|
||||
self.update_temp(h,
|
||||
self._printer.get_dev_stat(h,"temperature"),
|
||||
self._printer.get_dev_stat(h,"target"),
|
||||
None if h == "heater_bed" else " ".join(h.split(" ")[1:])
|
||||
)
|
||||
return
|
||||
|
||||
def change_target_temp(self, widget, dir):
|
||||
logging.debug("Dev stats %s: %s" % (self.active_heater, self._printer.get_dev_stats(self.active_heater)))
|
||||
target = self._printer.get_dev_stat(self.active_heater, "target")
|
||||
if dir == "+":
|
||||
target += int(self.tempdelta)
|
||||
@@ -209,15 +219,12 @@ class TemperaturePanel(ScreenPanel):
|
||||
|
||||
self._printer.set_dev_stat(self.active_heater, "target", target)
|
||||
|
||||
if self.active_heater == "heater_bed":
|
||||
self._screen._ws.klippy.gcode_script( KlippyGcodes.set_bed_temp(
|
||||
target
|
||||
))
|
||||
if self.active_heater.startswith("heater_generic "):
|
||||
self._screen._ws.klippy.set_heater_temp(" ".join(self.active_heater.split(" ")[1:]), target)
|
||||
elif self.active_heater == "heater_bed":
|
||||
self._screen._ws.klippy.set_bed_temp(target)
|
||||
else:
|
||||
self._screen._ws.klippy.gcode_script( KlippyGcodes.set_ext_temp(
|
||||
target,
|
||||
self._printer.get_tool_number(self.active_heater)
|
||||
))
|
||||
self._screen._ws.klippy.set_tool_temp(self._printer.get_tool_number(self.active_heater), target)
|
||||
|
||||
def update_entry(self, widget, digit):
|
||||
text = self.labels['entry'].get_text()
|
||||
@@ -226,17 +233,17 @@ class TemperaturePanel(ScreenPanel):
|
||||
return
|
||||
self.labels['entry'].set_text(text[0:-1])
|
||||
elif digit == 'E':
|
||||
if self.active_heater == "heater_bed":
|
||||
if self.active_heater.startswith('heater_generic '):
|
||||
temp = int(text)
|
||||
self._screen._ws.klippy.set_heater_temp(" ".join(self.active_heater.split(" ")[1:]), temp)
|
||||
elif self.active_heater == "heater_bed":
|
||||
temp = int(text)
|
||||
temp = 0 if temp < 0 or temp > KlippyGcodes.MAX_BED_TEMP else temp
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.set_bed_temp(temp))
|
||||
self._screen._ws.klippy.set_bed_temp(temp)
|
||||
else:
|
||||
temp = int(text)
|
||||
temp = 0 if temp < 0 or temp > KlippyGcodes.MAX_EXT_TEMP else temp
|
||||
self._screen._ws.klippy.gcode_script( KlippyGcodes.set_ext_temp(
|
||||
temp,
|
||||
self._printer.get_tool_number(self.active_heater)
|
||||
))
|
||||
self._screen._ws.klippy.set_tool_temp(self._printer.get_tool_number(self.active_heater), temp)
|
||||
self._printer.set_dev_stat(self.active_heater, "target", temp)
|
||||
self.labels['entry'].set_text("")
|
||||
else:
|
||||
|
||||
@@ -7,7 +7,6 @@ from ks_includes.KlippyGcodes import KlippyGcodes
|
||||
from ks_includes.screen_panel import ScreenPanel
|
||||
|
||||
import logging
|
||||
logger = logging.getLogger("KlipperScreen.ZCalibratePanel")
|
||||
|
||||
def create_panel(*args):
|
||||
return ZCalibratePanel(*args)
|
||||
@@ -34,9 +33,9 @@ class ZCalibratePanel(ScreenPanel):
|
||||
box.add(label)
|
||||
box.add(self.labels['zposition'])
|
||||
|
||||
zpos = self._gtk.ButtonImage('z-offset-decrease',_("Raise Nozzle"))
|
||||
zpos = self._gtk.ButtonImage('z-farther',_("Raise Nozzle"))
|
||||
zpos.connect("clicked", self.move, "+")
|
||||
zneg = self._gtk.ButtonImage('z-offset-increase',_("Lower Nozzle"))
|
||||
zneg = self._gtk.ButtonImage('z-closer',_("Lower Nozzle"))
|
||||
zneg.connect("clicked", self.move, "-")
|
||||
|
||||
distgrid = Gtk.Grid()
|
||||
@@ -65,10 +64,10 @@ class ZCalibratePanel(ScreenPanel):
|
||||
space_grid.attach(distgrid,0,1,1,1)
|
||||
space_grid.attach(Gtk.Label(" "),0,2,1,1)
|
||||
|
||||
complete = self._gtk.ButtonImage('complete',_('Accept'),'color2')
|
||||
complete = self._gtk.ButtonImage('complete',_('Accept'),'color4')
|
||||
complete.connect("clicked", self.accept)
|
||||
|
||||
b = self._gtk.ButtonImage('back', _('Abort'))
|
||||
b = self._gtk.ButtonImage('cancel', _('Abort'),'color2')
|
||||
b.connect("clicked", self.abort)
|
||||
|
||||
|
||||
@@ -116,15 +115,15 @@ class ZCalibratePanel(ScreenPanel):
|
||||
|
||||
def move(self, widget, dir):
|
||||
dist = str(self.distance) if dir == "+" else "-" + str(self.distance)
|
||||
logger.info("# Moving %s", KlippyGcodes.probe_move(dist))
|
||||
logging.info("# Moving %s", KlippyGcodes.probe_move(dist))
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.probe_move(dist))
|
||||
|
||||
def abort(self, widget):
|
||||
logger.info("Aborting Z calibrate")
|
||||
logging.info("Aborting Z calibrate")
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.PROBE_ABORT)
|
||||
self.menu_return(widget)
|
||||
|
||||
def accept(self, widget):
|
||||
logger.info("Accepting Z calibrate")
|
||||
logging.info("Accepting Z calibrate")
|
||||
self._screen._ws.klippy.gcode_script(KlippyGcodes.PROBE_ACCEPT)
|
||||
self.menu_return(widget)
|
||||
@@ -7,6 +7,7 @@ import time
|
||||
import threading
|
||||
|
||||
import json
|
||||
import netifaces
|
||||
import requests
|
||||
import websocket
|
||||
import importlib
|
||||
@@ -23,6 +24,7 @@ gi.require_version("Gtk", "3.0")
|
||||
from gi.repository import Gtk, Gdk, GLib, Pango
|
||||
from jinja2 import Environment, Template
|
||||
|
||||
from ks_includes import functions
|
||||
from ks_includes.KlippyWebsocket import KlippyWebsocket
|
||||
from ks_includes.KlippyRest import KlippyRest
|
||||
from ks_includes.files import KlippyFiles
|
||||
@@ -32,10 +34,15 @@ from ks_includes.wifi import WifiManager
|
||||
|
||||
from ks_includes.config import KlipperScreenConfig
|
||||
|
||||
logging.getLogger('matplotlib').setLevel(logging.WARNING)
|
||||
import numpy
|
||||
import matplotlib.pyplot
|
||||
|
||||
PRINTER_BASE_STATUS_OBJECTS = [
|
||||
'bed_mesh',
|
||||
'idle_timeout',
|
||||
'configfile',
|
||||
'display_status',
|
||||
'gcode_move',
|
||||
'fan',
|
||||
'toolhead',
|
||||
@@ -47,37 +54,13 @@ PRINTER_BASE_STATUS_OBJECTS = [
|
||||
'webhooks'
|
||||
]
|
||||
|
||||
# Create logging
|
||||
for h in logging.getLogger().handlers:
|
||||
logging.getLogger().removeHandler(h)
|
||||
|
||||
logger = logging.getLogger('KlipperScreen')
|
||||
logger.setLevel(logging.DEBUG)
|
||||
formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
||||
|
||||
fh = logging.FileHandler('/tmp/KlipperScreen.log')
|
||||
fh.setLevel(logging.DEBUG)
|
||||
fh.setFormatter(formatter)
|
||||
|
||||
ch = logging.StreamHandler(sys.stdout)
|
||||
ch.setLevel(logging.DEBUG)
|
||||
ch.setFormatter(formatter)
|
||||
|
||||
logger.addHandler(fh)
|
||||
logger.addHandler(ch)
|
||||
|
||||
def logging_exception_handler(type, value, tb):
|
||||
logger.exception("Uncaught exception %s: %s\nTraceback: %s" % (type, value, "\n".join(traceback.format_tb(tb))))
|
||||
sys.excepthook = logging_exception_handler
|
||||
|
||||
klipperscreendir = os.getcwd()
|
||||
config = klipperscreendir + "/KlipperScreen.config"
|
||||
logger.info("Config file: " + config)
|
||||
|
||||
class KlipperScreen(Gtk.Window):
|
||||
""" Class for creating a screen for Klipper via HDMI """
|
||||
_cur_panels = []
|
||||
bed_temp_label = None
|
||||
connecting = False
|
||||
connected_printer = None
|
||||
currentPanel = None
|
||||
files = None
|
||||
@@ -90,37 +73,37 @@ class KlipperScreen(Gtk.Window):
|
||||
panels = {}
|
||||
popup_message = None
|
||||
printer = None
|
||||
printer_select_callbacks = []
|
||||
printer_select_prepanel = None
|
||||
rtl_languages = ['he_il']
|
||||
subscriptions = []
|
||||
shutdown = True
|
||||
_ws = None
|
||||
|
||||
def __init__(self):
|
||||
self.version = get_software_version()
|
||||
logger.info("KlipperScreen version: %s" % self.version)
|
||||
def __init__(self, args, version):
|
||||
self.dpms_timeout = None
|
||||
self.version = version
|
||||
|
||||
parser = argparse.ArgumentParser(description="KlipperScreen - A GUI for Klipper")
|
||||
parser.add_argument(
|
||||
"-c","--configfile", default="~/KlipperScreen.conf", metavar='<configfile>',
|
||||
help="Location of KlipperScreen configuration file"
|
||||
)
|
||||
args = parser.parse_args()
|
||||
configfile = os.path.normpath(os.path.expanduser(args.configfile))
|
||||
|
||||
self.lang = gettext.translation('KlipperScreen', localedir='ks_includes/locales', fallback=True)
|
||||
self._config = KlipperScreenConfig(configfile, self.lang, self)
|
||||
|
||||
self.wifi = WifiManager()
|
||||
self.wifi.start()
|
||||
self.network_interfaces = netifaces.interfaces()
|
||||
self.wireless_interfaces = [int for int in self.network_interfaces if int.startswith('w')]
|
||||
self.wifi = None
|
||||
if len(self.wireless_interfaces) > 0:
|
||||
logging.info("Found wireless interfaces: %s" % self.wireless_interfaces)
|
||||
self.wifi = WifiManager(self.wireless_interfaces[0])
|
||||
|
||||
logger.debug("OS Language: %s" % os.getenv('LANG'))
|
||||
logging.debug("OS Language: %s" % os.getenv('LANG'))
|
||||
|
||||
self.lang_ltr = True
|
||||
for lang in self.rtl_languages:
|
||||
if os.getenv('LANG').lower().startswith(lang):
|
||||
self.lang_ltr = False
|
||||
Gtk.Widget.set_default_direction(Gtk.TextDirection.RTL)
|
||||
logger.debug("Enabling RTL mode")
|
||||
logging.debug("Enabling RTL mode")
|
||||
break
|
||||
|
||||
_ = self.lang.gettext
|
||||
@@ -130,34 +113,67 @@ class KlipperScreen(Gtk.Window):
|
||||
self.height = self._config.get_main_config().getint("height", Gdk.Screen.get_height(Gdk.Screen.get_default()))
|
||||
self.set_default_size(self.width, self.height)
|
||||
self.set_resizable(False)
|
||||
logger.info("Screen resolution: %sx%s" % (self.width, self.height))
|
||||
logging.info("Screen resolution: %sx%s" % (self.width, self.height))
|
||||
|
||||
self.gtk = KlippyGtk(self.width, self.height)
|
||||
self.theme = self._config.get_main_config_option('theme')
|
||||
self.gtk = KlippyGtk(self, self.width, self.height, self.theme)
|
||||
self.init_style()
|
||||
|
||||
self.printer_initializing(_("Initializing"))
|
||||
|
||||
# Disable DPMS
|
||||
os.system("/usr/bin/xset -display :0 -dpms")
|
||||
self.set_screenblanking_timeout(self._config.get_main_config_option('screen_blanking'))
|
||||
|
||||
# Move mouse to 0,0
|
||||
os.system("/usr/bin/xdotool mousemove 0 0")
|
||||
# Change cursor to blank
|
||||
#self.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.BLANK_CURSOR))
|
||||
pname = list(self._config.get_printers()[0])[0]
|
||||
self.connect_printer(pname, self._config.get_printers()[0][pname])
|
||||
if self._config.get_main_config().getboolean("show_cursor", fallback=False):
|
||||
self.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.ARROW))
|
||||
else:
|
||||
self.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.BLANK_CURSOR))
|
||||
|
||||
def connect_printer(self, name, data):
|
||||
printers = self._config.get_printers()
|
||||
logging.debug("Printers: %s" % printers)
|
||||
if len(printers) == 1:
|
||||
pname = list(self._config.get_printers()[0])[0]
|
||||
self.connect_printer(pname)
|
||||
else:
|
||||
self.show_panel("printer_select","printer_select","Printer Select", 2)
|
||||
|
||||
def connect_printer_widget(self, widget, name):
|
||||
self.connect_printer(name)
|
||||
|
||||
def connect_printer(self, name):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if self.connected_printer == name:
|
||||
if self.printer_select_prepanel != None:
|
||||
self.show_panel(self.printer_select_prepanel, "","", 2)
|
||||
self.printer_select_prepanel = None
|
||||
while len(self.printer_select_callbacks) > 0:
|
||||
i = self.printer_select_callbacks.pop(0)
|
||||
i()
|
||||
return
|
||||
|
||||
if self.files is not None:
|
||||
self.files.stop()
|
||||
self.printer_select_callbacks = []
|
||||
self.printer_select_prepanel = None
|
||||
|
||||
self.apiclient = KlippyRest(self._config.get_main_config_option("moonraker_host"),
|
||||
self._config.get_main_config_option("moonraker_port"),
|
||||
self._config.get_main_config_option("moonraker_api_key", False))
|
||||
if self.files is not None:
|
||||
self.files = None
|
||||
|
||||
for printer in self._config.get_printers():
|
||||
pname = list(printer)[0]
|
||||
|
||||
if pname != name:
|
||||
continue
|
||||
data = printer[pname]
|
||||
break
|
||||
|
||||
if self._ws is not None:
|
||||
self._ws.close()
|
||||
self.connecting = True
|
||||
|
||||
logging.info("Connecting to printer: %s" % name)
|
||||
self.apiclient = KlippyRest(data["moonraker_host"], data["moonraker_port"], data["moonraker_api_key"])
|
||||
|
||||
self.printer = Printer({
|
||||
"software_version": "Unknown"
|
||||
@@ -175,6 +191,8 @@ class KlipperScreen(Gtk.Window):
|
||||
|
||||
self._remove_all_panels()
|
||||
panels = list(self.panels)
|
||||
if len(self.subscriptions) > 0:
|
||||
self.subscriptions = []
|
||||
for panel in panels:
|
||||
del self.panels[panel]
|
||||
self.printer_initializing(_("Connecting to %s") % name)
|
||||
@@ -182,6 +200,7 @@ class KlipperScreen(Gtk.Window):
|
||||
self.printer.set_callbacks({
|
||||
"disconnected": self.state_disconnected,
|
||||
"error": self.state_error,
|
||||
"paused": self.state_paused,
|
||||
"printing": self.state_printing,
|
||||
"ready": self.state_ready,
|
||||
"startup": self.state_startup,
|
||||
@@ -189,39 +208,35 @@ class KlipperScreen(Gtk.Window):
|
||||
})
|
||||
|
||||
powerdevs = self.apiclient.send_request("machine/device_power/devices")
|
||||
logger.debug("Found power devices: %s" % powerdevs)
|
||||
logging.debug("Found power devices: %s" % powerdevs)
|
||||
if powerdevs != False:
|
||||
self.printer.configure_power_devices(powerdevs['result'])
|
||||
self.panels['splash_screen'].show_restart_buttons()
|
||||
|
||||
if self._ws is not None:
|
||||
self._ws.close
|
||||
|
||||
self._ws = KlippyWebsocket(self,
|
||||
{
|
||||
"on_connect": self.init_printer,
|
||||
"on_message": self._websocket_callback,
|
||||
"on_close": self.printer_initializing
|
||||
},
|
||||
self._config.get_main_config_option("moonraker_host"),
|
||||
self._config.get_main_config_option("moonraker_port")
|
||||
data["moonraker_host"],
|
||||
data["moonraker_port"]
|
||||
)
|
||||
self._ws.initial_connect()
|
||||
|
||||
self.files = KlippyFiles(self)
|
||||
self.files.start()
|
||||
self._ws.initial_connect()
|
||||
self.connecting = False
|
||||
|
||||
self.connected_printer = name
|
||||
logger.debug("Connected to printer: %s" % name)
|
||||
logging.debug("Connected to printer: %s" % name)
|
||||
|
||||
def ws_subscribe(self):
|
||||
requested_updates = {
|
||||
"objects": {
|
||||
"bed_mesh": ["profile_name","mesh_max","mesh_min","probed_matrix"],
|
||||
"configfile": ["config"],
|
||||
"display_status": ["progress","message"],
|
||||
"fan": ["speed"],
|
||||
"gcode_move": ["extrude_factor","gcode_position","homing_origin","speed_factor"],
|
||||
"heater_bed": ["target","temperature"],
|
||||
"idle_timeout": ["state"],
|
||||
"pause_resume": ["is_paused"],
|
||||
"print_stats": ["print_duration","total_duration","filament_used","filename","state","message"],
|
||||
@@ -232,23 +247,25 @@ class KlipperScreen(Gtk.Window):
|
||||
}
|
||||
for extruder in self.printer.get_tools():
|
||||
requested_updates['objects'][extruder] = ["target","temperature","pressure_advance","smooth_time"]
|
||||
for h in self.printer.get_heaters():
|
||||
requested_updates['objects'][h] = ["target","temperature"]
|
||||
|
||||
self._ws.klippy.object_subscription(requested_updates)
|
||||
|
||||
def _load_panel(self, panel, *args):
|
||||
if not panel in self.load_panel:
|
||||
logger.debug("Loading panel: %s" % panel)
|
||||
logging.debug("Loading panel: %s" % panel)
|
||||
panel_path = os.path.join(os.path.dirname(__file__), 'panels', "%s.py" % panel)
|
||||
logger.info("Panel path: %s" % panel_path)
|
||||
logging.info("Panel path: %s" % panel_path)
|
||||
if not os.path.exists(panel_path):
|
||||
msg = f"Panel {panel} does not exist"
|
||||
logger.info(msg)
|
||||
logging.info(msg)
|
||||
raise Exception(msg)
|
||||
|
||||
module = importlib.import_module("panels.%s" % panel)
|
||||
if not hasattr(module, "create_panel"):
|
||||
msg = f"Cannot locate create_panel function for {panel}"
|
||||
logger.info(msg)
|
||||
logging.info(msg)
|
||||
raise Exception(msg)
|
||||
self.load_panel[panel] = getattr(module, "create_panel")
|
||||
|
||||
@@ -256,7 +273,7 @@ class KlipperScreen(Gtk.Window):
|
||||
return self.load_panel[panel](*args)
|
||||
except Exception:
|
||||
msg = f"Unable to create panel {panel}"
|
||||
logger.exception(msg)
|
||||
logging.exception(msg)
|
||||
raise Exception(msg)
|
||||
|
||||
def show_panel(self, panel_name, type, title, remove=None, pop=True, **kwargs):
|
||||
@@ -270,7 +287,7 @@ class KlipperScreen(Gtk.Window):
|
||||
self.panels[panel_name].initialize(panel_name)
|
||||
except:
|
||||
del self.panels[panel_name]
|
||||
logger.exception("Unable to load panel %s" % type)
|
||||
logging.exception("Unable to load panel %s" % type)
|
||||
self.show_error_modal("Unable to load panel %s" % type)
|
||||
return
|
||||
|
||||
@@ -283,19 +300,21 @@ class KlipperScreen(Gtk.Window):
|
||||
elif remove == 1:
|
||||
self._remove_current_panel(pop)
|
||||
|
||||
logger.debug("Attaching panel %s" % panel_name)
|
||||
logging.debug("Attaching panel %s" % panel_name)
|
||||
|
||||
self.add(self.panels[panel_name].get())
|
||||
self.show_all()
|
||||
|
||||
if hasattr(self.panels[panel_name],"process_update"):
|
||||
self.panels[panel_name].process_update("notify_status_update", self.printer.get_updates())
|
||||
if hasattr(self.panels[panel_name],"activate"):
|
||||
self.panels[panel_name].activate()
|
||||
self.show_all()
|
||||
except:
|
||||
logger.exception("Error attaching panel")
|
||||
logging.exception("Error attaching panel")
|
||||
|
||||
self._cur_panels.append(panel_name)
|
||||
logger.debug("Current panel hierarchy: %s", str(self._cur_panels))
|
||||
logging.debug("Current panel hierarchy: %s", str(self._cur_panels))
|
||||
|
||||
def show_popup_message(self, message):
|
||||
if self.popup_message != None:
|
||||
@@ -345,7 +364,7 @@ class KlipperScreen(Gtk.Window):
|
||||
|
||||
def show_error_modal(self, err):
|
||||
_ = self.lang.gettext
|
||||
logger.exception("Showing error modal: %s", err)
|
||||
logging.exception("Showing error modal: %s", err)
|
||||
|
||||
buttons = [
|
||||
{"name":_("Go Back"),"response": Gtk.ResponseType.CANCEL}
|
||||
@@ -366,9 +385,9 @@ class KlipperScreen(Gtk.Window):
|
||||
|
||||
def init_style(self):
|
||||
style_provider = Gtk.CssProvider()
|
||||
#style_provider.load_from_path(klipperscreendir + "/style.css")
|
||||
|
||||
css = open(klipperscreendir + "/styles/style.css")
|
||||
|
||||
css = open(klipperscreendir + "/styles/%s/style.css" % (self.theme))
|
||||
css_data = css.read()
|
||||
css.close()
|
||||
css_data = css_data.replace("KS_FONT_SIZE",str(self.gtk.get_font_size()))
|
||||
@@ -383,10 +402,10 @@ class KlipperScreen(Gtk.Window):
|
||||
)
|
||||
|
||||
def is_printing(self):
|
||||
return "job_status" in self._cur_panels
|
||||
return self.printer.get_state() == "printing"
|
||||
|
||||
def _go_to_submenu(self, widget, name):
|
||||
logger.info("#### Go to submenu " + str(name))
|
||||
logging.info("#### Go to submenu " + str(name))
|
||||
#self._remove_current_panel(False)
|
||||
|
||||
# Find current menu item
|
||||
@@ -398,11 +417,11 @@ class KlipperScreen(Gtk.Window):
|
||||
else:
|
||||
menu = "__print"
|
||||
|
||||
logger.info("#### Menu " + str(menu))
|
||||
logging.info("#### Menu " + str(menu))
|
||||
disname = self._config.get_menu_name(menu, name)
|
||||
menuitems = self._config.get_menu_items(menu, name)
|
||||
if len(menuitems) == 0:
|
||||
logger.info("No items in menu, returning.")
|
||||
logging.info("No items in menu, returning.")
|
||||
return
|
||||
|
||||
self.show_panel(self._cur_panels[-1] + '_' + name, "menu", disname, 1, False, display_name=disname,
|
||||
@@ -420,16 +439,19 @@ class KlipperScreen(Gtk.Window):
|
||||
self._cur_panels.pop()
|
||||
if len(self._cur_panels) > 0:
|
||||
self.add(self.panels[self._cur_panels[-1]].get())
|
||||
if hasattr(self.panels[self._cur_panels[-1]], "process_update"):
|
||||
self.panels[self._cur_panels[-1]].process_update("notify_status_update",
|
||||
self.printer.get_updates())
|
||||
if show == True:
|
||||
self.show_all()
|
||||
|
||||
def _menu_go_back (self, widget=None):
|
||||
logger.info("#### Menu go back")
|
||||
logging.info("#### Menu go back")
|
||||
self.remove_keyboard()
|
||||
self._remove_current_panel()
|
||||
|
||||
def _menu_go_home(self):
|
||||
logger.info("#### Menu go home")
|
||||
logging.info("#### Menu go home")
|
||||
self.remove_keyboard()
|
||||
while len(self._cur_panels) > 1:
|
||||
self._remove_current_panel()
|
||||
@@ -448,26 +470,59 @@ class KlipperScreen(Gtk.Window):
|
||||
self.subscriptions.pop(i)
|
||||
return
|
||||
|
||||
def check_dpms_state(self):
|
||||
state = functions.get_DPMS_state()
|
||||
if state == functions.DPMS_State.Off and "screensaver" not in self._cur_panels:
|
||||
logging.info("### Creating screensaver panel")
|
||||
self.show_panel("screensaver", "screensaver", "Screen Saver", 1, False)
|
||||
elif state == functions.DPMS_State.On and "screensaver" in self._cur_panels:
|
||||
logging.info("### Remove screensaver panel")
|
||||
self._menu_go_back()
|
||||
return True
|
||||
|
||||
def set_screenblanking_timeout(self, time):
|
||||
logger.debug("Changing screenblanking to: %s" % time)
|
||||
# Disable screen blanking
|
||||
os.system("xset -display :0 s off")
|
||||
os.system("xset -display :0 s noblank")
|
||||
|
||||
if functions.dpms_loaded == False:
|
||||
logging.info("DPMS functions not loaded. Unable to protect on button click when DPMS is enabled.")
|
||||
|
||||
|
||||
logging.debug("Changing power save to: %s" % time)
|
||||
if time == "off":
|
||||
os.system("/usr/bin/xset -display :0 s off")
|
||||
os.system("/usr/bin/xset -display :0 s noblank")
|
||||
if self.dpms_timeout != None:
|
||||
GLib.source_remove(self.dpms_timeout)
|
||||
self.dpms_timeout = None
|
||||
os.system("xset -display :0 -dpms")
|
||||
return
|
||||
|
||||
time = int(time)
|
||||
if time < 0:
|
||||
return
|
||||
os.system("xset -display :0 dpms 0 %s 0" % time)
|
||||
if self.dpms_timeout == None and functions.dpms_loaded == True:
|
||||
self.dpms_timeout = GLib.timeout_add(1000, self.check_dpms_state)
|
||||
|
||||
os.system("/usr/bin/xset -display :0 s on")
|
||||
os.system("/usr/bin/xset -display :0 s %s" % time)
|
||||
def show_printer_select(self, widget=None):
|
||||
logging.debug("Saving panel: %s" % self._cur_panels[0])
|
||||
self.printer_select_prepanel = self._cur_panels[0]
|
||||
self.show_panel("printer_select","printer_select","Printer Select", 2)
|
||||
|
||||
def state_disconnected(self):
|
||||
if "printer_select" in self._cur_panels:
|
||||
self.printer_select_callbacks = [self.state_disconnected]
|
||||
return
|
||||
|
||||
_ = self.lang.gettext
|
||||
logger.debug("### Going to disconnected")
|
||||
logging.debug("### Going to disconnected")
|
||||
self.printer_initializing(_("Klipper has disconnected"))
|
||||
|
||||
def state_error(self):
|
||||
if "printer_select" in self._cur_panels:
|
||||
self.printer_select_callbacks = [self.state_error]
|
||||
return
|
||||
|
||||
_ = self.lang.gettext
|
||||
msg = self.printer.get_stat("webhooks","state_message")
|
||||
if "FIRMWARE_RESTART" in msg:
|
||||
@@ -483,30 +538,54 @@ class KlipperScreen(Gtk.Window):
|
||||
_("Klipper has encountered an error.")
|
||||
)
|
||||
|
||||
def state_paused(self):
|
||||
if "job_status" not in self._cur_panels:
|
||||
self.printer_printing()
|
||||
|
||||
def state_printing(self):
|
||||
if "job_status" in self._cur_panels:
|
||||
if "printer_select" in self._cur_panels:
|
||||
self.printer_select_callbacks = [self.state_printing]
|
||||
return
|
||||
self.printer_printing()
|
||||
|
||||
if "job_status" not in self._cur_panels:
|
||||
self.printer_printing()
|
||||
else:
|
||||
self.panels["job_status"].new_print()
|
||||
|
||||
def state_ready(self):
|
||||
if "printer_select" in self._cur_panels:
|
||||
self.printer_select_callbacks = [self.state_ready]
|
||||
return
|
||||
|
||||
# Do not return to main menu if completing a job, timeouts/user input will return
|
||||
if "job_status" in self._cur_panels or "main_menu" in self._cur_panels:
|
||||
return
|
||||
self.printer_ready()
|
||||
|
||||
def state_startup(self):
|
||||
if "printer_select" in self._cur_panels:
|
||||
self.printer_select_callbacks = [self.state_startup]
|
||||
return
|
||||
|
||||
_ = self.lang.gettext
|
||||
self.printer_initializing(_("Klipper is attempting to start"))
|
||||
|
||||
def state_shutdown(self):
|
||||
if "printer_select" in self._cur_panels:
|
||||
self.printer_select_callbacks = [self.state_shutdown]
|
||||
return
|
||||
|
||||
_ = self.lang.gettext
|
||||
self.printer_initializing(_("Klipper has shutdown"))
|
||||
|
||||
def _websocket_callback(self, action, data):
|
||||
_ = self.lang.gettext
|
||||
|
||||
if self.connecting == True:
|
||||
return
|
||||
|
||||
if action == "notify_klippy_disconnected":
|
||||
logger.debug("Received notify_klippy_disconnected")
|
||||
logging.debug("Received notify_klippy_disconnected")
|
||||
self.printer.change_state("disconnected")
|
||||
return
|
||||
elif action == "notify_klippy_ready":
|
||||
@@ -514,26 +593,27 @@ class KlipperScreen(Gtk.Window):
|
||||
elif action == "notify_status_update" and self.printer.get_state() != "shutdown":
|
||||
self.printer.process_update(data)
|
||||
elif action == "notify_filelist_changed":
|
||||
logger.debug("Filelist changed: %s", json.dumps(data,indent=2))
|
||||
#self.files.add_file()
|
||||
logging.debug("Filelist changed: %s", json.dumps(data,indent=2))
|
||||
if self.files != None:
|
||||
self.files.process_update(data)
|
||||
elif action == "notify_metadata_update":
|
||||
self.files.request_metadata(data['filename'])
|
||||
elif action == "notify_power_changed":
|
||||
logger.debug("Power status changed: %s", data)
|
||||
logging.debug("Power status changed: %s", data)
|
||||
self.printer.process_power_update(data)
|
||||
elif self.printer.get_state() not in ["error","shutdown"] and action == "notify_gcode_response":
|
||||
if "Klipper state: Shutdown" in data:
|
||||
logger.debug("Shutdown in gcode response, changing state to shutdown")
|
||||
logging.debug("Shutdown in gcode response, changing state to shutdown")
|
||||
self.printer.change_state("shutdown")
|
||||
|
||||
if not (data.startswith("B:") and
|
||||
re.search(r'B:[0-9\.]+\s/[0-9\.]+\sT[0-9]+:[0-9\.]+', data)):
|
||||
if data.startswith("!! "):
|
||||
self.show_popup_message(data[3:])
|
||||
logger.debug(json.dumps([action, data], indent=2))
|
||||
logging.debug(json.dumps([action, data], indent=2))
|
||||
|
||||
for sub in self.subscriptions:
|
||||
self.panels[sub].process_update(action, data)
|
||||
if self._cur_panels[-1] in self.subscriptions:
|
||||
self.panels[self._cur_panels[-1]].process_update(action, data)
|
||||
|
||||
def _confirm_send_action(self, widget, text, method, params={}):
|
||||
_ = self.lang.gettext
|
||||
@@ -549,7 +629,7 @@ class KlipperScreen(Gtk.Window):
|
||||
j2_temp = env.from_string(text)
|
||||
text = j2_temp.render()
|
||||
except:
|
||||
logger.debug("Error parsing jinja for confirm_send_action")
|
||||
logging.debug("Error parsing jinja for confirm_send_action")
|
||||
|
||||
label = Gtk.Label()
|
||||
label.set_markup(text)
|
||||
@@ -581,7 +661,13 @@ class KlipperScreen(Gtk.Window):
|
||||
_ = self.lang.gettext
|
||||
|
||||
printer_info = self.apiclient.get_printer_info()
|
||||
if printer_info == False:
|
||||
logging.info("Unable to get printer info from moonraker")
|
||||
return False
|
||||
data = self.apiclient.send_request("printer/objects/query?" + "&".join(PRINTER_BASE_STATUS_OBJECTS))
|
||||
if data == False:
|
||||
logging.info("Error getting printer object data")
|
||||
return False
|
||||
powerdevs = self.apiclient.send_request("machine/device_power/devices")
|
||||
data = data['result']['status']
|
||||
|
||||
@@ -589,14 +675,18 @@ class KlipperScreen(Gtk.Window):
|
||||
self.printer.reinit(printer_info['result'], data)
|
||||
self.ws_subscribe()
|
||||
|
||||
self.files.initialize()
|
||||
self.files.refresh_files()
|
||||
|
||||
if powerdevs != False:
|
||||
self.printer.configure_power_devices(powerdevs['result'])
|
||||
|
||||
def printer_ready(self):
|
||||
_ = self.lang.gettext
|
||||
self.close_popup_message()
|
||||
# Force update to printer webhooks state in case the update is missed due to websocket subscribe not yet sent
|
||||
self.printer.process_update({"webhooks":{"state":"ready","state_message": "Printer is ready"}})
|
||||
self.show_panel('main_panel', "main_menu", self.connected_printer, 2,
|
||||
self.show_panel('main_panel', "main_menu", _("Home"), 2,
|
||||
items=self._config.get_menu_items("__main"), extrudercount=self.printer.get_extruder_count())
|
||||
self.ws_subscribe()
|
||||
if "job_status" in self.panels:
|
||||
@@ -618,8 +708,8 @@ class KlipperScreen(Gtk.Window):
|
||||
stderr=subprocess.PIPE, env=env)
|
||||
#p = subprocess.Popen(["onboard", "--xid"], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
xid = int(p.stdout.readline())
|
||||
logger.debug("XID %s" % xid)
|
||||
logger.debug("PID %s" % p.pid)
|
||||
logging.debug("XID %s" % xid)
|
||||
logging.debug("PID %s" % p.pid)
|
||||
keyboard = Gtk.Socket()
|
||||
#keyboard.connect("plug-added", self.plug_added)
|
||||
|
||||
@@ -653,27 +743,31 @@ class KlipperScreen(Gtk.Window):
|
||||
os.kill(self.keyboard['process'].pid, signal.SIGTERM)
|
||||
self.keyboard = None
|
||||
|
||||
def get_software_version():
|
||||
prog = ('git', '-C', os.path.dirname(__file__), 'describe', '--always',
|
||||
'--tags', '--long', '--dirty')
|
||||
try:
|
||||
process = subprocess.Popen(prog, stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
ver, err = process.communicate()
|
||||
retcode = process.wait()
|
||||
if retcode == 0:
|
||||
version = ver.strip()
|
||||
if isinstance(version, bytes):
|
||||
version = version.decode()
|
||||
return version
|
||||
else:
|
||||
logger.debug(f"Error getting git version: {err}")
|
||||
except OSError:
|
||||
logger.exception("Error runing git describe")
|
||||
return "?"
|
||||
|
||||
def main():
|
||||
win = KlipperScreen()
|
||||
|
||||
version = functions.get_software_version()
|
||||
parser = argparse.ArgumentParser(description="KlipperScreen - A GUI for Klipper")
|
||||
parser.add_argument(
|
||||
"-c","--configfile", default="~/KlipperScreen.conf", metavar='<configfile>',
|
||||
help="Location of KlipperScreen configuration file"
|
||||
)
|
||||
parser.add_argument(
|
||||
"-l","--logfile", default="/tmp/KlipperScreen.log", metavar='<logfile>',
|
||||
help="Location of KlipperScreen logfile output"
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
functions.setup_logging(
|
||||
os.path.normpath(os.path.expanduser(args.logfile)),
|
||||
version
|
||||
)
|
||||
|
||||
functions.patch_threading_excepthook()
|
||||
|
||||
logging.info("KlipperScreen version: %s" % version)
|
||||
|
||||
|
||||
win = KlipperScreen(args, version)
|
||||
win.connect("destroy", Gtk.main_quit)
|
||||
win.show_all()
|
||||
Gtk.main()
|
||||
@@ -683,4 +777,4 @@ if __name__ == "__main__":
|
||||
try:
|
||||
main()
|
||||
except:
|
||||
logger.exception("Fatal error in main loop")
|
||||
logging.exception("Fatal error in main loop")
|
||||
@@ -4,24 +4,17 @@ SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
KSPATH=$(sed 's/\/scripts//g' <<< $SCRIPTPATH)
|
||||
KSENV="${HOME}/.KlipperScreen-env"
|
||||
|
||||
PKGLIST="xserver-xorg-video-fbturbo xdotool xinit xinput x11-xserver-utils python3-distutils python3-gi"
|
||||
PKGLIST="${PKGLIST} python3-gi-cairo python3-virtualenv gir1.2-gtk-3.0 virtualenv matchbox-keyboard wireless-tools"
|
||||
PKGLIST="${PKGLIST} libatlas-base-dev"
|
||||
|
||||
install_packages()
|
||||
{
|
||||
echo "Update package data"
|
||||
sudo apt update
|
||||
|
||||
echo "Installing package dependencies"
|
||||
sudo apt install -y \
|
||||
xserver-xorg-video-fbturbo \
|
||||
xinit \
|
||||
xinput \
|
||||
x11-xserver-utils \
|
||||
python3-distutils \
|
||||
python3-gi \
|
||||
python3-gi-cairo \
|
||||
python3-virtualenv \
|
||||
gir1.2-gtk-3.0 \
|
||||
virtualenv \
|
||||
matchbox-keyboard
|
||||
sudo apt install -y $PKGLIST
|
||||
}
|
||||
|
||||
create_virtualenv()
|
||||
@@ -30,12 +23,16 @@ create_virtualenv()
|
||||
[ ! -d ${KSENV} ] && virtualenv -p /usr/bin/python3 ${KSENV}
|
||||
|
||||
${KSENV}/bin/pip install -r ${KSPATH}/scripts/KlipperScreen-requirements.txt
|
||||
${KSENV}/bin/pip install --no-binary ":all" "vext.gi==0.7.4"
|
||||
${KSENV}/bin/pip install --no-binary :all: "vext.gi==0.7.4"
|
||||
${KSENV}/bin/vext -e
|
||||
}
|
||||
|
||||
install_systemd_service()
|
||||
{
|
||||
if [ -f "/etc/systemd/system/KlipperScreen.service" ]; then
|
||||
echo "KlipperScreen unit file already installed"
|
||||
return
|
||||
fi
|
||||
echo "Installing KlipperScreen unit file"
|
||||
|
||||
SERVICE=$(<$SCRIPTPATH/KlipperScreen.service)
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
humanize==3.5.0
|
||||
jinja2==2.11.3
|
||||
matplotlib==3.4.1
|
||||
netifaces==0.10.9
|
||||
requests==2.25.1
|
||||
vext==0.7.4
|
||||
websocket-client==0.57.0
|
||||
humanize==3.2.0
|
||||
jinja2==2.11.2
|
||||
vext==0.7.6
|
||||
websocket-client==0.59.0
|
||||
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
IMGDIR=$SCRIPTPATH/../docs/img
|
||||
|
||||
for file in $IMGDIR/*
|
||||
do
|
||||
res=$(identify $file | cut -d ' ' -f 3)
|
||||
if [ "$res" != "1532x898" ]; then
|
||||
echo "Converting $file"
|
||||
convert $file -crop 1532x898+2+48 $file
|
||||
fi
|
||||
done
|
||||
@@ -0,0 +1,178 @@
|
||||
#!/bin/bash
|
||||
|
||||
# KlipperScreen sudo fix. Modified from moonraker-sudo
|
||||
|
||||
# moonraker-sudo (mnrkrsudo)
|
||||
# Provides a specified Group that is intended to elevate user privileges
|
||||
# to help moonraker with sudo actions, if in CustomPIOS Images with
|
||||
# Module "password-for-sudo".
|
||||
#
|
||||
# Partially used functions from Arcsine
|
||||
#
|
||||
# Copyright (C) 2020 Stephan Wendel <me@stephanwe.de>
|
||||
#
|
||||
# This file may be distributed under the terms of the GNU GPLv3 license
|
||||
|
||||
### Exit on Errors
|
||||
set -e
|
||||
|
||||
### Configuration
|
||||
|
||||
SUDOERS_DIR='/etc/sudoers.d'
|
||||
SUDOERS_FILE='021-sudo-for-klipperscreen'
|
||||
NEW_GROUP='klipperscreensudo'
|
||||
|
||||
|
||||
### Functions
|
||||
|
||||
verify_ready()
|
||||
{
|
||||
if [ "$EUID" -eq 0 ]; then
|
||||
echo "This script must not run as root"
|
||||
exit -1
|
||||
fi
|
||||
}
|
||||
|
||||
create_sudoers_file()
|
||||
{
|
||||
|
||||
SCRIPT_TEMP_PATH=/tmp
|
||||
|
||||
report_status "Creating ${SUDOERS_FILE} ..."
|
||||
sudo rm -f $SCRIPT_TEMP_PATH/$SUDOERS_FILE
|
||||
sudo sed "s/GROUPNAME/$NEW_GROUP/g" > $SCRIPT_TEMP_PATH/$SUDOERS_FILE << '#EOF'
|
||||
### Elevate moonraker API rights
|
||||
### Do NOT allow Command Parts only Full Commands
|
||||
### for example
|
||||
###
|
||||
### /sbin/systemctl "reboot", /sbin/apt "update", .....
|
||||
Cmnd_Alias IWLIST = /sbin/iwlist wlan[0-9] scan
|
||||
Cmnd_Alias IWCONFIG = /sbin/iwconfig wlan[0-9]
|
||||
Cmnd_Alias SYSTEMCTL_KS_RESTART = /bin/systemctl restart KlipperScreen
|
||||
|
||||
%GROUPNAME ALL=(ALL) NOPASSWD: IWCONFGI, IWLIST, SYSTEMCTL_KS_RESTART
|
||||
#EOF
|
||||
|
||||
report_status "\e[1;32m...done\e[0m"
|
||||
}
|
||||
|
||||
update_env()
|
||||
{
|
||||
report_status "Export System Variable: DEBIAN_FRONTEND=noninteractive"
|
||||
sudo /bin/sh -c 'echo "DEBIAN_FRONTEND=noninteractive" >> /etc/environment'
|
||||
}
|
||||
|
||||
verify_syntax()
|
||||
{
|
||||
report_status "\e[1;33mVerifying Syntax of ${SUDOERS_FILE}\e[0m\n"
|
||||
|
||||
if [ $(LANG=C visudo -cf $SCRIPT_TEMP_PATH/$SUDOERS_FILE | grep -c "OK" ) -eq 1 ];
|
||||
then
|
||||
VERIFY_STATUS=0
|
||||
report_status "\e[1;32m$(LANG=C visudo -cf $SCRIPT_TEMP_PATH/$SUDOERS_FILE)\e[0m"
|
||||
else
|
||||
report_status "\e[1;31mSyntax Error:\e[0m Check File: $SCRIPT_TEMP_PATH/$SUDOERS_FILE"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
install_sudoers_file()
|
||||
{
|
||||
verify_syntax
|
||||
if [ $VERIFY_STATUS -eq 0 ];
|
||||
then
|
||||
report_status "Copying $SCRIPT_TEMP_PATH/$SUDOERS_FILE to $SUDOERS_DIR/$SUDOERS_FILE"
|
||||
sudo chmod 0440 $SCRIPT_TEMP_PATH/$SUDOERS_FILE
|
||||
sudo cp --preserve=mode $SCRIPT_TEMP_PATH/$SUDOERS_FILE $SUDOERS_DIR/$SUDOERS_FILE
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
check_update_sudoers_file()
|
||||
{
|
||||
if [ -e "$SUDOERS_DIR/$SUDOERS_FILE" ];
|
||||
then
|
||||
create_sudoers_file
|
||||
if [ -z $(sudo diff $SCRIPT_TEMP_PATH/$SUDOERS_FILE $SUDOERS_DIR/$SUDOERS_FILE) ]
|
||||
then
|
||||
report_status "No need to update $SUDOERS_DIR/$SUDOERS_FILE"
|
||||
else
|
||||
report_status "$SUDOERS_DIR/$SUDOERS_FILE needs to be updated."
|
||||
install_sudoers_file
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
add_new_group()
|
||||
{
|
||||
sudo addgroup --system $NEW_GROUP &> /dev/null
|
||||
report_status "\e[1;32m...done\e[0m"
|
||||
}
|
||||
|
||||
add_user_to_group()
|
||||
{
|
||||
sudo usermod -aG $NEW_GROUP $USER &> /dev/null
|
||||
report_status "\e[1;32m...done\e[0m"
|
||||
}
|
||||
|
||||
adduser_hint()
|
||||
{
|
||||
report_status "\e[1;31mYou have to REBOOT to take changes effect!\e[0m"
|
||||
}
|
||||
|
||||
# Helper functions
|
||||
report_status()
|
||||
{
|
||||
echo -e "\n\n###### $1"
|
||||
}
|
||||
|
||||
clean_temp()
|
||||
{
|
||||
sudo rm -f $SCRIPT_TEMP_PATH/$SUDOERS_FILE
|
||||
}
|
||||
### Main
|
||||
|
||||
verify_ready
|
||||
|
||||
if [ -e "$SUDOERS_DIR/$SUDOERS_FILE" ] && [ $(sudo cat /etc/gshadow | grep -c "${NEW_GROUP}") -eq 1 ] && [ $(groups | grep -c "$NEW_GROUP") -eq 1 ];
|
||||
then
|
||||
check_update_sudoers_file
|
||||
report_status "\e[1;32mEverything is setup, nothing to do...\e[0m\n"
|
||||
exit 0
|
||||
|
||||
else
|
||||
|
||||
if [ -e "$SUDOERS_DIR/$SUDOERS_FILE" ];
|
||||
then
|
||||
report_status "\e[1;32mFile exists:\e[0m ${SUDOERS_FILE}"
|
||||
check_update_sudoers_file
|
||||
else
|
||||
report_status "\e[1;31mFile not found:\e[0m ${SUDOERS_FILE}\n"
|
||||
create_sudoers_file
|
||||
install_sudoers_file
|
||||
fi
|
||||
|
||||
if [ $(sudo cat /etc/gshadow | grep -c "${NEW_GROUP}") -eq 1 ];
|
||||
then
|
||||
report_status "Group ${NEW_GROUP} already exists..."
|
||||
else
|
||||
report_status "Group ${NEW_GROUP} will be added..."
|
||||
add_new_group
|
||||
fi
|
||||
|
||||
if [ $(groups | grep -c "$NEW_GROUP") -eq 1 ];
|
||||
then
|
||||
report_status "User ${USER} is already in $NEW_GROUP..."
|
||||
else
|
||||
report_status "Adding User ${USER} to Group $NEW_GROUP..."
|
||||
add_user_to_group
|
||||
adduser_hint
|
||||
fi
|
||||
fi
|
||||
|
||||
update_env
|
||||
clean_temp
|
||||
exit 0
|
||||
@@ -1,4 +1,4 @@
|
||||
xgettext --keyword=_ --language=Python --add-comments --sort-output \
|
||||
xgettext --keyword=_ --language=Python --no-location --sort-output \
|
||||
-o ks_includes/locales/KlipperScreen.pot \
|
||||
*.py \
|
||||
ks_includes/*.py \
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 63.999997 64"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="arrow-down.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.4010512"
|
||||
inkscape:cx="31.760514"
|
||||
inkscape:cy="33.021137"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer2"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid832" />
|
||||
</sodipodi:namedview>
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer2"
|
||||
style="display:inline;stroke:none"
|
||||
transform="translate(-3.5328446,2.2636422)">
|
||||
<path
|
||||
id="rect852"
|
||||
style="opacity:0.998;fill:#fdf6e3;stroke:none;stroke-width:1.99999;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;font-variation-settings:normal;vector-effect:none;fill-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stop-color:#000000;stop-opacity:1"
|
||||
d="m 48.844942,33.511174 c 0,0.511239 -0.196153,1.022326 -0.58789,1.414063 l -8.486328,8.484375 -2.828126,2.830078 c -0.783474,0.783474 -2.04465,0.783474 -2.828124,0 L 31.286348,43.409612 22.80002,34.925237 c -0.783474,-0.783474 -0.783474,-2.044651 0,-2.828125 l 2.828125,-2.828125 c 0.783475,-0.783474 2.046604,-0.783474 2.830079,0 l 2.070312,2.070312 V 14.653752 c 0,-1.107999 0.892,-2 2,-2 h 6 c 1.108,10e-7 2,0.892002 2,2 v 16.685547 l 2.070312,-2.070312 c 0.783475,-0.783474 2.046604,-0.783474 2.830079,0 l 2.828125,2.828126 c 0.391737,0.391737 0.58789,0.902824 0.58789,1.414061 z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 63.999997 64"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="arrow-left.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.4010512"
|
||||
inkscape:cx="31.760514"
|
||||
inkscape:cy="33.021137"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer2"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid832" />
|
||||
</sodipodi:namedview>
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer2"
|
||||
style="display:inline;stroke:none"
|
||||
transform="translate(-3.5328446,2.2636422)">
|
||||
<path
|
||||
id="rect852"
|
||||
style="opacity:0.998;fill:#fdf6e3;stroke:none;stroke-width:1.99999;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;font-variation-settings:normal;vector-effect:none;fill-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stop-color:#000000;stop-opacity:1"
|
||||
d="m 31.758028,16.42426 c -0.511239,0 -1.022326,0.196153 -1.414063,0.58789 l -8.484375,8.486328 -2.830078,2.828126 c -0.783474,0.783474 -0.783474,2.04465 0,2.828124 l 2.830078,2.828126 8.484375,8.486328 c 0.783474,0.783474 2.044651,0.783474 2.828125,0 l 2.828125,-2.828125 c 0.783474,-0.783475 0.783474,-2.046604 0,-2.830079 L 33.929903,34.740666 H 50.61545 c 1.108,0 2,-0.892 2,-2 v -6 c -1e-6,-1.108 -0.892001,-2 -2,-2 H 33.929903 l 2.070312,-2.070312 c 0.783474,-0.783475 0.783474,-2.046604 0,-2.830079 L 33.17209,17.01215 c -0.391737,-0.391737 -0.902824,-0.58789 -1.414062,-0.58789 z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 63.999997 64"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="arrow-right.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.4010512"
|
||||
inkscape:cx="31.760514"
|
||||
inkscape:cy="33.021137"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer2"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid832" />
|
||||
</sodipodi:namedview>
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer2"
|
||||
style="display:inline;stroke:none"
|
||||
transform="translate(-3.5328446,2.2636422)">
|
||||
<path
|
||||
id="rect852"
|
||||
style="opacity:0.998;fill:#fdf6e3;stroke:none;stroke-width:1.99999;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;font-variation-settings:normal;vector-effect:none;fill-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stop-color:#000000;stop-opacity:1"
|
||||
d="m 39.307661,16.42426 c 0.511239,0 1.022326,0.196153 1.414063,0.58789 l 8.484375,8.486328 2.830078,2.828126 c 0.783474,0.783474 0.783474,2.04465 0,2.828124 l -2.830078,2.828126 -8.484375,8.486328 c -0.783474,0.783474 -2.044651,0.783474 -2.828125,0 l -2.828125,-2.828125 c -0.783474,-0.783475 -0.783474,-2.046604 0,-2.830079 l 2.070312,-2.070312 H 20.450239 c -1.108,0 -2,-0.892 -2,-2 v -6 c 1e-6,-1.108 0.892001,-2 2,-2 h 16.685547 l -2.070312,-2.070312 c -0.783474,-0.783475 -0.783474,-2.046604 0,-2.830079 l 2.828125,-2.828125 c 0.391737,-0.391737 0.902824,-0.58789 1.414062,-0.58789 z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 63.999997 64"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="arrow-up.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.4010512"
|
||||
inkscape:cx="31.760514"
|
||||
inkscape:cy="33.021137"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer2"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid832" />
|
||||
</sodipodi:namedview>
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer2"
|
||||
style="display:inline;stroke:none"
|
||||
transform="translate(-3.5328446,2.2636422)">
|
||||
<path
|
||||
id="rect852"
|
||||
style="opacity:0.998;fill:#fdf6e3;stroke:none;stroke-width:1.99999;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1;font-variation-settings:normal;vector-effect:none;fill-opacity:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stop-color:#000000;stop-opacity:1"
|
||||
d="m 22.220747,25.961541 c 0,-0.511239 0.196153,-1.022326 0.58789,-1.414063 l 8.486328,-8.484375 2.828126,-2.830078 c 0.783474,-0.783474 2.04465,-0.783474 2.828124,0 l 2.828126,2.830078 8.486328,8.484375 c 0.783474,0.783474 0.783474,2.044651 0,2.828125 l -2.828125,2.828125 c -0.783475,0.783474 -2.046604,0.783474 -2.830079,0 l -2.070312,-2.070312 v 16.685547 c 0,1.108 -0.892,2 -2,2 h -6 c -1.108,-10e-7 -2,-0.892001 -2,-2 V 28.133416 l -2.070312,2.070312 c -0.783475,0.783474 -2.046604,0.783474 -2.830079,0 l -2.828125,-2.828125 c -0.391737,-0.391737 -0.58789,-0.902824 -0.58789,-1.414062 z" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 63.999997 64"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="back.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#bfbfbf"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.4010512"
|
||||
inkscape:cx="31.760514"
|
||||
inkscape:cy="31.11819"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="g861"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid832" />
|
||||
</sodipodi:namedview>
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer2"
|
||||
style="display:inline;stroke:none"
|
||||
transform="translate(-3.5328446,2.2636422)">
|
||||
<g
|
||||
id="g861"
|
||||
transform="matrix(1.5,0,0,1.5,-11.429726,-11.868178)"
|
||||
style="fill:#eee8d5;stroke-width:0.666667">
|
||||
<rect
|
||||
style="opacity:0.998;fill:#eee8d5;stroke-width:1.33333;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="rect854"
|
||||
width="20"
|
||||
height="8"
|
||||
x="-4.4741983"
|
||||
y="34.750935"
|
||||
rx="1.3333334"
|
||||
ry="1.3333334"
|
||||
transform="rotate(-45)" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#eee8d5;stroke-width:1.33333;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="rect856"
|
||||
width="20"
|
||||
height="8"
|
||||
x="34.750935"
|
||||
y="-4.4741983"
|
||||
rx="1.3333334"
|
||||
ry="1.3333334"
|
||||
transform="matrix(0.70710678,0.70710678,0.70710678,-0.70710678,0,0)" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,90 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 63.999997 64"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="backspace.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview8"
|
||||
showgrid="true"
|
||||
inkscape:zoom="5.2333335"
|
||||
inkscape:cx="18.847826"
|
||||
inkscape:cy="23.569119"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer2"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid832" />
|
||||
</sodipodi:namedview>
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer2"
|
||||
style="display:inline;stroke:none"
|
||||
transform="translate(-3.5328446,2.2636422)">
|
||||
<g
|
||||
id="g837"
|
||||
transform="translate(2.0000002,2)">
|
||||
<path
|
||||
id="rect838"
|
||||
style="opacity:0.998;fill:#fdf6e3;fill-opacity:1;stroke:#fdf6e3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 8.532829,27.736358 16,19 h 34 V 8.7363577 h -34 z"
|
||||
sodipodi:nodetypes="cccccc" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#073642;stroke-width:1.99999;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="rect852"
|
||||
width="30"
|
||||
height="10"
|
||||
x="-8.0728378"
|
||||
y="41.152298"
|
||||
rx="2"
|
||||
ry="2"
|
||||
transform="rotate(-45)" />
|
||||
<rect
|
||||
style="display:inline;opacity:0.998;fill:#073642;stroke:none;stroke-width:1.99999;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="rect852-6"
|
||||
width="30"
|
||||
height="10"
|
||||
x="-61.152298"
|
||||
y="-11.92716"
|
||||
rx="2"
|
||||
ry="2"
|
||||
transform="matrix(-0.70710678,-0.70710678,-0.70710678,0.70710678,0,0)" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.7 KiB |
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg17"
|
||||
sodipodi:docname="bed-level-b-l.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<metadata
|
||||
id="metadata23">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>bed-level-b-l</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs21" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#bfbfbf"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview19"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="6.4410258"
|
||||
inkscape:cx="32.901639"
|
||||
inkscape:cy="34.055387"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg17"
|
||||
inkscape:document-rotation="0" />
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<title
|
||||
id="title2">bed-level-b-l</title>
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<g
|
||||
id="g886"
|
||||
transform="translate(-6.5619787,-0.3922527)">
|
||||
<g
|
||||
id="Oval"
|
||||
style="opacity:1;stroke:none;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#fdf6e3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 32.253906,35.222656 c -3.215114,6e-5 -5.821627,2.648543 -5.822265,5.916016 -4.23e-4,3.268236 2.606401,5.917909 5.822265,5.917969 3.215865,-5.9e-5 5.822689,-2.649733 5.822266,-5.917969 -6.38e-4,-3.267474 -2.607152,-5.915957 -5.822266,-5.916016 z"
|
||||
id="path872" />
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#fdf6e3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 32.253906,33.222656 c -4.313438,8e-5 -7.821419,3.585136 -7.822265,7.916016 -5.61e-4,4.331872 3.50784,7.917888 7.822265,7.917969 4.314427,-8e-5 7.822826,-3.586097 7.822266,-7.917969 -8.46e-4,-4.33088 -3.508827,-7.915936 -7.822266,-7.916016 z m 0,4 c 2.11679,3.9e-5 3.821835,1.711949 3.822266,3.916016 2.85e-4,2.2046 -1.704962,3.91793 -3.822266,3.917969 -2.117303,-4e-5 -3.822551,-1.713369 -3.822265,-3.917969 4.3e-4,-2.204067 1.705476,-3.915976 3.822265,-3.916016 z"
|
||||
id="path874" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;stroke:#fdf6e3;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 61.194389,55.061809 45.78223,55.235844 39.103627,61.32707 H 16.670372 L 16.499126,27.216205 26.431407,16.077963 V 3.0253363"
|
||||
id="path877" />
|
||||
<path
|
||||
style="fill:none;stroke:#fdf6e3;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 47.494692,2.8513013 61.194389,16.948138"
|
||||
id="path879"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.0 KiB |
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg17"
|
||||
sodipodi:docname="bed-level-b-r.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<metadata
|
||||
id="metadata23">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>bed-level-b-l</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs21" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#bfbfbf"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview19"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="6.4410258"
|
||||
inkscape:cx="32.901639"
|
||||
inkscape:cy="34.055387"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg17"
|
||||
inkscape:document-rotation="0" />
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<title
|
||||
id="title2">bed-level-b-l</title>
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<g
|
||||
id="g886"
|
||||
transform="matrix(-1,0,0,1,70.561979,-0.3922527)">
|
||||
<g
|
||||
id="Oval"
|
||||
style="opacity:1;stroke:none;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#fdf6e3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 32.253906,35.222656 c -3.215114,6e-5 -5.821627,2.648543 -5.822265,5.916016 -4.23e-4,3.268236 2.606401,5.917909 5.822265,5.917969 3.215865,-5.9e-5 5.822689,-2.649733 5.822266,-5.917969 -6.38e-4,-3.267474 -2.607152,-5.915957 -5.822266,-5.916016 z"
|
||||
id="path872" />
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#fdf6e3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 32.253906,33.222656 c -4.313438,8e-5 -7.821419,3.585136 -7.822265,7.916016 -5.61e-4,4.331872 3.50784,7.917888 7.822265,7.917969 4.314427,-8e-5 7.822826,-3.586097 7.822266,-7.917969 -8.46e-4,-4.33088 -3.508827,-7.915936 -7.822266,-7.916016 z m 0,4 c 2.11679,3.9e-5 3.821835,1.711949 3.822266,3.916016 2.85e-4,2.2046 -1.704962,3.91793 -3.822266,3.917969 -2.117303,-4e-5 -3.822551,-1.713369 -3.822265,-3.917969 4.3e-4,-2.204067 1.705476,-3.915976 3.822265,-3.916016 z"
|
||||
id="path874" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;stroke:#fdf6e3;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 61.194389,55.061809 45.78223,55.235844 39.103627,61.32707 H 16.670372 L 16.499126,27.216205 26.431407,16.077963 V 3.0253363"
|
||||
id="path877" />
|
||||
<path
|
||||
style="fill:none;stroke:#fdf6e3;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 47.494692,2.8513013 61.194389,16.948138"
|
||||
id="path879"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.0 KiB |
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg17"
|
||||
sodipodi:docname="bed-level-t-l.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<metadata
|
||||
id="metadata23">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>bed-level-b-l</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs21" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#bfbfbf"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview19"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="6.4410258"
|
||||
inkscape:cx="32.901639"
|
||||
inkscape:cy="34.055387"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg17"
|
||||
inkscape:document-rotation="0" />
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<title
|
||||
id="title2">bed-level-b-l</title>
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<g
|
||||
id="g886"
|
||||
transform="matrix(1,0,0,-1,-6.5619794,64.392252)">
|
||||
<g
|
||||
id="Oval"
|
||||
style="opacity:1;stroke:none;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#fdf6e3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 32.253906,35.222656 c -3.215114,6e-5 -5.821627,2.648543 -5.822265,5.916016 -4.23e-4,3.268236 2.606401,5.917909 5.822265,5.917969 3.215865,-5.9e-5 5.822689,-2.649733 5.822266,-5.917969 -6.38e-4,-3.267474 -2.607152,-5.915957 -5.822266,-5.916016 z"
|
||||
id="path872" />
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#fdf6e3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 32.253906,33.222656 c -4.313438,8e-5 -7.821419,3.585136 -7.822265,7.916016 -5.61e-4,4.331872 3.50784,7.917888 7.822265,7.917969 4.314427,-8e-5 7.822826,-3.586097 7.822266,-7.917969 -8.46e-4,-4.33088 -3.508827,-7.915936 -7.822266,-7.916016 z m 0,4 c 2.11679,3.9e-5 3.821835,1.711949 3.822266,3.916016 2.85e-4,2.2046 -1.704962,3.91793 -3.822266,3.917969 -2.117303,-4e-5 -3.822551,-1.713369 -3.822265,-3.917969 4.3e-4,-2.204067 1.705476,-3.915976 3.822265,-3.916016 z"
|
||||
id="path874" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;stroke:#fdf6e3;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 61.194389,55.061809 45.78223,55.235844 39.103627,61.32707 H 16.670372 L 16.499126,27.216205 26.431407,16.077963 V 3.0253363"
|
||||
id="path877" />
|
||||
<path
|
||||
style="fill:none;stroke:#fdf6e3;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 47.494692,2.8513013 61.194389,16.948138"
|
||||
id="path879"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.0 KiB |
@@ -0,0 +1,83 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg17"
|
||||
sodipodi:docname="bed-level-t-r.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<metadata
|
||||
id="metadata23">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>bed-level-b-l</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs21" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#bfbfbf"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview19"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:zoom="6.4410258"
|
||||
inkscape:cx="32.901639"
|
||||
inkscape:cy="34.055387"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg17"
|
||||
inkscape:document-rotation="0" />
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<title
|
||||
id="title2">bed-level-b-l</title>
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<g
|
||||
id="g886"
|
||||
transform="rotate(180,35.280989,32.196126)">
|
||||
<g
|
||||
id="Oval"
|
||||
style="opacity:1;stroke:none;stroke-width:4;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#fdf6e3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 32.253906,35.222656 c -3.215114,6e-5 -5.821627,2.648543 -5.822265,5.916016 -4.23e-4,3.268236 2.606401,5.917909 5.822265,5.917969 3.215865,-5.9e-5 5.822689,-2.649733 5.822266,-5.917969 -6.38e-4,-3.267474 -2.607152,-5.915957 -5.822266,-5.916016 z"
|
||||
id="path872" />
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#fdf6e3;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 32.253906,33.222656 c -4.313438,8e-5 -7.821419,3.585136 -7.822265,7.916016 -5.61e-4,4.331872 3.50784,7.917888 7.822265,7.917969 4.314427,-8e-5 7.822826,-3.586097 7.822266,-7.917969 -8.46e-4,-4.33088 -3.508827,-7.915936 -7.822266,-7.916016 z m 0,4 c 2.11679,3.9e-5 3.821835,1.711949 3.822266,3.916016 2.85e-4,2.2046 -1.704962,3.91793 -3.822266,3.917969 -2.117303,-4e-5 -3.822551,-1.713369 -3.822265,-3.917969 4.3e-4,-2.204067 1.705476,-3.915976 3.822265,-3.916016 z"
|
||||
id="path874" />
|
||||
</g>
|
||||
<path
|
||||
style="fill:none;stroke:#fdf6e3;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 61.194389,55.061809 45.78223,55.235844 39.103627,61.32707 H 16.670372 L 16.499126,27.216205 26.431407,16.077963 V 3.0253363"
|
||||
id="path877" />
|
||||
<path
|
||||
style="fill:none;stroke:#fdf6e3;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 47.494692,2.8513013 61.194389,16.948138"
|
||||
id="path879"
|
||||
sodipodi:nodetypes="cc" />
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.0 KiB |
@@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg38"
|
||||
sodipodi:docname="bed-level.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview18"
|
||||
showgrid="false"
|
||||
inkscape:zoom="9.8125"
|
||||
inkscape:cx="32"
|
||||
inkscape:cy="23.847134"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg38" />
|
||||
<metadata
|
||||
id="metadata44">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>bed</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs42">
|
||||
<linearGradient
|
||||
id="linearGradient955">
|
||||
<stop
|
||||
style="stop-color:#dc322f;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop959" />
|
||||
<stop
|
||||
style="stop-color:#cb4b16;stop-opacity:0.49803922"
|
||||
offset="0.5"
|
||||
id="stop964" />
|
||||
<stop
|
||||
style="stop-color:#b58900;stop-opacity:0.24705882"
|
||||
offset="0.75"
|
||||
id="stop966" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop961" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient955"
|
||||
id="linearGradient945"
|
||||
x1="51"
|
||||
y1="40"
|
||||
x2="50.862003"
|
||||
y2="5.8426123"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(2.0000002,2.0003658)" />
|
||||
</defs>
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<title
|
||||
id="title2">bed</title>
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<g
|
||||
id="g848"
|
||||
transform="translate(0,-12.8039)">
|
||||
<g
|
||||
id="g870"
|
||||
transform="rotate(5,54.903766,48)">
|
||||
<rect
|
||||
style="opacity:0.995;fill:#839496;stroke:none;stroke-width:2.00001;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
|
||||
id="rect857"
|
||||
width="55"
|
||||
height="8"
|
||||
x="4.5"
|
||||
y="42"
|
||||
rx="2"
|
||||
ry="2" />
|
||||
<rect
|
||||
style="opacity:0.995;fill:#839496;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
|
||||
id="rect861"
|
||||
width="6"
|
||||
height="8"
|
||||
x="9"
|
||||
y="48"
|
||||
rx="1.9999998"
|
||||
ry="2" />
|
||||
<rect
|
||||
style="opacity:0.995;fill:#839496;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
|
||||
id="rect863"
|
||||
width="6"
|
||||
height="8"
|
||||
x="49"
|
||||
y="48"
|
||||
rx="1.9999998"
|
||||
ry="2" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.5 KiB |
@@ -0,0 +1,164 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg38">
|
||||
<metadata
|
||||
id="metadata44">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>bed</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs42">
|
||||
<linearGradient
|
||||
id="linearGradient955">
|
||||
<stop
|
||||
style="stop-color:#dc322f;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop959" />
|
||||
<stop
|
||||
style="stop-color:#cb4b16;stop-opacity:0.49803922"
|
||||
offset="0.5"
|
||||
id="stop964" />
|
||||
<stop
|
||||
style="stop-color:#b58900;stop-opacity:0.24705882"
|
||||
offset="0.75"
|
||||
id="stop966" />
|
||||
<stop
|
||||
style="stop-color:#ffffff;stop-opacity:0;"
|
||||
offset="1"
|
||||
id="stop961" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient955"
|
||||
id="linearGradient945"
|
||||
x1="51"
|
||||
y1="40"
|
||||
x2="50.862003"
|
||||
y2="5.8426123"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="translate(2.0000002,1.6573927)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient955"
|
||||
id="linearGradient856"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="51"
|
||||
y1="40"
|
||||
x2="50.862003"
|
||||
y2="5.8426123"
|
||||
gradientTransform="translate(2.0000007,1.6573927)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient955"
|
||||
id="linearGradient858"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="51"
|
||||
y1="40"
|
||||
x2="50.862003"
|
||||
y2="5.8426123"
|
||||
gradientTransform="translate(2.0000002,1.6573927)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient955"
|
||||
id="linearGradient860"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="51"
|
||||
y1="40"
|
||||
x2="50.862003"
|
||||
y2="5.8426123"
|
||||
gradientTransform="translate(2.0000002,1.6573927)" />
|
||||
<linearGradient
|
||||
xlink:href="#linearGradient955"
|
||||
id="linearGradient862"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
x1="51"
|
||||
y1="40"
|
||||
x2="50.862003"
|
||||
y2="5.8426123"
|
||||
gradientTransform="translate(2.0000002,1.6573927)" />
|
||||
</defs>
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<g
|
||||
id="g868"
|
||||
transform="translate(-0.06891251,-0.157753)">
|
||||
<rect
|
||||
style="opacity:0.995;fill:#839496;stroke:none;stroke-width:2.00001;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
|
||||
id="rect857"
|
||||
width="55"
|
||||
height="8"
|
||||
x="4.5689125"
|
||||
y="42.157753"
|
||||
rx="2"
|
||||
ry="2" />
|
||||
<rect
|
||||
style="opacity:0.995;fill:#839496;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
|
||||
id="rect861"
|
||||
width="6"
|
||||
height="8"
|
||||
x="9.0689125"
|
||||
y="48.157753"
|
||||
rx="1.9999998"
|
||||
ry="2" />
|
||||
<rect
|
||||
style="opacity:0.995;fill:#839496;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;paint-order:stroke fill markers;stop-color:#000000"
|
||||
id="rect863"
|
||||
width="6"
|
||||
height="8"
|
||||
x="49.068913"
|
||||
y="48.157753"
|
||||
rx="1.9999998"
|
||||
ry="2" />
|
||||
</g>
|
||||
<title
|
||||
id="title2">bed</title>
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<path
|
||||
d="m 32,39.709856 c 0,0 2.844819,-7.843516 2.844819,-10.736617 0,-3.085973 -5.689638,-7.522061 -5.689638,-10.736617 C 29.155181,15.343522 32,7.500005 32,7.500005"
|
||||
id="path25"
|
||||
stroke-width="3.00001"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="font-variation-settings:normal;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient856);stroke-width:3.00001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000" />
|
||||
<path
|
||||
d="m 42.431002,39.709856 c 0,0 2.844818,-7.843516 2.844818,-10.736617 0,-3.085973 -5.689637,-7.522061 -5.689637,-10.736617 0,-2.8931 2.844819,-10.736617 2.844819,-10.736617"
|
||||
id="path27"
|
||||
stroke-width="3.00001"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="font-variation-settings:normal;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient858);stroke-width:3.00001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000" />
|
||||
<path
|
||||
d="m 21.568998,39.709856 c 0,0 2.844818,-7.843516 2.844818,-10.736617 0,-3.085973 -5.689637,-7.522061 -5.689637,-10.736617 0,-2.8931 2.844819,-10.736617 2.844819,-10.736617"
|
||||
id="path29"
|
||||
stroke-width="3.00001"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="font-variation-settings:normal;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient860);stroke-width:3.00001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000" />
|
||||
<path
|
||||
d="m 52.862003,39.709856 c 0,0 2.844819,-7.843516 2.844819,-10.736617 0,-3.085973 -5.689638,-7.522061 -5.689638,-10.736617 0,-2.8931 2.844819,-10.736617 2.844819,-10.736617"
|
||||
id="path31"
|
||||
stroke-width="3.00001"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="fill:none;fill-rule:evenodd;stroke:url(#linearGradient862)" />
|
||||
<path
|
||||
d="m 11.137997,39.709856 c 0,0 2.844818,-7.843516 2.844818,-10.736617 0,-3.085973 -5.6896368,-7.522061 -5.6896368,-10.736617 0,-2.8931 2.8448188,-10.736617 2.8448188,-10.736617"
|
||||
id="path33"
|
||||
stroke-width="3.00001"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
style="font-variation-settings:normal;vector-effect:none;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:url(#linearGradient945);stroke-width:3.00001;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;stop-color:#000000" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.4 KiB |
@@ -0,0 +1,110 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg57"
|
||||
sodipodi:docname="camera.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<circle
|
||||
style="opacity:0.99499998;fill:#002b36;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="path14-8"
|
||||
cx="32"
|
||||
cy="32"
|
||||
r="26" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview17"
|
||||
showgrid="false"
|
||||
inkscape:zoom="2.9499611"
|
||||
inkscape:cx="2.4917779"
|
||||
inkscape:cy="37.220083"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg57"
|
||||
inkscape:document-rotation="0"
|
||||
showguides="false" />
|
||||
<metadata
|
||||
id="metadata63">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>extruder1</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs61" />
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<g
|
||||
id="g919"
|
||||
transform="translate(-1.7880608,0.70281443)">
|
||||
<path
|
||||
style="fill:#586e75;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 19.311418,55.004032 18.518738,23.3331 6.0190087,30.613468 c 0,0 -1.408206,17.18438 13.2924093,24.390564 z"
|
||||
id="path899"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:#586e75;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 6.0190087,30.613468 33.050501,14.091521 20.495652,6.906622 c 0,0 -15.5862126,7.372648 -14.4766433,23.706846 z"
|
||||
id="path903"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:#586e75;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 20.495652,6.906622 48.319824,22.055608 48.264704,7.59034 c 0,0 -14.178006,-9.8117322 -27.769052,-0.683718 z"
|
||||
id="path905"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:#586e75;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 48.264704,7.59034 0.79268,31.670933 12.499729,-7.28037 c 0,0 1.408206,-17.184379 -13.292409,-24.390563 z"
|
||||
id="path907"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:#586e75;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 61.557113,31.980903 -27.031492,16.521948 12.55485,7.184898 c 0,0 15.586211,-7.372648 14.476642,-23.706846 z"
|
||||
id="path909"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<path
|
||||
style="fill:#586e75;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 47.080471,55.687749 -27.824173,-15.148985 0.05512,14.465268 c 0,0 14.178006,9.811731 27.769053,0.683717 z"
|
||||
id="path911"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
</g>
|
||||
<title
|
||||
id="title2">extruder1</title>
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<circle
|
||||
style="opacity:0.995;fill:none;stroke:#eee8d5;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="circle861"
|
||||
cx="32"
|
||||
cy="32"
|
||||
r="26.999998" />
|
||||
<circle
|
||||
style="opacity:0.995;fill:#073642;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="path921"
|
||||
cx="32"
|
||||
cy="32"
|
||||
r="2.5" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
@@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg57"
|
||||
sodipodi:docname="camera - copia.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview17"
|
||||
showgrid="false"
|
||||
inkscape:zoom="5.8999222"
|
||||
inkscape:cx="16.650568"
|
||||
inkscape:cy="32.122781"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg57"
|
||||
inkscape:document-rotation="0"
|
||||
showguides="false"
|
||||
inkscape:snap-bbox="true"
|
||||
inkscape:bbox-paths="true"
|
||||
inkscape:snap-bbox-edge-midpoints="true"
|
||||
inkscape:bbox-nodes="true"
|
||||
inkscape:snap-bbox-midpoints="true" />
|
||||
<metadata
|
||||
id="metadata63">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>extruder1</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs61" />
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<path
|
||||
style="fill:#93a1a1;stroke:#93a1a1;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 17.555078,36.062506 4.4915847,52.034585"
|
||||
id="path901"
|
||||
sodipodi:nodetypes="cc" />
|
||||
<title
|
||||
id="title2">extruder1</title>
|
||||
<circle
|
||||
style="opacity:0.995;fill:#073642;fill-opacity:0.996078;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.996078;paint-order:stroke fill markers;stop-color:#000000"
|
||||
id="path899"
|
||||
cx="19.10321"
|
||||
cy="34.796295"
|
||||
r="4" />
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<rect
|
||||
style="opacity:0.995;fill:#586e75;fill-opacity:0.996078;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.996078;paint-order:stroke fill markers;stop-color:#000000"
|
||||
id="rect903"
|
||||
width="4"
|
||||
height="9.8998108"
|
||||
x="2.9434531"
|
||||
y="45"
|
||||
rx="2"
|
||||
ry="2" />
|
||||
<rect
|
||||
style="opacity:0.995;fill:#002b36;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stop-color:#000000;stroke:#073642;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
id="rect857"
|
||||
width="7.6272192"
|
||||
height="11.864563"
|
||||
x="52.685944"
|
||||
y="1.8278202"
|
||||
rx="2"
|
||||
ry="2"
|
||||
transform="rotate(33)" />
|
||||
<path
|
||||
style="fill:#eee8d5;fill-opacity:0.996078;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:0.996078"
|
||||
d="M 63.005876,34.587532 41.399179,20.555979 31.798635,35.339519 Z"
|
||||
id="path859"
|
||||
sodipodi:nodetypes="cccc" />
|
||||
<rect
|
||||
style="opacity:0.995;fill:#eee8d5;stroke:#fdf6e3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect855"
|
||||
width="42.149563"
|
||||
height="25.424065"
|
||||
x="13.651564"
|
||||
y="-6.6468644"
|
||||
rx="2"
|
||||
ry="2"
|
||||
transform="rotate(33)" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg10"
|
||||
sodipodi:docname="delete.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<metadata
|
||||
id="metadata16">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>folder</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs14" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview12"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="true"
|
||||
inkscape:zoom="5.4137931"
|
||||
inkscape:cx="22.518245"
|
||||
inkscape:cy="36.93885"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg10"
|
||||
inkscape:snap-bbox="true"
|
||||
inkscape:snap-bbox-edge-midpoints="true"
|
||||
inkscape:document-rotation="0" />
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<title
|
||||
id="title2">folder</title>
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<rect
|
||||
style="fill:#dc322f;fill-opacity:1;stroke:none;stroke-width:5.99999;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect891"
|
||||
width="57.306053"
|
||||
height="15.281615"
|
||||
x="-28.653027"
|
||||
y="-52.895641"
|
||||
rx="2"
|
||||
ry="2"
|
||||
transform="rotate(135)" />
|
||||
<rect
|
||||
style="fill:#dc322f;fill-opacity:1;stroke:none;stroke-width:5.99999;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect846"
|
||||
width="55.374836"
|
||||
height="14.766624"
|
||||
x="-72.942253"
|
||||
y="-7.3833122"
|
||||
rx="2"
|
||||
ry="2"
|
||||
transform="rotate(-135)" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.4 KiB |
@@ -0,0 +1,89 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
data-name="Layer 1"
|
||||
id="Layer_1"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
sodipodi:docname="clock.svg"
|
||||
width="64"
|
||||
height="64"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<metadata
|
||||
id="metadata11">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs9" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview7"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="true"
|
||||
inkscape:zoom="9.0208334"
|
||||
inkscape:cx="25.353794"
|
||||
inkscape:cy="32.552714"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="Layer_1"
|
||||
inkscape:document-rotation="0"
|
||||
inkscape:snap-bbox="true"
|
||||
inkscape:snap-bbox-midpoints="true"
|
||||
inkscape:snap-bbox-edge-midpoints="true"
|
||||
inkscape:bbox-nodes="true" />
|
||||
<path
|
||||
style="fill:#fdf6e3;fill-opacity:1;stroke:#073642;stroke-width:6;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 32.015727,5.0014432 c -24.0323548,0 -36.063447,29.0825888 -19.072066,46.0906708 7.714282,7.721865 19.315438,10.032432 29.394474,5.853617 10.079055,-4.178825 16.650937,-14.024018 16.650937,-24.944429 0,-14.911611 -12.076379,-26.9998588 -26.973345,-26.9998588 z"
|
||||
id="path838"
|
||||
sodipodi:nodetypes="sssss" />
|
||||
<circle
|
||||
style="opacity:0.998;fill:#073642;fill-opacity:1;stroke:none;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="path836"
|
||||
cx="32"
|
||||
cy="31.445728"
|
||||
r="5" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#073642;fill-opacity:1;stroke:none;stroke-width:5.99999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect838"
|
||||
width="20"
|
||||
height="4"
|
||||
x="-31.445728"
|
||||
y="30"
|
||||
rx="1.9999999"
|
||||
ry="2"
|
||||
transform="rotate(-90)" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#073642;fill-opacity:1;stroke:none;stroke-width:5.99999;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;stop-color:#000000"
|
||||
id="rect842"
|
||||
width="15"
|
||||
height="4"
|
||||
x="-60.693905"
|
||||
y="-1.6080707"
|
||||
rx="1.9999999"
|
||||
ry="2"
|
||||
transform="rotate(-135)" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 3.1 KiB |
@@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 63.999997 64"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="complete.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#bfbfbf"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview8"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.4010512"
|
||||
inkscape:cx="18.113804"
|
||||
inkscape:cy="31.11819"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer2"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid832" />
|
||||
</sodipodi:namedview>
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer2"
|
||||
style="display:inline;stroke:none"
|
||||
transform="translate(-3.5328446,2.2636422)">
|
||||
<g
|
||||
id="g847"
|
||||
transform="matrix(1.5307014,0,0,1.538797,-16.639595,-16.021863)"
|
||||
style="fill:#859900;stroke:#859900;stroke-width:0.651574">
|
||||
<rect
|
||||
style="opacity:0.998;fill:#859900;stroke:#859900;stroke-width:1.30314;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="rect852"
|
||||
width="30"
|
||||
height="10"
|
||||
x="-9.4257479"
|
||||
y="42.627815"
|
||||
rx="1.3031043"
|
||||
ry="1.3031043"
|
||||
transform="rotate(-45)" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#859900;stroke:#859900;stroke-width:1.30314;stroke-linecap:round;stroke-linejoin:round"
|
||||
id="rect854"
|
||||
width="20"
|
||||
height="8"
|
||||
x="-52.627815"
|
||||
y="-9.4257479"
|
||||
rx="1.3031043"
|
||||
ry="1.3031043"
|
||||
transform="rotate(-135)" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.5 KiB |
@@ -0,0 +1,60 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 63.999997 64"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="cool-down.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview13"
|
||||
showgrid="true"
|
||||
inkscape:zoom="7.401051"
|
||||
inkscape:cx="24.150582"
|
||||
inkscape:cy="35.647313"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg4160"
|
||||
inkscape:document-rotation="0">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid847" />
|
||||
</sodipodi:namedview>
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<path
|
||||
id="rect835"
|
||||
style="opacity:0.998;fill:#268bd2;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 26.924258,2.0003903 c -0.492427,-0.00859 -0.993617,0.1252956 -1.439501,0.4148565 L 23.338,3.8097642 c -1.189025,0.7721631 -1.524402,2.3522511 -0.752241,3.5412761 l 4.181054,6.4377727 c 0.03404,0.05241 0.07789,0.09339 0.11495,0.142451 v 8.64201 l -7.247487,-4.705872 c -0.02101,-0.05796 -0.032,-0.117687 -0.05748,-0.17494 L 16.452875,10.679889 C 15.876225,9.3847103 14.369224,8.8061873 13.074044,9.3828373 l -2.336692,1.0396407 c -1.295179,0.57665 -1.873702,2.083651 -1.29705,3.378831 l 2.221731,4.990773 h -5.46311 c -1.41775,0 -2.559115,1.141365 -2.559115,2.559115 v 2.559115 c 0,1.417749 1.141365,2.559115 2.559115,2.559115 h 7.677345 c 0.06245,0 0.121125,-0.01314 0.182436,-0.01749 l 8.542046,5.54808 -8.542046,5.548081 c -0.06131,-0.0044 -0.119975,-0.01749 -0.182436,-0.01749 h -7.67734 c -1.41775,0 -2.559115,1.141366 -2.559115,2.559114 v 2.559116 c 0,1.41775 1.141365,2.559115 2.559115,2.559115 h 5.46311 l -2.221731,4.990773 c -0.576652,1.295179 0.0019,2.80218 1.29705,3.37883 l 2.336692,1.039641 c 1.29518,0.57665 2.802181,-0.0019 3.378831,-1.297052 l 3.123921,-7.012572 c 0.02549,-0.05725 0.03646,-0.116963 0.05748,-0.17494 l 7.247495,-4.705875 v 8.64201 c -0.03706,0.04908 -0.08091,0.09004 -0.11495,0.142451 l -4.181055,6.437773 c -0.772161,1.189025 -0.436783,2.769113 0.752241,3.541276 l 2.146758,1.394517 c 1.189024,0.772162 2.769113,0.436785 3.541274,-0.75224 l 2.973967,-4.580915 2.973971,4.580915 c 0.772162,1.189025 2.352251,1.524402 3.541276,0.75224 l 2.146757,-1.394517 c 1.189024,-0.772163 1.524402,-2.352251 0.75224,-3.541276 l -4.181054,-6.437773 c -0.03404,-0.05241 -0.07789,-0.09338 -0.114962,-0.142451 v -8.64201 l 7.247493,4.705872 c 0.02101,0.05796 0.032,0.1177 0.05747,0.17494 l 3.12392,7.012573 c 0.57665,1.295179 2.083652,1.873702 3.378832,1.297052 l 2.336691,-1.039641 c 1.295179,-0.57665 1.873702,-2.083651 1.297051,-3.378831 L 52.337964,45.20795 h 5.46311 c 1.41775,0 2.559115,-1.141366 2.559115,-2.559114 V 40.08972 c 0,-1.417749 -1.141365,-2.559115 -2.559115,-2.559115 h -7.677343 c -0.06247,0 -0.121125,0.01314 -0.182438,0.01749 l -8.542042,-5.548079 8.542045,-5.548082 c 0.06131,0.0044 0.119975,0.01749 0.182437,0.01749 h 7.677344 c 1.41775,0 2.559115,-1.141366 2.559115,-2.559115 v -2.559115 c 0,-1.41775 -1.141365,-2.559115 -2.559115,-2.559115 h -5.46311 l 2.221732,-4.990773 c 0.576651,-1.295179 -0.0019,-2.80218 -1.297051,-3.37883 l -2.33669,-1.0396407 c -1.29518,-0.57665 -2.802181,0.0019 -3.378832,1.2970517 l -3.123921,7.012573 c -0.02549,0.05725 -0.03646,0.116962 -0.05747,0.17494 l -7.247495,4.705874 v -8.64201 c 0.03706,-0.04907 0.08093,-0.09004 0.11495,-0.142451 l 4.181055,-6.4377727 c 0.772169,-1.189025 0.436792,-2.769113 -0.752233,-3.5412761 L 38.51525,2.4152468 C 37.326225,1.6430851 35.746137,1.9784618 34.973974,3.1674867 L 32.000004,7.7484023 29.026032,3.1674867 C 28.543432,2.4243461 27.74497,2.014698 26.924258,2.0003903 Z" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.6 KiB |
@@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
viewBox="0 0 64 64"
|
||||
height="64"
|
||||
width="64"
|
||||
xml:space="preserve"
|
||||
id="svg2"
|
||||
version="1.1"
|
||||
sodipodi:docname="custom-script.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"><sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview24"
|
||||
showgrid="false"
|
||||
inkscape:pagecheckerboard="true"
|
||||
inkscape:zoom="7.8223688"
|
||||
inkscape:cx="31.932441"
|
||||
inkscape:cy="22.313986"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg2"
|
||||
inkscape:document-rotation="0" /><metadata
|
||||
id="metadata8"><rdf:RDF><cc:Work
|
||||
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
|
||||
id="defs6"><clipPath
|
||||
id="clipPath18"
|
||||
clipPathUnits="userSpaceOnUse"><path
|
||||
id="path16"
|
||||
d="M 0,256 H 256 V 0 H 0 Z" /></clipPath><clipPath
|
||||
id="clipPath26"
|
||||
clipPathUnits="userSpaceOnUse"><path
|
||||
id="path24"
|
||||
d="M 76,192 H 180 V 64 H 76 Z" /></clipPath></defs><g
|
||||
id="g36"
|
||||
transform="matrix(0.53571428,0,0,-0.53571428,38.734464,2.0000003)"
|
||||
style="fill:#eee8d5;fill-opacity:1;stroke:none;stroke-width:4.97840005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="m 0,0 h -50.286 c -3.473,0 -6.285,-2.784 -6.285,-6.222 v -99.556 c 0,-3.438 2.812,-6.222 6.285,-6.222 h 75.429 c 3.473,0 6.286,2.784 6.286,6.222 v 74.667 z"
|
||||
style="fill:#eee8d5;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:4.97840005;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path38" /></g><circle
|
||||
r="14.497056"
|
||||
cy="46"
|
||||
cx="40"
|
||||
id="path815"
|
||||
style="opacity:0.99;vector-effect:none;fill:#6c71c4;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;paint-order:markers stroke fill" /><path
|
||||
style="fill:#fdf6e3;fill-opacity:1;stroke-width:1"
|
||||
inkscape:connector-curvature="0"
|
||||
d="m 45.907497,45.106007 c -0.600014,-0.40028 -9.25874,-5.371153 -9.406932,-5.447664 -0.125639,-0.06442 -0.268194,-0.101479 -0.418802,-0.101479 -0.500145,0 -0.903643,0.401887 -0.910893,0.900427 -8.28e-4,0.004 -0.0032,0.0072 -0.0032,0.01128 0,0.806194 0,10.254233 0,11.060428 6.4e-5,0.505001 0.409202,0.914142 0.91418,0.914142 0.151413,0 0.293161,-0.03703 0.419607,-0.101479 0.148998,-0.07653 8.808526,-5.049816 9.408544,-5.449291 0.333429,-0.222288 0.533167,-0.557331 0.533167,-0.892372 -2.8e-5,-0.335037 -0.20057,-0.670884 -0.53561,-0.893978 z"
|
||||
id="Run" /><g
|
||||
id="g841"
|
||||
transform="matrix(0.53571428,0,0,-0.53571428,38.734464,2.0000003)"
|
||||
style="fill:none;fill-opacity:1;stroke:#002b36;stroke-width:3.73333;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="m 0,0 h -50.286 c -3.473,0 -6.285,-2.784 -6.285,-6.222 v -99.556 c 0,-3.438 2.812,-6.222 6.285,-6.222 h 75.429 c 3.473,0 6.286,2.784 6.286,6.222 v 74.667 z"
|
||||
style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:#002b36;stroke-width:3.73333;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path839" /></g><path
|
||||
inkscape:connector-curvature="0"
|
||||
d="m 42.131097,18.599046 c -1.876627,0 -3.39661,-1.053748 -3.39661,-2.940357 V 1.9999767 L 55.414488,18.599046 Z"
|
||||
style="fill:#fdf6e3;fill-opacity:1;fill-rule:nonzero;stroke:#002b36;stroke-width:2;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
id="path838"
|
||||
sodipodi:nodetypes="ccccc" /></svg>
|
||||
|
After Width: | Height: | Size: 4.3 KiB |
@@ -0,0 +1,57 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 63.999997 64"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="decrease.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<path
|
||||
id="rect831"
|
||||
style="opacity:0.998;fill:#fdf6e3;fill-opacity:1;stroke:none;stroke-width:2.00002;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:1"
|
||||
d="m 6.866675,22.333337 c -2.142132,0 -3.866664,1.724533 -3.866664,3.866665 v 11.599997 c 0,2.142132 1.724534,3.866664 3.866664,3.866664 h 50.26665 c 2.142132,0 3.866664,-1.724532 3.866664,-3.866664 V 26.200002 c 0,-2.142132 -1.724532,-3.866665 -3.866664,-3.866665 z"
|
||||
sodipodi:nodetypes="cssccsscc" />
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview13"
|
||||
showgrid="true"
|
||||
inkscape:zoom="5.2333334"
|
||||
inkscape:cx="19.952975"
|
||||
inkscape:cy="29.124909"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg4160"
|
||||
inkscape:document-rotation="0" />
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
@@ -0,0 +1,79 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
viewBox="0 0 64 64"
|
||||
role="img"
|
||||
aria-hidden="true"
|
||||
class="v-icon__svg"
|
||||
style="color:#ff0000"
|
||||
version="1.1"
|
||||
id="svg4"
|
||||
width="64"
|
||||
height="64"
|
||||
sodipodi:docname="emergency.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview6"
|
||||
showgrid="false"
|
||||
inkscape:zoom="5.4305801"
|
||||
inkscape:cx="32.60233"
|
||||
inkscape:cy="41.792032"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg4"
|
||||
inkscape:document-rotation="0" />
|
||||
<metadata
|
||||
id="metadata10">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs8" />
|
||||
<g
|
||||
id="g838"
|
||||
transform="translate(2,2)">
|
||||
<path
|
||||
style="fill:#dc322f;fill-opacity:1;stroke-width:1"
|
||||
d="M 30,7.5 C 17.573593,7.5 7.5,17.573593 7.5,30 7.5,42.426407 17.573593,52.5 30,52.5 42.426407,52.5 52.5,42.426407 52.5,30 52.5,17.573593 42.426407,7.5 30,7.5 M 51.25,51.25 C 56.65,45.775 60,38.275 60,30 60,21.725 56.65,14.225 51.25,8.75 l -2.7,2.7 c 4.75,4.8 7.7,11.325 7.7,18.55 0,7.25 -2.95,13.75 -7.7,18.55 l 2.7,2.7 m -39.8,-2.7 C 6.7,43.75 3.75,37.25 3.75,30 3.75,22.775 6.7,16.25 11.45,11.45 L 8.75,8.75 C 3.35,14.225 0,21.725 0,30 0,38.275 3.35,45.775 8.75,51.25 Z"
|
||||
id="path2"
|
||||
sodipodi:nodetypes="csssccsccscccsccscc" />
|
||||
<g
|
||||
id="g837"
|
||||
transform="translate(0,2)">
|
||||
<path
|
||||
style="fill:#fdf6e3;fill-opacity:1;stroke:#fdf6e3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 27,13 h 6 V 31 H 27 V 13"
|
||||
id="path833"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
<path
|
||||
style="fill:#fdf6e3;fill-opacity:1;stroke:#fdf6e3;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 27,37 h 6 v 6 h -6 v -6"
|
||||
id="path831"
|
||||
sodipodi:nodetypes="ccccc" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.9 KiB |
@@ -0,0 +1,106 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="60"
|
||||
viewBox="0 0 63.999997 60"
|
||||
id="svg4160"
|
||||
version="1.1"
|
||||
sodipodi:docname="extrude.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#bfbfbf"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview12"
|
||||
showgrid="false"
|
||||
inkscape:zoom="7.4010512"
|
||||
inkscape:cx="31.515222"
|
||||
inkscape:cy="36.64547"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg4160"
|
||||
inkscape:document-rotation="0"
|
||||
inkscape:pagecheckerboard="false"
|
||||
inkscape:snap-bbox="true"
|
||||
inkscape:snap-bbox-edge-midpoints="true"
|
||||
inkscape:snap-bbox-midpoints="true"
|
||||
inkscape:bbox-nodes="true"
|
||||
inkscape:bbox-paths="true"
|
||||
inkscape:object-paths="true"
|
||||
inkscape:snap-intersection-paths="true" />
|
||||
<defs
|
||||
id="defs4162" />
|
||||
<metadata
|
||||
id="metadata4165">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<path
|
||||
style="fill:none;stroke:#2aa198;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 40.748769,58 H 18.34015 c -3.093135,-2.535685 12.127834,-3.306267 19.891709,-3.091265 6.214998,0.172108 -8.92518,-4.581731 -15.750985,-7.484116 -3.531146,-1.501471 11.45246,-1.068821 9.986449,-6.345227 -0.617632,-2.222959 -0.568335,-9.466587 -0.568335,-9.466587"
|
||||
id="path969"
|
||||
sodipodi:nodetypes="ccsssc" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#839496;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1033"
|
||||
width="30.044807"
|
||||
height="10.837236"
|
||||
x="17.011953"
|
||||
y="15.357984" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#93a1a1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1035"
|
||||
width="15.022404"
|
||||
height="10.837236"
|
||||
x="24.56855"
|
||||
y="15.357984" />
|
||||
<path
|
||||
style="fill:#586e75;fill-opacity:1;stroke:none;stroke-width:0.999993px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="M 24.523154,26.195223 H 39.545558 L 34.535942,32.21591 H 29.53277 Z"
|
||||
id="path1037" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#657b83;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1039"
|
||||
width="19.228678"
|
||||
height="6.0206871"
|
||||
x="22.465414"
|
||||
y="9.3372965" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#586e75;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1055"
|
||||
width="27.040327"
|
||||
height="6.0206871"
|
||||
x="18.559587"
|
||||
y="3.3166094"
|
||||
ry="2"
|
||||
rx="2" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#586e75;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1065"
|
||||
width="27.040327"
|
||||
height="6.0206871"
|
||||
x="18.559587"
|
||||
y="0.39592025" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 4.0 KiB |
@@ -0,0 +1,121 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 64 64"
|
||||
version="1.1"
|
||||
id="svg57"
|
||||
sodipodi:docname="extruder-0.svg"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)">
|
||||
<sodipodi:namedview
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1"
|
||||
objecttolerance="10"
|
||||
gridtolerance="10"
|
||||
guidetolerance="10"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:window-width="1600"
|
||||
inkscape:window-height="837"
|
||||
id="namedview17"
|
||||
showgrid="false"
|
||||
inkscape:zoom="6.9384853"
|
||||
inkscape:cx="32.518828"
|
||||
inkscape:cy="27.894751"
|
||||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="path844"
|
||||
inkscape:document-rotation="0" />
|
||||
<metadata
|
||||
id="metadata63">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title>extruder1</dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs61" />
|
||||
<!-- Generator: Sketch 52.5 (67469) - http://www.bohemiancoding.com/sketch -->
|
||||
<title
|
||||
id="title2">extruder1</title>
|
||||
<rect
|
||||
style="opacity:0.998;fill:#839496;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1033"
|
||||
width="50"
|
||||
height="18"
|
||||
x="6.9999995"
|
||||
y="32.41787" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#93a1a1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1035"
|
||||
width="25"
|
||||
height="18"
|
||||
x="19.575544"
|
||||
y="32.41787" />
|
||||
<path
|
||||
style="fill:#586e75;fill-opacity:1;stroke:none;stroke-width:0.999995px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
d="m 19.5,50.41787 h 25 l -8.336909,10 h -8.326182 z"
|
||||
id="path1037" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#657b83;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1039"
|
||||
width="32"
|
||||
height="10"
|
||||
x="16.075544"
|
||||
y="22.417871" />
|
||||
<desc
|
||||
id="desc4">Created with Sketch.</desc>
|
||||
<rect
|
||||
style="opacity:0.998;fill:#586e75;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1055"
|
||||
width="45"
|
||||
height="10"
|
||||
x="9.5755444"
|
||||
y="12.417871"
|
||||
ry="2"
|
||||
rx="2" />
|
||||
<rect
|
||||
style="opacity:0.998;fill:#586e75;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stop-color:#000000"
|
||||
id="rect1065"
|
||||
width="45"
|
||||
height="10"
|
||||
x="9.5755444"
|
||||
y="4.4178715" />
|
||||
<circle
|
||||
id="circle46"
|
||||
stroke="#000000"
|
||||
stroke-width="0.5"
|
||||
fill="#ffffff"
|
||||
cx="32"
|
||||
cy="15.75"
|
||||
style="fill-rule:evenodd;stroke:none;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
r="15.75" />
|
||||
<g
|
||||
aria-label="0"
|
||||
id="1"
|
||||
style="font-weight:500;font-size:21.3333px;font-family:OpenSans-SemiBold, 'Open Sans';fill:#073642;fill-opacity:1;fill-rule:evenodd;stroke:#073642;stroke-width:2;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1">
|
||||
<g
|
||||
id="path844"
|
||||
style="opacity:1">
|
||||
<path
|
||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:21.3333px;line-height:normal;font-family:OpenSans-SemiBold, 'Open Sans';font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;font-feature-settings:normal;font-variation-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;shape-margin:0;inline-size:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:#073642;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;stop-color:#000000;stop-opacity:1"
|
||||
d="m 32,5.1695896 c -1.937021,0 -3.627638,0.5444752 -4.80455,1.7322853 -1.156672,1.1674801 -1.6992,2.8145306 -1.6992,4.6816601 v 8.332929 c 0,1.859856 0.542683,3.505979 1.694473,4.679298 1.171034,1.192921 2.864893,1.734648 4.809277,1.734648 1.935055,0 3.621719,-0.536146 4.792735,-1.718105 1.16272,-1.173489 1.711015,-2.826654 1.711015,-4.695841 v -8.332929 c 0,-1.8744136 -0.541214,-3.5270328 -1.6992,-4.69584 C 35.632208,5.7043965 33.942426,5.1695896 32,5.1695896 Z m 0,5.0786914 c 0.642281,0 0.849746,0.135544 0.978398,0.28832 l 0.0024,0.0047 0.0047,0.0024 c 0.157832,0.184135 0.311955,0.546851 0.311955,1.254902 v 7.902813 c 0,0.704246 -0.153742,1.06893 -0.32377,1.266718 h -0.0024 c -0.127715,0.148961 -0.335657,0.283546 -0.971302,0.283546 -0.629664,0 -0.845128,-0.135167 -0.983125,-0.290684 -0.162854,-0.198252 -0.314328,-0.560845 -0.314328,-1.25964 v -7.902762 c 0,-0.708053 0.154123,-1.070768 0.311954,-1.254902 l 0.0047,-0.0024 0.0024,-0.0047 c 0.128603,-0.152728 0.336068,-0.288272 0.978349,-0.288272 z"
|
||||
id="path851"
|
||||
sodipodi:nodetypes="scsssscssssscccssccscsscccs" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 6.3 KiB |