Compare commits
127
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e919a81536 | ||
|
|
d6b98639c1 | ||
|
|
4ac9b56775 | ||
|
|
e0c1330c4a | ||
|
|
0d89f42935 | ||
|
|
1e5c6c39de | ||
|
|
ff782d9d04 | ||
|
|
61c2ba38b0 | ||
|
|
65cb342cb8 | ||
|
|
81e78e770c | ||
|
|
5ed63ed27f | ||
|
|
c831d33873 | ||
|
|
55df4da104 | ||
|
|
e3db2731ab | ||
|
|
f81c253e85 | ||
|
|
ec67ab3033 | ||
|
|
8acf2b3b7e | ||
|
|
3d14e8ba46 | ||
|
|
450c3db1e6 | ||
|
|
39dbebb2d2 | ||
|
|
94f60516c1 | ||
|
|
098c946dde | ||
|
|
97020863d2 | ||
|
|
d1218aa0f5 | ||
|
|
dc4a322420 | ||
|
|
2ff9e5a111 | ||
|
|
058688d470 | ||
|
|
26ed70b4a7 | ||
|
|
7b3781ebaf | ||
|
|
52ad699f92 | ||
|
|
b2335b16f2 | ||
|
|
a339cabc7d | ||
|
|
b6966f05ee | ||
|
|
c1b344e94c | ||
|
|
35f30aef4f | ||
|
|
da72a4e272 | ||
|
|
e5b0ad292b | ||
|
|
a54813a167 | ||
|
|
95a13c9c44 | ||
|
|
d1905f100a | ||
|
|
a3a12882f8 | ||
|
|
ffa05ee1d5 | ||
|
|
ea49345138 | ||
|
|
83e10bde0c | ||
|
|
9895622cfa | ||
|
|
c38716ba2a | ||
|
|
88ecdcc3c6 | ||
|
|
11f97d6289 | ||
|
|
706ed470c4 | ||
|
|
a6c927508f | ||
|
|
eeac987784 | ||
|
|
275a268c43 | ||
|
|
9c37383787 | ||
|
|
bc353a060d | ||
|
|
5286be32b1 | ||
|
|
3bb52a566e | ||
|
|
64e7626e04 | ||
|
|
deb81094d0 | ||
|
|
667bb2976d | ||
|
|
f404895126 | ||
|
|
6a2617075b | ||
|
|
2f984a6d5b | ||
|
|
d16f0e0fdf | ||
|
|
d91e3a64ba | ||
|
|
81a7289194 | ||
|
|
4f65bd4ba2 | ||
|
|
1934e29bad | ||
|
|
73f445d005 | ||
|
|
e45d7d69d2 | ||
|
|
cd6a5c3b4a | ||
|
|
0c4601e23a | ||
|
|
abec546575 | ||
|
|
93dd1e3034 | ||
|
|
1decdd2c57 | ||
|
|
093cd7c5d4 | ||
|
|
a20bab62a5 | ||
|
|
02ebeb8371 | ||
|
|
814f23213e | ||
|
|
f2a33a8e48 | ||
|
|
9df182f44a | ||
|
|
ec832488a9 | ||
|
|
07d9b75425 | ||
|
|
a150d11e81 | ||
|
|
cb87b4c198 | ||
|
|
f4b393053d | ||
|
|
97ace01908 | ||
|
|
63f438671f | ||
|
|
9a8c208930 | ||
|
|
f8bbc5e97c | ||
|
|
25d1267a07 | ||
|
|
1e090484ae | ||
|
|
62f95cddf5 | ||
|
|
5e865aa670 | ||
|
|
5b33db421d | ||
|
|
684e65ed59 | ||
|
|
7f6e6e5bdf | ||
|
|
c4181443e6 | ||
|
|
a51d2167d0 | ||
|
|
6c4bbdb5f9 | ||
|
|
b0e7e503ed | ||
|
|
fae1cc4ab6 | ||
|
|
dda7a488bb | ||
|
|
a33d26f17a | ||
|
|
53d85223e8 | ||
|
|
003586cb7a | ||
|
|
253ff4900c | ||
|
|
91f2b2fa05 | ||
|
|
f6f7fce424 | ||
|
|
f0e3a0a77a | ||
|
|
d190657221 | ||
|
|
0ba9d9c6b6 | ||
|
|
36b8acdcd9 | ||
|
|
648bbe581e | ||
|
|
0bbab2182f | ||
|
|
1298da15f2 | ||
|
|
945a3f8eaf | ||
|
|
abe66b4557 | ||
|
|
37a08a3a37 | ||
|
|
6844e6242c | ||
|
|
de4efb514c | ||
|
|
9d9e914533 | ||
|
|
4037715c8d | ||
|
|
f1724206f6 | ||
|
|
7005b87870 | ||
|
|
06cb14db46 | ||
|
|
25062e5a36 | ||
|
|
ca368867e2 |
No files matched your search
@@ -3,3 +3,4 @@ Dracula,,steadyjaw,dracula-mainsail-theme
|
||||
Cyberpunk,,Dario-Ciceri,cp2077-mainsail-theme
|
||||
Mainsail x Voron Toolhead,Various toolhead images inside the theme folder can be renamed to 'sidebar-background.png',eriroh,Mainsail-x-Voron-Toolhead-Theme
|
||||
Rat Rig (unofficial), includes various sidebar images which can be renamed to ‘sidebar-background.png’,Raabi91,ratrig-mainsail-theme
|
||||
Cryd,,Crykor90,Mainsail-Theme-by-Cryd
|
||||
|
@@ -49,6 +49,21 @@ $btn-primary-color: $red-300;
|
||||
content: url("/assets/img/alert.svg");
|
||||
}
|
||||
|
||||
.youtube-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 0;
|
||||
padding-bottom: 56.25%; /* 9/16 */
|
||||
}
|
||||
|
||||
.youtube-container > iframe {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.key {
|
||||
padding: 0px 5px;
|
||||
border-radius: 3px;
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 6.0 KiB |
@@ -11,7 +11,7 @@ permalink: /configuration
|
||||
**Mainsail requires a minimum configuration to function properly and will display a warning at startup if the required parts are not found in your configuration file(s).**
|
||||
{: .warning}
|
||||
|
||||
The following configuration elements are mandatory and must be configured for Mainsail to operate:
|
||||
The following configuration elements are mandatory and must be configured for Mainsail to operate correctly:
|
||||
|
||||
* [Virtual SD Card](configuration#virtual_sdcard)
|
||||
* [Display Status](configuration#display_status)
|
||||
@@ -22,28 +22,28 @@ The following configuration elements are optional, including making tweaks and a
|
||||
* [Custom Commands](configuration#customisation)
|
||||
|
||||
## Virtual SD Card
|
||||
This allows gcode file uploads.
|
||||
The `Virtual SD Card` allows gcode file uploads.
|
||||
```yaml
|
||||
[virtual_sdcard]
|
||||
path: ~/gcode_files
|
||||
```
|
||||
|
||||
## Display Status
|
||||
This is required for messages in your status panel, if you don't have a `[display]` in your configuration.
|
||||
`Display Status` is required for messages in your status panel, if you don't have `[display]` in your configuration.
|
||||
```yaml
|
||||
[display_status]
|
||||
```
|
||||
|
||||
## Pause, Resume, Cancel
|
||||
This enables pause / resume in mainsail.
|
||||
These macros enable pause and resume in Klipper.
|
||||
|
||||
```yaml
|
||||
[pause_resume]
|
||||
```
|
||||
|
||||
# Macros
|
||||
## for pause / resume / cancel functionality
|
||||
These should be modified to your own needs.
|
||||
## Add pause / resume / cancel functionality
|
||||
You can modify the below macros to fit your needs.
|
||||
{% raw %}
|
||||
```yaml
|
||||
[gcode_macro PAUSE]
|
||||
@@ -118,12 +118,12 @@ gcode:
|
||||
# Optional
|
||||
|
||||
## Customisation
|
||||
Klipper has many canned/preset commands that are themselves just macros.
|
||||
Klipper has a number of preset commands that are also just macros.
|
||||
|
||||
The default configuration of these may not suit your needs or preferences, (though they are usually a good place to start). It's possible to adjust these by including them in your config, along with whatever code you would like to run.
|
||||
The default configuration of these may not suit your needs or preferences, though they are usually a good place to start. It's possible to adjust these by including them in your config, along with any additional code you would like to run.
|
||||
|
||||
## Example
|
||||
Adjusting the `BED_MESH_CALIBRATE` command (which can be run from the Sidebar > Heightmap > Calibrate.
|
||||
Adjusting the `BED_MESH_CALIBRATE` command, which is found in the menu at Sidebar > Heightmap > Calibrate.
|
||||
{% raw %}
|
||||
```yaml
|
||||
[gcode_macro BED_MESH_CALIBRATE]
|
||||
|
||||
+11
-11
@@ -6,7 +6,7 @@ has_children: false
|
||||
---
|
||||
|
||||
# Welcome to Mainsail!
|
||||
Mainsail aims to make Klipper more accessible to end users through a lightweight, responsive web ui, centred around an intuitive and consistent design philsophy.
|
||||
Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy..
|
||||
{: .fs-5 }
|
||||
|
||||
[Getting Started](/setup){: .btn .btn-primary }
|
||||
@@ -17,30 +17,30 @@ Mainsail aims to make Klipper more accessible to end users through a lightweight
|
||||

|
||||
|
||||
## Features
|
||||
- Optimized for desktops, tablets and mobile devices
|
||||
- Responsive web interface, optimized for desktops, tablets and mobile devices
|
||||
- Supports multiple 3D printers (Printer Farm)
|
||||
- Localization (i18n)
|
||||
- File Manager (gcode and config files)
|
||||
- File Editor (gcode and config files)
|
||||
- Print History / Stats
|
||||
- Print History and Statistics
|
||||
- Temperature Presets (with custom gcode)
|
||||
- Bed Mesh Leveling
|
||||
- Multi-Webcam support
|
||||
- Control power devices (relays, TPLink, Tasmota, ..)
|
||||
- Customizable UI (logos, backgrounds & even custom css)
|
||||
- Control power devices such as relays, TPLink and Tasmota devices, and more
|
||||
- Customizable user interface including logos, backgrounds, and custom CSS
|
||||
|
||||
## Get support & assistance
|
||||
Do you need help or just want to talk? Join us on discord. We have a very active community.
|
||||
Have you found a bug? Then we would like you to create an Issue on GitHub.
|
||||
## Help and Support
|
||||
Do you need help or just want to talk? Join our active community on Discord.
|
||||
Have you found a bug? Please create an Issue in GitHub and let us know.
|
||||
|
||||
[Discord](https://discord.gg/skWTwTD){: .btn}{:target="_blank"}
|
||||
[GitHub Issues](https://github.com/mainsail-crew/mainsail/issues){: .btn}{:target="_blank"}
|
||||
|
||||
## Support this project
|
||||
The project is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support the project.
|
||||
## Support Mainsail
|
||||
Mainsail is primarily developed and maintained by `meteyou`. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support him:
|
||||
|
||||
- [Patreon (recurring)](https://patreon.com/meteyou){:target="_blank"}
|
||||
- [Ko-Fi (one-time)](https://ko-fi.com/mainsail){:target="_blank"}
|
||||
|
||||
However, we would also like to ask you to support the regular contributors.
|
||||
Please also support all of our maintainers and contributors.
|
||||
{: .info}
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
layout: default
|
||||
title: Necessary Configuration
|
||||
nav_order: 5
|
||||
nav_exclude: true
|
||||
has_children: false
|
||||
permalink: /necessary-configuration
|
||||
---
|
||||
@@ -120,4 +120,4 @@ gcode:
|
||||
BASE_BED_MESH_CALIBRATE
|
||||
#after the original gcode
|
||||
```
|
||||
{% endraw %}
|
||||
{% endraw %}
|
||||
@@ -8,40 +8,49 @@ description: >-
|
||||
---
|
||||
|
||||
# {{ page.title }}
|
||||
{: .no_toc}
|
||||
{{ page.description }}
|
||||
|
||||

|
||||
|
||||
### PrusaSlicer (since v2.3.0)
|
||||
<details open markdown="block">
|
||||
<summary>
|
||||
Slicers
|
||||
</summary>
|
||||
{: .text-delta }
|
||||
1. TOC
|
||||
{:toc}
|
||||
</details>
|
||||
|
||||
## PrusaSlicer (since v2.3.0)
|
||||
|
||||
In "Expert" mode PrusaSlicer has an option in the "Printer Settings" tab to activate previews.
|
||||
Under `General / Firmware`, enter `32x32,400x300` as "G-code thumbnails".
|
||||
|
||||

|
||||
|
||||
### SuperSlicer (since v2.2.54.0)
|
||||
<div class="youtube-container">
|
||||
<iframe type="text/html" src="https://www.youtube.com/embed/4nFqfq8kikU" frameborder="0"></iframe>
|
||||
</div>
|
||||
|
||||
## SuperSlicer (since v2.2.54.0)
|
||||
|
||||
In "Expert" mode SuperSlicer has some very convenient options in the "Printer Settings" tab to activate and customize the previews.
|
||||
|
||||

|
||||
|
||||
### PrusaSlicer/SuperSlicer
|
||||
<div class="youtube-container">
|
||||
<iframe type="text/html" src="https://www.youtube.com/embed/xdOM5Uco9hM" frameborder="0"></iframe>
|
||||
</div>
|
||||
|
||||
To enable thumbnails, click on `Help > Show Configuration Folder` and navigate to your printer profiles inside the `printer` folder.
|
||||
Open your printer profile in a text editor and find `thumbnails =` and add the resolutions `32x32,400x300`. Save the file and restart your Slicer.
|
||||
|
||||

|
||||
|
||||
From now on the gcode files contain thumbnails displayed by mainsail.
|
||||
|
||||
### Cura
|
||||
## Cura
|
||||
|
||||
The Cura plugin "Cura2Moonraker" is required for this. You can find this plugin and a install guide
|
||||
here: [https://github.com/emtrax-ltd/Cura2MoonrakerPlugin](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin)
|
||||
|
||||

|
||||
|
||||
### ideaMaker (since v4.2.1)
|
||||
## ideaMaker (since v4.2.1)
|
||||
|
||||
To enable thumbnails, open the `Advanced` tab in the `printer settings`, enable the `GCode Thumbnails for Octoprint and Mainsail` option and
|
||||
enter your prefered *square format* image size in the `Resolution` fields (e.g. `400 X 400`).
|
||||
|
||||
@@ -9,18 +9,17 @@ has_toc: false
|
||||
# Setup Guides
|
||||
|
||||
## Local installation
|
||||
Decide which route you want to follow for the installation. There are several ways to install Mainsail on a Raspberry Pi:
|
||||
You will need to choose which way you want to install Mainsail on a Raspberry Pi:
|
||||
|
||||
- [MainsailOS](mainsail-os.md) <span class="label label-red">recommended</span>
|
||||
A prebuilt image for your Raspberry Pi. Flash it and you are almost ready to go.
|
||||
A prebuilt image for your Raspberry Pi. Preconfigured and requires the least amount of setup.
|
||||
- [KIAUH](kiauh.md) - _Klipper Installation And Update Helper_
|
||||
A script toolbox to install and keep Klipper, Moonraker and Mainsail up to date. It contains many additional features and is the way to go for multiprinter setups.
|
||||
A script toolbox to install and update Klipper, Moonraker and Mainsail. KIAUH contains additional features and is recommended for multi-printer setups.
|
||||
- [Manual Setup](manual-setup/index.md)
|
||||
The rocky road. If you want to know how everything is set up by hand, you will get all the information here.
|
||||
The rocky road for the daring. For those who want to know how everything is set up manually.
|
||||
|
||||
## Hosted
|
||||
|
||||
Setup [remote access](../quicktips/remote-access) without installing/configuring a web server!
|
||||
{: .info}
|
||||
You an also setup [remote access](../quicktips/remote-access) without installing or configuring a web server.
|
||||
|
||||
A hosted instance of Mainsail can be found and used at [my.mainsail.xyz](http://my.mainsail.xyz), check out the [documentation](mainsail-hosted) for usage and configuration.
|
||||
You can test and review a hosted version of Mainsail at [my.mainsail.xyz](http://my.mainsail.xyz). Please read the [documentation](mainsail-hosted) for usage and configuration.
|
||||
@@ -8,8 +8,8 @@ permalink: /setup/kiauh
|
||||
---
|
||||
# Installing Mainsail with KIAUH
|
||||
|
||||
[KIAUH](https://github.com/th33xitus/kiauh) is a handy tool that helps you install or upgrade Klipper, Moonraker, Mainsail and various other extensions easily and comfortably.
|
||||
[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
|
||||
|
||||

|
||||
|
||||
For more information and get to the guide click [here](https://github.com/th33xitus/kiauh).
|
||||
You can visit [KIAUH on GitHub](https://github.com/th33xitus/kiauh) to learn more and view its documentation.
|
||||
@@ -13,25 +13,22 @@ permalink: /setup/mainsail-hosted
|
||||
Mainsail and MainsailOS respect [Data Privacy](../data-privacy).
|
||||
{: .info}
|
||||
|
||||
The hosted version of mainsail can be used:
|
||||
|
||||
* On the same (local) network as your printer.
|
||||
* On a remote (different) network to your printer (requires the configuration of [remote access](../quicktips/remote-access)).
|
||||
The hosted version of Mainsail can be used on the same local network with your printer or on a different remote to network and requires you to setup [remote access](../quicktips/remote-access).
|
||||
|
||||
## Requirements
|
||||
|
||||
- MainsailOS and KIAUH are preconfigured to meet the requirements for the hosted service to work.
|
||||
- If you have a manual installation, then the following requirements must be met:
|
||||
* Klipper must be installed.
|
||||
* Moonraker must be installed.
|
||||
* my.mainsail.xyz must be configured as a CORS domain in moonraker.conf.
|
||||
- MainsailOS and KIAUH are preconfigured to meet the requirements for the hosted service.
|
||||
- If you have a manual installation, the following requirements must be met:
|
||||
* Klipper
|
||||
* Moonraker
|
||||
* `my.mainsail.xyz` must be configured as a CORS domain in `moonraker.conf`.
|
||||
|
||||
## Editing moonraker.conf
|
||||
### Editing moonraker.conf for remote access
|
||||
|
||||
Further information can be found in the Moonraker [documentation](https://moonraker.readthedocs.io/en/latest/configuration/#authorization)
|
||||
You can learn more about editing Moonraker's authorization [configuration documentation here.](https://moonraker.readthedocs.io/en/latest/configuration/#authorization)
|
||||
{: .info}
|
||||
|
||||
To allow [my.mainsail.xyz](http://my.mainsail.xyz) to access your local installation, navigate to moonraker.conf open it and add the following code:
|
||||
To configure [my.mainsail.xyz](http://my.mainsail.xyz) for access with your local installation, open `moonraker.conf` and add the following `authorization` section:
|
||||
|
||||
```yml
|
||||
[authorization]
|
||||
|
||||
@@ -10,13 +10,13 @@ permalink: /setup/mainsail-os
|
||||
|
||||
# Installing MainsailOS
|
||||
|
||||
MainsailOS builds upon RaspberryOS-Lite by incorporating Klipper, Moonraker and Mainsail into one disc image, making them more accessible and quicker to setup than before.
|
||||
MainsailOS builds upon Raspberry Pi OS Lite by including Klipper, Moonraker, and Mainsail into the disc image, making setup quick and Mainsail easier to use with Klipper and Moonraker.
|
||||
|
||||
Complex/custom configurations may be better suited to a [manual](manual-setup/index.md) installation of Mainsail.
|
||||
Advanced users may want more complex and custom configurations and Mainsail can be [manually installed](manual-setup/index.md).
|
||||
|
||||
If you are familiar with the flashing process, then please use your preferred method as you normally would.
|
||||
If you are familiar with process to flash the firmware, then please use your preferred method as you normally would.
|
||||
|
||||
If however you are unfamiliar with the flashing process then we have documented two methods to flash MainsailOS to your SD card:
|
||||
If however you are unfamiliar with the flashing process we have documented two methods to flash MainsailOS to your SD card:
|
||||
|
||||
* [Raspberry Pi Imager](mainsailos/pi-imager) (cross-platform, easiest) <span class="label label-red">recommended</span>
|
||||
* [Balena Etcher](mainsailos/balena-etcher) (requires manual setup)
|
||||
@@ -47,6 +47,7 @@ balenaEtcher appearance may vary depending on the host OS.
|
||||

|
||||
|
||||
* Return the the main screen, and select 'Flash'. Accept any warnings to continue.
|
||||
|
||||
**FLASHING WILL DESTROY ALL DATA ON YOUR SD CARD AND CANNOT BE REVERSED**
|
||||
{: .alert}
|
||||
|
||||
|
||||
@@ -11,54 +11,55 @@ permalink: /setup/mainsailos/first-boot
|
||||
|
||||
# First boot
|
||||
|
||||
Insert the flashed SD card into your Pi and connect other desired/necessary hardware (ethernet, USB to 3D printer, webcam).
|
||||
Insert the flashed SD card into your Pi and connect any other hardware such a network cable, USB cable to the 3D printer, or a webcam.
|
||||
|
||||
Power on the Pi and leave it to boot.
|
||||
Power on the Pi and let it boot up.
|
||||
|
||||
**The initial boot of MainsailOS may take some time to expand your "root" filesystem. The larger the SD card, the longer the first boot will take.**
|
||||
{: .warning}
|
||||
|
||||
Initially the green LED on the Pi will be extremely active. After some time it will only intermittently flicker, indicating it has likely completed the boot sequence.
|
||||
|
||||
The web ui should now be ready to access on your local network:
|
||||
The web interface should now be ready to access on your local network:
|
||||
|
||||
```
|
||||
http://mainsailos.local
|
||||
http://<IP address of your pi>
|
||||
```
|
||||
or
|
||||
```
|
||||
http://<IP address of your Pi>
|
||||
```
|
||||
|
||||
## Mainsail.cfg
|
||||
|
||||
**Important:** Include the mainsail.cfg into your printer.cfg
|
||||
**Important:** Include `mainsail.cfg` in your printer.cfg file
|
||||
{: .warning}
|
||||
|
||||
Mainsail will not work unless Klipper is told to include its configuration. This can be achieved either by placing the contents of mainsail.cfg into your printer.cfg.
|
||||
Mainsail will not work correctly until `mainsail.cfg` is included in Klipper's configuration file. Open Klipper's default `printer.cfg` file in Mainsail's file manager located in `Settings > Machine`. If you do not have a `printer.cfg` file, you can create one. Add the following line to `printer.cfg`
|
||||
|
||||
To do this, open the default printer.cfg in the Mainsail web GUI:
|
||||
```
|
||||
[include mainsail.cfg]
|
||||
```
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
Add the following line:
|
||||
|
||||
```yml
|
||||
[include mainsail.cfg]
|
||||
```
|
||||
and click on the "Save & Restart" button.
|
||||
and click on the`Save & Restart` button.
|
||||
|
||||
## Updates
|
||||
|
||||
Once you've successfully navigated to the Mainsail web ui we _thoroughly_ recommend that you run updates.
|
||||
Once you've successfully navigated to the Mainsail's web interface it is _strongly_ recommend that you run any available updates.
|
||||
{: .info}
|
||||
|
||||
Klipper, Moonraker and Mainsail have fast development cycles and whilst we do our best to ensure MainsailOS ships as close to the bleeding edge as we can, there will always be a short delay before releases make it into the image.
|
||||
Klipper, Moonraker and Mainsail have fast development cycles and while we do our best to ensure MainsailOS ships as close to upstream as we can, there will always be a short delay before releases make it into MainsailOS' image.
|
||||
|
||||
We recommend that you enable and use the [built in update-manager](../../update/update-manager) to perform a system update, then update the stack components (Klipper, Moonraker, Mainsail)
|
||||
It is recommended that you enable and use the [built in update-manager](../../update/update-manager) to perform any system updates, then update Klipper, Moonraker, Mainsail as needed.
|
||||
|
||||

|
||||
|
||||
|
||||
MainsailOS is now configured, and we can get Klipper's [printer.cfg](klipper-setup) setup.
|
||||
MainsailOS is now configured, and Klipper's configuration file, [printer.cfg], can be setup.
|
||||
|
||||
---
|
||||
[< tool selection](../mainsail-os.md){: .btn } [next step >](klipper-setup){: .btn }
|
||||
|
||||
@@ -40,6 +40,6 @@ Before progressing to the next step, ensure that you have:
|
||||
|
||||
|
||||
---
|
||||
[< first boot](first-boot){: .btn } [next step >](pre-flight){: .btn }
|
||||
[< first boot](first-boot){: .btn } [next step >](../pre-flight){: .btn }
|
||||
|
||||
|
||||
@@ -5,19 +5,19 @@ parent: Setup Guides
|
||||
nav_order: 5
|
||||
has_children: false
|
||||
has_toc: false
|
||||
permalink: /setup/mainsailos/pre-flight
|
||||
permalink: /setup/pre-flight
|
||||
---
|
||||
|
||||
# Preflight Checklist
|
||||
|
||||
A quick run-through to check no important steps have been missed during installation and configuration.
|
||||
You may wish to review the list below to make sure you have not missed any important steps during the setup process.
|
||||
|
||||
| Installed software components: | Configured: | Performed: |
|
||||
| Installed software components: | Configured: | Completed: |
|
||||
| :-- | :-- | :-- |
|
||||
| ✅ MainsailOS<br> **OR** <br> ✅ Klipper<br> ✅ Moonraker<br> ✅ Mainsail<br> | ✅ Network<br> ✅ [Configured printer.cfg](k>
|
||||
| ✅ MainsailOS<br> **OR** <br> ✅ Klipper<br> ✅ Moonraker<br> ✅ Mainsail<br> | ✅ Network<br> ✅ [Configured printer.cfg](mainsailos/klipper-setup)<br> ✅ [Included mainsail.cfg](mainsailos/first-boot#mainsailcfg)| ✅ Updates<br> ✅ Klipper verification(s)|
|
||||
|
||||
# Time to print
|
||||
# Time to print!
|
||||
|
||||
If you've covered all the steps, you should now have a complete software stack ready to perform calibration prints!
|
||||
If you have performed all of the installation steps, your installation should be complete and you are ready to start calibrating and printing with your 3D printer.
|
||||
|
||||
**Thank you for choosing Mainsail**
|
||||
Vendored
+5
-1
@@ -11,4 +11,8 @@ description: >-
|
||||
# {{ page.title }}
|
||||
{{ page.description }}
|
||||
|
||||
Start with [prepare](/theming/prepare) to create a basic structure for your own theme, or take a look in [themes](/theming/themes) to see if there are already suitable themes from the Mainsail community.
|
||||
Start with [prepare](/theming/prepare) to create a basic structure for your own theme, or take a look in [themes](/theming/themes) to see if there are already suitable themes from the Mainsail community.
|
||||
|
||||
<div class="youtube-container">
|
||||
<iframe type="text/html" src="https://www.youtube.com/embed/kbSfLQtl4tA" frameborder="0"></iframe>
|
||||
</div>
|
||||
@@ -7,9 +7,10 @@ permalink: /update/
|
||||
has_toc: false
|
||||
---
|
||||
|
||||
There are currently two methods to update either via the web interface, or manually.
|
||||
There are two methods to update Mainsail: from Mainsail's interface in your web browser or by manually updating.
|
||||
|
||||
- [Update Manager](update-manager) <span class="label label-red">recommended</span>
|
||||
A built in update utility found in the web ui, under the machine tab.
|
||||
- [Manual Update](manual-update)
|
||||
Guides on manual update methods for each component; Klipper, Moonraker and Mainsail.
|
||||
|
||||
- [Update Manager Guide](update-manager) <span class="label label-red">(Recommended)</span>
|
||||
Update Klipper, Moonraker and Mainsail in your web browser using Mainsail. This is the recommended method.
|
||||
- [Manual Update Guide](manual-update)
|
||||
Review the included guides on how to manually update each component, including Klipper, Moonraker, and Mainsail.
|
||||
@@ -8,16 +8,18 @@ permalink: /update/klipper
|
||||
|
||||
## Klipper
|
||||
### Update from Repository
|
||||
|
||||
To update Klipper directly from its repository, run the following command in a terminal:
|
||||
|
||||
```bash
|
||||
cd ~/klipper
|
||||
git pull
|
||||
```
|
||||
|
||||
Restart Klipper (`sudo service klipper restart`) and check the `klippy.log`, if Klipper starts
|
||||
correctly and then continue the guide.
|
||||
Restart Klipper using the command `sudo service klipper restart` and check the `klippy.log`. if Klipper started correctly without any errors you may continue.
|
||||
|
||||
### Klipper config changes
|
||||
If you have issues after update your Klipper instance, you can check config changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md).
|
||||
### Klipper configuration changes
|
||||
If you have any issues after updating your Klipper instance, you can check the configuration changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md).
|
||||
|
||||
---
|
||||
[< table of contents](index.md){: .btn } [next step >](moonraker.md){: .btn}
|
||||
@@ -6,20 +6,26 @@ nav_order: 4
|
||||
permalink: /update/mainsail
|
||||
---
|
||||
|
||||
## Mainsail
|
||||
## Updating Mainsail
|
||||
|
||||
To update Mainsail manually, run the commands below in your terminal:
|
||||
|
||||
```bash
|
||||
cd ~/mainsail
|
||||
rm -R ./*
|
||||
wget -q -O mainsail.zip https://github.com/mainsail-crew/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
|
||||
```
|
||||
|
||||
### Move gui.json from gcodes to klipper_config
|
||||
This is only necessary if you update from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`.
|
||||
### Updating from 0.2.2 to 0.2.3 or higher
|
||||
|
||||
If you are updating from Mainsail version 0.2.2 to a newer version, you must move the file `gui.json` from the `gcodes` directory to the `klipper_config' directory.
|
||||
|
||||
This is only necessary when updating from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`.
|
||||
```
|
||||
mv ~/sdcard/gui.json ~/klipper_config/
|
||||
```
|
||||
|
||||
Now it should be possible to open the interface: `http://<printer-ip>/`.
|
||||
You should now be able to open Mainsail in your web browser at `http://<printer-ip>/`.
|
||||
|
||||
---
|
||||
[< previous step](moonraker.md){: .btn }
|
||||
@@ -6,21 +6,26 @@ nav_order: 3
|
||||
permalink: /update/moonraker
|
||||
---
|
||||
|
||||
## Moonraker
|
||||
## Updating Moonraker
|
||||
|
||||
To update Moonraker directly from its repository, run the following command in a terminal:
|
||||
|
||||
```bash
|
||||
cd ~/moonraker
|
||||
git pull
|
||||
```
|
||||
|
||||
Restart Moonraker (`sudo service moonraker restart`) and open the url `http://<printer-ip>:7125/printer/info` in your browser.
|
||||
Restart Moonraker using the command `sudo service moonraker restart` and open the URL `http://<printer-ip>:7125/printer/info` in your browser.
|
||||
|
||||
If you see a content like this
|
||||
Your printer is updated and ready if you see the following message:
|
||||
```
|
||||
{"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-643-g528f9f25", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}
|
||||
```
|
||||
|
||||
### Add Moonraker update manager
|
||||
To use the update manager in Mainsail you have to add this in your moonraker.conf:
|
||||
### Add Moonraker to the update manager
|
||||
|
||||
If you want to update Moonraker using the update manager, you need to add the following section to your printer's `moonraker.conf`:
|
||||
|
||||
```
|
||||
[update_manager]
|
||||
|
||||
@@ -30,21 +35,21 @@ repo: mainsail-crew/mainsail
|
||||
path: ~/mainsail
|
||||
```
|
||||
|
||||
### Change Moonraker to systemd service (December 6th 2020)
|
||||
Moonraker is now installed as a systemd service. If `moonraker.conf` is not located in the home directory, the command will looks something like the following:
|
||||
### Moonraker as a systemd service
|
||||
As of December 2020, Moonraker is added as a systemd service during installation. If `moonraker.conf` is not located in the home directory, run this command in your terminal:
|
||||
```bash
|
||||
~/moonraker/scripts/install-moonraker.sh -f -c /home/pi/klipper_config/moonraker.conf
|
||||
```
|
||||
This allows logging to stdout which can be viewed with the `journalctl -u moonraker command`.
|
||||
This allows logging to `stdout` which can be viewed with the command `journalctl -u moonraker` in your terminal.
|
||||
|
||||
### Update Moonraker dependence
|
||||
This is only nessasary, if you see missing modules in the moonraker log.
|
||||
### Update Moonraker's dependencies
|
||||
Updating Moonraker's dependecencies manually is only needed if you see missing modules in the Moonraker log. You can run the following command to update Moonraker's dependencies:
|
||||
```bash
|
||||
~/moonraker/scripts/install-moonraker.sh -r
|
||||
```
|
||||
|
||||
### Moonraker config changes
|
||||
If you have issues after update your Moonraker instance, you can check config changes [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md).
|
||||
### Moonraker configuration changes
|
||||
If you have issues after updating Moonraker, please review the list of changes requiring user intervention [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md).
|
||||
|
||||
---
|
||||
[< previous step](klipper.md){: .btn } [next step >](mainsail.md){: .btn }
|
||||
@@ -9,18 +9,18 @@ permalink: /update/update-manager
|
||||
|
||||
# Update Manager
|
||||
|
||||
You can find further information on this topic by checking out the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
|
||||
You can find further information on this topic in the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
|
||||
{: .info}
|
||||
|
||||
## Enabling the feature
|
||||
## Enabling Update Manager
|
||||
|
||||
To use the built in Update Manager it must first be enabled by editing the moonraker.conf file:
|
||||
To use the built in Update Manager it must first be enabled by editing the `moonraker.conf` file. From a terminal navigate to Klipper's configuration directory and edit the configuration file:
|
||||
|
||||
```bash
|
||||
cd ~/klipper_config
|
||||
sudo nano moonraker.conf
|
||||
```
|
||||
Add the following section to your printers moonraker.conf:
|
||||
Add the following section to your printer's `moonraker.conf`:
|
||||
|
||||
```yaml
|
||||
[update_manager]
|
||||
@@ -36,18 +36,20 @@ Restart Moonraker:
|
||||
sudo systemctl restart moonraker
|
||||
```
|
||||
|
||||
## Using the Web UI
|
||||
## Using Mainsail to Update
|
||||
|
||||
With the manager enabled reload the web ui and select the 'machine' tab from the sidebar. You should now see the Update Manager panel.
|
||||
With the update manager enabled, reload your web browser and select the 'Machine' tab from the sidebar. You should now see the Update Manager panel.
|
||||
|
||||
Holding shift whilst clicking the browser's refresh button (or pressing ctrl+f5) will force it to reload the page fully (without the cache).
|
||||
Holding shift while clicking the browser's refresh button (or pressing Control + F5) will force it to reload the page fully without the cache.
|
||||
{: .info}
|
||||
|
||||
Typically the update order is top to bottom.
|
||||
The update order is top to bottom.
|
||||
|
||||

|
||||
|
||||
To update a component, click the  button.
|
||||
To update a component, click the 'UPDATE' button next to the component you wish to update:
|
||||
|
||||
A new window will launch and the component will be updated. When the update is finished, the window can be closed.
|
||||

|
||||
|
||||
A popover window will launch and the component will be updated. When the update is finished, you can close the window.
|
||||
|
||||
Generated
+88
-110
@@ -1,29 +1,30 @@
|
||||
{
|
||||
"name": "mainsail",
|
||||
"version": "2.1.0-beta3",
|
||||
"version": "2.1.0-beta4",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mainsail",
|
||||
"version": "2.1.0-beta3",
|
||||
"version": "2.1.0-beta4",
|
||||
"dependencies": {
|
||||
"@codemirror/basic-setup": "^0.19.0",
|
||||
"@codemirror/highlight": "^0.19.2",
|
||||
"@codemirror/lang-javascript": "^0.19.1",
|
||||
"@codemirror/highlight": "^0.19.6",
|
||||
"@codemirror/lang-javascript": "^0.19.3",
|
||||
"@codemirror/lang-json": "^0.19.1",
|
||||
"@codemirror/language": "^0.19.7",
|
||||
"@codemirror/legacy-modes": "^0.19.0",
|
||||
"@codemirror/search": "^0.19.2",
|
||||
"@codemirror/state": "^0.19.1",
|
||||
"@codemirror/stream-parser": "^0.19.1",
|
||||
"@codemirror/view": "^0.19.1",
|
||||
"@sindarius/gcodeviewer": "^2.1.13",
|
||||
"@codemirror/search": "^0.19.4",
|
||||
"@codemirror/state": "^0.19.6",
|
||||
"@codemirror/stream-parser": "^0.19.2",
|
||||
"@codemirror/view": "^0.19.28",
|
||||
"@sindarius/gcodeviewer": "^2.1.17",
|
||||
"@types/overlayscrollbars": "^1.12.1",
|
||||
"axios": "^0.21.2",
|
||||
"core-js": "^3.16.0",
|
||||
"echarts": "^5.1.2",
|
||||
"echarts": "^5.2.2",
|
||||
"echarts-for-vue": "^1.4.1",
|
||||
"echarts-gl": "^2.0.7",
|
||||
"echarts-gl": "^2.0.8",
|
||||
"joi": "^17.4.1",
|
||||
"js-sha256": "^0.9.0",
|
||||
"object-assign-deep": "^0.4.0",
|
||||
@@ -1902,9 +1903,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@codemirror/highlight": {
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/highlight/-/highlight-0.19.2.tgz",
|
||||
"integrity": "sha512-SSbGFCZMXeWhhG3sQ+YiN1ChONiXrx3vA1uYddgrglqdyFakotVe7mwiWOW0e7TKO5JfQKYdVJx0SIRXTIomXg==",
|
||||
"version": "0.19.6",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/highlight/-/highlight-0.19.6.tgz",
|
||||
"integrity": "sha512-+eibu6on9quY8uN3xJ/n3rH+YIDLlpX7YulVmFvqAIz/ukRQ5tWaBmB7fMixHmnmRIRBRZgB8rNtonuMwZSAHQ==",
|
||||
"dependencies": {
|
||||
"@codemirror/language": "^0.19.0",
|
||||
"@codemirror/rangeset": "^0.19.0",
|
||||
@@ -1924,17 +1925,17 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@codemirror/lang-javascript": {
|
||||
"version": "0.19.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-0.19.1.tgz",
|
||||
"integrity": "sha512-fFAP4nkfU36c14K8f6ytVYYeuX/2E7dJ+bD7UCZPWavXYjwdHAgDCJGH84MjhBSh0lMc908We80vyYg1j3MnRQ==",
|
||||
"version": "0.19.3",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-0.19.3.tgz",
|
||||
"integrity": "sha512-2NE5z98Nz9Rv4OS5UtgehCSnyQjac+P85+evzy1D/4wllp/EPaHIEEtSP1daBvrLy49SdI/9vES3ZJu6rSv4/w==",
|
||||
"dependencies": {
|
||||
"@codemirror/autocomplete": "^0.19.0",
|
||||
"@codemirror/highlight": "^0.19.0",
|
||||
"@codemirror/highlight": "^0.19.6",
|
||||
"@codemirror/language": "^0.19.0",
|
||||
"@codemirror/lint": "^0.19.0",
|
||||
"@codemirror/state": "^0.19.0",
|
||||
"@codemirror/view": "^0.19.0",
|
||||
"@lezer/javascript": "^0.15.0"
|
||||
"@lezer/javascript": "^0.15.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@codemirror/lang-json": {
|
||||
@@ -1948,14 +1949,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@codemirror/language": {
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-0.19.2.tgz",
|
||||
"integrity": "sha512-Zz/gVezTknHhH2HcaMsYauxz06+3+IFU0nhhZmdTMcGbDL/ryQI2R543k9Zc58wA31lGa6uN+JzpZynEcGBwMQ==",
|
||||
"version": "0.19.7",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-0.19.7.tgz",
|
||||
"integrity": "sha512-pNNUtYWMIMG0lUSKyUXJr8U0rFiCKsKFXbA2Oj17PC+S1FY99hV0z1vcntW67ekAIZw9DMEUQnLsKBuIbAUX7Q==",
|
||||
"dependencies": {
|
||||
"@codemirror/state": "^0.19.0",
|
||||
"@codemirror/text": "^0.19.0",
|
||||
"@codemirror/view": "^0.19.0",
|
||||
"@lezer/common": "^0.15.0",
|
||||
"@lezer/common": "^0.15.5",
|
||||
"@lezer/lr": "^0.15.0"
|
||||
}
|
||||
},
|
||||
@@ -2019,31 +2020,30 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@codemirror/search": {
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/search/-/search-0.19.2.tgz",
|
||||
"integrity": "sha512-TrRxUxyJ/a7HXtUvMZhgkOUbKE1xO33UhXjn1XACEHKWhgovw1vEeEEti9dZejN8/QOOFJed39InUxmp7oQ8HA==",
|
||||
"version": "0.19.4",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/search/-/search-0.19.4.tgz",
|
||||
"integrity": "sha512-Oogbi/Ep7suM3Q6eCeRdaPBHyJtuFnYo287H9uXwrbS7nCCoqYBy272tUt0OMt3GhJ3yK0/g+XMDveb+HVKRtA==",
|
||||
"dependencies": {
|
||||
"@codemirror/panel": "^0.19.0",
|
||||
"@codemirror/rangeset": "^0.19.0",
|
||||
"@codemirror/state": "^0.19.2",
|
||||
"@codemirror/state": "^0.19.3",
|
||||
"@codemirror/text": "^0.19.0",
|
||||
"@codemirror/view": "^0.19.0",
|
||||
"crelt": "^1.0.5"
|
||||
}
|
||||
},
|
||||
"node_modules/@codemirror/state": {
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/state/-/state-0.19.2.tgz",
|
||||
"integrity": "sha512-dDqCrtkb0c/LYUlvQBLyLfkISEskbZnhvBbcVOF4j2AusJ1ptJ3EGMxBL9G16GP1TOdC1T613gA1J1qc3pbfGQ==",
|
||||
"version": "0.19.6",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/state/-/state-0.19.6.tgz",
|
||||
"integrity": "sha512-sqIQZE9VqwQj7D4c2oz9mfLhlT1ElAzGB5lO1lE33BPyrdNy1cJyCIOecT4cn4VeJOFrnjOeu+IftZ3zqdFETw==",
|
||||
"dependencies": {
|
||||
"@codemirror/text": "^0.19.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@codemirror/stream-parser": {
|
||||
"version": "0.19.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/stream-parser/-/stream-parser-0.19.1.tgz",
|
||||
"integrity": "sha512-ZoQR8oIDUaKyGm94lYSUAkfrFw7Cqr12MaIC6UAQter7GHYcN1A+Xa1z8rY0wd9Yv+w1yoDLY0XvpPMt2CEBzw==",
|
||||
"license": "MIT",
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/stream-parser/-/stream-parser-0.19.2.tgz",
|
||||
"integrity": "sha512-hBKRQlyu8GUOrY33xZ6/1kAfNZ8ZUm6cX9a7mPx8zAAqnpz/fpksC/qJRrkg1mPMBwxm+JG4fqAwDGJ3gLVniQ==",
|
||||
"dependencies": {
|
||||
"@codemirror/highlight": "^0.19.0",
|
||||
"@codemirror/language": "^0.19.0",
|
||||
@@ -2068,13 +2068,12 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@codemirror/view": {
|
||||
"version": "0.19.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-0.19.1.tgz",
|
||||
"integrity": "sha512-CxSM5Q9hK89CSX6mpT1ZPDq3kjzE1Ynx02l12M/MVTLvExge/8Ly8L+NYbKHpsR/uRtNc4E9V+dep+JXYOJYqQ==",
|
||||
"license": "MIT",
|
||||
"version": "0.19.28",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-0.19.28.tgz",
|
||||
"integrity": "sha512-GsUC+or1uJAhy6QaRDaAK7MwQ4JqZsjDv3A3zzWhELP5I/V+qNBY5RmaMNwsM5kNJOKrGf9pVigJocFI5kiPzg==",
|
||||
"dependencies": {
|
||||
"@codemirror/rangeset": "^0.19.0",
|
||||
"@codemirror/state": "^0.19.0",
|
||||
"@codemirror/state": "^0.19.3",
|
||||
"@codemirror/text": "^0.19.0",
|
||||
"style-mod": "^4.0.0",
|
||||
"w3c-keyname": "^2.2.4"
|
||||
@@ -2139,14 +2138,14 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@lezer/common": {
|
||||
"version": "0.15.3",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-0.15.3.tgz",
|
||||
"integrity": "sha512-TLDp0BX/XAXhR2tleyWM7TjQ6LXVkkh2PcAHPu+fgi0xcT9JmI56Gh8zgMhoztDJAzH2ItMmufzVPVeBwz9VDw=="
|
||||
"version": "0.15.10",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-0.15.10.tgz",
|
||||
"integrity": "sha512-vlr+be73zTDoQBIknBVOh/633tmbQcjxUu9PIeVeYESeBK3V6TuBW96RRFg93Y2cyK9lglz241gOgSn452HFvA=="
|
||||
},
|
||||
"node_modules/@lezer/javascript": {
|
||||
"version": "0.15.0",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-0.15.0.tgz",
|
||||
"integrity": "sha512-euFjbbyYmxpBls9FyBAKnGLEjaMFqfHvhfueA7M1PitZdieHu8KSblutmcwjpWKIV4eH4uElMZO2cPVe0aFxXA==",
|
||||
"version": "0.15.2",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-0.15.2.tgz",
|
||||
"integrity": "sha512-ytWvdJ1NAc0pfrNipGQs8otJVfjVibpIiFKH0fl99rKSA6cVlyQN/XTj/dEAQCfBfCBPAFdc30cuUe5CGZ0odA==",
|
||||
"dependencies": {
|
||||
"@lezer/lr": "^0.15.0"
|
||||
}
|
||||
@@ -2254,9 +2253,9 @@
|
||||
"integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ=="
|
||||
},
|
||||
"node_modules/@sindarius/gcodeviewer": {
|
||||
"version": "2.1.13",
|
||||
"resolved": "https://registry.npmjs.org/@sindarius/gcodeviewer/-/gcodeviewer-2.1.13.tgz",
|
||||
"integrity": "sha512-TAQi1YhNQ55eLemeviQvFxSOpwsNXaM1hSGgAHX/IirmduENjVtI582f4+dt/3/K+irEEaOFK763E465m+3oYg==",
|
||||
"version": "2.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@sindarius/gcodeviewer/-/gcodeviewer-2.1.17.tgz",
|
||||
"integrity": "sha512-N7knP2qP/sAdsyKjY+S6W7rRArLGIxQJ8iAqRJp7fFooW8eAtefZcIERbIECj8+R8kWKCFKw7US3NWa/TylKdQ==",
|
||||
"dependencies": {
|
||||
"@babylonjs/core": "^4.2.0",
|
||||
"@babylonjs/inspector": "^4.2.0",
|
||||
@@ -3592,18 +3591,6 @@
|
||||
"webpack": ">=2.0.0 <5.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/cli-plugin-eslint/node_modules/rimraf": {
|
||||
"version": "2.6.3",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
|
||||
"integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"glob": "^7.1.3"
|
||||
},
|
||||
"bin": {
|
||||
"rimraf": "bin.js"
|
||||
}
|
||||
},
|
||||
"node_modules/@vue/cli-plugin-pwa": {
|
||||
"version": "4.5.15",
|
||||
"resolved": "https://registry.npmjs.org/@vue/cli-plugin-pwa/-/cli-plugin-pwa-4.5.15.tgz",
|
||||
@@ -8150,9 +8137,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/echarts-gl": {
|
||||
"version": "2.0.7",
|
||||
"resolved": "https://registry.npmjs.org/echarts-gl/-/echarts-gl-2.0.7.tgz",
|
||||
"integrity": "sha512-ZP6BSIEhA4uj4VRphbASV4lfa0Vszp17zMumLo5f48IP6T9zzxRa/fr/UwGaqYMCNh5qbJ8OvWkP28AV7zi06w==",
|
||||
"version": "2.0.8",
|
||||
"resolved": "https://registry.npmjs.org/echarts-gl/-/echarts-gl-2.0.8.tgz",
|
||||
"integrity": "sha512-ayFmjLxdF9pRpnh1Lz5aOgjnLqL3WIGu0t4Bt+oFwXGsViU2XcjCkHZARsZdv05lySow8eMD9JYZGXfLpuqYng==",
|
||||
"dependencies": {
|
||||
"claygl": "^1.2.1",
|
||||
"zrender": "^5.1.1"
|
||||
@@ -21309,9 +21296,9 @@
|
||||
}
|
||||
},
|
||||
"@codemirror/highlight": {
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/highlight/-/highlight-0.19.2.tgz",
|
||||
"integrity": "sha512-SSbGFCZMXeWhhG3sQ+YiN1ChONiXrx3vA1uYddgrglqdyFakotVe7mwiWOW0e7TKO5JfQKYdVJx0SIRXTIomXg==",
|
||||
"version": "0.19.6",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/highlight/-/highlight-0.19.6.tgz",
|
||||
"integrity": "sha512-+eibu6on9quY8uN3xJ/n3rH+YIDLlpX7YulVmFvqAIz/ukRQ5tWaBmB7fMixHmnmRIRBRZgB8rNtonuMwZSAHQ==",
|
||||
"requires": {
|
||||
"@codemirror/language": "^0.19.0",
|
||||
"@codemirror/rangeset": "^0.19.0",
|
||||
@@ -21331,17 +21318,17 @@
|
||||
}
|
||||
},
|
||||
"@codemirror/lang-javascript": {
|
||||
"version": "0.19.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-0.19.1.tgz",
|
||||
"integrity": "sha512-fFAP4nkfU36c14K8f6ytVYYeuX/2E7dJ+bD7UCZPWavXYjwdHAgDCJGH84MjhBSh0lMc908We80vyYg1j3MnRQ==",
|
||||
"version": "0.19.3",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/lang-javascript/-/lang-javascript-0.19.3.tgz",
|
||||
"integrity": "sha512-2NE5z98Nz9Rv4OS5UtgehCSnyQjac+P85+evzy1D/4wllp/EPaHIEEtSP1daBvrLy49SdI/9vES3ZJu6rSv4/w==",
|
||||
"requires": {
|
||||
"@codemirror/autocomplete": "^0.19.0",
|
||||
"@codemirror/highlight": "^0.19.0",
|
||||
"@codemirror/highlight": "^0.19.6",
|
||||
"@codemirror/language": "^0.19.0",
|
||||
"@codemirror/lint": "^0.19.0",
|
||||
"@codemirror/state": "^0.19.0",
|
||||
"@codemirror/view": "^0.19.0",
|
||||
"@lezer/javascript": "^0.15.0"
|
||||
"@lezer/javascript": "^0.15.1"
|
||||
}
|
||||
},
|
||||
"@codemirror/lang-json": {
|
||||
@@ -21355,14 +21342,14 @@
|
||||
}
|
||||
},
|
||||
"@codemirror/language": {
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-0.19.2.tgz",
|
||||
"integrity": "sha512-Zz/gVezTknHhH2HcaMsYauxz06+3+IFU0nhhZmdTMcGbDL/ryQI2R543k9Zc58wA31lGa6uN+JzpZynEcGBwMQ==",
|
||||
"version": "0.19.7",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/language/-/language-0.19.7.tgz",
|
||||
"integrity": "sha512-pNNUtYWMIMG0lUSKyUXJr8U0rFiCKsKFXbA2Oj17PC+S1FY99hV0z1vcntW67ekAIZw9DMEUQnLsKBuIbAUX7Q==",
|
||||
"requires": {
|
||||
"@codemirror/state": "^0.19.0",
|
||||
"@codemirror/text": "^0.19.0",
|
||||
"@codemirror/view": "^0.19.0",
|
||||
"@lezer/common": "^0.15.0",
|
||||
"@lezer/common": "^0.15.5",
|
||||
"@lezer/lr": "^0.15.0"
|
||||
}
|
||||
},
|
||||
@@ -21425,30 +21412,30 @@
|
||||
}
|
||||
},
|
||||
"@codemirror/search": {
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/search/-/search-0.19.2.tgz",
|
||||
"integrity": "sha512-TrRxUxyJ/a7HXtUvMZhgkOUbKE1xO33UhXjn1XACEHKWhgovw1vEeEEti9dZejN8/QOOFJed39InUxmp7oQ8HA==",
|
||||
"version": "0.19.4",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/search/-/search-0.19.4.tgz",
|
||||
"integrity": "sha512-Oogbi/Ep7suM3Q6eCeRdaPBHyJtuFnYo287H9uXwrbS7nCCoqYBy272tUt0OMt3GhJ3yK0/g+XMDveb+HVKRtA==",
|
||||
"requires": {
|
||||
"@codemirror/panel": "^0.19.0",
|
||||
"@codemirror/rangeset": "^0.19.0",
|
||||
"@codemirror/state": "^0.19.2",
|
||||
"@codemirror/state": "^0.19.3",
|
||||
"@codemirror/text": "^0.19.0",
|
||||
"@codemirror/view": "^0.19.0",
|
||||
"crelt": "^1.0.5"
|
||||
}
|
||||
},
|
||||
"@codemirror/state": {
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/state/-/state-0.19.2.tgz",
|
||||
"integrity": "sha512-dDqCrtkb0c/LYUlvQBLyLfkISEskbZnhvBbcVOF4j2AusJ1ptJ3EGMxBL9G16GP1TOdC1T613gA1J1qc3pbfGQ==",
|
||||
"version": "0.19.6",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/state/-/state-0.19.6.tgz",
|
||||
"integrity": "sha512-sqIQZE9VqwQj7D4c2oz9mfLhlT1ElAzGB5lO1lE33BPyrdNy1cJyCIOecT4cn4VeJOFrnjOeu+IftZ3zqdFETw==",
|
||||
"requires": {
|
||||
"@codemirror/text": "^0.19.0"
|
||||
}
|
||||
},
|
||||
"@codemirror/stream-parser": {
|
||||
"version": "0.19.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/stream-parser/-/stream-parser-0.19.1.tgz",
|
||||
"integrity": "sha512-ZoQR8oIDUaKyGm94lYSUAkfrFw7Cqr12MaIC6UAQter7GHYcN1A+Xa1z8rY0wd9Yv+w1yoDLY0XvpPMt2CEBzw==",
|
||||
"version": "0.19.2",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/stream-parser/-/stream-parser-0.19.2.tgz",
|
||||
"integrity": "sha512-hBKRQlyu8GUOrY33xZ6/1kAfNZ8ZUm6cX9a7mPx8zAAqnpz/fpksC/qJRrkg1mPMBwxm+JG4fqAwDGJ3gLVniQ==",
|
||||
"requires": {
|
||||
"@codemirror/highlight": "^0.19.0",
|
||||
"@codemirror/language": "^0.19.0",
|
||||
@@ -21473,12 +21460,12 @@
|
||||
}
|
||||
},
|
||||
"@codemirror/view": {
|
||||
"version": "0.19.1",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-0.19.1.tgz",
|
||||
"integrity": "sha512-CxSM5Q9hK89CSX6mpT1ZPDq3kjzE1Ynx02l12M/MVTLvExge/8Ly8L+NYbKHpsR/uRtNc4E9V+dep+JXYOJYqQ==",
|
||||
"version": "0.19.28",
|
||||
"resolved": "https://registry.npmjs.org/@codemirror/view/-/view-0.19.28.tgz",
|
||||
"integrity": "sha512-GsUC+or1uJAhy6QaRDaAK7MwQ4JqZsjDv3A3zzWhELP5I/V+qNBY5RmaMNwsM5kNJOKrGf9pVigJocFI5kiPzg==",
|
||||
"requires": {
|
||||
"@codemirror/rangeset": "^0.19.0",
|
||||
"@codemirror/state": "^0.19.0",
|
||||
"@codemirror/state": "^0.19.3",
|
||||
"@codemirror/text": "^0.19.0",
|
||||
"style-mod": "^4.0.0",
|
||||
"w3c-keyname": "^2.2.4"
|
||||
@@ -21535,14 +21522,14 @@
|
||||
}
|
||||
},
|
||||
"@lezer/common": {
|
||||
"version": "0.15.3",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-0.15.3.tgz",
|
||||
"integrity": "sha512-TLDp0BX/XAXhR2tleyWM7TjQ6LXVkkh2PcAHPu+fgi0xcT9JmI56Gh8zgMhoztDJAzH2ItMmufzVPVeBwz9VDw=="
|
||||
"version": "0.15.10",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/common/-/common-0.15.10.tgz",
|
||||
"integrity": "sha512-vlr+be73zTDoQBIknBVOh/633tmbQcjxUu9PIeVeYESeBK3V6TuBW96RRFg93Y2cyK9lglz241gOgSn452HFvA=="
|
||||
},
|
||||
"@lezer/javascript": {
|
||||
"version": "0.15.0",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-0.15.0.tgz",
|
||||
"integrity": "sha512-euFjbbyYmxpBls9FyBAKnGLEjaMFqfHvhfueA7M1PitZdieHu8KSblutmcwjpWKIV4eH4uElMZO2cPVe0aFxXA==",
|
||||
"version": "0.15.2",
|
||||
"resolved": "https://registry.npmjs.org/@lezer/javascript/-/javascript-0.15.2.tgz",
|
||||
"integrity": "sha512-ytWvdJ1NAc0pfrNipGQs8otJVfjVibpIiFKH0fl99rKSA6cVlyQN/XTj/dEAQCfBfCBPAFdc30cuUe5CGZ0odA==",
|
||||
"requires": {
|
||||
"@lezer/lr": "^0.15.0"
|
||||
}
|
||||
@@ -21639,9 +21626,9 @@
|
||||
"integrity": "sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ=="
|
||||
},
|
||||
"@sindarius/gcodeviewer": {
|
||||
"version": "2.1.13",
|
||||
"resolved": "https://registry.npmjs.org/@sindarius/gcodeviewer/-/gcodeviewer-2.1.13.tgz",
|
||||
"integrity": "sha512-TAQi1YhNQ55eLemeviQvFxSOpwsNXaM1hSGgAHX/IirmduENjVtI582f4+dt/3/K+irEEaOFK763E465m+3oYg==",
|
||||
"version": "2.1.17",
|
||||
"resolved": "https://registry.npmjs.org/@sindarius/gcodeviewer/-/gcodeviewer-2.1.17.tgz",
|
||||
"integrity": "sha512-N7knP2qP/sAdsyKjY+S6W7rRArLGIxQJ8iAqRJp7fFooW8eAtefZcIERbIECj8+R8kWKCFKw7US3NWa/TylKdQ==",
|
||||
"requires": {
|
||||
"@babylonjs/core": "^4.2.0",
|
||||
"@babylonjs/inspector": "^4.2.0",
|
||||
@@ -22667,15 +22654,6 @@
|
||||
"object-hash": "^1.1.4",
|
||||
"rimraf": "^2.6.1"
|
||||
}
|
||||
},
|
||||
"rimraf": {
|
||||
"version": "2.6.3",
|
||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz",
|
||||
"integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"glob": "^7.1.3"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -26289,9 +26267,9 @@
|
||||
}
|
||||
},
|
||||
"echarts-gl": {
|
||||
"version": "2.0.7",
|
||||
"resolved": "https://registry.npmjs.org/echarts-gl/-/echarts-gl-2.0.7.tgz",
|
||||
"integrity": "sha512-ZP6BSIEhA4uj4VRphbASV4lfa0Vszp17zMumLo5f48IP6T9zzxRa/fr/UwGaqYMCNh5qbJ8OvWkP28AV7zi06w==",
|
||||
"version": "2.0.8",
|
||||
"resolved": "https://registry.npmjs.org/echarts-gl/-/echarts-gl-2.0.8.tgz",
|
||||
"integrity": "sha512-ayFmjLxdF9pRpnh1Lz5aOgjnLqL3WIGu0t4Bt+oFwXGsViU2XcjCkHZARsZdv05lySow8eMD9JYZGXfLpuqYng==",
|
||||
"requires": {
|
||||
"claygl": "^1.2.1",
|
||||
"zrender": "^5.1.1"
|
||||
|
||||
+11
-10
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mainsail",
|
||||
"version": "2.1.0-beta4",
|
||||
"version": "2.1.0-rc1",
|
||||
"private": true,
|
||||
"decription": "a klipper web interface",
|
||||
"author": {
|
||||
@@ -15,21 +15,22 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/basic-setup": "^0.19.0",
|
||||
"@codemirror/highlight": "^0.19.2",
|
||||
"@codemirror/lang-javascript": "^0.19.1",
|
||||
"@codemirror/language": "^0.19.7",
|
||||
"@codemirror/highlight": "^0.19.6",
|
||||
"@codemirror/lang-javascript": "^0.19.3",
|
||||
"@codemirror/lang-json": "^0.19.1",
|
||||
"@codemirror/legacy-modes": "^0.19.0",
|
||||
"@codemirror/search": "^0.19.2",
|
||||
"@codemirror/state": "^0.19.1",
|
||||
"@codemirror/stream-parser": "^0.19.1",
|
||||
"@codemirror/view": "^0.19.1",
|
||||
"@sindarius/gcodeviewer": "^2.1.13",
|
||||
"@codemirror/search": "^0.19.4",
|
||||
"@codemirror/state": "^0.19.6",
|
||||
"@codemirror/stream-parser": "^0.19.2",
|
||||
"@codemirror/view": "^0.19.28",
|
||||
"@sindarius/gcodeviewer": "^2.1.17",
|
||||
"@types/overlayscrollbars": "^1.12.1",
|
||||
"axios": "^0.21.2",
|
||||
"core-js": "^3.16.0",
|
||||
"echarts": "^5.1.2",
|
||||
"echarts": "^5.2.2",
|
||||
"echarts-for-vue": "^1.4.1",
|
||||
"echarts-gl": "^2.0.7",
|
||||
"echarts-gl": "^2.0.8",
|
||||
"joi": "^17.4.1",
|
||||
"js-sha256": "^0.9.0",
|
||||
"object-assign-deep": "^0.4.0",
|
||||
|
||||
+2
-2
@@ -114,11 +114,11 @@ export default class App extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get logoColor(): string {
|
||||
return this.$store.state.gui.theme.logo
|
||||
return this.$store.state.gui.uiSettings.logo
|
||||
}
|
||||
|
||||
get primaryColor(): string {
|
||||
return this.$store.state.gui.theme.primary
|
||||
return this.$store.state.gui.uiSettings.primary
|
||||
}
|
||||
|
||||
get warningColor(): string {
|
||||
|
||||
@@ -13,4 +13,22 @@ $t('App.ThrottledStates.DescriptionTemperatureLimitActive')
|
||||
$t('App.ThrottledStates.DescriptionPreviouslyUnderVolted')
|
||||
$t('App.ThrottledStates.DescriptionPreviouslyFrequencyCapped')
|
||||
$t('App.ThrottledStates.DescriptionPreviouslyThrottled')
|
||||
$t('App.ThrottledStates.DescriptionPreviouslyTemperatureLimited')
|
||||
$t('App.ThrottledStates.DescriptionPreviouslyTemperatureLimited')
|
||||
$t('App.TopCornerMenu.Start')
|
||||
$t('App.TopCornerMenu.Restart')
|
||||
$t('App.TopCornerMenu.Stop')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Title.KlipperRestart')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Title.KlipperFirmwareRestart')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Title.ServiceStart')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Title.ServiceRestart')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Title.ServiceStop')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Title.HostReboot')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Title.HostShutdown')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Description.KlipperStop')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Description.KlipperRestart')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Description.KlipperFirmwareRestart')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Description.ServiceStart')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Description.ServiceRestart')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Description.ServiceStop')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Description.HostReboot')
|
||||
$t('App.TopCornerMenu.ConfirmationDialog.Description.HostShutdown')
|
||||
@@ -3,7 +3,7 @@
|
||||
<v-btn icon tile @click="showSettings = true">
|
||||
<v-icon>mdi-cogs</v-icon>
|
||||
</v-btn>
|
||||
<v-dialog v-model="showSettings" width="900" persistent :fullscreen="isMobile" @keydown.esc="showSettings = false">
|
||||
<v-dialog v-model="showSettings" width="900" persistent :fullscreen="isMobile" @keydown.esc="showSettings = false" scrollable>
|
||||
<panel :title="$t('Settings.InterfaceSettings')" icon="mdi-cogs" card-class="settings-menu-dialog" :margin-bottom="false" style="overflow: hidden;" :height="isMobile ? 0 : 548">
|
||||
<template v-slot:buttons>
|
||||
<v-btn icon tile @click="showSettings = false"><v-icon>mdi-close-thick</v-icon></v-btn>
|
||||
@@ -187,17 +187,18 @@ export default class TheSettingsMenu extends Mixins(BaseMixin) {
|
||||
|
||||
<style scoped>
|
||||
.settings-tabs {
|
||||
height: auto;
|
||||
max-height: calc(var(--app-height) - 96px);
|
||||
min-height: 100%;
|
||||
height: calc(var(--app-height) - 96px);
|
||||
}
|
||||
|
||||
.settings-tabs-bar {
|
||||
border-right: 1px solid rgba(255, 255, 255, 0.12);
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.settings-tabs-bar.height500,
|
||||
.settings-tabs.height500 {
|
||||
max-height: 500px;
|
||||
height: 500px;
|
||||
max-height: calc(var(--app-height) - 111px);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
+129
-43
@@ -2,24 +2,33 @@
|
||||
.nav-logo {
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.small-list-item {
|
||||
height: var(--sidebar-menu-item-height);
|
||||
}
|
||||
|
||||
.no-text-decoration {
|
||||
text-decoration: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.no-background:before {
|
||||
background-color: rgba(255, 255, 255, 0) !important;
|
||||
}
|
||||
|
||||
.no-border {
|
||||
border: 0 !important;
|
||||
}
|
||||
</style>
|
||||
<style scoped>
|
||||
.active-nav-item {
|
||||
border-right: 4px solid var(--v-primary-base);
|
||||
}
|
||||
|
||||
.menu-item-icon {
|
||||
opacity: .85;
|
||||
}
|
||||
|
||||
.menu-item-title {
|
||||
line-height: 30px;
|
||||
font-size: 14px;
|
||||
@@ -27,43 +36,78 @@
|
||||
text-transform: uppercase;
|
||||
opacity: .85;
|
||||
}
|
||||
|
||||
.nav-scrollbar {
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<v-navigation-drawer v-model="naviDrawer" :src="sidebarBackground" :mini-variant="(navigationStyle === 'iconsOnly')" :key="navigationStyle" :width="navigationWidth" clipped app>
|
||||
<v-list class="pr-0 pt-0 ml-0">
|
||||
<v-list-item-group active-class="active-nav-item">
|
||||
<template v-if="countPrinters">
|
||||
<v-list-item
|
||||
router to="/allPrinters"
|
||||
class="small-list-item mt-1"
|
||||
<v-navigation-drawer v-model="naviDrawer" :src="sidebarBackground" :mini-variant="(navigationStyle === 'iconsOnly')" :key="navigationStyle" :width="navigationWidth" :temporary="boolNaviTemp" clipped app :style="sidebarCssVars">
|
||||
<overlay-scrollbars class="nav-scrollbar">
|
||||
<v-list class="pr-0 pt-0 ml-0">
|
||||
<v-list-item-group active-class="active-nav-item">
|
||||
<v-list-item
|
||||
router to="/"
|
||||
:class="'sidebar-logo no-text-decoration no-background no-border ' + ((navigationStyle === 'iconsOnly') ? 'pa-0 justify-center' : '')"
|
||||
:style="'height: ' + topbarHeight + 'px'"
|
||||
:ripple="false"
|
||||
v-if="isMobile"
|
||||
>
|
||||
<v-list-item-icon class="my-3 mr-3 menu-item-icon">
|
||||
<v-icon>mdi-view-dashboard-outline</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title tile class="menu-item-title">{{ $t("App.Printers")}}</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
<template v-if="sidebarLogo">
|
||||
<img :src="sidebarLogo" :style="logoCssVars" class="nav-logo" alt="Logo" />
|
||||
</template>
|
||||
<template v-else>
|
||||
<mainsail-logo :color="logoColor" :style="logoCssVars" class="nav-logo" :ripple="false"></mainsail-logo>
|
||||
</template>
|
||||
<template v-if="navigationStyle !== 'iconsOnly'">
|
||||
<span class="text-h6 font-weight-regular text-truncate"> {{ printerName }} </span>
|
||||
</template>
|
||||
</v-list-item>
|
||||
<template v-if="countPrinters">
|
||||
<v-tooltip right :open-delay="500" :disabled="navigationStyle !== 'iconsOnly'">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-list-item
|
||||
router to="/allPrinters"
|
||||
class="small-list-item mt-1"
|
||||
v-bind="attrs"
|
||||
v-on="on"
|
||||
>
|
||||
<v-list-item-icon class="my-3 mr-3 menu-item-icon">
|
||||
<v-icon>mdi-view-dashboard-outline</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title tile class="menu-item-title">{{ $t("App.Printers") }}</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
|
||||
</v-list-item>
|
||||
<v-divider class="my-1"></v-divider>
|
||||
</template>
|
||||
<div v-for="(category, index) in naviPoints" :key="index">
|
||||
<v-list-item
|
||||
router :to="category.path"
|
||||
v-if="showInNavi(category)"
|
||||
class="small-list-item"
|
||||
>
|
||||
<v-list-item-icon class="my-3 mr-3 menu-item-icon">
|
||||
<v-icon>mdi-{{ category.icon }}</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title tile class="menu-item-title">{{ $t(`Router.${category.title}`) }}</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
</div>
|
||||
</v-list-item-group>
|
||||
</v-list>
|
||||
</v-list-item>
|
||||
</template>
|
||||
<span>{{ $t("App.Printers") }}</span>
|
||||
</v-tooltip>
|
||||
<v-divider class="my-1"></v-divider>
|
||||
</template>
|
||||
<div v-for="(category, index) in naviPoints" :key="index">
|
||||
<v-tooltip right :open-delay="500" :disabled="navigationStyle !== 'iconsOnly'">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-list-item
|
||||
router :to="category.path"
|
||||
class="small-list-item"
|
||||
v-bind="attrs"
|
||||
v-on="on"
|
||||
>
|
||||
<v-list-item-icon class="my-3 mr-3 menu-item-icon">
|
||||
<v-icon>mdi-{{ category.icon }}</v-icon>
|
||||
</v-list-item-icon>
|
||||
<v-list-item-content>
|
||||
<v-list-item-title tile class="menu-item-title">{{ $t(`Router.${category.title}`) }}</v-list-item-title>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
</template>
|
||||
<span>{{ $t(`Router.${category.title}`) }}</span>
|
||||
</v-tooltip>
|
||||
</div>
|
||||
</v-list-item-group>
|
||||
</v-list>
|
||||
</overlay-scrollbars>
|
||||
<template v-slot:append>
|
||||
<v-list-item class="small-list-item mb-2">
|
||||
<v-list-item-icon class="menu-item-icon">
|
||||
@@ -82,17 +126,20 @@ import BaseMixin from '@/components/mixins/base'
|
||||
import {PrinterStateKlipperConfig} from '@/store/printer/types'
|
||||
import TheSelectPrinterDialog from '@/components/TheSelectPrinterDialog.vue'
|
||||
import AboutModal from '@/components/modals/AboutModal.vue'
|
||||
import {navigationWidth} from '@/store/variables'
|
||||
import {navigationWidth, topbarHeight} from '@/store/variables'
|
||||
import MainsailLogo from '@/components/ui/MainsailLogo.vue'
|
||||
|
||||
@Component({
|
||||
components: {
|
||||
TheSelectPrinterDialog,
|
||||
AboutModal
|
||||
AboutModal,
|
||||
MainsailLogo
|
||||
}
|
||||
})
|
||||
|
||||
export default class TheSidebarAlt extends Mixins(BaseMixin) {
|
||||
export default class TheSidebar extends Mixins(BaseMixin) {
|
||||
navigationWidth = navigationWidth
|
||||
topbarHeight = topbarHeight
|
||||
|
||||
get naviDrawer(): boolean {
|
||||
return this.$store.state.naviDrawer
|
||||
@@ -103,7 +150,7 @@ export default class TheSidebarAlt extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get navigationStyle() {
|
||||
return this.$store.state.gui.dashboard.navigationStyle
|
||||
return this.$store.state.gui.uiSettings.navigationStyle
|
||||
}
|
||||
|
||||
get sidebarBackground(): string {
|
||||
@@ -111,7 +158,9 @@ export default class TheSidebarAlt extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get naviPoints(): AppRoute[] {
|
||||
return routes.filter((element) => element.showInNavi)
|
||||
return routes.filter((element) => {
|
||||
return element.showInNavi && this.showInNavi(element)
|
||||
})
|
||||
}
|
||||
|
||||
get klippy_state(): string {
|
||||
@@ -119,7 +168,7 @@ export default class TheSidebarAlt extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get boolNaviWebcam(): boolean {
|
||||
return this.$store.state.gui.webcamSettings.boolNavi
|
||||
return this.$store.state.gui.uiSettings.boolWebcamNavi
|
||||
}
|
||||
|
||||
get moonrakerComponents(): string[] {
|
||||
@@ -138,14 +187,51 @@ export default class TheSidebarAlt extends Mixins(BaseMixin) {
|
||||
return this.$route.fullPath
|
||||
}
|
||||
|
||||
get isUpdateAvailable(): boolean {
|
||||
return this.$store.getters['server/updateManager/isUpdateAvailable']
|
||||
}
|
||||
|
||||
get countPrinters() {
|
||||
return this.$store.getters['farm/countPrinters']
|
||||
}
|
||||
|
||||
get boolNaviTemp(): boolean {
|
||||
if(!this.isMobile && this.$vuetify.breakpoint.mdAndDown) {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
get sidebarCssVars(): any {
|
||||
if(this.boolNaviTemp){
|
||||
return {
|
||||
'top': `${topbarHeight}px !important`,
|
||||
'padding-bottom': `${topbarHeight}px`
|
||||
}
|
||||
}
|
||||
return {}
|
||||
}
|
||||
|
||||
get sidebarLogo(): string {
|
||||
return this.$store.getters['files/getSidebarLogo']
|
||||
}
|
||||
|
||||
get logoColor(): string {
|
||||
return this.$store.state.gui.uiSettings.logo
|
||||
}
|
||||
|
||||
get printerName():string {
|
||||
if (this.$store.state.gui.general.printername.length)
|
||||
return this.$store.state.gui.general.printername
|
||||
|
||||
return this.$store.state.printer.hostname
|
||||
}
|
||||
|
||||
get logoCssVars() {
|
||||
if(this.navigationStyle !== 'iconsOnly'){
|
||||
return {
|
||||
'margin-right': '16px'
|
||||
}
|
||||
}
|
||||
return {}
|
||||
}
|
||||
|
||||
showInNavi(route: AppRoute): boolean {
|
||||
if (['shutdown', 'error', 'disconnected'].includes(this.klippy_state) && !route.alwaysShow) return false
|
||||
else if (route.title === 'Webcam' && !this.boolNaviWebcam) return false
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
<v-list dense>
|
||||
<template v-if="klipperState !== 'disconnected'">
|
||||
<v-subheader class="" style="height: auto;">{{ $t("App.TopCornerMenu.KlipperControl") }}</v-subheader>
|
||||
<v-list-item class="minheight30 pr-2" link @click="klipperRestart()">
|
||||
<v-list-item class="minheight30 pr-2" link @click="checkDialog(klipperRestart)">
|
||||
<v-list-item-title>{{ $t("App.TopCornerMenu.KlipperRestart") }}</v-list-item-title>
|
||||
<v-list-item-action class="my-0 d-flex flex-row" style="min-width: auto;">
|
||||
<v-icon class="mr-2" small>mdi-restart</v-icon>
|
||||
</v-list-item-action>
|
||||
</v-list-item>
|
||||
<v-list-item class="minheight30 pr-2" link @click="klipperFirmwareRestart()">
|
||||
<v-list-item class="minheight30 pr-2" link @click="checkDialog(klipperFirmwareRestart)">
|
||||
<v-list-item-title>{{ $t("App.TopCornerMenu.KlipperFirmwareRestart") }}</v-list-item-title>
|
||||
<v-list-item-action class="my-0 d-flex flex-row" style="min-width: auto;">
|
||||
<v-icon class="mr-2" small>mdi-restart</v-icon>
|
||||
@@ -41,9 +41,9 @@
|
||||
</v-tooltip>
|
||||
</v-list-item-title>
|
||||
<v-list-item-action class="my-0 d-flex flex-row" style="min-width: auto;">
|
||||
<v-btn icon small v-if="getServiceState(service) === 'inactive'" @click="serviceStart(service)"><v-icon small>mdi-play</v-icon></v-btn>
|
||||
<v-btn icon small v-else @click="serviceRestart(service)"><v-icon small>mdi-restart</v-icon></v-btn>
|
||||
<v-btn icon small :disabled="getServiceState(service) === 'inactive'" @click="serviceStop(service)"><v-icon small>mdi-stop</v-icon></v-btn>
|
||||
<v-btn icon small v-if="getServiceState(service) === 'inactive'" @click="checkDialog(serviceStart, service)"><v-icon small>mdi-play</v-icon></v-btn>
|
||||
<v-btn icon small v-else @click="checkDialog(serviceRestart, service)"><v-icon small>mdi-restart</v-icon></v-btn>
|
||||
<v-btn icon small :disabled="getServiceState(service) === 'inactive' || service === 'moonraker'" @click="checkDialog(serviceStop, service)" :style="service === 'moonraker' ? 'visibility: hidden;' : ''"><v-icon small>mdi-stop</v-icon></v-btn>
|
||||
</v-list-item-action>
|
||||
</v-list-item>
|
||||
</template>
|
||||
@@ -59,13 +59,13 @@
|
||||
</template>
|
||||
<v-divider class="mt-0"></v-divider>
|
||||
<v-subheader class="pt-2" style="height: auto;">{{ $t("App.TopCornerMenu.HostControl") }}</v-subheader>
|
||||
<v-list-item class="minheight30 pr-2" link @click="hostReboot()">
|
||||
<v-list-item class="minheight30 pr-2" link @click="checkDialog(hostReboot)">
|
||||
<v-list-item-title>{{ $t("App.TopCornerMenu.Reboot") }}</v-list-item-title>
|
||||
<v-list-item-action class="my-0 d-flex flex-row" style="min-width: auto;">
|
||||
<v-icon class="mr-2" small>mdi-power</v-icon>
|
||||
</v-list-item-action>
|
||||
</v-list-item>
|
||||
<v-list-item class="minheight30 pr-2" link @click="hostShutdown()">
|
||||
<v-list-item class="minheight30 pr-2" link @click="checkDialog(hostShutdown)">
|
||||
<v-list-item-title>{{ $t("App.TopCornerMenu.Shutdown") }}</v-list-item-title>
|
||||
<v-list-item-action class="my-0 d-flex flex-row" style="min-width: auto;">
|
||||
<v-icon class="mr-2" small>mdi-power</v-icon>
|
||||
@@ -84,6 +84,29 @@
|
||||
</v-card-actions>
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
<v-dialog v-model="dialogConfirmation.show" width="400" :fullscreen="isMobile">
|
||||
<panel card-class="confirm-top-corner-menu-dialog" icon="mdi-alert" :title="dialogConfirmation.title" :margin-bottom="false">
|
||||
<template v-slot:buttons>
|
||||
<v-btn icon tile @click="dialogConfirmation.show = false"><v-icon>mdi-close-thick</v-icon></v-btn>
|
||||
</template>
|
||||
<v-card-text class="pt-3">
|
||||
<v-row>
|
||||
<v-col>
|
||||
<p class="body-2">{{ dialogConfirmation.description }}</p>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn text @click="dialogConfirmation.show = false">
|
||||
{{ $t('App.TopCornerMenu.Cancel') }}
|
||||
</v-btn>
|
||||
<v-btn text color="error" @click="executeDialog">
|
||||
{{ dialogConfirmation.actionButtonText }}
|
||||
</v-btn>
|
||||
</v-card-actions>
|
||||
</panel>
|
||||
</v-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -93,6 +116,7 @@ import Component from 'vue-class-component'
|
||||
import { Mixins } from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import {ServerPowerStateDevice} from '@/store/server/power/types'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
|
||||
interface dialogPowerDeviceChange {
|
||||
show: boolean
|
||||
@@ -100,7 +124,18 @@ interface dialogPowerDeviceChange {
|
||||
value: string
|
||||
}
|
||||
|
||||
@Component
|
||||
interface dialogConfirmation {
|
||||
show: boolean
|
||||
serviceName: string | null
|
||||
executableFunction: any | null
|
||||
title: string
|
||||
description: string
|
||||
actionButtonText: string
|
||||
}
|
||||
|
||||
@Component({
|
||||
components: {Panel}
|
||||
})
|
||||
export default class TheTopCornerMenu extends Mixins(BaseMixin) {
|
||||
|
||||
showMenu = false
|
||||
@@ -110,6 +145,15 @@ export default class TheTopCornerMenu extends Mixins(BaseMixin) {
|
||||
value: ''
|
||||
}
|
||||
|
||||
dialogConfirmation: dialogConfirmation = {
|
||||
show: false,
|
||||
serviceName: null,
|
||||
executableFunction: null,
|
||||
title: '',
|
||||
description: '',
|
||||
actionButtonText: ''
|
||||
}
|
||||
|
||||
get services() {
|
||||
const services = this.$store.state.server.system_info?.available_services?.filter((name: string) => name !== 'klipper_mcu') ?? []
|
||||
services.sort()
|
||||
@@ -136,6 +180,36 @@ export default class TheTopCornerMenu extends Mixins(BaseMixin) {
|
||||
return null
|
||||
}
|
||||
|
||||
checkDialog(executableFunction: any, serviceName: string | null = null) {
|
||||
if (this.printerIsPrinting) {
|
||||
const functionName = (executableFunction.name ?? 'unknown').replace('bound ', '')
|
||||
let action: string = 'Restart'
|
||||
const actionTypes = ['Start', 'Restart', 'Stop', 'Reboot', 'Shutdown']
|
||||
|
||||
actionTypes.forEach((actionType: string) => {
|
||||
if (functionName.endsWith(actionType)) action = actionType
|
||||
})
|
||||
|
||||
this.dialogConfirmation.executableFunction = executableFunction
|
||||
this.dialogConfirmation.serviceName = serviceName
|
||||
|
||||
const functionNameUppercase = functionName.trim().charAt(0).toUpperCase() + functionName.trim().slice(1)
|
||||
this.dialogConfirmation.title = this.$t('App.TopCornerMenu.ConfirmationDialog.Title.' + functionNameUppercase)+''
|
||||
|
||||
if (serviceName === 'klipper' && action === 'Stop') this.dialogConfirmation.description = this.$t('App.TopCornerMenu.ConfirmationDialog.Description.KlipperStop')+''
|
||||
else if (serviceName === 'klipper' && action === 'Restart') this.dialogConfirmation.description = this.$t('App.TopCornerMenu.ConfirmationDialog.Description.KlipperRestart')+''
|
||||
else this.dialogConfirmation.description = this.$t('App.TopCornerMenu.ConfirmationDialog.Description.' + functionNameUppercase)+''
|
||||
|
||||
this.dialogConfirmation.actionButtonText = this.$t('App.TopCornerMenu.' + action.charAt(0).toUpperCase() + action.slice(1))+''
|
||||
this.dialogConfirmation.show = true
|
||||
} else executableFunction(serviceName)
|
||||
}
|
||||
|
||||
executeDialog() {
|
||||
this.dialogConfirmation.executableFunction(this.dialogConfirmation.serviceName)
|
||||
this.dialogConfirmation.show = false
|
||||
}
|
||||
|
||||
klipperRestart() {
|
||||
this.showMenu = false
|
||||
this.$store.dispatch('server/addEvent', { message: 'RESTART', type: 'command' })
|
||||
@@ -167,11 +241,10 @@ export default class TheTopCornerMenu extends Mixins(BaseMixin) {
|
||||
this.dialogPowerDeviceChange.device = device.device
|
||||
this.dialogPowerDeviceChange.value = value
|
||||
|
||||
const confirmOnPowerDeviceChange = this.$store.state.gui.general.confirmOnPowerDeviceChange
|
||||
const confirmOnPowerDeviceChange = this.$store.state.gui.uiSettings.confirmOnPowerDeviceChange
|
||||
if (confirmOnPowerDeviceChange) {
|
||||
this.dialogPowerDeviceChange.show = true
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
this.powerDeviceToggle()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,11 @@
|
||||
.topbar .v-btn.v-btn--icon {
|
||||
width: var(--topbar-icon-btn-width) !important;
|
||||
}
|
||||
@media (min-width: 768px) {
|
||||
header.topbar {
|
||||
z-index: 8 !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
@@ -198,7 +203,7 @@ export default class TheTopbar extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get boolWideNavDrawer() {
|
||||
return this.$store.state.gui.dashboard.boolWideNavDrawer ?? false
|
||||
return this.$store.state.gui.uiSettings.boolWideNavDrawer ?? false
|
||||
}
|
||||
|
||||
get countPrinters() {
|
||||
@@ -206,7 +211,7 @@ export default class TheTopbar extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get boolHideUploadAndPrintButton() {
|
||||
return this.$store.state.gui.dashboard.boolHideUploadAndPrintButton ?? false
|
||||
return this.$store.state.gui.uiSettings.boolHideUploadAndPrintButton ?? false
|
||||
}
|
||||
|
||||
get sidebarLogo(): string {
|
||||
@@ -214,11 +219,11 @@ export default class TheTopbar extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get logoColor(): string {
|
||||
return this.$store.state.gui.theme.logo
|
||||
return this.$store.state.gui.uiSettings.logo
|
||||
}
|
||||
|
||||
btnEmergencyStop() {
|
||||
const confirmOnEmergencyStop = this.$store.state.gui.general.confirmOnEmergencyStop
|
||||
const confirmOnEmergencyStop = this.$store.state.gui.uiSettings.confirmOnEmergencyStop
|
||||
if (confirmOnEmergencyStop) {
|
||||
this.showEmergencyStopDialog = true
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ import { convertName } from '@/plugins/helpers'
|
||||
import Component from 'vue-class-component'
|
||||
import {Mixins, Watch} from 'vue-property-decorator'
|
||||
import BaseMixin from '../mixins/base'
|
||||
import {PrinterTempHistoryStateSerie} from '@/store/printer/tempHistory/types'
|
||||
import {PrinterTempHistoryStateSerie, PrinterTempHistoryStateSourceEntry} from '@/store/printer/tempHistory/types'
|
||||
|
||||
import { createComponent } from 'echarts-for-vue'
|
||||
import * as echarts from 'echarts'
|
||||
@@ -210,7 +210,7 @@ export default class TempChart extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get autoscale() {
|
||||
return this.$store.state.gui.tempchart.autoscale ?? true
|
||||
return this.$store.state.gui.view.tempchart.autoscale ?? true
|
||||
}
|
||||
|
||||
get maxTemp() {
|
||||
@@ -243,15 +243,24 @@ export default class TempChart extends Mixins(BaseMixin) {
|
||||
updateChart() {
|
||||
if (this.chart && this.isVisible) {
|
||||
//const t0 = performance.now()
|
||||
const limitDate = new Date(Date.now() - this.maxHistory * 1000)
|
||||
let newSource = [...this.source].filter((entry: PrinterTempHistoryStateSourceEntry) => {
|
||||
return entry.date >= limitDate
|
||||
})
|
||||
|
||||
this.chart?.setOption({
|
||||
dataset: {
|
||||
source: this.source
|
||||
source: newSource
|
||||
},
|
||||
})
|
||||
|
||||
//const t1 = performance.now()
|
||||
//window.console.debug(t1-t0)
|
||||
//window.console.debug('calc chart', (t1-t0).toFixed(), newSource.length, this.source.length)
|
||||
|
||||
// reset tempHistory if working sources are smaller than 80%
|
||||
if (this.source.length > 0 && newSource.length < this.maxHistory * 0.8) {
|
||||
this.$socket.emit('server.temperature_store', {}, { action: 'printer/tempHistory/init' })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,8 +25,8 @@
|
||||
|
||||
<template>
|
||||
<v-row :class="'ma-0 '+entryStyle">
|
||||
<v-col class="col-auto pr-0">{{ event.formatTime }}</v-col>
|
||||
<v-col :class="colorConsoleMessage(event)" v-html="event.formatMessage" @click.capture="commandClick"></v-col>
|
||||
<v-col class="col-auto pr-0 text--disabled console-time">{{ event.formatTime }}</v-col>
|
||||
<v-col :class="colorConsoleMessage(event) + ' ' + 'console-message'" v-html="event.formatMessage" @click.capture="commandClick"></v-col>
|
||||
</v-row>
|
||||
</template>
|
||||
|
||||
@@ -46,9 +46,9 @@ export default class ConsoleTableEntry extends Vue {
|
||||
}
|
||||
|
||||
colorConsoleMessage(item: ServerStateEvent): string {
|
||||
if (item.message.startsWith('!! ')) return 'red--text'
|
||||
if (item.message.startsWith('!! ')) return 'error--text'
|
||||
|
||||
return ''
|
||||
return 'text--primary'
|
||||
}
|
||||
|
||||
commandClick(event: Event) {
|
||||
|
||||
@@ -2,20 +2,39 @@
|
||||
<style>
|
||||
.viewer {
|
||||
width: 100%;
|
||||
height: calc(var(--app-height) - 250px);
|
||||
height: calc(var(--app-height) - 266px);
|
||||
border: 1px solid #3f3f3f;
|
||||
}
|
||||
|
||||
.slider-autoheight,
|
||||
.slider-autoheight .v-slider {
|
||||
height: calc(var(--app-height) - 250px);
|
||||
height: calc(var(--app-height) - 286px);
|
||||
}
|
||||
|
||||
@media (min-width: 600px) and (max-width: 959px) {
|
||||
.viewer {
|
||||
height: calc(var(--app-height) - 318px);
|
||||
}
|
||||
.slider-autoheight,
|
||||
.slider-autoheight .v-slider {
|
||||
height: calc(var(--app-height) - 338px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 599px) {
|
||||
.viewer {
|
||||
height: calc(var(--app-height) - 356px);
|
||||
}
|
||||
.slider-autoheight,
|
||||
.slider-autoheight .v-slider {
|
||||
height: calc(var(--app-height) - 376px);
|
||||
}
|
||||
}
|
||||
|
||||
.slider-autoheight .v-slider {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.slider-autoheight .v-input__slot {
|
||||
height: 100%;
|
||||
}
|
||||
@@ -63,70 +82,68 @@
|
||||
<v-col class="col-auto pr-6">
|
||||
<v-slider
|
||||
vertical
|
||||
:disabled="tracking"
|
||||
:disabled="loading || !loadedFile"
|
||||
:max="maxZSlider"
|
||||
:min="0"
|
||||
:value="zSlider"
|
||||
class="slider-autoheight"
|
||||
class="slider-autoheight mt-3"
|
||||
@input="updateZSlider"
|
||||
></v-slider>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="mt-0">
|
||||
<v-col>
|
||||
<v-select :items="colorModes" :label="$t('GCodeViewer.ColorMode')" item-text="text" dense v-model="colorMode" hide-details outlined attach></v-select>
|
||||
</v-col>
|
||||
<v-col class="text-center">
|
||||
<template v-if="loadedFile === null">
|
||||
<v-btn @click="loadCurrentFile" class="mr-3" v-if="sdCardFilePath !== '' && sdCardFilePath !== loadedFile">{{ $t("GCodeViewer.LoadCurrentFile")}}</v-btn>
|
||||
<v-btn @click="chooseFile">{{ $t("GCodeViewer.LoadLocal") }}</v-btn>
|
||||
</template>
|
||||
<template v-else>
|
||||
<v-btn @click="tracking=!tracking" v-if="showTrackingButton" class="mr-3"><v-icon v-html="tracking ? 'mdi-toggle-switch' : 'mdi-toggle-switch-off-outline'" class="mr-2"></v-icon>{{ $t("GCodeViewer.Tracking") }}</v-btn>
|
||||
<v-btn @click="clearLoadedFile">{{ $t("GCodeViewer.ClearLoadedFile") }}</v-btn>
|
||||
</template>
|
||||
</v-col>
|
||||
<v-row class="mt-0 d-flex align-top">
|
||||
<v-col>
|
||||
<v-row>
|
||||
<v-col>
|
||||
<v-select :items="renderQualities" :label="$t('GCodeViewer.RenderQuality')" item-text="label" dense v-model="renderQuality" hide-details outlined attach></v-select>
|
||||
<v-col order-md="2" class="d-flex align-content-space-around justify-center flex-wrap flex-md-nowrap col-12 col-md-4">
|
||||
<template v-if="loadedFile === null">
|
||||
<v-btn @click="loadCurrentFile" class="mr-3" v-if="sdCardFilePath !== '' && sdCardFilePath !== loadedFile">{{ $t("GCodeViewer.LoadCurrentFile")}}</v-btn>
|
||||
<v-btn @click="chooseFile">{{ $t("GCodeViewer.LoadLocal") }}</v-btn>
|
||||
</template>
|
||||
<template v-else>
|
||||
<v-btn @click="tracking=!tracking" class="mr-3" v-if="showTrackingButton"><v-icon v-html="tracking ? 'mdi-toggle-switch' : 'mdi-toggle-switch-off-outline'" class="mr-2"></v-icon>{{ $t("GCodeViewer.Tracking") }}</v-btn>
|
||||
<v-btn @click="clearLoadedFile">{{ $t("GCodeViewer.ClearLoadedFile") }}</v-btn>
|
||||
</template>
|
||||
</v-col>
|
||||
<v-col class="col-auto">
|
||||
<v-menu :offset-y="true" :offset-x="true" top :close-on-content-click="false" :title="$t('Files.SetupCurrentList')">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-btn class="minwidth-0 px-2" v-bind="attrs" v-on="on"><v-icon>mdi-cog</v-icon></v-btn>
|
||||
</template>
|
||||
<v-list>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="showCursor" :label="$t('GCodeViewer.ShowToolhead')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="showTravelMoves" :label="$t('GCodeViewer.ShowTravelMoves')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36" v-if="loadedFile === sdCardFilePath && printing_objects.length > 1">
|
||||
<v-checkbox class="mt-0" hide-details v-model="showObjectSelection" :label="$t('GCodeViewer.ShowObjectSelection')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-divider></v-divider>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="hdRendering" :label="$t('GCodeViewer.HDRendering')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="forceLineRendering" :label="$t('GCodeViewer.ForceLineRendering')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="transparency" :label="$t('GCodeViewer.Transparency')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="voxelMode" :label="$t('GCodeViewer.VoxelMode')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="specularLighting" :label="$t('GCodeViewer.SpecularLighting')"></v-checkbox>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
<v-col class="col-12 col-sm-6 col-md-4">
|
||||
<v-select :items="colorModes" :label="$t('GCodeViewer.ColorMode')" item-text="text" dense v-model="colorMode" hide-details outlined></v-select>
|
||||
</v-col>
|
||||
<v-col order-md="3" class="col-12 col-sm-6 col-md-4">
|
||||
<v-select :items="renderQualities" :label="$t('GCodeViewer.RenderQuality')" item-text="label" dense v-model="renderQuality" hide-details outlined></v-select>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-col>
|
||||
<v-menu :offset-y="true" :offset-x="true" top :close-on-content-click="false" :title="$t('Files.SetupCurrentList')">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-btn class="minwidth-0 px-2 mr-3 mt-3" v-bind="attrs" v-on="on"><v-icon>mdi-cog</v-icon></v-btn>
|
||||
</template>
|
||||
<v-list>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="showCursor" :label="$t('GCodeViewer.ShowToolhead')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="showTravelMoves" :label="$t('GCodeViewer.ShowTravelMoves')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36" v-if="loadedFile === sdCardFilePath && printing_objects.length > 1">
|
||||
<v-checkbox class="mt-0" hide-details v-model="showObjectSelection" :label="$t('GCodeViewer.ShowObjectSelection')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-divider></v-divider>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="hdRendering" :label="$t('GCodeViewer.HDRendering')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="forceLineRendering" :label="$t('GCodeViewer.ForceLineRendering')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="transparency" :label="$t('GCodeViewer.Transparency')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="voxelMode" :label="$t('GCodeViewer.VoxelMode')"></v-checkbox>
|
||||
</v-list-item>
|
||||
<v-list-item class="minHeight36">
|
||||
<v-checkbox class="mt-0" hide-details v-model="specularLighting" :label="$t('GCodeViewer.SpecularLighting')"></v-checkbox>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
</v-row>
|
||||
<input :accept="'.g,.gcode,.gc,.gco,.nc,.ngc,.tap'" @change="fileSelected" hidden multiple ref="fileInput" type="file" />
|
||||
</v-card-text>
|
||||
@@ -234,6 +251,7 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
|
||||
async mounted() {
|
||||
this.loadedFile = this.$store.state.gcodeviewer?.loadedFileBackup ?? null
|
||||
viewer = this.$store.state.gcodeviewer?.viewerBackup ?? null
|
||||
|
||||
await this.init()
|
||||
|
||||
@@ -244,6 +262,7 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
if (viewer) {
|
||||
viewer.gcodeProcessor.loadingProgressCallback = null
|
||||
this.$store.dispatch('gcodeviewer/setLoadedFileBackup', this.loadedFile)
|
||||
this.$store.dispatch('gcodeviewer/setViewerBackup', viewer)
|
||||
}
|
||||
|
||||
window.removeEventListener('resize', this.eventListenerResize)
|
||||
@@ -258,7 +277,7 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get sdCardFilePath() {
|
||||
return this.$store.state.printer.print_stats.filename ?? ''
|
||||
return this.$store.state.printer.print_stats?.filename ?? ''
|
||||
}
|
||||
|
||||
get currentPosition() {
|
||||
@@ -285,7 +304,12 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
canvasElement.className = 'viewer'
|
||||
this.$refs.viewerCanvasContainer.appendChild(canvasElement)
|
||||
await this.$store.dispatch('gcodeviewer/setCanvasBackup', canvasElement)
|
||||
} else this.$refs.viewerCanvasContainer.appendChild(canvasElement)
|
||||
} else {
|
||||
this.$refs.viewerCanvasContainer.appendChild(canvasElement)
|
||||
if (viewer?.gcodeProcessor) {
|
||||
viewer.gcodeProcessor.updateFilePosition(viewer?.fileSize)
|
||||
}
|
||||
}
|
||||
|
||||
if (viewer === null) {
|
||||
await this.viewerInit(canvasElement)
|
||||
@@ -303,7 +327,8 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
viewerInit(element: HTMLCanvasElement) {
|
||||
viewer = new GCodeViewer(element)
|
||||
viewer.init()
|
||||
viewer.setBackgroundColor('#121212')
|
||||
viewer.setBackgroundColor(this.backgroundColor)
|
||||
viewer.bed.setBedColor(this.gridColor)
|
||||
viewer.setCursorVisiblity(this.showCursor)
|
||||
viewer.setZClipPlane(1000000, -1000000)
|
||||
viewer.axes.show(this.showAxes)
|
||||
@@ -359,6 +384,7 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
if (viewer) {
|
||||
viewer.clearScene(true)
|
||||
this.loadedFile = null
|
||||
this.tracking = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -373,7 +399,6 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
this.zSlider = this.maxZSlider
|
||||
this.loading = false
|
||||
viewer.setCursorVisiblity(this.showCursor)
|
||||
viewer.gcodeProcessor.updateFilePosition(viewer.fileSize)
|
||||
|
||||
if (this.loadedFile === this.sdCardFilePath && this.printing_objects.length) {
|
||||
let objects: any = []
|
||||
@@ -393,6 +418,8 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
viewer.buildObjects.loadObjectBoundaries(objects)
|
||||
viewer.buildObjects.showObjectSelection(this.showObjectSelection)
|
||||
}
|
||||
|
||||
viewer.gcodeProcessor.updateFilePosition(viewer.fileSize)
|
||||
}
|
||||
|
||||
async fileSelected(e: any) {
|
||||
@@ -521,7 +548,7 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
if (newVal > 0 && this.printerIsPrinting && this.tracking && newVal > offset) {
|
||||
viewer.gcodeProcessor.updateFilePosition(newVal - offset)
|
||||
} else {
|
||||
viewer.gcodeProcessor.updateFilePosition(0)
|
||||
viewer.gcodeProcessor.updateFilePosition(viewer.fileSize)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -529,6 +556,8 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
async trackingChanged(newVal: boolean) {
|
||||
if (!viewer) return
|
||||
if (newVal) {
|
||||
//Set zSlider to max value
|
||||
this.zSlider = this.maxZSlider
|
||||
//Force renderers reload.
|
||||
viewer.gcodeProcessor.updateFilePosition(0)
|
||||
viewer?.forceRender()
|
||||
@@ -725,7 +754,7 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get backgroundColor() {
|
||||
return this.$store.state.gui.gcodeViewer?.backgroundColor ?? '#000000'
|
||||
return this.$store.state.gui.gcodeViewer?.backgroundColor ?? '#121212'
|
||||
}
|
||||
|
||||
@Watch('backgroundColor')
|
||||
@@ -735,7 +764,7 @@ export default class Viewer extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get gridColor() {
|
||||
return this.$store.state.gui.gcodeViewer?.gridColor ?? '#000000'
|
||||
return this.$store.state.gui.gcodeViewer?.gridColor ?? '#B3B3B3'
|
||||
}
|
||||
|
||||
@Watch('gridColor')
|
||||
|
||||
@@ -1,33 +1,55 @@
|
||||
<style scoped>
|
||||
._spin_button_group {
|
||||
width: 24px;
|
||||
margin: -6px -6px 0 -6px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<form v-on:submit.prevent="sendCmd">
|
||||
<v-text-field
|
||||
v-model="value"
|
||||
class="d-flex align-center"
|
||||
@click:append="resetLimit"
|
||||
:label="label"
|
||||
:suffix="unit"
|
||||
:append-icon="this.value !== this.defaultValue ? 'mdi-refresh' : ''"
|
||||
:error="this.value < 0"
|
||||
:append-icon="this.value !== this.defaultValue ? 'mdi-restart' : ''"
|
||||
:error="(this.value < this.min) || ((this.value > this.max) && this.max !== null)"
|
||||
:step="step"
|
||||
:min="min"
|
||||
:max="max"
|
||||
:dec="dec"
|
||||
type="number"
|
||||
min="0"
|
||||
hide-spin-buttons
|
||||
hide-details
|
||||
outlined
|
||||
dense
|
||||
></v-text-field>
|
||||
>
|
||||
<template v-slot:append-outer>
|
||||
<div class="_spin_button_group">
|
||||
<v-btn @click="increment" class="mt-n3" icon plain small><v-icon>mdi-chevron-up</v-icon></v-btn>
|
||||
<v-btn @click="decrement" class="mb-n3" icon plain small><v-icon>mdi-chevron-down</v-icon></v-btn>
|
||||
</div>
|
||||
</template>
|
||||
</v-text-field>
|
||||
</form>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Component from 'vue-class-component'
|
||||
import {Mixins, Prop, Watch} from 'vue-property-decorator'
|
||||
import {Debounce} from 'vue-debounce-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
|
||||
@Component
|
||||
export default class FirmwareRetractionSettingsInput extends Mixins(BaseMixin) {
|
||||
private value: any = 0
|
||||
private value: number = 0
|
||||
|
||||
@Prop({ type: String, required: true }) readonly label!: string
|
||||
@Prop({ type: Number, required: false }) readonly step!: string
|
||||
@Prop({ type: Number, required: false , default: 1 }) readonly step!: number
|
||||
@Prop({ type: Number, required: true , default: 0 }) readonly min!: number
|
||||
@Prop({ type: Number, default: null }) readonly max!: number | null
|
||||
@Prop({ type: Number, required: true , default: 0 }) readonly dec!: number
|
||||
@Prop({ type: Number, required: true, default: 0 }) readonly target!: number
|
||||
@Prop({ type: Number, required: true, default: 0 }) readonly defaultValue!: number
|
||||
@Prop({ type: String, required: true }) readonly attributeName!: string
|
||||
@@ -42,14 +64,25 @@ export default class FirmwareRetractionSettingsInput extends Mixins(BaseMixin) {
|
||||
this.value = this.target
|
||||
}
|
||||
|
||||
resetLimit() {
|
||||
resetLimit(): void {
|
||||
this.value = this.defaultValue
|
||||
|
||||
this.sendCmd()
|
||||
}
|
||||
|
||||
sendCmd() {
|
||||
const gcode = 'SET_RETRACTION ' + this.attributeName + '=' + Math.max(0, this.value).toFixed(2)
|
||||
decrement(): void {
|
||||
this.value = (this.value > this.min) ? Math.round((this.value - this.step) * (10 ** this.dec)) / (10 ** this.dec) : this.min
|
||||
this.sendCmd()
|
||||
}
|
||||
|
||||
increment(): void {
|
||||
this.value = (this.value < this.max! || this.max === null) ? Math.round((this.value + this.step) * (10 ** this.dec)) / (10 ** this.dec) : this.max
|
||||
this.sendCmd()
|
||||
}
|
||||
|
||||
@Debounce(500)
|
||||
sendCmd(): void {
|
||||
const gcode = 'SET_RETRACTION ' + this.attributeName + '=' + Math.max(this.min, this.value).toFixed(this.dec)
|
||||
this.$store.dispatch('server/addEvent', {message: gcode, type: 'command'})
|
||||
this.$socket.emit('printer.gcode.script', {script: gcode})
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
import Component from 'vue-class-component'
|
||||
import {Mixins, Prop, Watch} from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import {GuiMacrogroupsStateMacrogroupMacro} from '@/store/gui/macrogroups/types'
|
||||
import {GuiMacrosStateMacrogroupMacro} from '@/store/gui/macros/types'
|
||||
|
||||
interface param {
|
||||
type: 'int' | 'double' | 'string' | null,
|
||||
@@ -85,7 +85,7 @@ export default class MacroButton extends Mixins(BaseMixin) {
|
||||
private paramArray: string[] = []
|
||||
private params: params = {}
|
||||
|
||||
@Prop({ required: true }) readonly macro!: GuiMacrogroupsStateMacrogroupMacro
|
||||
@Prop({ required: true }) readonly macro!: GuiMacrosStateMacrogroupMacro
|
||||
@Prop({ default: 'primary' }) readonly color!: string
|
||||
|
||||
get klipperMacro() {
|
||||
|
||||
@@ -106,11 +106,11 @@ export default class MiscellaneousSlider extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get lockSliders() {
|
||||
return this.$store.state.gui.general.lockSlidersOnTouchDevices
|
||||
return this.$store.state.gui.uiSettings.lockSlidersOnTouchDevices
|
||||
}
|
||||
|
||||
get lockSlidersDelay() {
|
||||
return this.$store.state.gui.general.lockSlidersDelay
|
||||
return this.$store.state.gui.uiSettings.lockSlidersDelay
|
||||
}
|
||||
|
||||
@Debounce(500)
|
||||
|
||||
@@ -1,39 +1,57 @@
|
||||
<style scoped>
|
||||
|
||||
._spin_button_group {
|
||||
width: 24px;
|
||||
margin: -6px -6px 0 -6px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<form v-on:submit.prevent="sendCmd">
|
||||
<v-text-field
|
||||
v-model="value"
|
||||
class="d-flex align-center"
|
||||
@click:append="resetLimit"
|
||||
:label="label"
|
||||
:suffix="unit"
|
||||
v-model="value"
|
||||
:append-icon="this.value !== this.defaultValue ? 'mdi-restart' : ''"
|
||||
:error="(this.value < this.min) || ((this.value > this.max) && this.max !== null)"
|
||||
:step="step"
|
||||
:min="min"
|
||||
:max="max"
|
||||
:dec="dec"
|
||||
type="number"
|
||||
hide-spin-buttons
|
||||
hide-details
|
||||
outlined
|
||||
dense
|
||||
:append-icon="this.value !== this.defaultValue ? 'mdi-refresh' : ''"
|
||||
:error="this.value <= 0"
|
||||
min="1"
|
||||
@click:append="resetLimit"
|
||||
hide-details
|
||||
hide-spin-buttons
|
||||
></v-text-field>
|
||||
>
|
||||
<template v-slot:append-outer>
|
||||
<div class="_spin_button_group">
|
||||
<v-btn @click="increment" class="mt-n3" icon plain small><v-icon>mdi-chevron-up</v-icon></v-btn>
|
||||
<v-btn @click="decrement" class="mb-n3" icon plain small><v-icon>mdi-chevron-down</v-icon></v-btn>
|
||||
</div>
|
||||
</template>
|
||||
</v-text-field>
|
||||
</form>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Component from 'vue-class-component'
|
||||
import {Mixins, Prop, Watch} from 'vue-property-decorator'
|
||||
import {Debounce} from 'vue-debounce-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
|
||||
@Component
|
||||
export default class MotionSettingsInput extends Mixins(BaseMixin) {
|
||||
private value: any = 0
|
||||
private value: number = 0
|
||||
|
||||
@Prop({ type: String, required: true }) readonly label!: string
|
||||
@Prop({ type: Number, required: false , default: 1 }) readonly step!: number
|
||||
@Prop({ type: Number, required: true , default: 0 }) readonly min!: number
|
||||
@Prop({ type: Number, default: null }) readonly max!: number | null
|
||||
@Prop({ type: Number, required: true , default: 0 }) readonly dec!: number
|
||||
@Prop({ type: Number, required: true, default: 0 }) readonly target!: number
|
||||
@Prop({ type: Number, required: true, default: 0 }) readonly defaultValue!: number
|
||||
@Prop({ type: Number, required: true, default: 100 }) readonly max!: number
|
||||
@Prop({ type: String, required: true }) readonly attributeName!: string
|
||||
@Prop({ type: String, required: true }) readonly unit!: string
|
||||
|
||||
@@ -46,14 +64,25 @@ export default class MotionSettingsInput extends Mixins(BaseMixin) {
|
||||
this.value = this.target
|
||||
}
|
||||
|
||||
resetLimit() {
|
||||
resetLimit(): void {
|
||||
this.value = this.defaultValue
|
||||
|
||||
this.sendCmd()
|
||||
}
|
||||
|
||||
sendCmd() {
|
||||
const gcode = 'SET_VELOCITY_LIMIT ' + this.attributeName + '=' + Math.max(1, this.value).toFixed(0)
|
||||
decrement(): void {
|
||||
this.value = (this.value > this.min) ? Math.round((this.value - this.step) * (10 ** this.dec)) / (10 ** this.dec) : this.min
|
||||
this.sendCmd()
|
||||
}
|
||||
|
||||
increment(): void {
|
||||
this.value = (this.value < this.max! || this.max === null) ? Math.round((this.value + this.step) * (10 ** this.dec)) / (10 ** this.dec) : this.max
|
||||
this.sendCmd()
|
||||
}
|
||||
|
||||
@Debounce(500)
|
||||
sendCmd(): void {
|
||||
const gcode = 'SET_VELOCITY_LIMIT ' + this.attributeName + '=' + Math.max(this.min, this.value).toFixed(this.dec)
|
||||
this.$store.dispatch('server/addEvent', {message: gcode, type: 'command'})
|
||||
this.$socket.emit('printer.gcode.script', {script: gcode})
|
||||
}
|
||||
|
||||
@@ -0,0 +1,93 @@
|
||||
<style scoped>
|
||||
._spin_button_group {
|
||||
width: 24px;
|
||||
margin: -6px -6px 0 -6px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<template>
|
||||
<form v-on:submit.prevent="sendCmd">
|
||||
<v-text-field
|
||||
v-model="value"
|
||||
class="d-flex align-center"
|
||||
@click:append="resetLimit"
|
||||
:label="label"
|
||||
:suffix="unit"
|
||||
:append-icon="this.value !== this.defaultValue ? 'mdi-restart' : ''"
|
||||
:error="(this.value < this.min) || ((this.value > this.max) && this.max !== null)"
|
||||
:step="step"
|
||||
:min="min"
|
||||
:max="max"
|
||||
:dec="dec"
|
||||
type="number"
|
||||
hide-spin-buttons
|
||||
hide-details
|
||||
outlined
|
||||
dense
|
||||
>
|
||||
<template v-slot:append-outer>
|
||||
<div class="_spin_button_group">
|
||||
<v-btn @click="increment" class="mt-n3" icon plain small><v-icon>mdi-chevron-up</v-icon></v-btn>
|
||||
<v-btn @click="decrement" class="mb-n3" icon plain small><v-icon>mdi-chevron-down</v-icon></v-btn>
|
||||
</div>
|
||||
</template>
|
||||
</v-text-field>
|
||||
</form>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Component from 'vue-class-component'
|
||||
import {Mixins, Prop, Watch} from 'vue-property-decorator'
|
||||
import {Debounce} from 'vue-debounce-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
|
||||
@Component
|
||||
export default class PressureAdvanceSettingsInput extends Mixins(BaseMixin) {
|
||||
private value: number = 0
|
||||
|
||||
@Prop({ type: String, required: true }) readonly label!: string
|
||||
@Prop({ type: Number, required: false , default: 1 }) readonly step!: number
|
||||
@Prop({ type: Number, required: true , default: 0 }) readonly min!: number
|
||||
@Prop({ type: Number, default: null }) readonly max!: number | null
|
||||
@Prop({ type: Number, required: true , default: 0 }) readonly dec!: number
|
||||
@Prop({ type: Number, required: true, default: 0 }) readonly target!: number
|
||||
@Prop({ type: Number, required: true, default: 0 }) readonly defaultValue!: number
|
||||
@Prop({ type: String, required: true, default: 'extruder'}) readonly extruder!: string
|
||||
@Prop({ type: String, required: true }) readonly attributeName!: string
|
||||
@Prop({ type: String, required: true }) readonly unit!: string
|
||||
|
||||
@Watch('target')
|
||||
targetChanged(newVal: number): void {
|
||||
this.value = newVal
|
||||
}
|
||||
|
||||
created(): void {
|
||||
this.value = this.target
|
||||
}
|
||||
|
||||
resetLimit(): void {
|
||||
this.value = this.defaultValue
|
||||
|
||||
this.sendCmd()
|
||||
}
|
||||
|
||||
decrement(): void {
|
||||
this.value = (this.value > this.min) ? Math.round((this.value - this.step) * (10 ** this.dec)) / (10 ** this.dec) : this.min
|
||||
this.sendCmd()
|
||||
}
|
||||
|
||||
increment(): void {
|
||||
this.value = (this.value < this.max! || this.max === null) ? Math.round((this.value + this.step) * (10 ** this.dec)) / (10 ** this.dec) : this.max
|
||||
this.sendCmd()
|
||||
}
|
||||
|
||||
@Debounce(500)
|
||||
sendCmd(): void {
|
||||
const gcode = 'SET_PRESSURE_ADVANCE ' + 'EXTRUDER=' + this.extruder + ' '
|
||||
+ this.attributeName + '=' + Math.max(this.min, this.value).toFixed(this.dec)
|
||||
this.$store.dispatch('server/addEvent', {message: gcode, type: 'command'})
|
||||
this.$socket.emit('printer.gcode.script', {script: gcode})
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
@@ -26,10 +26,13 @@
|
||||
:items="items"
|
||||
item-text="value"
|
||||
type="number"
|
||||
@change="setTemps"
|
||||
attach
|
||||
@keyup.enter="setTemps"
|
||||
@keydown.tab="setTemps"
|
||||
@change="changeValue"
|
||||
@blur="onBlur"
|
||||
hide-spin-buttons
|
||||
></v-combobox>
|
||||
>
|
||||
</v-combobox>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
@@ -49,17 +52,30 @@ export default class ToolInput extends Mixins(BaseMixin) {
|
||||
@Prop({ type: String, required: true }) readonly attributeName!: string
|
||||
@Prop({ type: Array, default: [] }) items!: number[]
|
||||
|
||||
changeValue(newVal: any) {
|
||||
if (typeof newVal === 'object') {
|
||||
this.setTemps()
|
||||
}
|
||||
}
|
||||
|
||||
onBlur(event: any) {
|
||||
if ('target' in event && event.target && 'value' in event.target) {
|
||||
this.value = event.target.value ?? this.value
|
||||
this.setTemps()
|
||||
}
|
||||
}
|
||||
|
||||
setTemps(): void {
|
||||
if (typeof this.value === 'object') this.value = this.value.value ?? 0
|
||||
if (this.value === '') this.value = 0
|
||||
if (this.value === null) this.value = 0
|
||||
|
||||
if (this.value > this.max_temp) {
|
||||
this.value = { value: this.target, text: this.target }
|
||||
this.$toast.error('Temperature too high for '+this.name+'! (max: '+this.max_temp+')')
|
||||
this.$toast.error(this.$t('Panels.ToolsPanel.TempTooHigh', { name: this.name, max: this.max_temp })+'')
|
||||
} else if (this.value < this.min_temp && this.value != 0) {
|
||||
this.value = { value: this.target, text: this.target }
|
||||
this.$toast.error('Temperature too low for '+this.name+'! (min: '+this.min_temp+')')
|
||||
} else {
|
||||
this.$toast.error(this.$t('Panels.ToolsPanel.TempTooLow', { name: this.name, min: this.min_temp })+'')
|
||||
} else if (this.target !== parseFloat(this.value)) {
|
||||
const gcode = this.command+' '+this.attributeName+'='+this.name+' TARGET='+this.value
|
||||
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
|
||||
this.$socket.emit('printer.gcode.script', { script: gcode })
|
||||
|
||||
@@ -119,11 +119,11 @@ export default class ToolSlider extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get lockSliders() {
|
||||
return this.$store.state.gui.general.lockSlidersOnTouchDevices
|
||||
return this.$store.state.gui.uiSettings.lockSlidersOnTouchDevices
|
||||
}
|
||||
|
||||
get lockSlidersDelay() {
|
||||
return this.$store.state.gui.general.lockSlidersDelay
|
||||
return this.$store.state.gui.uiSettings.lockSlidersDelay
|
||||
}
|
||||
|
||||
get colorBar() {
|
||||
|
||||
@@ -41,7 +41,9 @@ export default class BaseMixin extends Vue {
|
||||
}
|
||||
|
||||
get printer_state(): string {
|
||||
return this.$store.state.printer.print_stats?.state ?? ''
|
||||
const printer_state = this.$store.state.printer.print_stats?.state ?? ''
|
||||
const timelapse_pause = this.$store.state.printer['gcode_macro TIMELAPSE_TAKE_FRAME']?.is_paused ?? false
|
||||
return (printer_state === 'paused' && timelapse_pause) ? 'printing' : printer_state
|
||||
}
|
||||
|
||||
get isMobile() {
|
||||
@@ -61,7 +63,8 @@ export default class BaseMixin extends Vue {
|
||||
}
|
||||
|
||||
get isTouchDevice() {
|
||||
return (('ontouchstart' in window) || (navigator.maxTouchPoints > 0))
|
||||
// ignore if browser reports maxTouchPoints === 256, can happen on Windows 10
|
||||
return (('ontouchstart' in window) || (navigator.maxTouchPoints > 0 && navigator.maxTouchPoints !== 256))
|
||||
}
|
||||
|
||||
get moonrakerComponents() {
|
||||
|
||||
@@ -13,11 +13,11 @@ export default class ControlMixin extends Vue {
|
||||
}
|
||||
|
||||
get feedrateXY() {
|
||||
return this.$store.state.gui.dashboard?.control?.feedrateXY ?? 100
|
||||
return this.$store.state.gui.control?.feedrateXY ?? 100
|
||||
}
|
||||
|
||||
get feedrateZ() {
|
||||
return this.$store.state.gui.dashboard?.control?.feedrateZ ?? 10
|
||||
return this.$store.state.gui.control?.feedrateZ ?? 10
|
||||
}
|
||||
|
||||
get existsQGL() {
|
||||
|
||||
@@ -2,17 +2,22 @@ import Component from 'vue-class-component'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import {allDashboardPanels} from '@/store/variables'
|
||||
import {capitalize} from '@/plugins/helpers'
|
||||
import {GuiMacrogroupsStateMacrogroup} from '@/store/gui/macrogroups/types'
|
||||
import {GuiMacrosStateMacrogroup} from '@/store/gui/macros/types'
|
||||
|
||||
@Component
|
||||
export default class DashboardMixin extends BaseMixin {
|
||||
|
||||
get macroMode() {
|
||||
return this.$store.state.gui.dashboard.macroManagement ?? 'simple'
|
||||
return this.$store.state.gui.macros.mode ?? 'simple'
|
||||
}
|
||||
|
||||
get macrogroups() {
|
||||
return this.$store.getters['gui/macrogroups/getAllMacrogroups'] ?? []
|
||||
return this.$store.getters['gui/macros/getAllMacrogroups'] ?? []
|
||||
}
|
||||
|
||||
|
||||
get webcams() {
|
||||
return this.$store.getters['gui/webcams/getWebcams'] ?? []
|
||||
}
|
||||
|
||||
get missingPanelsMobile() {
|
||||
@@ -55,19 +60,25 @@ export default class DashboardMixin extends BaseMixin {
|
||||
let allPanels = [...allDashboardPanels]
|
||||
const missingPanels: any[] = []
|
||||
|
||||
// remove macros panel and add macrogroups panels if macroMode === expert
|
||||
if (this.macroMode === 'expert') {
|
||||
this.macrogroups.forEach((group: GuiMacrogroupsStateMacrogroup) => {
|
||||
this.macrogroups.forEach((group: GuiMacrosStateMacrogroup) => {
|
||||
allPanels.push('macrogroup_'+group.id)
|
||||
})
|
||||
|
||||
allPanels = allPanels.filter((name) => name !== 'macros')
|
||||
}
|
||||
|
||||
// remove webcam panel, if no webcam exists
|
||||
if (this.webcams.length === 0) {
|
||||
allPanels = allPanels.filter((name) => name !== 'webcam')
|
||||
}
|
||||
|
||||
allPanels.forEach((panelname) => {
|
||||
if (!panels.find((panel) => panel.name === panelname))
|
||||
missingPanels.push({
|
||||
name: panelname,
|
||||
visable: true
|
||||
visible: true
|
||||
})
|
||||
})
|
||||
|
||||
@@ -77,7 +88,7 @@ export default class DashboardMixin extends BaseMixin {
|
||||
getPanelName(name: string) {
|
||||
if (name.startsWith('macrogroup_')) {
|
||||
const groupId = name.split('_')[1] ?? ''
|
||||
const group = this.macrogroups.find((group: GuiMacrogroupsStateMacrogroup) => group.id === groupId)
|
||||
const group = this.macrogroups.find((group: GuiMacrosStateMacrogroup) => group.id === groupId)
|
||||
|
||||
return (group) ? group.name : 'Macrogroup'
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@ import Panel from '@/components/ui/Panel.vue'
|
||||
})
|
||||
export default class ControlPanel extends Mixins(BaseMixin) {
|
||||
get controlStyle() {
|
||||
return this.$store.state.gui.dashboard.control.style ?? 'bars'
|
||||
return this.$store.state.gui.control.style ?? 'bars'
|
||||
}
|
||||
|
||||
get existsExtruder() {
|
||||
|
||||
@@ -55,19 +55,19 @@ import ControlMixin from '@/components/mixins/control'
|
||||
@Component
|
||||
export default class ControlPanelBarsControl extends Mixins(BaseMixin, ControlMixin) {
|
||||
get stepsXYsorted() {
|
||||
return [...this.$store.state.gui.dashboard.control.stepsXY].sort(function(a, b) { return b-a })
|
||||
return [...this.$store.state.gui.control.stepsXY].sort(function(a, b) { return b-a })
|
||||
}
|
||||
|
||||
get stepsXYsortedReverse() {
|
||||
return [...this.$store.state.gui.dashboard.control.stepsXY].sort(function(a, b) { return a-b })
|
||||
return [...this.$store.state.gui.control.stepsXY].sort(function(a, b) { return a-b })
|
||||
}
|
||||
|
||||
get stepsZsorted() {
|
||||
return [...this.$store.state.gui.dashboard.control.stepsZ].sort(function(a, b) { return b-a })
|
||||
return [...this.$store.state.gui.control.stepsZ].sort(function(a, b) { return b-a })
|
||||
}
|
||||
|
||||
get stepsZsortedReverse() {
|
||||
return [...this.$store.state.gui.dashboard.control.stepsZ].sort(function(a, b) { return a-b })
|
||||
return [...this.$store.state.gui.control.stepsZ].sort(function(a, b) { return a-b })
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -344,19 +344,19 @@ import ControlMixin from '@/components/mixins/control'
|
||||
@Component
|
||||
export default class ControlPanelCrossControl extends Mixins(BaseMixin, ControlMixin) {
|
||||
get reverseX() {
|
||||
return this.$store.state.gui.dashboard.control.reverseX
|
||||
return this.$store.state.gui.control.reverseX
|
||||
}
|
||||
|
||||
get reverseY() {
|
||||
return this.$store.state.gui.dashboard.control.reverseY
|
||||
return this.$store.state.gui.control.reverseY
|
||||
}
|
||||
|
||||
get reverseZ() {
|
||||
return this.$store.state.gui.dashboard.control.reverseZ
|
||||
return this.$store.state.gui.control.reverseZ
|
||||
}
|
||||
|
||||
get stepsXY() {
|
||||
const steps = this.$store.state.gui.dashboard?.control?.stepsCircleXY ?? []
|
||||
const steps = this.$store.state.gui.control?.stepsCircleXY ?? []
|
||||
|
||||
return Array.from(new Set([
|
||||
...(steps ?? []),
|
||||
@@ -364,7 +364,7 @@ export default class ControlPanelCrossControl extends Mixins(BaseMixin, ControlM
|
||||
}
|
||||
|
||||
get stepsZ() {
|
||||
const steps = this.$store.state.gui.dashboard?.control?.stepsCircleZ ?? []
|
||||
const steps = this.$store.state.gui.control?.stepsCircleZ ?? []
|
||||
|
||||
return Array.from(new Set([
|
||||
...(steps ?? []),
|
||||
|
||||
@@ -153,9 +153,9 @@
|
||||
</v-row>
|
||||
<v-row no-gutters class="mt-3">
|
||||
<v-col class="col-12">
|
||||
<v-btn-toggle v-if="stepsReversed.length > 0" dense no-gutters style="flex-wrap: nowrap; width: 100%;" v-model="selectedCrossStep">
|
||||
<v-btn dense class="btnMinWidthAuto flex-grow-1 px-0" v-for="steps of stepsReversed" :key="'all-'+steps">
|
||||
<span class="body-2">{{ steps }}</span>
|
||||
<v-btn-toggle v-if="stepsReversed.length > 0" dense no-gutters style="flex-wrap: nowrap; width: 100%;" v-model="selectedCrossStep" :key="'all-steps-'+stepsReversed.join('_')">
|
||||
<v-btn dense class="btnMinWidthAuto flex-grow-1 px-0" v-for="step of stepsReversed" :key="'step-'+step">
|
||||
<span class="body-2">{{ step }}</span>
|
||||
</v-btn>
|
||||
</v-btn-toggle>
|
||||
<div class="font-weight-bold warning rounded pa-2" v-else>
|
||||
@@ -177,27 +177,27 @@ export default class ControlPanelCrossControl extends Mixins(BaseMixin, ControlM
|
||||
private homeCols = 6
|
||||
|
||||
get selectedCrossStep() {
|
||||
return this.$store.state.gui.dashboard.control.selectedCrossStep
|
||||
return this.$store.state.gui.control.selectedCrossStep
|
||||
}
|
||||
|
||||
set selectedCrossStep(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.selectedCrossStep', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.selectedCrossStep', value: newVal })
|
||||
}
|
||||
|
||||
get reverseX() {
|
||||
return this.$store.state.gui.dashboard.control.reverseX
|
||||
return this.$store.state.gui.control.reverseX
|
||||
}
|
||||
|
||||
get reverseY() {
|
||||
return this.$store.state.gui.dashboard.control.reverseY
|
||||
return this.$store.state.gui.control.reverseY
|
||||
}
|
||||
|
||||
get reverseZ() {
|
||||
return this.$store.state.gui.dashboard.control.reverseZ
|
||||
return this.$store.state.gui.control.reverseZ
|
||||
}
|
||||
|
||||
get stepsAll() {
|
||||
return this.$store.state.gui.dashboard?.control?.stepsAll ?? []
|
||||
return this.$store.state.gui.control?.stepsAll ?? []
|
||||
}
|
||||
|
||||
get stepsReversed() {
|
||||
|
||||
@@ -85,11 +85,11 @@ export default class ControlPanelExtruder extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get feedamounts() {
|
||||
return this.$store.state.gui.dashboard?.extruder?.feedamounts ?? []
|
||||
return this.$store.state.gui.control.extruder?.feedamounts ?? []
|
||||
}
|
||||
|
||||
get feedrates() {
|
||||
return this.$store.state.gui.dashboard?.extruder?.feedrates ?? []
|
||||
return this.$store.state.gui.control.extruder?.feedrates ?? []
|
||||
}
|
||||
|
||||
get feedamountsSorted() {
|
||||
@@ -101,19 +101,19 @@ export default class ControlPanelExtruder extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get currentFeedAmount() {
|
||||
return parseFloat(this.$store.state.gui.dashboard.extruder.feedamount)
|
||||
return parseFloat(this.$store.state.gui.control.extruder.feedamount)
|
||||
}
|
||||
|
||||
set currentFeedAmount(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.extruder.feedamount', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.extruder.feedamount', value: newVal })
|
||||
}
|
||||
|
||||
get currentFeedRate() {
|
||||
return parseFloat(this.$store.state.gui.dashboard.extruder.feedrate)
|
||||
return parseFloat(this.$store.state.gui.control.extruder.feedrate)
|
||||
}
|
||||
|
||||
set currentFeedRate(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.extruder.feedrate', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.extruder.feedrate', value: newVal })
|
||||
}
|
||||
|
||||
get boolExtrudePossible() {
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
>
|
||||
<div v-if="printer.socket.isConnected && currentCamId !== 'off' && currentWebcam" class="webcamContainer">
|
||||
<template v-if="'service' in currentWebcam && currentWebcam.service === 'mjpegstreamer'">
|
||||
<webcam-mjpegstreamer :cam-settings="currentWebcam"></webcam-mjpegstreamer>
|
||||
<webcam-mjpegstreamer :cam-settings="currentWebcam" :show-fps="false"></webcam-mjpegstreamer>
|
||||
</template>
|
||||
<template v-if="'service' in currentWebcam && currentWebcam.service === 'mjpegstreamer-adaptive'">
|
||||
<webcam-mjpegstreamer-adaptive :cam-settings="currentWebcam" :printer-url="printerUrl" :show-fps="false"></webcam-mjpegstreamer-adaptive>
|
||||
|
||||
@@ -69,11 +69,11 @@
|
||||
style="max-width: 300px;"
|
||||
></v-text-field>
|
||||
<v-spacer></v-spacer>
|
||||
<input type="file" ref="fileUpload" style="display: none" multiple @change="uploadFile" />
|
||||
<input type="file" ref="fileUpload" :accept="validGcodeExtensions.join(', ')" style="display: none" multiple @change="uploadFile" />
|
||||
<v-btn @click="clickUploadButton" :title="$t('Files.UploadNewGcode')" class="primary--text px-2 minwidth-0 ml-3" :loading="loadings.includes('gcodeUpload')"><v-icon>mdi-upload</v-icon></v-btn>
|
||||
<v-btn @click="createDirectory" :title="$t('Files.CreateNewDirectory')" class="px-2 minwidth-0 ml-3"><v-icon>mdi-folder-plus</v-icon></v-btn>
|
||||
<v-btn @click="refreshFileList" :title="$t('Files.RefreshCurrentDirectory')" class="px-2 minwidth-0 ml-3"><v-icon>mdi-refresh</v-icon></v-btn>
|
||||
<v-menu :offset-y="true" :close-on-content-click="false" :title="$t('Files.SetupCurrentList')">
|
||||
<v-menu offset-y left :close-on-content-click="false" :title="$t('Files.SetupCurrentList')">
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-btn class="px-2 minwidth-0 ml-3" v-bind="attrs" v-on="on"><v-icon>mdi-cog</v-icon></v-btn>
|
||||
</template>
|
||||
@@ -212,6 +212,9 @@
|
||||
<td class="text-right" v-if="headers.find(header => header.value === 'modified').visible">{{ formatDate(item.modified) }}</td>
|
||||
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'object_height').visible">{{ item.object_height ? item.object_height.toFixed(2)+' mm' : '--' }}</td>
|
||||
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'layer_height').visible">{{ item.layer_height ? item.layer_height.toFixed(2)+' mm' : '--' }}</td>
|
||||
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'nozzle_diameter').visible">{{ item.nozzle_diameter ? item.nozzle_diameter.toFixed(2)+' mm' : '--' }}</td>
|
||||
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'filament_name').visible">{{ item.filament_name ? item.filament_name : '--' }}</td>
|
||||
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'filament_type').visible">{{ item.filament_type ? item.filament_type : '--' }}</td>
|
||||
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'filament_total').visible">{{ item.filament_total ? item.filament_total.toFixed()+' mm' : '--' }}</td>
|
||||
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'filament_weight_total').visible">{{ item.filament_weight_total ? item.filament_weight_total.toFixed(2)+' g' : '--' }}</td>
|
||||
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'estimated_time').visible">{{ formatPrintTime(item.estimated_time) }}</td>
|
||||
@@ -274,10 +277,10 @@
|
||||
</v-dialog>
|
||||
<v-menu v-model="contextMenu.shown" :position-x="contextMenu.x" :position-y="contextMenu.y" absolute offset-y>
|
||||
<v-list>
|
||||
<v-list-item @click="clickRow(contextMenu.item, true)" :disabled="printerIsPrinting || !klipperReadyForGui" v-if="!contextMenu.item.isDirectory">
|
||||
<v-list-item @click="clickRow(contextMenu.item, true)" :disabled="printerIsPrinting || !klipperReadyForGui || !isGcodeFile(contextMenu.item)" v-if="!contextMenu.item.isDirectory">
|
||||
<v-icon class="mr-1">mdi-play</v-icon> {{ $t('Files.PrintStart')}}
|
||||
</v-list-item>
|
||||
<v-list-item @click="addToQueue(contextMenu.item)" v-if="!contextMenu.item.isDirectory && moonrakerComponents.includes('job_queue')">
|
||||
<v-list-item @click="addToQueue(contextMenu.item)" v-if="!contextMenu.item.isDirectory && moonrakerComponents.includes('job_queue')" :disabled="!isGcodeFile(contextMenu.item)">
|
||||
<v-icon class="mr-1">mdi-playlist-plus</v-icon> {{ $t('Files.AddToQueue')}}
|
||||
</v-list-item>
|
||||
<v-list-item
|
||||
@@ -292,6 +295,10 @@
|
||||
>
|
||||
<v-icon class="mr-1">mdi-fire</v-icon> {{ $t('Files.Preheat')}}
|
||||
</v-list-item>
|
||||
<v-list-item @click="view3D(contextMenu.item)" v-if="!contextMenu.item.isDirectory" :disabled="!isGcodeFile(contextMenu.item)">
|
||||
<v-icon class="mr-1">mdi-video-3d</v-icon>
|
||||
{{ $t('Files.View3D') }}
|
||||
</v-list-item>
|
||||
<v-list-item @click="downloadFile" v-if="!contextMenu.item.isDirectory">
|
||||
<v-icon class="mr-1">mdi-cloud-download</v-icon> {{ $t('Files.Download')}}
|
||||
</v-list-item>
|
||||
@@ -310,10 +317,6 @@
|
||||
<v-list-item @click="deleteDirectory(contextMenu.item)" v-if="contextMenu.item.isDirectory">
|
||||
<v-icon class="mr-1">mdi-delete</v-icon> {{ $t('Files.Delete')}}
|
||||
</v-list-item>
|
||||
<v-list-item @click="view3D(contextMenu.item)" v-if="!contextMenu.item.isDirectory">
|
||||
<v-icon class="mr-1">mdi-video-3d</v-icon>
|
||||
{{ $t('Files.View3D') }}
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
</v-menu>
|
||||
<v-dialog v-model="dialogCreateDirectory.show" :max-width="400">
|
||||
@@ -470,7 +473,6 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
private search = ''
|
||||
private selected = []
|
||||
private hideHeaderColums = []
|
||||
private currentPath = 'gcodes'
|
||||
private dropzone = {
|
||||
visibility: 'hidden',
|
||||
opacity: 0,
|
||||
@@ -563,6 +565,14 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
(value: string) => value.indexOf(' ') === -1 || 'Name contains spaces!'
|
||||
]
|
||||
|
||||
get currentPath() {
|
||||
return this.$store.state.gui.view.gcodefiles.currentPath
|
||||
}
|
||||
|
||||
set currentPath(newVal) {
|
||||
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.gcodefiles.currentPath', value: newVal })
|
||||
}
|
||||
|
||||
get headers() {
|
||||
const headers = [
|
||||
{ text: '', value: '', align: 'left', configable: false, visible: true, filterable: false },
|
||||
@@ -572,6 +582,9 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
{ text: this.$t('Files.LastModified'), value: 'modified', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.ObjectHeight'), value: 'object_height', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.LayerHeight'), value: 'layer_height', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.NozzleDiameter'), value: 'nozzle_diameter', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.FilamentName'), value: 'filament_name', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.FilamentType'), value: 'filament_type', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.FilamentUsage'), value: 'filament_total', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.FilamentWeight'), value: 'filament_weight_total', align: 'right', configable: true, visible: true },
|
||||
{ text: this.$t('Files.PrintTime'), value: 'estimated_time', align: 'right', configable: true, visible: true },
|
||||
@@ -628,55 +641,55 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get hideMetadataColums() {
|
||||
return this.$store.state.gui.gcodefiles.hideMetadataColums
|
||||
return this.$store.state.gui.view.gcodefiles.hideMetadataColums
|
||||
}
|
||||
|
||||
set hideMetadataColums(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'gcodefiles.hideMetadataColums', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.gcodefiles.hideMetadataColums', value: newVal })
|
||||
}
|
||||
|
||||
get showHiddenFiles() {
|
||||
return this.$store.state.gui.gcodefiles.showHiddenFiles
|
||||
return this.$store.state.gui.view.gcodefiles.showHiddenFiles
|
||||
}
|
||||
|
||||
set showHiddenFiles(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'gcodefiles.showHiddenFiles', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.gcodefiles.showHiddenFiles', value: newVal })
|
||||
}
|
||||
|
||||
get showPrintedFiles() {
|
||||
return this.$store.state.gui.gcodefiles.showPrintedFiles
|
||||
return this.$store.state.gui.view.gcodefiles.showPrintedFiles
|
||||
}
|
||||
|
||||
set showPrintedFiles(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'gcodefiles.showPrintedFiles', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.gcodefiles.showPrintedFiles', value: newVal })
|
||||
}
|
||||
|
||||
get sortBy() {
|
||||
return this.$store.state.gui.gcodefiles.sortBy
|
||||
return this.$store.state.gui.view.gcodefiles.sortBy
|
||||
}
|
||||
|
||||
set sortBy(newVal) {
|
||||
if (newVal === undefined) newVal = 'modified'
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'gcodefiles.sortBy', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.gcodefiles.sortBy', value: newVal })
|
||||
}
|
||||
|
||||
get sortDesc() {
|
||||
return this.$store.state.gui.gcodefiles.sortDesc
|
||||
return this.$store.state.gui.view.gcodefiles.sortDesc
|
||||
}
|
||||
|
||||
set sortDesc(newVal) {
|
||||
if (newVal === undefined) newVal = false
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'gcodefiles.sortDesc', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.gcodefiles.sortDesc', value: newVal })
|
||||
}
|
||||
|
||||
get countPerPage() {
|
||||
return this.$store.state.gui.gcodefiles.countPerPage
|
||||
return this.$store.state.gui.view.gcodefiles.countPerPage
|
||||
}
|
||||
|
||||
set countPerPage(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'gcodefiles.countPerPage', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.gcodefiles.countPerPage', value: newVal })
|
||||
}
|
||||
|
||||
get timelapseEnabled() {
|
||||
@@ -727,11 +740,23 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
this.dropzone.opacity = 0
|
||||
|
||||
if (e.dataTransfer.files.length) {
|
||||
const files = [...e.dataTransfer.files].filter((file: File) => {
|
||||
const format = file.name.slice(file.name.lastIndexOf('.'))
|
||||
|
||||
if (!validGcodeExtensions.includes(format)) {
|
||||
this.$toast.error(this.$t('Files.WrongFileUploaded', { filename: file.name }).toString())
|
||||
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
})
|
||||
|
||||
this.$store.dispatch('socket/addLoading', { name: 'gcodeUpload' })
|
||||
let successFiles = []
|
||||
this.uploadSnackbar.number = 0
|
||||
this.uploadSnackbar.max = e.dataTransfer.files.length
|
||||
for (const file of e.dataTransfer.files) {
|
||||
this.uploadSnackbar.max = files.length
|
||||
for (const file of files) {
|
||||
this.uploadSnackbar.number++
|
||||
const result = await this.doUploadFile(file)
|
||||
successFiles.push(result)
|
||||
@@ -932,7 +957,7 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
|
||||
if (item.isDirectory) {
|
||||
this.currentPath += '/' + item.filename
|
||||
} else if (!['error', 'printing', 'paused'].includes(this.printer_state)) {
|
||||
} else if (!['error', 'printing', 'paused'].includes(this.printer_state) && this.isGcodeFile(item)) {
|
||||
this.dialogPrintFile.show = true
|
||||
this.dialogPrintFile.item = item
|
||||
}
|
||||
@@ -1100,6 +1125,12 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
|
||||
})
|
||||
}
|
||||
|
||||
isGcodeFile(file: FileStateFile) {
|
||||
const format = file.filename.slice(file.filename.lastIndexOf('.'))
|
||||
|
||||
return validGcodeExtensions.includes(format)
|
||||
}
|
||||
|
||||
view3D(item: FileStateFile) {
|
||||
this.$router.push({path: '/viewer', query: {filename: this.currentPath + '/' + item.filename}})
|
||||
}
|
||||
|
||||
@@ -473,19 +473,19 @@ export default class HistoryListPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get countPerPage() {
|
||||
return this.$store.state.gui.history.countPerPage
|
||||
return this.$store.state.gui.view.historycountPerPage
|
||||
}
|
||||
|
||||
set countPerPage(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'history.countPerPage', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.history.countPerPage', value: newVal })
|
||||
}
|
||||
|
||||
get hideColums() {
|
||||
return this.$store.state.gui.history.hideColums
|
||||
return this.$store.state.gui.view.history.hideColums
|
||||
}
|
||||
|
||||
set hideColums(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'history.hideColums', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.history.hideColums', value: newVal })
|
||||
}
|
||||
|
||||
refreshHistory() {
|
||||
|
||||
@@ -89,11 +89,11 @@ export default class HistoryStatisticsPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get toggleChart () {
|
||||
return this.$store.state.gui.history.toggleChartCol3
|
||||
return this.$store.state.gui.view.history.toggleChartCol3
|
||||
}
|
||||
|
||||
set toggleChart(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'history.toggleChartCol3', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.history.toggleChartCol3', value: newVal })
|
||||
}
|
||||
|
||||
formatPrintTime(totalSeconds: number) {
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
<template v-slot:buttons>
|
||||
<v-btn
|
||||
color="success"
|
||||
@click="resumeJobqueue"
|
||||
:loading="loadings.includes('resumeJobqueue')"
|
||||
@click="startJobqueue"
|
||||
:loading="loadings.includes('startJobqueue')"
|
||||
icon
|
||||
tile
|
||||
v-if="queueState === 'paused'"
|
||||
@@ -19,7 +19,7 @@
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-icon v-bind="attrs" v-on="on">mdi-play</v-icon>
|
||||
</template>
|
||||
<span>{{ $t('JobQueue.Resume') }}</span>
|
||||
<span>{{ $t('JobQueue.Start') }}</span>
|
||||
</v-tooltip>
|
||||
</v-btn>
|
||||
<v-btn
|
||||
@@ -137,11 +137,11 @@ export default class JobqueuePanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get countPerPage() {
|
||||
return this.$store.state.gui.jobqueue.countPerPage
|
||||
return this.$store.state.gui.view.jobqueue.countPerPage
|
||||
}
|
||||
|
||||
set countPerPage(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'jobqueue.countPerPage', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.jobqueue.countPerPage', value: newVal })
|
||||
}
|
||||
|
||||
refreshHistory() {
|
||||
@@ -191,8 +191,8 @@ export default class JobqueuePanel extends Mixins(BaseMixin) {
|
||||
this.$store.dispatch('server/jobQueue/deleteFromQueue', [item.job_id])
|
||||
}
|
||||
|
||||
resumeJobqueue() {
|
||||
this.$store.dispatch('server/jobQueue/resume')
|
||||
startJobqueue() {
|
||||
this.$store.dispatch('server/jobQueue/start')
|
||||
}
|
||||
|
||||
pauseJobqueue() {
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<span>{{ button.text }}</span>
|
||||
</v-tooltip>
|
||||
</v-btn>
|
||||
<v-menu :offset-y="true" :title="$t('Machine.ConfigFilesPanel.SetupCurrentList')" attach>
|
||||
<v-menu offset-y left :title="$t('Machine.ConfigFilesPanel.SetupCurrentList')" attach>
|
||||
<template v-slot:activator="{ on, attrs }">
|
||||
<v-btn class="px-2 minwidth-0 ml-3" v-bind="attrs" v-on="on"><v-icon>mdi-cog</v-icon></v-btn>
|
||||
</template>
|
||||
@@ -294,6 +294,7 @@ import {formatDate, formatFilesize, sortFiles} from '@/plugins/helpers'
|
||||
import {FileStateFile} from '@/store/files/types'
|
||||
import axios from 'axios'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
import {hiddenRootDirectories} from '@/store/variables'
|
||||
|
||||
interface contextMenu {
|
||||
shown: boolean
|
||||
@@ -364,8 +365,6 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
|
||||
private selected = []
|
||||
private options = { }
|
||||
private currentPage = 1
|
||||
private currentPath = ''
|
||||
private root = 'config'
|
||||
private contextMenu: contextMenu = {
|
||||
shown: false,
|
||||
isDirectory: false,
|
||||
@@ -532,51 +531,67 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get countPerPage() {
|
||||
return this.$store.state.gui.settings.configfiles.countPerPage
|
||||
return this.$store.state.gui.view.configfiles.countPerPage
|
||||
}
|
||||
|
||||
set countPerPage(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'settings.configfiles.countPerPage', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.configfiles.countPerPage', value: newVal })
|
||||
}
|
||||
|
||||
get showHiddenFiles() {
|
||||
return this.$store.state.gui.settings.configfiles.showHiddenFiles
|
||||
return this.$store.state.gui.view.configfiles.showHiddenFiles
|
||||
}
|
||||
|
||||
set showHiddenFiles(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'settings.configfiles.showHiddenFiles', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.configfiles.showHiddenFiles', value: newVal })
|
||||
}
|
||||
|
||||
get hideBackupFiles() {
|
||||
return this.$store.state.gui.settings.configfiles.hideBackupFiles
|
||||
return this.$store.state.gui.view.configfiles.hideBackupFiles
|
||||
}
|
||||
|
||||
set hideBackupFiles(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'settings.configfiles.hideBackupFiles', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.configfiles.hideBackupFiles', value: newVal })
|
||||
}
|
||||
|
||||
get sortBy() {
|
||||
return this.$store.state.gui.settings.configfiles.sortBy
|
||||
return this.$store.state.gui.view.configfiles.sortBy
|
||||
}
|
||||
|
||||
set sortBy(newVal) {
|
||||
if (newVal === undefined) newVal = 'filename'
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'settings.configfiles.sortBy', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.configfiles.sortBy', value: newVal })
|
||||
}
|
||||
|
||||
get sortDesc() {
|
||||
return this.$store.state.gui.settings.configfiles.sortDesc
|
||||
return this.$store.state.gui.view.configfiles.sortDesc
|
||||
}
|
||||
|
||||
set sortDesc(newVal) {
|
||||
if (newVal === undefined) newVal = false
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'settings.configfiles.sortDesc', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.configfiles.sortDesc', value: newVal })
|
||||
}
|
||||
|
||||
get registeredDirectories() {
|
||||
return this.$store.state.server.registered_directories.filter((dir: string) => dir !== 'gcodes').sort()
|
||||
return this.$store.state.server.registered_directories.filter((dir: string) => !hiddenRootDirectories.includes(dir)).sort()
|
||||
}
|
||||
|
||||
get root() {
|
||||
return this.$store.state.gui.view.configfiles.rootPath
|
||||
}
|
||||
|
||||
set root(newVal) {
|
||||
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.configfiles.rootPath', value: newVal })
|
||||
}
|
||||
|
||||
get currentPath() {
|
||||
return this.$store.state.gui.view.configfiles.currentPath
|
||||
}
|
||||
|
||||
set currentPath(newVal) {
|
||||
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.configfiles.currentPath', value: newVal })
|
||||
}
|
||||
|
||||
refreshFileList() {
|
||||
|
||||
@@ -62,6 +62,7 @@
|
||||
<br />
|
||||
<span v-if="hostStats.version">{{ $t('Machine.SystemPanel.Version') }}: {{ hostStats.version }}<br /></span>
|
||||
<span v-if="hostStats.os">{{ $t('Machine.SystemPanel.Os') }}: {{ hostStats.os }}<br /></span>
|
||||
<span v-if="hostStats.release_info && hostStats.release_info.name !== '0.'">{{ $t('Machine.SystemPanel.Distro') }}: {{ hostStats.release_info.name }} {{ hostStats.release_info.version_id }} <span v-if="hostStats.release_info.codename">({{ hostStats.release_info.codename }})</span><br /></span>
|
||||
<span>{{ $t('Machine.SystemPanel.Load') }}: {{ hostStats.load }}</span>
|
||||
<span v-if="hostStats.memoryFormat">, {{ $t('Machine.SystemPanel.Memory') }}: {{ hostStats.memoryFormat }}</span>
|
||||
<template v-if="hostStats.tempSensor">
|
||||
|
||||
@@ -1,42 +1,56 @@
|
||||
<template>
|
||||
<v-card-text>
|
||||
<v-row>
|
||||
<v-col class="col-12 col-sm-6">
|
||||
<v-col class="col-12 col-md-6">
|
||||
<firmware-retraction-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractLength')"
|
||||
:target="current_retract_length"
|
||||
:default-value="config_retract_length"
|
||||
:step="0.01"
|
||||
:min="0"
|
||||
:max="null"
|
||||
:dec="2"
|
||||
unit="mm"
|
||||
attribute-name="RETRACT_LENGTH"
|
||||
></firmware-retraction-settings-input>
|
||||
</v-col>
|
||||
<v-col class="col-12 col-sm-6">
|
||||
<v-col class="col-12 col-md-6">
|
||||
<firmware-retraction-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractSpeed')"
|
||||
:target="current_retract_speed"
|
||||
:default-value="config_retract_speed"
|
||||
:step="1"
|
||||
:min="1"
|
||||
:max="null"
|
||||
:dec="0"
|
||||
unit="mm/s"
|
||||
attribute-name="RETRACT_SPEED"
|
||||
></firmware-retraction-settings-input>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="col-12 col-sm-6">
|
||||
<v-col class="col-12 col-md-6">
|
||||
<firmware-retraction-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractExtraLength')"
|
||||
:target="current_unretract_extra_length"
|
||||
:default-value="config_unretract_extra_length"
|
||||
:step="0.01"
|
||||
:min="0"
|
||||
:max="null"
|
||||
:dec="2"
|
||||
unit="mm"
|
||||
attribute-name="UNRETRACT_EXTRA_LENGTH"
|
||||
></firmware-retraction-settings-input>
|
||||
</v-col>
|
||||
<v-col class="col-12 col-sm-6">
|
||||
<v-col class="col-12 col-md-6">
|
||||
<firmware-retraction-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractSpeed')"
|
||||
:target="current_unretract_speed"
|
||||
:default-value="config_unretract_speed"
|
||||
:step="1"
|
||||
:min="1"
|
||||
:max="null"
|
||||
:dec="0"
|
||||
unit="mm/s"
|
||||
attribute-name="UNRETRACT_SPEED"
|
||||
></firmware-retraction-settings-input>
|
||||
@@ -56,35 +70,35 @@ import FirmwareRetractionSettingsInput from '@/components/inputs/FirmwareRetract
|
||||
})
|
||||
export default class FirmwareRetractionSettings extends Mixins(BaseMixin) {
|
||||
|
||||
get current_retract_length() {
|
||||
get current_retract_length(): number {
|
||||
return this.$store.state.printer?.firmware_retraction?.retract_length ?? 0
|
||||
}
|
||||
|
||||
get current_retract_speed() {
|
||||
get current_retract_speed(): number {
|
||||
return this.$store.state.printer?.firmware_retraction?.retract_speed ?? 20
|
||||
}
|
||||
|
||||
get current_unretract_extra_length() {
|
||||
get current_unretract_extra_length(): number {
|
||||
return this.$store.state.printer?.firmware_retraction?.unretract_extra_length ?? 0
|
||||
}
|
||||
|
||||
get current_unretract_speed() {
|
||||
get current_unretract_speed(): number {
|
||||
return this.$store.state.printer?.firmware_retraction?.unretract_speed ?? 10
|
||||
}
|
||||
|
||||
get config_retract_length() {
|
||||
get config_retract_length(): number {
|
||||
return this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_length ?? 0
|
||||
}
|
||||
|
||||
get config_retract_speed() {
|
||||
get config_retract_speed(): number {
|
||||
return this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_speed ?? 20
|
||||
}
|
||||
|
||||
get config_unretract_extra_length() {
|
||||
get config_unretract_extra_length(): number {
|
||||
return this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_extra_length ?? 0
|
||||
}
|
||||
|
||||
get config_unretract_speed() {
|
||||
get config_unretract_speed(): number {
|
||||
return this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_speed ?? 10
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
:collapsible="true"
|
||||
card-class="machine-settings-panel"
|
||||
>
|
||||
<motion-settings v-if="!existsFirmwareRetraction"></motion-settings>
|
||||
|
||||
<div v-if="existsFirmwareRetraction">
|
||||
<div>
|
||||
<sub-panel
|
||||
:title="$t('Panels.MachineSettingsPanel.MotionSettings.Motion')"
|
||||
sub-panel-class="motion-settings-subpanel"
|
||||
@@ -16,6 +14,13 @@
|
||||
<motion-settings></motion-settings>
|
||||
</sub-panel>
|
||||
<sub-panel
|
||||
:title="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.PressureAdvance')"
|
||||
sub-panel-class="pressure-advance-settings-subpanel"
|
||||
>
|
||||
<pressure-advance-settings></pressure-advance-settings>
|
||||
</sub-panel>
|
||||
<sub-panel
|
||||
v-if="existsFirmwareRetraction"
|
||||
:title="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.FirmwareRetraction')"
|
||||
sub-panel-class="firmware-retraction-settings-subpanel"
|
||||
>
|
||||
@@ -31,6 +36,7 @@ import BaseMixin from '@/components/mixins/base'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
import SubPanel from '@/components/ui/SubPanel.vue'
|
||||
import MotionSettings from '@/components/panels/MachineSettings/MotionSettings.vue'
|
||||
import PressureAdvanceSettings from '@/components/panels/MachineSettings/PressureAdvanceSettings.vue'
|
||||
import FirmwareRetractionSettings from '@/components/panels/MachineSettings/FirmwareRetractionSettings.vue'
|
||||
|
||||
@Component({
|
||||
@@ -38,6 +44,7 @@ import FirmwareRetractionSettings from '@/components/panels/MachineSettings/Firm
|
||||
Panel,
|
||||
SubPanel,
|
||||
MotionSettings,
|
||||
PressureAdvanceSettings,
|
||||
FirmwareRetractionSettings
|
||||
}
|
||||
})
|
||||
|
||||
@@ -1,44 +1,56 @@
|
||||
<template>
|
||||
<v-card-text>
|
||||
<v-row>
|
||||
<v-col class="col-12 col-sm-6">
|
||||
<v-col class="col-12 col-md-6">
|
||||
<motion-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Velocity')"
|
||||
:target="current_velocity"
|
||||
:max="max_velocity"
|
||||
:default-value="max_velocity"
|
||||
:step="1"
|
||||
:min="1"
|
||||
:max="null"
|
||||
:dec="0"
|
||||
unit="mm/s"
|
||||
attribute-name="VELOCITY"
|
||||
></motion-settings-input>
|
||||
</v-col>
|
||||
<v-col class="col-12 col-sm-6">
|
||||
<v-col class="col-12 col-md-6">
|
||||
<motion-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.MotionSettings.SquareCornerVelocity')"
|
||||
:target="current_square_corner_velocity"
|
||||
:max="max_square_corner_velocity"
|
||||
:default-value="max_square_corner_velocity"
|
||||
:step="1"
|
||||
:min="1"
|
||||
:max="null"
|
||||
:dec="0"
|
||||
unit="mm/s"
|
||||
attribute-name="SQUARE_CORNER_VELOCITY"
|
||||
></motion-settings-input>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="col-12 col-sm-6">
|
||||
<v-col class="col-12 col-md-6">
|
||||
<motion-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Acceleration')"
|
||||
:target="current_accel"
|
||||
:max="max_accel"
|
||||
:default-value="max_accel"
|
||||
:step="1"
|
||||
:min="1"
|
||||
:max="null"
|
||||
:dec="0"
|
||||
unit="mm/s²"
|
||||
attribute-name="ACCEL"
|
||||
></motion-settings-input>
|
||||
</v-col>
|
||||
<v-col class="col-12 col-sm-6">
|
||||
<v-col class="col-12 col-md-6">
|
||||
<motion-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Deceleration')"
|
||||
:label="$t('Panels.MachineSettingsPanel.MotionSettings.MaxAccelToDecel')"
|
||||
:target="current_accel_to_decel"
|
||||
:max="max_accel_to_decel"
|
||||
:default-value="max_accel_to_decel"
|
||||
:step="1"
|
||||
:min="1"
|
||||
:max="null"
|
||||
:dec="0"
|
||||
unit="mm/s²"
|
||||
attribute-name="ACCEL_TO_DECEL"
|
||||
></motion-settings-input>
|
||||
@@ -58,35 +70,35 @@ import MotionSettingsInput from '@/components/inputs/MotionSettingsInput.vue'
|
||||
})
|
||||
export default class MotionSettings extends Mixins(BaseMixin) {
|
||||
|
||||
get current_velocity() {
|
||||
get current_velocity(): number {
|
||||
return this.$store.state.printer?.toolhead?.max_velocity ?? 300
|
||||
}
|
||||
|
||||
get current_accel() {
|
||||
get current_accel(): number {
|
||||
return this.$store.state.printer?.toolhead?.max_accel ?? 3000
|
||||
}
|
||||
|
||||
get current_accel_to_decel() {
|
||||
get current_accel_to_decel(): number {
|
||||
return this.$store.state.printer?.toolhead?.max_accel_to_decel ?? 1500
|
||||
}
|
||||
|
||||
get current_square_corner_velocity() {
|
||||
get current_square_corner_velocity(): number {
|
||||
return this.$store.state.printer?.toolhead?.square_corner_velocity ?? 8
|
||||
}
|
||||
|
||||
get max_velocity() {
|
||||
get max_velocity(): number {
|
||||
return this.$store.state.printer?.configfile?.settings?.printer?.max_velocity ?? 300
|
||||
}
|
||||
|
||||
get max_accel() {
|
||||
get max_accel(): number {
|
||||
return this.$store.state.printer?.configfile?.settings?.printer?.max_accel ?? 3000
|
||||
}
|
||||
|
||||
get max_accel_to_decel() {
|
||||
get max_accel_to_decel(): number {
|
||||
return this.$store.state.printer?.configfile?.settings?.printer?.max_accel_to_decel ?? 1500
|
||||
}
|
||||
|
||||
get max_square_corner_velocity() {
|
||||
get max_square_corner_velocity(): number {
|
||||
return this.$store.state.printer?.configfile?.settings?.printer?.square_corner_velocity ?? 8
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,105 @@
|
||||
<template>
|
||||
<v-card-text>
|
||||
<v-row>
|
||||
<v-col v-if="this.all_extruders.length > 1" class="col-12 col-xl-4">
|
||||
<div class="d-flex align-center">
|
||||
<v-btn
|
||||
v-if="this.selectedExtruder !== this.active_extruder"
|
||||
@click="resetToActiveExtruder"
|
||||
class="mr-2"
|
||||
icon
|
||||
plain
|
||||
><v-icon>mdi-restart</v-icon>
|
||||
</v-btn>
|
||||
<v-select
|
||||
v-model="selectedExtruder"
|
||||
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.Extruder')"
|
||||
:items="all_extruders"
|
||||
:value="active_extruder"
|
||||
hide-details
|
||||
outlined
|
||||
dense
|
||||
></v-select>
|
||||
</div>
|
||||
</v-col>
|
||||
<v-col :class="(this.all_extruders.length > 1) ? 'col-12 col-md-6 col-xl-4' : 'col-12 col-md-6'">
|
||||
<pressure-advance-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.Advance')"
|
||||
:target="current_pressure_advance"
|
||||
:default-value="default_pressure_advance"
|
||||
:extruder="selectedExtruder"
|
||||
:min="0"
|
||||
:max="1"
|
||||
:step="0.001"
|
||||
:dec="3"
|
||||
unit="mm/s"
|
||||
attribute-name="ADVANCE"
|
||||
></pressure-advance-settings-input>
|
||||
</v-col>
|
||||
<v-col :class="(this.all_extruders.length > 1) ? 'col-12 col-md-6 col-xl-4' : 'col-12 col-md-6'">
|
||||
<pressure-advance-settings-input
|
||||
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.SmoothTime')"
|
||||
:target="current_smooth_time"
|
||||
:default-value="default_smooth_time"
|
||||
:extruder="selectedExtruder"
|
||||
:min="0"
|
||||
:max="0.2"
|
||||
:step="0.01"
|
||||
:dec="2"
|
||||
unit="s"
|
||||
attribute-name="SMOOTH_TIME"
|
||||
></pressure-advance-settings-input>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card-text>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { Component, Mixins } from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
import PressureAdvanceSettingsInput from '@/components/inputs/PressureAdvanceSettingsInput.vue'
|
||||
|
||||
@Component({
|
||||
components: {Panel, PressureAdvanceSettingsInput}
|
||||
})
|
||||
export default class PressureAdvanceSettings extends Mixins(BaseMixin) {
|
||||
private extruders: string[] = []
|
||||
private selectedExtruder = ''
|
||||
|
||||
resetToActiveExtruder(): void {
|
||||
this.selectedExtruder = this.$store.state.printer.toolhead?.extruder
|
||||
}
|
||||
|
||||
get all_extruders(): string[] {
|
||||
Object.keys(this.$store.state.printer).forEach((e) => {
|
||||
if (e.startsWith('extruder') && !this.extruders.includes(e)) this.extruders.push(e)
|
||||
})
|
||||
this.extruders.length === 1 ? this.resetToActiveExtruder() : {}
|
||||
|
||||
return this.extruders
|
||||
}
|
||||
|
||||
get active_extruder(): string {
|
||||
this.resetToActiveExtruder()
|
||||
return this.$store.state.printer.toolhead?.extruder
|
||||
}
|
||||
|
||||
get current_pressure_advance(): number {
|
||||
return this.$store.state.printer?.[this.selectedExtruder]?.pressure_advance ?? 0
|
||||
}
|
||||
|
||||
get current_smooth_time(): number {
|
||||
return this.$store.state.printer?.[this.selectedExtruder]?.smooth_time ?? 0.04
|
||||
}
|
||||
|
||||
get default_pressure_advance(): number {
|
||||
return this.$store.state.printer.configfile?.settings?.[this.selectedExtruder]?.pressure_advance ?? 0
|
||||
}
|
||||
|
||||
get default_smooth_time(): number {
|
||||
return this.$store.state.printer.configfile?.settings?.[this.selectedExtruder]?.pressure_advance_smooth_time ?? 0.04
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
@@ -31,7 +31,7 @@ import BaseMixin from '../mixins/base'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
import MacroButton from '@/components/inputs/MacroButton.vue'
|
||||
import {PrinterStateMacro} from '@/store/printer/types'
|
||||
import {GuiMacrogroupsStateMacrogroupMacro} from '@/store/gui/macrogroups/types'
|
||||
import {GuiMacrosStateMacrogroupMacro} from '@/store/gui/macros/types'
|
||||
@Component({
|
||||
components: {MacroButton, Panel}
|
||||
})
|
||||
@@ -40,17 +40,17 @@ export default class MacrogroupPanel extends Mixins(BaseMixin) {
|
||||
@Prop({ required: true }) panelId!: string
|
||||
|
||||
get macrogroup() {
|
||||
return this.$store.getters['gui/macrogroups/getMacrogroup'](this.panelId)
|
||||
return this.$store.getters['gui/macros/getMacrogroup'](this.panelId)
|
||||
}
|
||||
|
||||
get allMacros() {
|
||||
return this.$store.getters['printer/getMacros'] ?? []
|
||||
return this.$store.getters['printer/getAllMacros'] ?? []
|
||||
}
|
||||
|
||||
get macros() {
|
||||
let macros = this.macrogroup?.macros ?? []
|
||||
|
||||
macros = macros.filter((macro: GuiMacrogroupsStateMacrogroupMacro) => {
|
||||
macros = macros.filter((macro: GuiMacrosStateMacrogroupMacro) => {
|
||||
if (!this.allMacros.find((existMacro: PrinterStateMacro) => existMacro.name.toLowerCase() === macro.name.toLowerCase())) return false
|
||||
|
||||
return (
|
||||
@@ -60,7 +60,7 @@ export default class MacrogroupPanel extends Mixins(BaseMixin) {
|
||||
)
|
||||
})
|
||||
|
||||
return macros.sort((a: GuiMacrogroupsStateMacrogroupMacro, b: GuiMacrogroupsStateMacrogroupMacro) => a.pos - b.pos)
|
||||
return macros.sort((a: GuiMacrosStateMacrogroupMacro, b: GuiMacrosStateMacrogroupMacro) => a.pos - b.pos)
|
||||
}
|
||||
|
||||
get macrogroupStatus() {
|
||||
@@ -71,7 +71,7 @@ export default class MacrogroupPanel extends Mixins(BaseMixin) {
|
||||
)
|
||||
}
|
||||
|
||||
getColor(macro: GuiMacrogroupsStateMacrogroupMacro) {
|
||||
getColor(macro: GuiMacrosStateMacrogroupMacro) {
|
||||
if (macro.color === 'group') {
|
||||
if (this.macrogroup.color === 'custom') return this.macrogroup.colorCustom
|
||||
else return this.macrogroup.color
|
||||
|
||||
@@ -107,7 +107,6 @@ export default class MiniconsolePanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
private gcode = ''
|
||||
private lastCommands: string[] = []
|
||||
private lastCommandNumber: number | null = null
|
||||
private items = [];
|
||||
private cmdListSearch: string | null = null
|
||||
@@ -155,13 +154,17 @@ export default class MiniconsolePanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get customFilters(): any[] {
|
||||
return this.$store.state.gui.console.customFilters
|
||||
return this.$store.state.gui.console.consolefilters
|
||||
}
|
||||
|
||||
get rows(): number {
|
||||
return this.gcode?.split('\n').length ?? 1
|
||||
}
|
||||
|
||||
get lastCommands(): string[] {
|
||||
return this.$store.state.gui.gcodehistory.entries ?? []
|
||||
}
|
||||
|
||||
commandClick(msg: string): void {
|
||||
this.gcode = msg
|
||||
|
||||
@@ -174,7 +177,7 @@ export default class MiniconsolePanel extends Mixins(BaseMixin) {
|
||||
if (!cmd.shiftKey) {
|
||||
if (this.gcode !== '') {
|
||||
this.$store.dispatch('printer/sendGcode', this.gcode)
|
||||
this.lastCommands.push(this.gcode)
|
||||
this.$store.dispatch('gui/gcodehistory/addToHistory', this.gcode)
|
||||
this.gcode = ''
|
||||
this.lastCommandNumber = null
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -38,13 +38,16 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
|
||||
import {Component, Mixins} from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import ToolSlider from '@/components/inputs/ToolSlider.vue'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
import ToolSlider from '@/components/inputs/ToolSlider.vue'
|
||||
|
||||
@Component({
|
||||
components: {Panel, ToolSlider}
|
||||
components: {
|
||||
Panel,
|
||||
ToolSlider
|
||||
}
|
||||
})
|
||||
export default class PrintsettingsPanel extends Mixins(BaseMixin) {
|
||||
|
||||
|
||||
@@ -376,6 +376,13 @@ export default class StatusPanel extends Mixins(BaseMixin) {
|
||||
loadingName: 'statusPrintResume',
|
||||
status: ['paused'],
|
||||
click: this.btnResumeJob
|
||||
}, {
|
||||
text: this.$t('Panels.StatusPanel.CancelPrint'),
|
||||
color: 'error',
|
||||
icon: 'mdi-stop',
|
||||
loadingName: 'statusPrintCancel',
|
||||
status: this.$store.state.gui.uiSettings.displayCancelPrint ? ['paused', 'printing'] : ['paused'],
|
||||
click: this.btnCancelJob
|
||||
}, {
|
||||
text: this.$t('Panels.StatusPanel.ExcludeObject.ExcludeObject'),
|
||||
color: 'warning',
|
||||
@@ -383,13 +390,6 @@ export default class StatusPanel extends Mixins(BaseMixin) {
|
||||
loadingName: '',
|
||||
status: this.printing_objects.length ? ['paused', 'printing'] : [],
|
||||
click: this.btnExcludeObject
|
||||
}, {
|
||||
text: this.$t('Panels.StatusPanel.CancelPrint'),
|
||||
color: 'error',
|
||||
icon: 'mdi-stop',
|
||||
loadingName: 'statusPrintCancel',
|
||||
status: this.$store.state.gui.general.displayCancelPrint ? ['paused', 'printing'] : ['paused'],
|
||||
click: this.btnCancelJob
|
||||
}, {
|
||||
text: this.$t('Panels.StatusPanel.ClearPrintStats'),
|
||||
color: 'primary',
|
||||
@@ -573,7 +573,7 @@ export default class StatusPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get boolBigThumbnail() {
|
||||
const setting = this.$store.state.gui.dashboard.boolBigThumbnail ?? true
|
||||
const setting = this.$store.state.gui.uiSettings.boolBigThumbnail ?? true
|
||||
|
||||
return this.current_filename && setting && this.thumbnailBig
|
||||
}
|
||||
|
||||
@@ -4,15 +4,17 @@
|
||||
|
||||
<template>
|
||||
<div v-if="['printing', 'paused'].includes(printer_state) && printing_objects.length">
|
||||
<v-container>
|
||||
<v-row>
|
||||
<v-col class="py-2">
|
||||
<span class="subtitle-2 d-block px-0 text--disabled"><v-icon class="mr-2" small>mdi-printer-3d-nozzle</v-icon>{{ current_object !== null ? current_object : '--' }}</span>
|
||||
</v-col>
|
||||
<v-col class="col-auto py-2">
|
||||
<v-icon class="text--disabled cursor-pointer" @click="openCancelObjectDialog(current_object)" small v-if="current_object !== null">mdi-close-circle</v-icon>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-container class="py-0">
|
||||
<div class="d-flex flex-row flex-nowrap justify-space-between">
|
||||
<div class="py-2" style="width: calc(100% - 25px);">
|
||||
<span class="subtitle-2 d-block px-0 text--disabled text-truncate">
|
||||
<v-icon class="mr-2" small>mdi-printer-3d-nozzle</v-icon>{{ current_object !== null ? current_object : '--' }}
|
||||
</span>
|
||||
</div>
|
||||
<div class="py-2 pl-0">
|
||||
<v-icon class="text--disabled cursor-pointer" @click="openCancelObjectDialog(current_object)" small v-if="current_object !== null">mdi-selection-remove</v-icon>
|
||||
</div>
|
||||
</div>
|
||||
</v-container>
|
||||
<v-divider class="mt-0 mb-0" ></v-divider>
|
||||
<v-dialog v-model="boolShowExcludeObjectDialog" max-width="400">
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
@update:hoverName="updateHoverObjectDialogName"
|
||||
:exclude-object-dialog-bool.sync="excludeObjectDialogBool"
|
||||
@update:bool="updateExcludeObjectDialogBool"
|
||||
:hover-name="hoverName"
|
||||
></status-panel-exclude-object-dialog-list>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
<template>
|
||||
<div>
|
||||
<template v-for="object in printing_objects">
|
||||
<v-row v-bind:key="'div_'+object.name" class="py-3 d-flex" @mouseover="mouseOverObject(object.name)" @mouseleave="mouseOverObject('')">
|
||||
<v-col class="py-2 subtitle-2 text--disabled text-truncate">
|
||||
<v-row v-bind:key="'div_'+object.name" class="py-3 d-flex" @click="mouseOverObject(object.name)" @mouseover="mouseOverObject(object.name)" @mouseleave="mouseOverObject('')">
|
||||
<v-col :class="'py-2 subtitle-2 text-truncate '+(hoverName === object.name ? 'text--white' : 'text--disabled')">
|
||||
{{ object.name }}
|
||||
</v-col>
|
||||
<v-col class="col-auto py-2">
|
||||
@@ -21,11 +21,13 @@
|
||||
|
||||
<script lang="ts">
|
||||
import Component from 'vue-class-component'
|
||||
import {Mixins} from 'vue-property-decorator'
|
||||
import {Mixins, Prop} from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
|
||||
@Component
|
||||
export default class StatusPanelObjectsDialogList extends Mixins(BaseMixin) {
|
||||
@Prop({ required: false, default: '' }) readonly hoverName!: string
|
||||
|
||||
get printing_objects() {
|
||||
return this.$store.state.printer.exclude_object?.objects ?? []
|
||||
}
|
||||
|
||||
@@ -65,6 +65,7 @@
|
||||
import Component from 'vue-class-component'
|
||||
import {Mixins, Prop} from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import {defaultPrimaryColor} from '@/store/variables'
|
||||
|
||||
@Component
|
||||
export default class StatusPanelObjectsDialogMap extends Mixins(BaseMixin) {
|
||||
@@ -142,7 +143,7 @@ export default class StatusPanelObjectsDialogMap extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get primaryColor() {
|
||||
return this.$store.state.gui.theme.primary
|
||||
return this.$store.state.gui.theme?.primary ?? defaultPrimaryColor
|
||||
}
|
||||
|
||||
convertX(x: number) {
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<v-card-text>
|
||||
<v-row>
|
||||
<v-col class="col-12 py-2 d-flex align-center">
|
||||
<span><b>{{ $t('Timelapse.CurrentPath') }}:</b> {{ this.currentPath !== 'timelapse' ? "/"+this.currentPath.substring(7) : "/" }}</span>
|
||||
<span><b>{{ $t('Timelapse.CurrentPath') }}:</b> {{ this.currentPath !== 'timelapse' ? "/"+this.currentPath.substring(10) : "/" }}</span>
|
||||
<v-spacer></v-spacer>
|
||||
<template v-if="this.disk_usage !== null">
|
||||
<v-tooltip top>
|
||||
@@ -284,7 +284,6 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
private search = ''
|
||||
private currentPath = 'timelapse'
|
||||
private boolVideoDialog = false
|
||||
private videoDialogFilename = ''
|
||||
|
||||
@@ -370,31 +369,31 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get sortBy() {
|
||||
return this.$store.state.gui.timelapse.sortBy ?? 'modified'
|
||||
return this.$store.state.gui.view.gcodefiles.sortBy ?? 'modified'
|
||||
}
|
||||
|
||||
set sortBy(newVal) {
|
||||
if (newVal === undefined) newVal = 'modified'
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'timelapse.sortBy', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.timelapse.sortBy', value: newVal })
|
||||
}
|
||||
|
||||
get sortDesc() {
|
||||
return this.$store.state.gui.timelapse.sortDesc ?? true
|
||||
return this.$store.state.gui.view.gcodefiles.sortDesc ?? true
|
||||
}
|
||||
|
||||
set sortDesc(newVal) {
|
||||
if (newVal === undefined) newVal = false
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'timelapse.sortDesc', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.timelapse.sortDesc', value: newVal })
|
||||
}
|
||||
|
||||
get countPerPage() {
|
||||
return this.$store.state.gui.timelapse?.countPerPage ?? 10
|
||||
return this.$store.state.gui.view.gcodefiles?.countPerPage ?? 10
|
||||
}
|
||||
|
||||
set countPerPage(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'timelapse.countPerPage', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.timelapse.countPerPage', value: newVal })
|
||||
}
|
||||
|
||||
get displayFiles() {
|
||||
@@ -405,6 +404,14 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
|
||||
}) ?? []
|
||||
}
|
||||
|
||||
get currentPath() {
|
||||
return this.$store.state.gui.view.timelapse.currentPath
|
||||
}
|
||||
|
||||
set currentPath(newVal) {
|
||||
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.timelapse.currentPath', value: newVal })
|
||||
}
|
||||
|
||||
createDirectory() {
|
||||
this.dialogCreateDirectory.name = ''
|
||||
this.dialogCreateDirectory.show = true
|
||||
@@ -537,6 +544,11 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
removeFile() {
|
||||
const filename = this.contextMenu.item.filename.slice(0, this.contextMenu.item.filename.lastIndexOf('.'))
|
||||
const previewFilename = filename+'.jpg'
|
||||
const previewExists = (this.files.findIndex((file) => file.filename === previewFilename) !== -1)
|
||||
|
||||
if(previewExists) this.$socket.emit('server.files.delete_file', { path: this.currentPath+'/'+previewFilename }, { action: 'files/getDeleteFile' })
|
||||
this.$socket.emit('server.files.delete_file', { path: this.currentPath+'/'+this.contextMenu.item.filename }, { action: 'files/getDeleteFile' })
|
||||
}
|
||||
|
||||
@@ -546,8 +558,6 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
deleteDirectoryAction() {
|
||||
//TODO: delete all files (mp4, jpg, zip)
|
||||
|
||||
this.dialogDeleteDirectory.show = false
|
||||
this.$socket.emit('server.files.delete_directory', { path: this.currentPath+'/'+this.contextMenu.item.filename, force: true }, { action: 'files/getDeleteDir' })
|
||||
}
|
||||
|
||||
@@ -303,19 +303,19 @@ export default class ToolsPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get boolTempchart(): boolean {
|
||||
return this.$store.state.gui.dashboard?.boolTempchart ?? false
|
||||
return this.$store.state.gui.view.tempchart.boolTempchart ?? false
|
||||
}
|
||||
|
||||
set boolTempchart(newVal: boolean) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.boolTempchart', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.tempchart.boolTempchart', value: newVal })
|
||||
}
|
||||
|
||||
get autoscaleTempchart(): boolean {
|
||||
return this.$store.state.gui.tempchart.autoscale ?? false
|
||||
return this.$store.state.gui.view.tempchart.autoscale ?? false
|
||||
}
|
||||
|
||||
set autoscaleTempchart(newVal: boolean) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'tempchart.autoscale', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.tempchart.autoscale', value: newVal })
|
||||
}
|
||||
|
||||
get heaters(): PrinterStateHeater[] {
|
||||
@@ -377,12 +377,12 @@ export default class ToolsPanel extends Mixins(BaseMixin) {
|
||||
const serieName = 'bool'+type.charAt(0).toUpperCase() + type.slice(1)
|
||||
const value = this.editHeater[serieName]
|
||||
|
||||
const name = 'tempchart.datasetSettings.'+this.editHeater.name+'.'+type
|
||||
const name = 'view.tempchart.datasetSettings.'+this.editHeater.name+'.'+type
|
||||
this.$store.dispatch('gui/saveSetting', { name, value })
|
||||
}
|
||||
|
||||
setVisibleAdditionalSensor(sensor: string): void {
|
||||
const name = 'tempchart.datasetSettings.'+this.editHeater.name+'.additionalSensors.'+sensor
|
||||
const name = 'view.tempchart.datasetSettings.'+this.editHeater.name+'.additionalSensors.'+sensor
|
||||
this.$store.dispatch('gui/saveSetting', { name, value: this.editHeater.additionSensors[sensor].bool })
|
||||
}
|
||||
|
||||
@@ -391,7 +391,7 @@ export default class ToolsPanel extends Mixins(BaseMixin) {
|
||||
if (typeof value === 'object' && 'hex' in value) value = value.hex
|
||||
this.$store.commit('printer/tempHistory/setColor', { name: this.editHeater.name, value: value })
|
||||
|
||||
const name = 'tempchart.datasetSettings.'+this.editHeater.name+'.color'
|
||||
const name = 'view.tempchart.datasetSettings.'+this.editHeater.name+'.color'
|
||||
this.$store.dispatch('gui/saveSetting', { name, value })
|
||||
}
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ export default class WebcamPanel extends Mixins(BaseMixin) {
|
||||
get currentCamId(): string {
|
||||
if (this.webcams.length === 1) return this.webcams[0].id ?? 'all'
|
||||
|
||||
let currentCamId = this.$store.state.gui.webcamSettings.currentCam[this.viewport ?? ''] ?? 'all'
|
||||
let currentCamId = this.$store.state.gui.view.webcam.currentCam[this.viewport ?? ''] ?? 'all'
|
||||
if (this.webcams.findIndex((webcam: GuiWebcamStateWebcam) => webcam.id === currentCamId) !== -1)
|
||||
return currentCamId
|
||||
else if (currentCamId !== undefined && this.webcams.length === 1)
|
||||
|
||||
@@ -104,7 +104,7 @@ export default class ZoffsetPanel extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get displayZOffsetStandby() {
|
||||
return this.$store.state.gui.general.displayZOffsetStandby ?? false
|
||||
return this.$store.state.gui.uiSettings.displayZOffsetStandby ?? false
|
||||
}
|
||||
|
||||
get homing_origin() {
|
||||
|
||||
@@ -120,7 +120,7 @@ export default class SettingsConsoleTab extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get consoleFilters() {
|
||||
return this.$store.getters['gui/consolefilters/getConsolefilters'] ?? []
|
||||
return this.$store.getters['gui/console/getConsolefilters'] ?? []
|
||||
}
|
||||
|
||||
get availableDirections() {
|
||||
@@ -140,7 +140,7 @@ export default class SettingsConsoleTab extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
set consoleDirection(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'console.direction', value: newVal })
|
||||
this.$store.dispatch('gui/console/saveSetting', { name: 'direction', value: newVal })
|
||||
}
|
||||
|
||||
get availableEntryStyles() {
|
||||
@@ -160,7 +160,7 @@ export default class SettingsConsoleTab extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
set entryStyle(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'console.entryStyle', value: newVal })
|
||||
this.$store.dispatch('gui/console/saveSetting', { name: 'entryStyle', value: newVal })
|
||||
}
|
||||
|
||||
get consoleHeight() {
|
||||
@@ -168,7 +168,7 @@ export default class SettingsConsoleTab extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
set consoleHeight(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'console.height', value: newVal })
|
||||
this.$store.dispatch('gui/console/saveSetting', { name: 'height', value: newVal })
|
||||
}
|
||||
|
||||
@Watch('consoleHeight')
|
||||
@@ -186,15 +186,15 @@ export default class SettingsConsoleTab extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
set hideWaitTemperatures(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'console.hideWaitTemperatures', value: newVal })
|
||||
this.$store.dispatch('gui/console/saveSetting', { name: 'hideWaitTemperatures', value: newVal })
|
||||
}
|
||||
|
||||
get hideTimelapse() {
|
||||
return this.$store.state.gui.console.hideTimelapse
|
||||
return this.$store.state.gui.console.hideTlCommands
|
||||
}
|
||||
|
||||
set hideTimelapse(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'console.hideTimelapse', value: newVal })
|
||||
this.$store.dispatch('gui/console/saveSetting', { name: 'hideTlCommands', value: newVal })
|
||||
}
|
||||
|
||||
existsPresetName(name: string) {
|
||||
@@ -215,7 +215,7 @@ export default class SettingsConsoleTab extends Mixins(BaseMixin) {
|
||||
regex: filter.regex
|
||||
}
|
||||
|
||||
this.$store.dispatch('gui/consolefilters/update', { id: filter.id, values })
|
||||
this.$store.dispatch('gui/console/filterUpdate', { id: filter.id, values })
|
||||
}
|
||||
|
||||
createFilter() {
|
||||
@@ -240,16 +240,16 @@ export default class SettingsConsoleTab extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
if (this.form.id)
|
||||
this.$store.dispatch('gui/consolefilters/update', { id: this.form.id, values: filter })
|
||||
this.$store.dispatch('gui/console/filterUpdate', { id: this.form.id, values: filter })
|
||||
else
|
||||
this.$store.dispatch('gui/consolefilters/store', { values: filter })
|
||||
this.$store.dispatch('gui/console/filterStore', { values: filter })
|
||||
|
||||
this.clearForm()
|
||||
}
|
||||
}
|
||||
|
||||
deleteFilter(id: string) {
|
||||
this.$store.dispatch('gui/consolefilters/delete', id)
|
||||
this.$store.dispatch('gui/console/filterDelete', id)
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -32,7 +32,7 @@
|
||||
type="number"
|
||||
suffix="mm/s"
|
||||
hide-details="auto"
|
||||
:rules="[v => v > 0 || 'Minimum speed is 1']"
|
||||
:rules="[v => v > 0 || $t('Settings.ControlTab.ValueGreaterThan', {value: '0'})]"
|
||||
outlined
|
||||
dense
|
||||
hide-spin-buttons
|
||||
@@ -46,7 +46,7 @@
|
||||
type="number"
|
||||
suffix="mm/s"
|
||||
hide-details="auto"
|
||||
:rules="[v => v > 0 || 'Minimum speed is 1']"
|
||||
:rules="[v => v > 0 || $t('Settings.ControlTab.ValueGreaterThan', {value: '0'})]"
|
||||
outlined
|
||||
dense
|
||||
hide-spin-buttons
|
||||
@@ -58,15 +58,15 @@
|
||||
<v-combobox
|
||||
v-model="stepsAll"
|
||||
hide-selected
|
||||
hide-details
|
||||
hide-details="auto"
|
||||
multiple
|
||||
small-chips
|
||||
:deletable-chips="true"
|
||||
append-icon=""
|
||||
type="number"
|
||||
:rules="[
|
||||
v => v.length > 0 || 'Minimum 1 value',
|
||||
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 3 values.',
|
||||
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
|
||||
v => v.length <= 9 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '9'}),
|
||||
]"
|
||||
dense
|
||||
outlined
|
||||
@@ -80,16 +80,16 @@
|
||||
<v-combobox
|
||||
v-model="stepsCircleXY"
|
||||
hide-selected
|
||||
hide-details
|
||||
hide-details="auto"
|
||||
multiple
|
||||
small-chips
|
||||
:deletable-chips="true"
|
||||
append-icon=""
|
||||
type="number"
|
||||
:rules="[
|
||||
v => v.length > 0 || 'Minimum 1 value',
|
||||
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 4 values.',
|
||||
]"
|
||||
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
|
||||
v => v.length <= 4 || $t('Settings.ControlTab.MaximumValues', {maximum: '4'}),
|
||||
]"
|
||||
dense
|
||||
outlined
|
||||
hide-spin-buttons
|
||||
@@ -100,16 +100,16 @@
|
||||
<v-combobox
|
||||
v-model="stepsCircleZ"
|
||||
hide-selected
|
||||
hide-details
|
||||
hide-details="auto"
|
||||
multiple
|
||||
small-chips
|
||||
:deletable-chips="true"
|
||||
append-icon=""
|
||||
type="number"
|
||||
:rules="[
|
||||
v => v.length > 0 || 'Minimum 1 value',
|
||||
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 4 values.',
|
||||
]"
|
||||
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
|
||||
v => v.length <= 4 || $t('Settings.ControlTab.MaximumValues', {maximum: '4'}),
|
||||
]"
|
||||
dense
|
||||
outlined
|
||||
hide-spin-buttons
|
||||
@@ -122,16 +122,16 @@
|
||||
<v-combobox
|
||||
v-model="stepsXY"
|
||||
hide-selected
|
||||
hide-details
|
||||
hide-details="auto"
|
||||
multiple
|
||||
small-chips
|
||||
:deletable-chips="true"
|
||||
append-icon=""
|
||||
type="number"
|
||||
:rules="[
|
||||
v => v.length > 0 || 'Minimum 1 value',
|
||||
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 3 values.',
|
||||
]"
|
||||
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
|
||||
v => v.length <= 3 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '3'}),
|
||||
]"
|
||||
dense
|
||||
outlined
|
||||
hide-spin-buttons
|
||||
@@ -142,16 +142,16 @@
|
||||
<v-combobox
|
||||
v-model="stepsZ"
|
||||
hide-selected
|
||||
hide-details
|
||||
hide-details="auto"
|
||||
multiple
|
||||
small-chips
|
||||
:deletable-chips="true"
|
||||
append-icon=""
|
||||
type="number"
|
||||
:rules="[
|
||||
v => v.length > 0 || 'Minimum 1 value',
|
||||
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 3 values.',
|
||||
]"
|
||||
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
|
||||
v => v.length <= 3 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '3'}),
|
||||
]"
|
||||
dense
|
||||
outlined
|
||||
hide-spin-buttons
|
||||
@@ -169,10 +169,10 @@
|
||||
:deletable-chips="true"
|
||||
append-icon=""
|
||||
type="number"
|
||||
:rules="[
|
||||
v => v.length > 0 || 'Minimum 1 value',
|
||||
v => v.length < 6 || 'For narrow screens it is recommended to enter max. 5 values.',
|
||||
]"
|
||||
:rules="[
|
||||
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
|
||||
v => v.length <= 5 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '5'}),
|
||||
]"
|
||||
dense
|
||||
outlined
|
||||
hide-spin-buttons
|
||||
@@ -189,10 +189,10 @@
|
||||
:deletable-chips="true"
|
||||
append-icon=""
|
||||
type="number"
|
||||
:rules="[
|
||||
v => v.length > 0 || 'Minimum 1 value',
|
||||
v => v.length < 6 || 'For narrow screens it is recommended to enter max. 5 values.',
|
||||
]"
|
||||
:rules="[
|
||||
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
|
||||
v => v.length <= 5 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '5'}),
|
||||
]"
|
||||
dense
|
||||
outlined
|
||||
hide-spin-buttons
|
||||
@@ -236,135 +236,142 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get controlStyle() {
|
||||
return this.$store.state.gui.dashboard.control.style ?? 'bar'
|
||||
return this.$store.state.gui.control.style ?? 'bar'
|
||||
}
|
||||
|
||||
set controlStyle(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.style', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.style', value: newVal })
|
||||
}
|
||||
|
||||
get reverseX() {
|
||||
return this.$store.state.gui.dashboard.control.reverseX
|
||||
return this.$store.state.gui.control.reverseX
|
||||
}
|
||||
|
||||
set reverseX(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.reverseX', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.reverseX', value: newVal })
|
||||
}
|
||||
|
||||
get reverseY() {
|
||||
return this.$store.state.gui.dashboard.control.reverseY
|
||||
return this.$store.state.gui.control.reverseY
|
||||
}
|
||||
|
||||
set reverseY(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.reverseY', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.reverseY', value: newVal })
|
||||
}
|
||||
|
||||
get reverseZ() {
|
||||
return this.$store.state.gui.dashboard.control.reverseZ
|
||||
return this.$store.state.gui.control.reverseZ
|
||||
}
|
||||
|
||||
set reverseZ(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.reverseZ', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.reverseZ', value: newVal })
|
||||
}
|
||||
|
||||
get feedrateXY() {
|
||||
return this.$store.state.gui.dashboard.control.feedrateXY
|
||||
return this.$store.state.gui.control.feedrateXY
|
||||
}
|
||||
|
||||
set feedrateXY(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.feedrateXY', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.feedrateXY', value: newVal })
|
||||
}
|
||||
|
||||
get feedrateZ() {
|
||||
return this.$store.state.gui.dashboard.control.feedrateZ
|
||||
return this.$store.state.gui.control.feedrateZ
|
||||
}
|
||||
|
||||
set feedrateZ(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.feedrateZ', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.feedrateZ', value: newVal })
|
||||
}
|
||||
|
||||
get stepsAll() {
|
||||
const steps = this.$store.state.gui.dashboard.control.stepsAll
|
||||
const steps = this.$store.state.gui.control.stepsAll
|
||||
return (steps ?? []).sort(function (a: number,b: number) { return b-a })
|
||||
}
|
||||
|
||||
set stepsAll(newVal) {
|
||||
const absSteps = []
|
||||
for(const value of newVal) absSteps.push(Math.abs(value))
|
||||
const steps = absSteps.filter(this.onlyUnique)
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.stepsAll', value: absSteps })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsAll', value: steps })
|
||||
}
|
||||
|
||||
get stepsXY() {
|
||||
const steps = this.$store.state.gui.dashboard.control.stepsXY
|
||||
const steps = this.$store.state.gui.control.stepsXY
|
||||
return steps.sort(function (a: number,b: number) { return b-a })
|
||||
}
|
||||
|
||||
set stepsXY(steps) {
|
||||
set stepsXY(newVal) {
|
||||
const absSteps = []
|
||||
for(const value of steps) absSteps.push(Math.abs(value))
|
||||
for(const value of newVal) absSteps.push(Math.abs(value))
|
||||
const steps = absSteps.filter(this.onlyUnique)
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.stepsXY', value: absSteps })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsXY', value: steps })
|
||||
}
|
||||
|
||||
get stepsZ() {
|
||||
const steps = this.$store.state.gui.dashboard.control.stepsZ
|
||||
const steps = this.$store.state.gui.control.stepsZ
|
||||
return steps.sort(function (a: number,b: number) { return b-a })
|
||||
}
|
||||
|
||||
set stepsZ(steps) {
|
||||
set stepsZ(newVal) {
|
||||
const absSteps = []
|
||||
for(const value of steps) absSteps.push(Math.abs(value))
|
||||
for(const value of newVal) absSteps.push(Math.abs(value))
|
||||
const steps = absSteps.filter(this.onlyUnique)
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.stepsZ', value: absSteps })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsZ', value: steps })
|
||||
}
|
||||
|
||||
get stepsCircleXY() {
|
||||
const steps = this.$store.state.gui.dashboard.control.stepsCircleXY
|
||||
const steps = this.$store.state.gui.control.stepsCircleXY
|
||||
return steps.sort(function (a: number,b: number) { return b-a })
|
||||
}
|
||||
|
||||
set stepsCircleXY(steps) {
|
||||
set stepsCircleXY(newVal) {
|
||||
const absSteps = []
|
||||
for(const value of steps) absSteps.push(Math.abs(value))
|
||||
for(const value of newVal) absSteps.push(Math.abs(value))
|
||||
const steps = absSteps.filter(this.onlyUnique)
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.stepsCircleXY', value: absSteps })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsCircleXY', value: steps })
|
||||
}
|
||||
|
||||
get stepsCircleZ() {
|
||||
const steps = this.$store.state.gui.dashboard.control.stepsCircleZ
|
||||
const steps = this.$store.state.gui.control.stepsCircleZ
|
||||
return steps.sort(function (a: number,b: number) { return b-a })
|
||||
}
|
||||
|
||||
set stepsCircleZ(steps) {
|
||||
set stepsCircleZ(newVal) {
|
||||
const absSteps = []
|
||||
for(const value of steps) absSteps.push(Math.abs(value))
|
||||
for(const value of newVal) absSteps.push(Math.abs(value))
|
||||
const steps = absSteps.filter(this.onlyUnique)
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.control.stepsCircleZ', value: absSteps })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsCircleZ', value: steps })
|
||||
}
|
||||
|
||||
get feedamountsE() {
|
||||
const steps = this.$store.state.gui.dashboard.extruder.feedamounts
|
||||
const steps = this.$store.state.gui.control.extruder.feedamounts
|
||||
return steps.sort(function (a: number,b: number) { return b-a })
|
||||
}
|
||||
|
||||
set feedamountsE(amounts) {
|
||||
set feedamountsE(newVal) {
|
||||
const absAmounts = []
|
||||
for(const value of amounts) absAmounts.push(Math.abs(value))
|
||||
for(const value of newVal) absAmounts.push(Math.abs(value))
|
||||
const amounts = absAmounts.filter(this.onlyUnique)
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.extruder.feedamounts', value: absAmounts })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.extruder.feedamounts', value: amounts })
|
||||
}
|
||||
|
||||
get feedratesE() {
|
||||
const steps = this.$store.state.gui.dashboard.extruder.feedrates
|
||||
const steps = this.$store.state.gui.control.extruder.feedrates
|
||||
return steps.sort(function (a: number,b: number) { return b-a })
|
||||
}
|
||||
|
||||
set feedratesE(rates) {
|
||||
set feedratesE(newVal) {
|
||||
const absRates = []
|
||||
for(const value of rates) absRates.push(Math.abs(value))
|
||||
for(const value of newVal) absRates.push(Math.abs(value))
|
||||
const rates = absRates.filter(this.onlyUnique)
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.extruder.feedrates', value: absRates })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'control.extruder.feedrates', value: rates })
|
||||
}
|
||||
|
||||
blurFeedrateXY() {
|
||||
@@ -375,6 +382,10 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
|
||||
if (!(this.feedrateZ > 0)) this.feedrateZ = 25
|
||||
}
|
||||
|
||||
onlyUnique(value: any, index: any, self: any[]) {
|
||||
return self.indexOf(value) === index
|
||||
}
|
||||
|
||||
mounted() {
|
||||
this.$refs.formControlExtruder.validate()
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
{{ getPanelName(element.name) }}
|
||||
</v-col>
|
||||
<v-col class="col-auto pl-0">
|
||||
<v-icon v-if="!element.visable" color="grey lighten-1" @click.stop="changeState1(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-if="!element.visible" color="grey lighten-1" @click.stop="changeState1(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-else color="primary" @click.stop="changeState1(element.name,false)">mdi-checkbox-marked</v-icon>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -62,7 +62,7 @@
|
||||
{{ getPanelName(element.name) }}
|
||||
</v-col>
|
||||
<v-col class="col-auto pl-0">
|
||||
<v-icon v-if="!element.visable" color="grey lighten-1" @click.stop="changeState2(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-if="!element.visible" color="grey lighten-1" @click.stop="changeState2(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-else color="primary" @click.stop="changeState2(element.name,false)">mdi-checkbox-marked</v-icon>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -124,7 +124,7 @@ export default class SettingsDashboardTabDesktop extends Mixins(DashboardMixin)
|
||||
changeState1(name: string, newVal: boolean) {
|
||||
const index = this.desktopLayout1.findIndex((element: any) => element.name === name)
|
||||
if (index !== -1) {
|
||||
this.desktopLayout1[index].visable = newVal
|
||||
this.desktopLayout1[index].visible = newVal
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.desktopLayout1', value: this.desktopLayout1 })
|
||||
}
|
||||
}
|
||||
@@ -132,7 +132,7 @@ export default class SettingsDashboardTabDesktop extends Mixins(DashboardMixin)
|
||||
changeState2(name: string, newVal: boolean) {
|
||||
const index = this.desktopLayout2.findIndex((element: any) => element.name === name)
|
||||
if (index !== -1) {
|
||||
this.desktopLayout2[index].visable = newVal
|
||||
this.desktopLayout2[index].visible = newVal
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.desktopLayout2', value: this.desktopLayout2 })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
{{ getPanelName(element.name) }}
|
||||
</v-col>
|
||||
<v-col class="col-auto pl-0">
|
||||
<v-icon v-if="!element.visable" color="grey lighten-1" @click.stop="changeState(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-if="!element.visible" color="grey lighten-1" @click.stop="changeState(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-else color="primary" @click.stop="changeState(element.name,false)">mdi-checkbox-marked</v-icon>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -89,7 +89,7 @@ export default class SettingsDashboardTabMobile extends Mixins(DashboardMixin) {
|
||||
changeState(name: string, newVal: boolean) {
|
||||
const index = this.mobileLayout.findIndex((element: any) => element.name === name)
|
||||
if (index !== -1) {
|
||||
this.mobileLayout[index].visable = newVal
|
||||
this.mobileLayout[index].visible = newVal
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.mobileLayout', value: this.mobileLayout })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
{{ getPanelName(element.name) }}
|
||||
</v-col>
|
||||
<v-col class="col-auto pl-0">
|
||||
<v-icon v-if="!element.visable" color="grey lighten-1" @click.stop="changeState1(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-if="!element.visible" color="grey lighten-1" @click.stop="changeState1(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-else color="primary" @click.stop="changeState1(element.name,false)">mdi-checkbox-marked</v-icon>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -62,7 +62,7 @@
|
||||
{{ getPanelName(element.name) }}
|
||||
</v-col>
|
||||
<v-col class="col-auto pl-0">
|
||||
<v-icon v-if="!element.visable" color="grey lighten-1" @click.stop="changeState2(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-if="!element.visible" color="grey lighten-1" @click.stop="changeState2(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-else color="primary" @click.stop="changeState2(element.name,false)">mdi-checkbox-marked</v-icon>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -124,7 +124,7 @@ export default class SettingsDashboardTabTablet extends Mixins(DashboardMixin) {
|
||||
changeState1(name: string, newVal: boolean) {
|
||||
const index = this.tabletLayout1.findIndex((element: any) => element.name === name)
|
||||
if (index !== -1) {
|
||||
this.tabletLayout1[index].visable = newVal
|
||||
this.tabletLayout1[index].visible = newVal
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.tabletLayout1', value: this.tabletLayout1 })
|
||||
}
|
||||
}
|
||||
@@ -132,7 +132,7 @@ export default class SettingsDashboardTabTablet extends Mixins(DashboardMixin) {
|
||||
changeState2(name: string, newVal: boolean) {
|
||||
const index = this.tabletLayout2.findIndex((element: any) => element.name === name)
|
||||
if (index !== -1) {
|
||||
this.tabletLayout2[index].visable = newVal
|
||||
this.tabletLayout2[index].visible = newVal
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.tabletLayout2', value: this.tabletLayout2 })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
{{ getPanelName(element.name) }}
|
||||
</v-col>
|
||||
<v-col class="col-auto pl-0">
|
||||
<v-icon v-if="!element.visable" color="grey lighten-1" @click.stop="changeState1(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-if="!element.visible" color="grey lighten-1" @click.stop="changeState1(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-else color="primary" @click.stop="changeState1(element.name,false)">mdi-checkbox-marked</v-icon>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -62,7 +62,7 @@
|
||||
{{ getPanelName(element.name) }}
|
||||
</v-col>
|
||||
<v-col class="col-auto pl-0">
|
||||
<v-icon v-if="!element.visable" color="grey lighten-1" @click.stop="changeState2(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-if="!element.visible" color="grey lighten-1" @click.stop="changeState2(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-else color="primary" @click.stop="changeState2(element.name,false)">mdi-checkbox-marked</v-icon>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -87,7 +87,7 @@
|
||||
{{ getPanelName(element.name) }}
|
||||
</v-col>
|
||||
<v-col class="col-auto pl-0">
|
||||
<v-icon v-if="!element.visable" color="grey lighten-1" @click.stop="changeState3(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-if="!element.visible" color="grey lighten-1" @click.stop="changeState3(element.name,true)">mdi-checkbox-blank-outline</v-icon>
|
||||
<v-icon v-else color="primary" @click.stop="changeState3(element.name,false)">mdi-checkbox-marked</v-icon>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -159,7 +159,7 @@ export default class SettingsDashboardTabWidescreen extends Mixins(DashboardMixi
|
||||
changeState1(name: string, newVal: boolean) {
|
||||
const index = this.widescreenLayout1.findIndex((element: any) => element.name === name)
|
||||
if (index !== -1) {
|
||||
this.widescreenLayout1[index].visable = newVal
|
||||
this.widescreenLayout1[index].visible = newVal
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.widescreenLayout1', value: this.widescreenLayout1 })
|
||||
}
|
||||
}
|
||||
@@ -167,7 +167,7 @@ export default class SettingsDashboardTabWidescreen extends Mixins(DashboardMixi
|
||||
changeState2(name: string, newVal: boolean) {
|
||||
const index = this.widescreenLayout2.findIndex((element: any) => element.name === name)
|
||||
if (index !== -1) {
|
||||
this.widescreenLayout2[index].visable = newVal
|
||||
this.widescreenLayout2[index].visible = newVal
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.widescreenLayout2', value: this.widescreenLayout2 })
|
||||
}
|
||||
}
|
||||
@@ -175,7 +175,7 @@ export default class SettingsDashboardTabWidescreen extends Mixins(DashboardMixi
|
||||
changeState3(name: string, newVal: boolean) {
|
||||
const index = this.widescreenLayout3.findIndex((element: any) => element.name === name)
|
||||
if (index !== -1) {
|
||||
this.widescreenLayout3[index].visable = newVal
|
||||
this.widescreenLayout3[index].visible = newVal
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.widescreenLayout3', value: this.widescreenLayout3 })
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,13 +18,71 @@
|
||||
<v-select v-model="calcEtaTime" :items="calcEtaTimeItems" multiple hide-details dense outlined attach></v-select>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.GeneralTab.MoonrakerDb')" :dynamicSlotWidth="true">
|
||||
<input type="file" :accept="['.json']" ref="uploadBackupFile" class="d-none" @change="uploadRestore" />
|
||||
<v-btn @click="backupDb" :loading="loadings.includes('backupDbButton')" small>{{ $t('Settings.GeneralTab.Backup') }}</v-btn>
|
||||
<v-btn @click="restoreDb" small :loading="loadings.includes('restoreUploadButton')" class="ml-3">{{ $t('Settings.GeneralTab.Restore') }}</v-btn>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.GeneralTab.FactoryReset')" :dynamicSlotWidth="true">
|
||||
<v-btn @click="dialogResetMainsail=true" color="error" small>{{ $t('Settings.GeneralTab.FactoryReset') }}</v-btn>
|
||||
<v-btn @click="resetMainsail" color="error" small>{{ $t('Settings.GeneralTab.FactoryReset') }}</v-btn>
|
||||
</settings-row>
|
||||
</v-card-text>
|
||||
</v-card>
|
||||
<v-dialog v-model="dialogBackupMainsail" persistent :width="360">
|
||||
<panel :title="$t('Settings.GeneralTab.Backup')" card-class="mainsail-backup-dialog" :margin-bottom="false" icon="mdi-help-circle">
|
||||
<template v-slot:buttons>
|
||||
<v-btn icon tile @click="dialogBackupMainsail = false"><v-icon>mdi-close-thick</v-icon></v-btn>
|
||||
</template>
|
||||
<v-card-text>
|
||||
<v-row>
|
||||
<v-col>
|
||||
<p class="mb-0">{{ $t('Settings.GeneralTab.BackupDialog') }}</p>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="pl-6">
|
||||
<template v-for="db in mainsailKeys">
|
||||
<v-checkbox
|
||||
:label="db.label"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
:key="db.name"
|
||||
@change="changeNamespace(db.name)"
|
||||
></v-checkbox>
|
||||
</template>
|
||||
<v-checkbox
|
||||
:label="$t('Settings.GeneralTab.DbTimelapseSettings')"
|
||||
v-if="availableNamespaces.includes('timelapse')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
@change="changeNamespace('timelapse')"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
:label="$t('Settings.GeneralTab.DbWebcams')"
|
||||
v-if="availableNamespaces.includes('webcams')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
@change="changeNamespace('webcams')"
|
||||
></v-checkbox>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="text-center">
|
||||
<v-btn
|
||||
color="red"
|
||||
@click="backupMainsail"
|
||||
:loading="loadings.includes('backupMainsail')"
|
||||
>
|
||||
{{ $t('Settings.GeneralTab.Backup') }}
|
||||
</v-btn>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card-text>
|
||||
</panel>
|
||||
</v-dialog>
|
||||
<v-dialog v-model="dialogResetMainsail" persistent :width="360">
|
||||
<panel :title="$t('Settings.GeneralTab.FactoryReset')" card-class="ractory-reset-dialog" :margin-bottom="false" icon="mdi-help-circle">
|
||||
<panel :title="$t('Settings.GeneralTab.FactoryReset')" card-class="factory-reset-dialog" :margin-bottom="false" icon="mdi-help-circle">
|
||||
<template v-slot:buttons>
|
||||
<v-btn icon tile @click="dialogResetMainsail = false"><v-icon>mdi-close-thick</v-icon></v-btn>
|
||||
</template>
|
||||
@@ -36,61 +94,42 @@
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="pl-6">
|
||||
<template v-for="db in mainsailKeys">
|
||||
<v-checkbox
|
||||
:label="db.label"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
:key="db.name"
|
||||
@change="changeNamespace(db.name)"
|
||||
></v-checkbox>
|
||||
</template>
|
||||
<v-checkbox
|
||||
v-model="dbCheckboxes.mainsail"
|
||||
:label="$t('Settings.GeneralTab.DbGeneral')"
|
||||
v-if="moonrakerDbNamespaces.includes('mainsail')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
v-model="dbCheckboxes.mainsail_presets"
|
||||
:label="$t('Settings.GeneralTab.DbPresets')"
|
||||
v-if="moonrakerDbNamespaces.includes('mainsail_presets')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
v-model="dbCheckboxes.mainsail_macrogroups"
|
||||
:label="$t('Settings.GeneralTab.DbMacrogroups')"
|
||||
v-if="moonrakerDbNamespaces.includes('mainsail_macrogroups')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
v-model="dbCheckboxes.mainsail_remoteprinters"
|
||||
:label="$t('Settings.GeneralTab.DbRemoteprinters')"
|
||||
v-if="moonrakerDbNamespaces.includes('mainsail_remoteprinters')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
v-model="dbCheckboxes.webcams"
|
||||
:label="$t('Settings.GeneralTab.DbWebcams')"
|
||||
v-if="moonrakerDbNamespaces.includes('webcams')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
v-model="dbCheckboxes.timelapse"
|
||||
:label="$t('Settings.GeneralTab.DbTimelapseSettings')"
|
||||
v-if="moonrakerDbNamespaces.includes('timelapse')"
|
||||
v-if="availableNamespaces.includes('timelapse')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
@change="changeNamespace('timelapse')"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
:label="$t('Settings.GeneralTab.DbWebcams')"
|
||||
v-if="availableNamespaces.includes('webcams')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
@change="changeNamespace('webcams')"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
v-model="dbCheckboxes.history_jobs"
|
||||
:label="$t('Settings.GeneralTab.DbHistoryJobs')"
|
||||
v-if="moonrakerComponents.includes('history')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
@change="changeNamespace('history_jobs')"
|
||||
></v-checkbox>
|
||||
<v-checkbox
|
||||
v-model="dbCheckboxes.history_totals"
|
||||
:label="$t('Settings.GeneralTab.DbHistoryTotals')"
|
||||
v-if="moonrakerComponents.includes('history')"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
@change="changeNamespace('history_totals')"
|
||||
></v-checkbox>
|
||||
</v-col>
|
||||
</v-row>
|
||||
@@ -98,8 +137,8 @@
|
||||
<v-col class="text-center">
|
||||
<v-btn
|
||||
color="red"
|
||||
@click="resetMainsail"
|
||||
:loading="dialogResetMainsailLoading"
|
||||
@click="resetMainsailAction"
|
||||
:loading="loadings.includes('resetMainsail')"
|
||||
>
|
||||
{{ $t('Settings.GeneralTab.Reset') }}
|
||||
</v-btn>
|
||||
@@ -108,6 +147,44 @@
|
||||
</v-card-text>
|
||||
</panel>
|
||||
</v-dialog>
|
||||
<v-dialog v-model="dialogRestoreMainsail" persistent :width="360">
|
||||
<panel :title="$t('Settings.GeneralTab.Restore')" card-class="factory-reset-dialog" :margin-bottom="false" icon="mdi-help-circle">
|
||||
<template v-slot:buttons>
|
||||
<v-btn icon tile @click="dialogRestoreMainsail = false"><v-icon>mdi-close-thick</v-icon></v-btn>
|
||||
</template>
|
||||
<v-card-text>
|
||||
<v-row>
|
||||
<v-col>
|
||||
<p class="mb-0">{{ $t('Settings.GeneralTab.RestoreDialog') }}</p>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="pl-6">
|
||||
<template v-for="db in restoreableNamespaces">
|
||||
<v-checkbox
|
||||
:label="db.label"
|
||||
hide-details
|
||||
class="mt-0"
|
||||
:key="db.name"
|
||||
@change="changeNamespace(db.name)"
|
||||
></v-checkbox>
|
||||
</template>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col class="text-center">
|
||||
<v-btn
|
||||
color="red"
|
||||
@click="restoreDbAction"
|
||||
:loading="loadings.includes('restoreMainsail')"
|
||||
>
|
||||
{{ $t('Settings.GeneralTab.Restore') }}
|
||||
</v-btn>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-card-text>
|
||||
</panel>
|
||||
</v-dialog>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -118,20 +195,74 @@ import { Mixins } from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import SettingsRow from '@/components/settings/SettingsRow.vue'
|
||||
import Panel from '@/components/ui/Panel.vue'
|
||||
import Vue from 'vue'
|
||||
|
||||
@Component({
|
||||
components: {Panel, SettingsRow}
|
||||
})
|
||||
export default class SettingsGeneralTab extends Mixins(BaseMixin) {
|
||||
private dialogBackupMainsail = false
|
||||
private dialogResetMainsail = false
|
||||
private dialogResetMainsailLoading = false
|
||||
private dbCheckboxes = {
|
||||
mainsail: false,
|
||||
mainsail_presets: false,
|
||||
mainsail_macrogroups: false,
|
||||
mainsail_remoteprinters: false,
|
||||
timelapse: false,
|
||||
history_jobs: false,
|
||||
history_totals: false,
|
||||
private dialogRestoreMainsail = false
|
||||
|
||||
private dbCheckboxes: string[] = []
|
||||
|
||||
private restoreableNamespaces: { name: string, label: string}[] = []
|
||||
private restoreObjects: any = {}
|
||||
|
||||
private mainsailKeys: { name: string, label: string}[] = []
|
||||
private availableNamespaces: string[] = []
|
||||
|
||||
$refs!: {
|
||||
uploadBackupFile: HTMLInputElement
|
||||
}
|
||||
|
||||
get availableKeys() {
|
||||
return [
|
||||
{
|
||||
name: 'general',
|
||||
label: this.$t('Settings.GeneralTab.General')+''
|
||||
}, {
|
||||
name: 'console',
|
||||
label: this.$t('Settings.ConsoleTab.Console')+''
|
||||
}, {
|
||||
name: 'control',
|
||||
label: this.$t('Settings.ControlTab.Control')+''
|
||||
}, {
|
||||
name: 'dashboard',
|
||||
label: this.$t('Settings.DashboardTab.Dashboard')+''
|
||||
}, {
|
||||
name: 'editor',
|
||||
label: this.$t('Settings.EditorTab.Editor')+''
|
||||
}, {
|
||||
name: 'gcodeviewer',
|
||||
label: this.$t('Settings.GCodeViewerTab.GCodeViewer')+''
|
||||
}, {
|
||||
name: 'gcodehistory',
|
||||
label: this.$t('Settings.GeneralTab.DbConsoleHistory')+''
|
||||
}, {
|
||||
name: 'macros',
|
||||
label: this.$t('Settings.MacrosTab.Macros')+''
|
||||
}, {
|
||||
name: 'presets',
|
||||
label: this.$t('Settings.PresetsTab.PreheatPresets')+''
|
||||
}, {
|
||||
name: 'remoteprinters',
|
||||
label: this.$t('Settings.RemotePrintersTab.RemotePrinters')+''
|
||||
}, {
|
||||
name: 'timelapse',
|
||||
label: this.$t('Settings.TimelapseTab.Timelapse')+''
|
||||
}, {
|
||||
name: 'uiSettings',
|
||||
label: this.$t('Settings.UiSettingsTab.UiSettings')+''
|
||||
}, {
|
||||
name: 'view',
|
||||
label: this.$t('Settings.GeneralTab.DbView')+''
|
||||
}, {
|
||||
name: 'webcams',
|
||||
label: this.$t('Settings.WebcamsTab.Webcams')+''
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
get printerName() {
|
||||
@@ -206,9 +337,145 @@ export default class SettingsGeneralTab extends Mixins(BaseMixin) {
|
||||
return this.$store.state.server.components ?? []
|
||||
}
|
||||
|
||||
resetMainsail() {
|
||||
this.$store.dispatch('gui/resetMoonrakerDB', this.dbCheckboxes)
|
||||
this.dialogResetMainsailLoading = true
|
||||
async refreshNamespaces() {
|
||||
this.availableNamespaces = []
|
||||
|
||||
const url = this.$store.getters['socket/getUrl'] + '/server/database/list'
|
||||
const response = await fetch(url)
|
||||
if (response) {
|
||||
const objects = await response.json()
|
||||
this.availableNamespaces = [...objects.result?.namespaces] ?? []
|
||||
}
|
||||
}
|
||||
|
||||
async refreshMainsailKeys() {
|
||||
this.mainsailKeys = []
|
||||
|
||||
const url = this.$store.getters['socket/getUrl'] + '/server/database/item?namespace=mainsail'
|
||||
const response = await fetch(url)
|
||||
if (response) {
|
||||
const objects = await response.json()
|
||||
if (objects?.result?.value) {
|
||||
Object.keys(objects?.result?.value).forEach((tmp: string) => {
|
||||
if (tmp !== 'initVersion') {
|
||||
const namespace = this.availableKeys.find((namespace) => namespace.name === tmp)
|
||||
const tmpNamespace = namespace ? namespace : { name: tmp, label: tmp }
|
||||
this.mainsailKeys.push(tmpNamespace)
|
||||
}
|
||||
})
|
||||
|
||||
this.mainsailKeys = this.mainsailKeys.sort((a, b) => {
|
||||
if (a.name === 'general') return -1
|
||||
if (b.name === 'general') return 1
|
||||
|
||||
const stringA = a.label.toString().toLowerCase()
|
||||
const stringB = b.label.toString().toLowerCase()
|
||||
|
||||
if (stringA < stringB) return -1
|
||||
if (stringA > stringB) return 1
|
||||
|
||||
return 0
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
changeNamespace(name: string) {
|
||||
if (this.dbCheckboxes.includes(name)) {
|
||||
const index = this.dbCheckboxes.indexOf(name)
|
||||
if (index >= 0) this.dbCheckboxes.splice(index, 1)
|
||||
} else this.dbCheckboxes.push(name)
|
||||
}
|
||||
|
||||
async resetMainsail() {
|
||||
await this.refreshNamespaces()
|
||||
if (this.availableNamespaces.includes('mainsail')) await this.refreshMainsailKeys()
|
||||
else this.mainsailKeys = []
|
||||
|
||||
this.dbCheckboxes = []
|
||||
this.dialogResetMainsail = true
|
||||
}
|
||||
|
||||
async resetMainsailAction() {
|
||||
await this.$store.dispatch('socket/addLoading', 'resetMainsail')
|
||||
await this.$store.dispatch('gui/resetMoonrakerDB', this.dbCheckboxes)
|
||||
}
|
||||
|
||||
async backupDb() {
|
||||
this.$store.dispatch('socket/addLoading', 'backupDbButton')
|
||||
await this.refreshNamespaces()
|
||||
if (this.availableNamespaces.includes('mainsail')) await this.refreshMainsailKeys()
|
||||
else this.mainsailKeys = []
|
||||
|
||||
this.dbCheckboxes = []
|
||||
this.dialogBackupMainsail = true
|
||||
}
|
||||
|
||||
async backupMainsail() {
|
||||
await this.$store.dispatch('socket/addLoading', 'backupMainsail')
|
||||
await this.$store.dispatch('gui/backupMoonrakerDB', this.dbCheckboxes)
|
||||
await this.$store.dispatch('socket/removeLoading', 'backupMainsail')
|
||||
this.dialogBackupMainsail = false
|
||||
}
|
||||
|
||||
async restoreDb() {
|
||||
this.$store.dispatch('socket/addLoading', 'restoreUploadButton')
|
||||
this.$refs?.uploadBackupFile?.click()
|
||||
}
|
||||
|
||||
uploadRestore() {
|
||||
if (this.$refs.uploadBackupFile.files?.length) {
|
||||
const backup = this.$refs.uploadBackupFile.files[0]
|
||||
if (backup) {
|
||||
const reader = new FileReader()
|
||||
reader.readAsText(backup, 'UTF-8')
|
||||
reader.onload = (evt) => {
|
||||
this.restoreableNamespaces = []
|
||||
try {
|
||||
this.restoreObjects = JSON.parse(evt?.target?.result+'')
|
||||
|
||||
Object.keys(this.restoreObjects).forEach((tmp: string) => {
|
||||
const namespace = this.availableKeys.find((namespace) => namespace.name === tmp)
|
||||
const tmpNamespace = namespace ? namespace : { name: tmp, label: tmp }
|
||||
|
||||
this.restoreableNamespaces.push(tmpNamespace)
|
||||
})
|
||||
|
||||
this.restoreableNamespaces = this.restoreableNamespaces.sort((a, b) => {
|
||||
if (a.name === 'general') return -1
|
||||
if (b.name === 'general') return 1
|
||||
|
||||
const stringA = a.label.toString().toLowerCase()
|
||||
const stringB = b.label.toString().toLowerCase()
|
||||
|
||||
if (stringA < stringB) return -1
|
||||
if (stringA > stringB) return 1
|
||||
|
||||
return 0
|
||||
})
|
||||
|
||||
this.dbCheckboxes = []
|
||||
this.dialogRestoreMainsail = true
|
||||
} catch (e) {
|
||||
Vue.$toast.error(this.$t('Settings.GeneralTab.CannotReadJson')+'')
|
||||
}
|
||||
}
|
||||
reader.onerror = (evt) => {
|
||||
window.console.error(evt)
|
||||
}
|
||||
}
|
||||
|
||||
this.$refs.uploadBackupFile.value = ''
|
||||
}
|
||||
}
|
||||
|
||||
async restoreDbAction () {
|
||||
this.$store.dispatch('socket/addLoading', 'restoreDbAction')
|
||||
|
||||
this.$store.dispatch('gui/restoreMoonrakerDB', {
|
||||
dbCheckboxes: this.dbCheckboxes,
|
||||
restoreObjects: this.restoreObjects
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -4,11 +4,11 @@
|
||||
<v-card-text v-if="showGeneral">
|
||||
<h3 class="text-h5 mb-3">{{ $t('Settings.MacrosTab.General') }}</h3>
|
||||
<settings-row :title="$t('Settings.MacrosTab.Management')">
|
||||
<v-select v-model="macroManagement" :items="macroManagements" outlined dense hide-details attach></v-select>
|
||||
<v-select v-model="mode" :items="modes" outlined dense hide-details attach></v-select>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
</v-card-text>
|
||||
<template v-if="macroManagement === 'expert'">
|
||||
<template v-if="mode === 'expert'">
|
||||
<settings-macros-tab-expert @update:showGeneral="updateShowGeneral" @scrollToTop="scrollToTop"></settings-macros-tab-expert>
|
||||
</template>
|
||||
<template v-else>
|
||||
@@ -30,7 +30,7 @@ import SettingsMacrosTabExpert from '@/components/settings/SettingsMacrosTabExpe
|
||||
export default class SettingsMacrosTab extends Mixins(BaseMixin) {
|
||||
private showGeneral = true
|
||||
|
||||
get macroManagements() {
|
||||
get modes() {
|
||||
return [
|
||||
{
|
||||
text: this.$t('Settings.MacrosTab.Simple'),
|
||||
@@ -43,12 +43,12 @@ export default class SettingsMacrosTab extends Mixins(BaseMixin) {
|
||||
]
|
||||
}
|
||||
|
||||
get macroManagement() {
|
||||
return this.$store.state.gui?.dashboard?.macroManagement ?? 'simple'
|
||||
get mode() {
|
||||
return this.$store.state.gui?.macros?.mode ?? 'simple'
|
||||
}
|
||||
|
||||
set macroManagement(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.macroManagement', value: newVal })
|
||||
set mode(newVal) {
|
||||
this.$store.dispatch('gui/macros/saveSetting', { name: 'mode', value: newVal })
|
||||
}
|
||||
|
||||
updateShowGeneral(newVal: boolean) {
|
||||
|
||||
@@ -192,7 +192,7 @@ import draggable from 'vuedraggable'
|
||||
import SettingsRow from '@/components/settings/SettingsRow.vue'
|
||||
import {Debounce} from 'vue-debounce-decorator'
|
||||
import {PrinterStateMacro} from '@/store/printer/types'
|
||||
import {GuiMacrogroupsStateMacrogroup, GuiMacrogroupsStateMacrogroupMacro} from '@/store/gui/macrogroups/types'
|
||||
import {GuiMacrosStateMacrogroup, GuiMacrosStateMacrogroupMacro} from '@/store/gui/macros/types'
|
||||
|
||||
@Component({
|
||||
components: {SettingsRow, draggable}
|
||||
@@ -253,24 +253,24 @@ export default class SettingsMacrosTabExpert extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get availableMacros() {
|
||||
return this.allMacros.filter((m: GuiMacrogroupsStateMacrogroupMacro) => !this.editGroupUsedMacros.includes(m.name))
|
||||
return this.allMacros.filter((m: GuiMacrosStateMacrogroupMacro) => !this.editGroupUsedMacros.includes(m.name))
|
||||
}
|
||||
|
||||
get groups() {
|
||||
return this.$store.getters['gui/macrogroups/getAllMacrogroups'] ?? []
|
||||
return this.$store.getters['gui/macros/getAllMacrogroups'] ?? []
|
||||
}
|
||||
|
||||
get editGroupUsedMacros() {
|
||||
return this.editGroup?.macros?.map((m: GuiMacrogroupsStateMacrogroupMacro) => m.name) ?? []
|
||||
return this.editGroup?.macros?.map((m: GuiMacrosStateMacrogroupMacro) => m.name) ?? []
|
||||
}
|
||||
|
||||
get editGroup(): GuiMacrogroupsStateMacrogroup | null {
|
||||
return this.$store.getters['gui/macrogroups/getMacrogroup'](this.editGroupId)
|
||||
get editGroup(): GuiMacrosStateMacrogroup | null {
|
||||
return this.$store.getters['gui/macros/getMacrogroup'](this.editGroupId)
|
||||
}
|
||||
|
||||
get editGroupMacros() {
|
||||
const macros = this.editGroup?.macros ?? []
|
||||
macros.sort((a: GuiMacrogroupsStateMacrogroupMacro, b: GuiMacrogroupsStateMacrogroupMacro) => a.pos - b.pos)
|
||||
macros.sort((a: GuiMacrosStateMacrogroupMacro, b: GuiMacrosStateMacrogroupMacro) => a.pos - b.pos)
|
||||
|
||||
return macros
|
||||
}
|
||||
@@ -280,7 +280,7 @@ export default class SettingsMacrosTabExpert extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
existsGroupName(name: string) {
|
||||
return (this.groups.findIndex((group: GuiMacrogroupsStateMacrogroup) => group.name === name && group.id != this.editGroupId) >= 0)
|
||||
return (this.groups.findIndex((group: GuiMacrosStateMacrogroup) => group.name === name && group.id != this.editGroupId) >= 0)
|
||||
}
|
||||
|
||||
clearColorObject(color: any): string {
|
||||
@@ -304,29 +304,29 @@ export default class SettingsMacrosTabExpert extends Mixins(BaseMixin) {
|
||||
showInPause: true,
|
||||
showInPrinting: true,
|
||||
}
|
||||
this.editGroupId = await this.$store.dispatch('gui/macrogroups/store', { values })
|
||||
this.editGroupId = await this.$store.dispatch('gui/macros/groupStore', { values })
|
||||
|
||||
this.boolFormEdit = true
|
||||
}
|
||||
|
||||
editMacrogroup(group: GuiMacrogroupsStateMacrogroup) {
|
||||
editMacrogroup(group: GuiMacrosStateMacrogroup) {
|
||||
this.boolFormEdit = true
|
||||
this.editGroupId = group.id
|
||||
}
|
||||
|
||||
deleteMacrogroup(id: string) {
|
||||
this.$store.dispatch('gui/macrogroups/delete', id)
|
||||
this.$store.dispatch('gui/macros/groupDelete', id)
|
||||
}
|
||||
|
||||
addMacroToGroup(macro: PrinterStateMacro) {
|
||||
this.$store.dispatch('gui/macrogroups/addMacroToMacrogroup', {
|
||||
this.$store.dispatch('gui/macros/addMacroToMacrogroup', {
|
||||
id: this.editGroupId,
|
||||
macro: macro.name
|
||||
})
|
||||
}
|
||||
|
||||
updateMacroFromGroup(macro: GuiMacrogroupsStateMacrogroupMacro, option: string, value: boolean | string | number) {
|
||||
this.$store.dispatch('gui/macrogroups/updateMacroFromMacrogroup', {
|
||||
updateMacroFromGroup(macro: GuiMacrosStateMacrogroupMacro, option: string, value: boolean | string | number) {
|
||||
this.$store.dispatch('gui/macros/updateMacroFromMacrogroup', {
|
||||
id: this.editGroupId,
|
||||
macro: macro.name,
|
||||
option: option,
|
||||
@@ -344,7 +344,7 @@ export default class SettingsMacrosTabExpert extends Mixins(BaseMixin) {
|
||||
this.updateMacroFromGroup(this.editGroupMacros[newIndex], 'pos', oldPos)
|
||||
}
|
||||
|
||||
changeColorMacroFromGroup(macro: GuiMacrogroupsStateMacrogroupMacro) {
|
||||
changeColorMacroFromGroup(macro: GuiMacrosStateMacrogroupMacro) {
|
||||
let index = this.macroColors.findIndex((color) => color.value === macro.color) + 1
|
||||
const maxIndex = this.macroColors.length - 1
|
||||
|
||||
@@ -354,8 +354,8 @@ export default class SettingsMacrosTabExpert extends Mixins(BaseMixin) {
|
||||
this.updateMacroFromGroup(macro, 'color', newColor)
|
||||
}
|
||||
|
||||
removeMacroFromGroup(macro: GuiMacrogroupsStateMacrogroupMacro) {
|
||||
this.$store.dispatch('gui/macrogroups/removeMacroFromMacrogroup', {
|
||||
removeMacroFromGroup(macro: GuiMacrosStateMacrogroupMacro) {
|
||||
this.$store.dispatch('gui/macros/removeMacroFromMacrogroup', {
|
||||
id: this.editGroupId,
|
||||
macro: macro.name
|
||||
})
|
||||
@@ -376,7 +376,7 @@ export default class SettingsMacrosTabExpert extends Mixins(BaseMixin) {
|
||||
const values:any = {}
|
||||
values[option] = newVal
|
||||
|
||||
this.$store.dispatch('gui/macrogroups/update', {
|
||||
this.$store.dispatch('gui/macros/groupUpdate', {
|
||||
id: this.editGroupId,
|
||||
values
|
||||
})
|
||||
|
||||
@@ -34,7 +34,7 @@ export default class SettingsMacrosTabSimple extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get hiddenMacros() {
|
||||
return this.$store.state.gui.dashboard.hiddenMacros ?? []
|
||||
return this.$store.state.gui.macros.hiddenMacros ?? []
|
||||
}
|
||||
|
||||
getMacroStatus(name: string) {
|
||||
@@ -49,7 +49,7 @@ export default class SettingsMacrosTabSimple extends Mixins(BaseMixin) {
|
||||
else
|
||||
hiddenMacros.push(name.toUpperCase())
|
||||
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'dashboard.hiddenMacros', value: hiddenMacros })
|
||||
this.$store.dispatch('gui/macros/saveSetting', { name: 'hiddenMacros', value: hiddenMacros })
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -292,8 +292,8 @@ export default class SettingsPresetsTab extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
if (this.form.id !== null) {
|
||||
this.$store.dispatch('gui/presets/update', { id: this.form.id, values: preset} )
|
||||
} else this.$store.dispatch('gui/presets/store', { values: preset} )
|
||||
this.$store.dispatch('gui/presets/update', { id: this.form.id, values: preset } )
|
||||
} else this.$store.dispatch('gui/presets/store', { values: preset } )
|
||||
|
||||
this.clearForm()
|
||||
}
|
||||
@@ -306,7 +306,7 @@ export default class SettingsPresetsTab extends Mixins(BaseMixin) {
|
||||
|
||||
saveCooldown() {
|
||||
if (this.cooldownForm.valid) {
|
||||
this.$store.dispatch('gui/presets/updateCooldownGcode', this.cooldownForm.gcode)
|
||||
this.$store.dispatch('gui/presets/saveSetting', { name: 'cooldownGcode', value: this.cooldownForm.gcode })
|
||||
this.cooldownForm.bool = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,21 +68,27 @@
|
||||
<v-text-field v-model="park_travel_speed" type="number" suffix="mm/s" hide-details="auto" outlined dense :disabled="blockedsettings.includes('park_travel_speed')" hide-spin-buttons></v-text-field>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.RetractSpeed')" :sub-title="$t('Settings.TimelapseTab.RetractSpeedDescription')">
|
||||
<v-text-field v-model="park_retract_speed" type="number" suffix="mm/s" hide-details="auto" outlined dense :disabled="blockedsettings.includes('park_retract_speed')" hide-spin-buttons></v-text-field>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.RetractDistance')" :sub-title="$t('Settings.TimelapseTab.RetractDistanceDescription')">
|
||||
<v-text-field v-model="park_retract_distance" type="number" suffix="mm" hide-details="auto" outlined dense :disabled="blockedsettings.includes('park_retract_distance')" hide-spin-buttons></v-text-field>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.UnretractSpeed')" :sub-title="$t('Settings.TimelapseTab.UnretractSpeedDescription')">
|
||||
<v-text-field v-model="park_extrude_speed" type="number" suffix="mm/s" hide-details="auto" outlined dense :disabled="blockedsettings.includes('park_extrude_speed')" hide-spin-buttons></v-text-field>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.UnretractDistance')" :sub-title="$t('Settings.TimelapseTab.UnretractDistanceDescription')">
|
||||
<v-text-field v-model="park_extrude_distance" type="number" suffix="mm" hide-details="auto" outlined dense :disabled="blockedsettings.includes('park_extrude_distance')" hide-spin-buttons></v-text-field>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.FwRetract')" :sub-title="$t('Settings.TimelapseTab.FwRetractDescription')" :dynamicSlotWidth="true">
|
||||
<v-switch v-model="fw_retract" hide-details class="mt-0" :disabled="blockedsettings.includes('fw_retract')"></v-switch>
|
||||
</settings-row>
|
||||
<template v-if="!fw_retract">
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.RetractSpeed')" :sub-title="$t('Settings.TimelapseTab.RetractSpeedDescription')">
|
||||
<v-text-field v-model="park_retract_speed" type="number" suffix="mm/s" hide-details="auto" outlined dense :disabled="blockedsettings.includes('park_retract_speed')" hide-spin-buttons></v-text-field>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.RetractDistance')" :sub-title="$t('Settings.TimelapseTab.RetractDistanceDescription')">
|
||||
<v-text-field v-model="park_retract_distance" type="number" suffix="mm" hide-details="auto" outlined dense :disabled="blockedsettings.includes('park_retract_distance')" hide-spin-buttons></v-text-field>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.UnretractSpeed')" :sub-title="$t('Settings.TimelapseTab.UnretractSpeedDescription')">
|
||||
<v-text-field v-model="park_extrude_speed" type="number" suffix="mm/s" hide-details="auto" outlined dense :disabled="blockedsettings.includes('park_extrude_speed')" hide-spin-buttons></v-text-field>
|
||||
</settings-row>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.UnretractDistance')" :sub-title="$t('Settings.TimelapseTab.UnretractDistanceDescription')">
|
||||
<v-text-field v-model="park_extrude_distance" type="number" suffix="mm" hide-details="auto" outlined dense :disabled="blockedsettings.includes('park_extrude_distance')" hide-spin-buttons></v-text-field>
|
||||
</settings-row>
|
||||
</template>
|
||||
<v-divider class="my-2"></v-divider>
|
||||
<settings-row :title="$t('Settings.TimelapseTab.ParkTime')" :sub-title="$t('Settings.TimelapseTab.ParkTimeDescription')">
|
||||
<v-text-field v-model="park_time" type="number" suffix="s" hide-details="auto" step="0.1" outlined dense :disabled="blockedsettings.includes('park_time')"></v-text-field>
|
||||
@@ -358,6 +364,14 @@ export default class SettingsTimelapseTab extends Mixins(BaseMixin) {
|
||||
this.$store.dispatch('server/timelapse/saveSetting', { park_time: newVal })
|
||||
}
|
||||
|
||||
get fw_retract() {
|
||||
return this.$store.state.server.timelapse.settings.fw_retract
|
||||
}
|
||||
|
||||
set fw_retract(newVal) {
|
||||
this.$store.dispatch('server/timelapse/saveSetting', { fw_retract: newVal })
|
||||
}
|
||||
|
||||
get constant_rate_factor() {
|
||||
return this.$store.state.server.timelapse.settings.constant_rate_factor
|
||||
}
|
||||
|
||||
@@ -115,95 +115,95 @@ export default class SettingsUiSettingsTab extends Mixins(BaseMixin) {
|
||||
private defaultPrimaryColor = defaultPrimaryColor
|
||||
|
||||
get logoColor() {
|
||||
return this.$store.state.gui.theme.logo
|
||||
return this.$store.state.gui.uiSettings.logo
|
||||
}
|
||||
|
||||
set logoColor(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'theme.logo', value: newVal})
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.logo', value: newVal})
|
||||
}
|
||||
|
||||
get primaryColor() {
|
||||
return this.$store.state.gui.theme.primary
|
||||
return this.$store.state.gui.uiSettings.primary
|
||||
}
|
||||
|
||||
set primaryColor(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'theme.primary', value: newVal})
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.primary', value: newVal})
|
||||
}
|
||||
|
||||
get boolBigThumbnail() {
|
||||
return this.$store.state.gui.dashboard.boolBigThumbnail
|
||||
return this.$store.state.gui.uiSettings.boolBigThumbnail
|
||||
}
|
||||
|
||||
set boolBigThumbnail(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.boolBigThumbnail', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.boolBigThumbnail', value: newVal })
|
||||
}
|
||||
|
||||
get boolWebcamInNavigation() {
|
||||
return this.$store.state.gui.webcamSettings.boolNavi ?? false
|
||||
return this.$store.state.gui.uiSettings.boolWebcamNavi ?? false
|
||||
}
|
||||
|
||||
set boolWebcamInNavigation(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'webcamSettings.boolNavi', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'uiSettings.boolWebcamNavi', value: newVal })
|
||||
}
|
||||
|
||||
get displayCancelPrint() {
|
||||
return this.$store.state.gui.general.displayCancelPrint
|
||||
return this.$store.state.gui.uiSettings.displayCancelPrint
|
||||
}
|
||||
|
||||
set displayCancelPrint(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'general.displayCancelPrint', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.displayCancelPrint', value: newVal })
|
||||
}
|
||||
|
||||
get displayZOffsetStandby() {
|
||||
return this.$store.state.gui.general.displayZOffsetStandby
|
||||
return this.$store.state.gui.uiSettings.displayZOffsetStandby
|
||||
}
|
||||
|
||||
set displayZOffsetStandby(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'general.displayZOffsetStandby', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.displayZOffsetStandby', value: newVal })
|
||||
}
|
||||
|
||||
get confirmOnEmergencyStop() {
|
||||
return this.$store.state.gui.general.confirmOnEmergencyStop
|
||||
return this.$store.state.gui.uiSettings.confirmOnEmergencyStop
|
||||
}
|
||||
|
||||
set confirmOnEmergencyStop(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'general.confirmOnEmergencyStop', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.confirmOnEmergencyStop', value: newVal })
|
||||
}
|
||||
|
||||
get confirmOnPowerDeviceChange() {
|
||||
return this.$store.state.gui.general.confirmOnPowerDeviceChange
|
||||
return this.$store.state.gui.uiSettings.confirmOnPowerDeviceChange
|
||||
}
|
||||
|
||||
set confirmOnPowerDeviceChange(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'general.confirmOnPowerDeviceChange', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.confirmOnPowerDeviceChange', value: newVal })
|
||||
}
|
||||
|
||||
get lockSliders() {
|
||||
return this.$store.state.gui.general.lockSlidersOnTouchDevices
|
||||
return this.$store.state.gui.uiSettings.lockSlidersOnTouchDevices
|
||||
}
|
||||
|
||||
set lockSliders(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'general.lockSlidersOnTouchDevices', value: newVal})
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.lockSlidersOnTouchDevices', value: newVal})
|
||||
}
|
||||
|
||||
get lockSlidersDelay() {
|
||||
return this.$store.state.gui.general.lockSlidersDelay
|
||||
return this.$store.state.gui.uiSettings.lockSlidersDelay
|
||||
}
|
||||
|
||||
set lockSlidersDelay(newVal) {
|
||||
(newVal >= 0) ? this.$store.dispatch('gui/saveSetting', {name: 'general.lockSlidersDelay', value: newVal}) : {}
|
||||
(newVal >= 0) ? this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.lockSlidersDelay', value: newVal}) : {}
|
||||
}
|
||||
|
||||
get boolWideNavDrawer() {
|
||||
return this.$store.state.gui.dashboard.boolWideNavDrawer ?? false
|
||||
return this.$store.state.gui.uiSettings.boolWideNavDrawer ?? false
|
||||
}
|
||||
|
||||
get navigationStyleSetting() {
|
||||
return this.$store.state.gui.dashboard.navigationStyle
|
||||
return this.$store.state.gui.uiSettings.navigationStyle
|
||||
}
|
||||
|
||||
set navigationStyleSetting(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'dashboard.navigationStyle', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.navigationStyle', value: newVal })
|
||||
}
|
||||
|
||||
get navigationStyles() {
|
||||
@@ -220,11 +220,11 @@ export default class SettingsUiSettingsTab extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get boolHideUploadAndPrintButton() {
|
||||
return this.$store.state.gui.dashboard.boolHideUploadAndPrintButton ?? false
|
||||
return this.$store.state.gui.uiSettings.boolHideUploadAndPrintButton ?? false
|
||||
}
|
||||
|
||||
set boolHideUploadAndPrintButton(newVal) {
|
||||
this.$store.dispatch('gui/toggleHideUploadAndPrintBtn', newVal)
|
||||
this.$store.dispatch('gui/saveSetting', {name: 'uiSettings.boolHideUploadAndPrintButton', value: newVal })
|
||||
}
|
||||
|
||||
clearColorObject(color: any): string {
|
||||
|
||||
@@ -8,9 +8,8 @@
|
||||
.btn-collapsible i::before {
|
||||
transition: transform 500ms;
|
||||
}
|
||||
|
||||
.icon-rotate-180:before {
|
||||
transform: rotate(180deg);
|
||||
.icon-rotate-90:before {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -55,7 +54,7 @@
|
||||
class="btn-collapsible"
|
||||
:ripple="true"
|
||||
>
|
||||
<v-icon :class="(!expand ? 'icon-rotate-180' : '')">mdi-chevron-down</v-icon>
|
||||
<v-icon :class="(expand ? '' : 'icon-rotate-90')">mdi-chevron-down</v-icon>
|
||||
</v-btn>
|
||||
</v-toolbar-items>
|
||||
</v-toolbar>
|
||||
|
||||
@@ -17,13 +17,13 @@
|
||||
<template>
|
||||
<div v-observe-visibility="visibilityChanged" style="position: relative;">
|
||||
<img ref="image" class="webcamImage" :style="webcamStyle" />
|
||||
<span class="webcamFpsOutput">{{ $t('Panels.WebcamPanel.FPS')}}: {{ fpsOutput }}</span>
|
||||
<span class="webcamFpsOutput" v-if="showFps">{{ $t('Panels.WebcamPanel.FPS')}}: {{ fpsOutput }}</span>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import Component from 'vue-class-component'
|
||||
import {Mixins, Prop} from 'vue-property-decorator'
|
||||
import {Mixins, Prop, Watch} from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
|
||||
const CONTENT_LENGTH = 'content-length'
|
||||
@@ -44,6 +44,8 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
@Prop()
|
||||
printerUrl: string | undefined
|
||||
|
||||
@Prop({ default: true }) showFps!: boolean
|
||||
|
||||
$refs!: {
|
||||
canvas: HTMLCanvasElement,
|
||||
image: HTMLImageElement,
|
||||
@@ -189,5 +191,10 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
|
||||
this.stopStream()
|
||||
this.startStream()
|
||||
}
|
||||
|
||||
@Watch('url')
|
||||
urlChanged() {
|
||||
this.restartStream()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
@@ -0,0 +1,917 @@
|
||||
{
|
||||
"title": "Dansk",
|
||||
"App": {
|
||||
"Printers": "Printere",
|
||||
"TopBar": {
|
||||
"SAVE_CONFIG": "GEM KONFIGURATION",
|
||||
"UploadPrint": "Upload & Print",
|
||||
"EmergencyStop": "Nødstop",
|
||||
"Uploading": "Uploader",
|
||||
"UploadOfFileSuccessful": "Upload af {file} udført",
|
||||
"CannotUploadTheFile": "Kan ikke uploade filen!"
|
||||
},
|
||||
"TopCornerMenu": {
|
||||
"KlipperControl": "Klipper styring",
|
||||
"KlipperRestart": "Genstart",
|
||||
"KlipperFirmwareRestart": "Genstart firmware",
|
||||
"ServiceControl": "Services",
|
||||
"PowerDevices": "Strømstyring",
|
||||
"HostControl": "Værtsstyring",
|
||||
"Start": "Start",
|
||||
"Stop": "Stop",
|
||||
"Restart": "Genstart",
|
||||
"Reboot": "Genstart",
|
||||
"Shutdown": "Luk ned",
|
||||
"Cancel": "Annuller",
|
||||
"ConfirmationDialog": {
|
||||
"Title": {
|
||||
"KlipperRestart": "Genstart Klipper",
|
||||
"KlipperFirmwareRestart": "Genstart Klipper firmware",
|
||||
"ServiceStart": "Start service",
|
||||
"ServiceRestart": "Genstart service",
|
||||
"ServiceStop": "Stop service",
|
||||
"HostReboot": "Genstart vært",
|
||||
"HostShutdown": "Luk vært ned"
|
||||
},
|
||||
"Description": {
|
||||
"KlipperStop": "Hvis du stopper Klipper nu, vil det igangværende print fejle.",
|
||||
"KlipperRestart": "Hvis du genstarter Klipper nu, vil det igangværende print fejle.",
|
||||
"KlipperFirmwareRestart": "Hvis du genstarter Klipper firmware nu, vil det igangværende print fejle.",
|
||||
"ServiceStart": "Hvis du starter denne service nu, er der stor risiko for at dit igangværende print vil fejle.",
|
||||
"ServiceRestart": "Hvis du genstarter denne service nu, er der stor risiko for at dit igangværende print vil fejle.",
|
||||
"ServiceStop": "Hvis du stopper denne service nu, er der stor risiko for at dit igangværende print vil fejle.",
|
||||
"HostReboot": "Hvis du genstarter værten nu, vil det igangværende print fejle.",
|
||||
"HostShutdown": "Hvis du lukker værten ned nu, vil det igangværende print fejle."
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateDialog": {
|
||||
"Updating": "Opdaterer {software}...",
|
||||
"UpdatingDone": "Opdatering af {software} udført!",
|
||||
"Recovering": "Gendanner {software}...",
|
||||
"RecoveringDone": "Gendannelse af {software} udført!",
|
||||
"Empty": "Tøm",
|
||||
"Close": "Luk"
|
||||
},
|
||||
"ThrottledStates": {
|
||||
"HeadlineCurrentFlags": "\"Lige nu\" varsel",
|
||||
"HeadlinePreviouslyFlags": "\"Tidligere\" varsel",
|
||||
"TitleUnderVoltageDetected": "Lav spænding opdaget",
|
||||
"TitleFrequencyCapped": "Maks. frekvens formindsket",
|
||||
"TitleCurrentlyThrottled": "Begrænset i øjeblikket",
|
||||
"TitleTemperatureLimitActive": "Temperaturgrænse nået",
|
||||
"TitlePreviouslyUnderVolted": "Lav spænding opdaget tidligere",
|
||||
"TitlePreviouslyFrequencyCapped": "Maks. frekvens formindsket tidligere",
|
||||
"TitlePreviouslyThrottled": "Tidligere begrænset",
|
||||
"TitlePreviouslyTemperatureLimited": "Temperaturgrænse nået tidligere",
|
||||
"DescriptionUnderVoltageDetected": "rPI strømforsyning i øjeblikket under 4,65V",
|
||||
"DescriptionFrequencyCapped": "rPi ARM maks. frekvens er i øjeblikket begrænset til 1.2 GHz.",
|
||||
"DescriptionCurrentlyThrottled": "rPi ARM kerne(r) er i øjeblikket begrænset .",
|
||||
"DescriptionTemperatureLimitActive": "rPi uC (3A+/3B+ only) temperatur er i øjeblikket over advarselsgrænsen (standard 60°C).",
|
||||
"DescriptionPreviouslyUnderVolted": "rPI strømforsyning faldt til under 4,65V mindst en gang siden sidste opstart.",
|
||||
"DescriptionPreviouslyFrequencyCapped": "rPi ARM maks. frekvens var mindst en gang begrænset til 1.2 GHz siden sidste opstart.",
|
||||
"DescriptionPreviouslyThrottled": "rPI ARM kerne(r) var begrænset mindst en gang siden sidste opstart.",
|
||||
"DescriptionPreviouslyTemperatureLimited": "rPi uC (3A+/3B+ only) temperatur var mindst en gang over advarselsgrænsen siden sidste opstart."
|
||||
}
|
||||
},
|
||||
"EmergencyStopDialog": {
|
||||
"EmergencyStop": "Nødstop",
|
||||
"AreYouSure": "Er du sikker?",
|
||||
"No": "Nej",
|
||||
"Yes": "Ja"
|
||||
},
|
||||
"PowerDeviceChangeDialog": {
|
||||
"TurnDeviceOn": "Tænd {device}",
|
||||
"TurnDeviceOff": "Sluk {device}",
|
||||
"AreYouSure": "Er du sikker?",
|
||||
"No": "Nej",
|
||||
"Yes": "Ja"
|
||||
},
|
||||
"ConnectionDialog": {
|
||||
"Connecting": "Forbinder med {host}",
|
||||
"Failed": "Forbindelse fejlede",
|
||||
"CannotConnectTo": "Kan ikke forbinde med Moonraker ({host}).",
|
||||
"TryAgain": "Prøv igen",
|
||||
"CheckMoonrakerLog": "Hvis denne besked vises flere gange, kig da i logfilen her:"
|
||||
},
|
||||
"SelectPrinterDialog": {
|
||||
"Connecting": "Forbinder med {host}",
|
||||
"ConnectionFailed": "Forbindelse fejlede",
|
||||
"CannotConnectTo": "Kan ikke forbinde med {host}.",
|
||||
"TryAgain": "Prøv igen",
|
||||
"SelectPrinter": "Vælg printer",
|
||||
"AddPrinter": "Tilføj Printer",
|
||||
"EditPrinter": "Rediger Printer",
|
||||
"UpdatePrinter": "Opdater Printer",
|
||||
"ChangePrinter": "Skift Printer",
|
||||
"HostnameRequired": "Værtsnavn er påkrævet",
|
||||
"HostnameInvalid": "Ugyldigt værtsnavn/IP",
|
||||
"PortRequired": "Port er påkrævet",
|
||||
"Hello": "Hej og velkommen til fjernbetjeningsversionen af Mainsail!",
|
||||
"RememberToAdd": "Husk at tilføje {cors} i moonraker.conf under \"cors_domains\".",
|
||||
"YouCanFindMore": "Du kan finde flere detaljer her"
|
||||
},
|
||||
"Router": {
|
||||
"Dashboard": "Kontrolpanel",
|
||||
"Printers": "Printere",
|
||||
"Webcam": "Webcam",
|
||||
"Console": "Terminal",
|
||||
"Heightmap": "Højdekort",
|
||||
"G-Code Files": "G-Code Filer",
|
||||
"History": "Historik",
|
||||
"Timelapse": "Timelapse",
|
||||
"Machine": "Printer",
|
||||
"G-Code Viewer": "G-Code Viser"
|
||||
},
|
||||
"Editor": {
|
||||
"Minimap": "Vis minikort",
|
||||
"Downloading": "Downloader",
|
||||
"Uploading": "Uploader",
|
||||
"ConfigReference": "Konfigurationsreference",
|
||||
"SaveRestart": "Gem & genstart",
|
||||
"SaveClose": "Gem & luk",
|
||||
"SuccessfullySaved": "{filename} blev gemt.",
|
||||
"FailedSave": "{filename} blev IKKE gemt!",
|
||||
"UnsavedChanges": "Ugemte ændringer",
|
||||
"UnsavedChangesMessage": "Ønsker du at gemme ændringerne i filen {filename}?",
|
||||
"UnsavedChangesSubMessage": "Dine ændringer går tabt hvis du ikke gemmer. Du kan deaktivere denne besked i \"editor-settings\".",
|
||||
"DontSave": "Gem ikke",
|
||||
"Cancel": "Annuller",
|
||||
"FileReadOnly": "Skrivebeskyttet"
|
||||
},
|
||||
"Files": {
|
||||
"GCodeFiles": "G-Code Filer",
|
||||
"UploadNewGcode": "Upload ny G-Code",
|
||||
"CreateNewDirectory": "Ny mappe",
|
||||
"RefreshCurrentDirectory": "Opdater mappe",
|
||||
"SetupCurrentList": "Rediger visning",
|
||||
"HiddenFiles": "Skjulte filer",
|
||||
"PrintedFiles": "Printede filer",
|
||||
"FreeDisk": "Ledig plads",
|
||||
"Used": "Brugt",
|
||||
"Free": "Ledig",
|
||||
"Total": "Total",
|
||||
"Files": "Filer",
|
||||
"AllFiles": "Alle",
|
||||
"Search": "Søg",
|
||||
"Empty": "Tom",
|
||||
"DropFilesToAddGcode": "Træk G-Code-filer her for at uploade.",
|
||||
"PrintStart": "Start print",
|
||||
"AddToQueue": "Tilføj til kø",
|
||||
"Preheat": "Forvarm",
|
||||
"Download": "Download",
|
||||
"Rename": "Omdøb",
|
||||
"Delete": "Slet",
|
||||
"StartJob": "Start print",
|
||||
"DoYouWantToStartFilename": "Vil du printe {filename}?",
|
||||
"StartPrint": "Start print",
|
||||
"NewDirectory": "Ny mappe",
|
||||
"RenameFile": "Omdøb Fil",
|
||||
"EditFile": "Rediger Fil",
|
||||
"Name": "Navn",
|
||||
"Cancel": "Annuller",
|
||||
"Create": "Opret",
|
||||
"RenameDirectory": "Omdøb mappe",
|
||||
"DeleteDirectory": "Slet mappe",
|
||||
"DeleteDirectoryQuestion": "Vil du slette mappen \"{name}\" og alt dens indhold?",
|
||||
"Uploading": "Uploader",
|
||||
"CurrentPath": "Du er her",
|
||||
"Filesize": "Filstørrelse",
|
||||
"LastModified": "Sidst ændret",
|
||||
"ObjectHeight": "Total højde",
|
||||
"LayerHeight": "Laghøjde",
|
||||
"Filament": "Filament",
|
||||
"FilamentUsage": "Filament forbrug",
|
||||
"FilamentWeight": "Filament vægt",
|
||||
"PrintTime": "Printtid",
|
||||
"Slicer": "Slicer",
|
||||
"Downloading": "Downloader",
|
||||
"WrongFileUploaded": "Upload blev afvist for {filename}. Forkert filformat!",
|
||||
"SuccessfullyUploaded": "Upload af {filename} udført!",
|
||||
"SuccessfullyRenamed": "{filename} omdøbt.",
|
||||
"SuccessfullyMoved": "{filename} flyttet.",
|
||||
"SuccessfullyCreated": "{filename} oprettet.",
|
||||
"SuccessfullyDeleted": "{filename} slettet.",
|
||||
"View3D": "Vis i 3D"
|
||||
},
|
||||
"JobQueue": {
|
||||
"JobQueue": "Jobkø",
|
||||
"Jobs": "Jobs",
|
||||
"AllJobs": "Alle Jobs",
|
||||
"Empty": "Tom",
|
||||
"Delete": "Slet",
|
||||
"Start": "Start",
|
||||
"Pause": "Pause"
|
||||
},
|
||||
"Console": {
|
||||
"SetupConsole": "Terminalindstillinger",
|
||||
"SendCode": "Send kode...",
|
||||
"Empty": "Tom",
|
||||
"HideTemperatures": "Skjul temperaturer",
|
||||
"HideTimelapse": "Skjul Timelapse",
|
||||
"CommandList": "Liste over kommandoer"
|
||||
},
|
||||
"Heightmap": {
|
||||
"Heightmap": "Højdekort",
|
||||
"ErrorKlipperNotReady": "Klipper er ikke klar. Kan ikke vise højdekort.",
|
||||
"NoProfile": "Ingen profil tilgængelig",
|
||||
"TitleHomeAll": "Home alle",
|
||||
"Clear": "Slet",
|
||||
"TitleClear": "Slet bed mesh",
|
||||
"Calibrate": "Kalibrer",
|
||||
"TitleCalibrate": "Kalibrer nyt Bed Mesh",
|
||||
"NoBedMeshHasBeenLoadedYet": "Intet Bed Mesh indlæst.",
|
||||
"Probed": "Reel",
|
||||
"Mesh": "Mesh",
|
||||
"Flat": "Fladt",
|
||||
"Wireframe": "Wireframe",
|
||||
"Scale": "Skalér",
|
||||
"Profiles": "Profiler",
|
||||
"Deleted": "Slettet",
|
||||
"RenameBedMeshProfile": "Omdøb Bed Mesh profil",
|
||||
"Name": "Navn",
|
||||
"Abort": "Afbryd",
|
||||
"Rename": "Omdøb",
|
||||
"BedMeshRemove": "Slet Bed Mesh",
|
||||
"BedMeshCalibrate": "Kalibrer Bed Mesh",
|
||||
"DoYouReallyWantToCalibrate": "Vil du starte kalibrering?",
|
||||
"DeleteBedMeshProfile": "Slet Bed Mesh profil",
|
||||
"DoYouReallyWantToDelete": "Vil du slette \"{name}\"?",
|
||||
"Remove": "Fjern",
|
||||
"CurrentMesh": {
|
||||
"Headline": "Nuværende Bed Mesh",
|
||||
"Name": "Navn",
|
||||
"Size": "Størrelse",
|
||||
"Min": "Min",
|
||||
"Max": "Maks",
|
||||
"Variance": "Variation"
|
||||
}
|
||||
},
|
||||
"History": {
|
||||
"Statistics": "Statistik",
|
||||
"TotalPrinttime": "Total printtid",
|
||||
"LongestPrinttime": "Længste print",
|
||||
"AvgPrinttime": "Gns. printtid",
|
||||
"TotalFilamentUsed": "Filament brugt ialt",
|
||||
"TotalJobs": "Totale antal print",
|
||||
"FilamentUsage": "Filament brugt",
|
||||
"PrinttimeAvg": "Printtid gns.",
|
||||
"PrintHistory": "Print historik",
|
||||
"TitleRefreshHistory": "Opdater historik",
|
||||
"TitleSettings": "Indstillinger",
|
||||
"Search": "Søg",
|
||||
"Jobs": "Job",
|
||||
"AllJobs": "Alle job",
|
||||
"Empty": "Tom",
|
||||
"Details": "Detaljer",
|
||||
"Reprint": "Print igen",
|
||||
"Delete": "Slet",
|
||||
"JobDetails": "Jobdetaljer",
|
||||
"Filename": "Filnavn",
|
||||
"Filesize": "Filstørrelse",
|
||||
"LastModified": "Sidst ændret",
|
||||
"Status": "Status",
|
||||
"StartTime": "Starttid",
|
||||
"EndTime": "Sluttid",
|
||||
"EstimatedTime": "Estimeret tid",
|
||||
"PrintDuration": "Print varighed",
|
||||
"PrintTime": "Print Tid",
|
||||
"TotalDuration": "Total varighed",
|
||||
"TotalTime": "Total Tid",
|
||||
"EstimatedFilamentWeight": "Estimeret filament vægt",
|
||||
"EstimatedFilament": "Estimeret filament",
|
||||
"FilamentCalc": "Filament beregnet",
|
||||
"FilamentUsed": "Filament brugt",
|
||||
"FirstLayerExtTemp": "Første lag Nozzle Temp.",
|
||||
"FirstLayerBedTemp": "Første lag Bed Temp.",
|
||||
"FirstLayerHeight": "Første lag højde",
|
||||
"LayerHeight": "Laghøjde",
|
||||
"ObjectHeight": "Objekt Højde",
|
||||
"Slicer": "Slicer",
|
||||
"SlicerVersion": "Slicer Version",
|
||||
"HistoryFilamentUsage": "Filament",
|
||||
"HistoryPrinttimeAVG": "Antal print",
|
||||
"ShowStatusName": "Vis \"{name}\" ({count})"
|
||||
},
|
||||
"Timelapse": {
|
||||
"TimelapseFiles": "Timelapse Filer",
|
||||
"Search": "Søg",
|
||||
"CreateNewDirectory": "Ny mappe",
|
||||
"RefreshCurrentDirectory": "Opdater mappe",
|
||||
"Empty": "Ingen færdige Timelapse filer fundet.",
|
||||
"CurrentPath": "Du er her:",
|
||||
"FreeDisk": "Ledig plads",
|
||||
"Used": "Brugt",
|
||||
"Free": "Ledig",
|
||||
"Total": "Total",
|
||||
"Files": "Filer",
|
||||
"AllFiles": "Alle",
|
||||
"Rename": "Omdøb",
|
||||
"Download": "Download",
|
||||
"Delete": "Slet",
|
||||
"RenameFile": "Omdøb fil",
|
||||
"Name": "Navn",
|
||||
"Cancel": "Annuller",
|
||||
"Create": "Opret",
|
||||
"NewDirectory": "Ny mappe",
|
||||
"RenameDirectory": "Omdøb mappe",
|
||||
"DeleteDirectory": "Slet mappe",
|
||||
"DeleteDirectoryQuestion": "Vil du slette mappen \"{name}\" og alt dens indhold?",
|
||||
"Filesize": "Filstørrelse",
|
||||
"LastModified": "Sidst ændret",
|
||||
"Status": "Status",
|
||||
"Preview": "Forhåndsvisning",
|
||||
"Enabled": "Aktiv",
|
||||
"Autorender": "Autorendering",
|
||||
"Frames": "Frames",
|
||||
"EstimatedLength": "Estimeret længde",
|
||||
"Render": "Rendering",
|
||||
"RenderSettings": "Indstillinger for rendering",
|
||||
"Type": "Type",
|
||||
"Fixed": "Fast",
|
||||
"Variable": "Variabel",
|
||||
"Framerate": "Framerate",
|
||||
"MinFramerate": "Min. framerate",
|
||||
"MaxFramerate": "Maks. framerate",
|
||||
"DuplicateLastframe": "Dupliker sidste frame",
|
||||
"Targetlength": "Ønsket længde",
|
||||
"TargetFps": "Ønsket FPS",
|
||||
"StartRender": "Start rendering",
|
||||
"TimelapseRendering": "Timelapse rendering",
|
||||
"TimelapseRenderingSuccessful": "Timelapse rendering succesfuld",
|
||||
"Video": "Video",
|
||||
"NoActiveTimelapse": "Ingen aktive Timelapse",
|
||||
"SaveFrames": "Gem frames"
|
||||
},
|
||||
"Panels": {
|
||||
"ControlPanel": {
|
||||
"Headline": "Kontrolpanel",
|
||||
"SetupControls": "Kontrolindstillinger",
|
||||
"AlternateControls": "Alternative kontroller",
|
||||
"InvertX": "Invertér X",
|
||||
"InvertY": "Invertér Y",
|
||||
"InvertZ": "Invertér Z",
|
||||
"ALL": "Alle",
|
||||
"QGL": "QGL",
|
||||
"ZTilt": "Z Tilt",
|
||||
"X": "X",
|
||||
"Y": "Y",
|
||||
"Z": "Z",
|
||||
"PleaseConfigureSteps": "Konfigurer steps",
|
||||
"SettingsInterfaceControl": "Indstillinger > Interface > Control",
|
||||
"FeedAmountIn": "Længde",
|
||||
"FeedrateIn": "Hastighed",
|
||||
"Retract": "Retract",
|
||||
"Extrude": "Extrude",
|
||||
"HotendTooCold": "Hotend temp. under"
|
||||
},
|
||||
"MacrosPanel": {
|
||||
"Headline": "Makroer",
|
||||
"Send": "Send"
|
||||
},
|
||||
"DependenciesPanel": {
|
||||
"Dependency": "Afhængighed | Afhængigheder",
|
||||
"DependencyDescription": "Din nuværende version af {name} understøtter ikke alle funktioner i Mainsail. Opdater {name} til mindst version {neededVersion}."
|
||||
},
|
||||
"FarmPrinterPanel": {
|
||||
"WebcamOff": "Sluk",
|
||||
"SwitchToPrinter": "Skift til printer",
|
||||
"ReconnectToPrinter": "Genopret forbindelse"
|
||||
},
|
||||
"KlippyStatePanel": {
|
||||
"KlippyState": "Klippy-Status",
|
||||
"MoonrakerCannotConnect": "Moonraker kan ikke forbinde til Klipper!",
|
||||
"KlipperCheck": "Check at Klipper service kører og at en UDS (Unix Domain Socket) er konfigureret.",
|
||||
"Restart": "Genstart",
|
||||
"FirmwareRestart": "Genstart alt"
|
||||
},
|
||||
"KlipperWarningsPanel": {
|
||||
"KlipperWarnings": "Klipper advarsler",
|
||||
"DownloadLog": "Download log",
|
||||
"DeprecatedOption": "Funktionen \"{option}\" i sektion \"{section}\" er forældet.",
|
||||
"DeprecatedValue": "Værdien \"{value}\" i muligheden \"{option}\" i sektion \"{section}\" er forældet."
|
||||
},
|
||||
"MachineSettingsPanel": {
|
||||
"Headline": "Printer indstillinger",
|
||||
"MotionSettings": {
|
||||
"Motion": "Bevægelse",
|
||||
"Velocity": "Hastighed (Feedrate)",
|
||||
"Acceleration": "Acceleration",
|
||||
"Deceleration": "Deceleration",
|
||||
"MaxAccelToDecel": "Maks. accel. til decel.",
|
||||
"SquareCornerVelocity": "Hastighed for 90° hjørne"
|
||||
},
|
||||
"PressureAdvanceSettings": {
|
||||
"PressureAdvance": "Pressure Advance",
|
||||
"Extruder": "Extruder",
|
||||
"Advance": "Advance",
|
||||
"SmoothTime": "Smooth Time"
|
||||
},
|
||||
"FirmwareRetractionSettings": {
|
||||
"FirmwareRetraction": "Firmware Retraction",
|
||||
"RetractLength": "Retract længde",
|
||||
"RetractSpeed": "Retract hastighed",
|
||||
"UnretractExtraLength": "Unretract ekstra længde",
|
||||
"UnretractSpeed": "Unretract hastighed"
|
||||
}
|
||||
},
|
||||
"MiniconsolePanel": {
|
||||
"Headline": "Terminal",
|
||||
"SetupConsole": "Terminalindstillinger",
|
||||
"HideTemperatures": "Skjul temperaturer",
|
||||
"HideTimelapse": "Skjul Timelapse",
|
||||
"SendCode": "Send kode..."
|
||||
},
|
||||
"MinSettingsPanel": {
|
||||
"MissingConfiguration": "Konfiguration mangler",
|
||||
"IsNotDefinedInConfig": "er ikke defineret i CONFIG.",
|
||||
"IncludeMainsailCfg": "Husk at inkludere mainsail.cfg i din CONFIG fil.",
|
||||
"MoreInformation": "Mere information"
|
||||
},
|
||||
"PrintsettingsPanel": {
|
||||
"Headline": "Print indstillinger",
|
||||
"SpeedFactor": "Hastighed",
|
||||
"ExtrusionFactor": "Ekstrudering"
|
||||
},
|
||||
"MiscellaneousPanel": {
|
||||
"Headline": "Diverse",
|
||||
"RunoutSensor": {
|
||||
"Disabled": "Deaktiveret",
|
||||
"Detected": "Fundet",
|
||||
"Empty": "Tom"
|
||||
}
|
||||
},
|
||||
"MoonrakerStatePanel": {
|
||||
"MoonrakerWarnings": "Moonraker advarsler",
|
||||
"MoonrakerErrorInfo": "En fejl blev fundet under indlæsning af moonraker komponenter. Tjek logfilen og ret fejlen.",
|
||||
"FollowingPluginHasAnError": "Følgende plugin har en fejl:",
|
||||
"DownloadLog": "Download log"
|
||||
},
|
||||
"PowerControlPanel": {
|
||||
"PowerControl": "Strømstyring",
|
||||
"Error": "Fejl",
|
||||
"On": "Tænd",
|
||||
"Off": "Sluk"
|
||||
},
|
||||
"StatusPanel": {
|
||||
"Headline": "Status",
|
||||
"Position": "Position",
|
||||
"Absolute": "Absolut",
|
||||
"Relative": "Relativ",
|
||||
"X": "X",
|
||||
"Y": "Y",
|
||||
"Z": "Z",
|
||||
"PausePrint": "Pause print",
|
||||
"ResumePrint": "Genoptag print",
|
||||
"CancelPrint": "Afbryd print",
|
||||
"ClearPrintStats": "Slet printstatistik",
|
||||
"ReprintJob": "Print job igen",
|
||||
"Requested": "Anmodet",
|
||||
"Speed": "Hastighed",
|
||||
"Flow": "Flow",
|
||||
"Max": "maks",
|
||||
"Filament": "Filament",
|
||||
"Layer": "Lag",
|
||||
"ObjectHeight": "Objekt Højde",
|
||||
"Estimate": "Estimeret",
|
||||
"File": "Fil",
|
||||
"Print": "Reel printtid",
|
||||
"Difference": "Opvarmning",
|
||||
"Total": "Total",
|
||||
"Slicer": "Slicer",
|
||||
"ETA": "ETA",
|
||||
"Unknown": "Ukendt",
|
||||
"ExcludeObject": {
|
||||
"ExcludeObject": "Ekskluder objekt",
|
||||
"Excluded": "Ekskluderet",
|
||||
"ExcludeObjectHeadline": "Ekskluder objekt",
|
||||
"ExcludeObjectText": "Vil du ekskludere \"{name}\"?",
|
||||
"Cancel": "Annuller"
|
||||
}
|
||||
},
|
||||
"ToolsPanel": {
|
||||
"Headline": "Temperaturer",
|
||||
"Presets": "Forudindstillinger",
|
||||
"Cooldown": "Nedkøling",
|
||||
"SetupTemperatures": "Temperaturvisningsindstillinger",
|
||||
"ShowChart": "Vis diagram",
|
||||
"AutoscaleChart": "Autoskalér diagram",
|
||||
"Name": "Navn",
|
||||
"Color": "Farve",
|
||||
"State": "Status",
|
||||
"Current": "Nuværende",
|
||||
"Target": "Indstillet",
|
||||
"Min": "min",
|
||||
"Max": "maks",
|
||||
"Avg": "Gns",
|
||||
"ShowNameInChart": "Vis {name} i diagram",
|
||||
"ShowNameInList": "Vis {name} på liste",
|
||||
"TemperaturesInChart": "Temperatur [°C]",
|
||||
"Dataset": {
|
||||
"Temperature": "Nuværende temperatur",
|
||||
"Target": "Indstillet temperatur",
|
||||
"Power": "PWM-power",
|
||||
"Speed": "PWM-hastighed"
|
||||
}
|
||||
},
|
||||
"WebcamPanel": {
|
||||
"Headline": "Webcam",
|
||||
"FPS": "FPS",
|
||||
"All": "Alle",
|
||||
"UnknownWebcamService": "Ukendt Webcam service",
|
||||
"UrlNotAvailable": "URL ikke tilgængelig"
|
||||
},
|
||||
"ZoffsetPanel": {
|
||||
"Headline": "Z-Offset",
|
||||
"CurrentOffset": "Nuværende offset",
|
||||
"Save": "Gem",
|
||||
"ToEndstop": "Til Endstop",
|
||||
"ToProbe": "Til Probe",
|
||||
"SaveInfoHeadline": "Information",
|
||||
"SaveInfoDescription": "Det nye z-offset er blevet beregnet og registreret. Klik på GEM KONFIGURATION for at gemme det nye z-offset i CONFIG og genstarte Klipper.",
|
||||
"SaveInfoDescriptionPrint": "Det nye z-offset er blevet beregnet og registreret. Klik på GEM KONFIGURATION i topbaren efter endt print for at gemme det nye z-offset i CONFIG og genstarte Klipper.",
|
||||
"SAVE_CONFIG": "GEM KONFIGURATION",
|
||||
"Later": "Senere",
|
||||
"Ok": "OK"
|
||||
}
|
||||
},
|
||||
"Machine": {
|
||||
"ConfigFilesPanel": {
|
||||
"ConfigFiles": "Konfigurationsfiler",
|
||||
"SetupCurrentList": "Indstil visning",
|
||||
"HiddenFiles": "Skjulte filer",
|
||||
"HideBackupFiles": "Skjul backupfiler",
|
||||
"CurrentPath": "Du er her:",
|
||||
"Files": "Filer",
|
||||
"FreeDisk": "Ledig plads",
|
||||
"Used": "Brugt",
|
||||
"Free": "Ledig",
|
||||
"Total": "Total",
|
||||
"AllFiles": "Alle",
|
||||
"Empty": "Tom",
|
||||
"ShowFile": "Vis fil",
|
||||
"EditFile": "Rediger fil",
|
||||
"Download": "Download",
|
||||
"Rename": "Omdøb",
|
||||
"Delete": "Slet",
|
||||
"RenameFile": "Omdøb fil",
|
||||
"Name": "Navn",
|
||||
"UploadFile": "Upload Fil",
|
||||
"Cancel": "Annuller",
|
||||
"Create": "Ny",
|
||||
"CreateFile": "Ny Fil",
|
||||
"RefreshDirectory": "Opdater mappe",
|
||||
"CreateDirectory": "Ny mappe",
|
||||
"RenameDirectory": "Omdøb mappe",
|
||||
"DeleteDirectory": "Slet mappe",
|
||||
"DeleteDirectoryQuestion": "Vil du slette mappen \"{name}\" og alt dens indhold?",
|
||||
"Uploading": "Uploader",
|
||||
"Filesize": "Filstørrelse",
|
||||
"LastModified": "Sidst ændret"
|
||||
},
|
||||
"EndstopPanel": {
|
||||
"Endstops": "Endstops",
|
||||
"Endstop": "Endstop",
|
||||
"TRIGGERED": "Aktiveret",
|
||||
"open": "Åben",
|
||||
"EndstopInfo": "Klik på \"Sync\"-knappen nederst til højre for at opdatere Endstop status."
|
||||
},
|
||||
"LogfilesPanel": {
|
||||
"Logfiles": "Logfiles"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"UpdateManager": "Opdaterings Manager",
|
||||
"CheckForUpdates": "Tjek for opdateringer",
|
||||
"System": "System",
|
||||
"PackagesCanBeUpgraded": "Pakker kan opgraderes",
|
||||
"OSPackages": "OS-Pakker",
|
||||
"Commits": "Forpligtelse",
|
||||
"UpToDate": "up-to-date",
|
||||
"Detached": "Løsrevet",
|
||||
"Update": "Opdater",
|
||||
"Upgrade": "Opgrader",
|
||||
"Dirty": "Uren-kode",
|
||||
"Invalid": "Ugyldig",
|
||||
"Unknown": "Ukendt",
|
||||
"ERROR": "FEJL",
|
||||
"CommitsOnDate": " Forpligtelse af {date}",
|
||||
"CommittedHoursAgo": "Forpligtelse delt for {hours} timer siden",
|
||||
"CommittedYesterday": "Forpligtelse delt igår",
|
||||
"CommittedDaysAgo": "Forpligtelse delt for {days} dage siden",
|
||||
"CommittedOnDate": "Forpligtelse delt d. {date}",
|
||||
"UpdateAll": "Opdater alle komponenter",
|
||||
"CommitsAvailabe": "Ingen commits tilgængelige | {count} commits tilgængelige | {count} commits tilgængelige"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"SystemLoad": "Systembelastning",
|
||||
"Version": "Version",
|
||||
"Os": "OS",
|
||||
"Load": "Belastning",
|
||||
"Awake": "Vågen/Aktiv",
|
||||
"Frequency": "Frekvens",
|
||||
"Memory": "Hukommelse",
|
||||
"Constants": "Konstanter",
|
||||
"LastStats": "Seneste data",
|
||||
"HostDetails": "Værtsdetaljer",
|
||||
"Distro": "Distro"
|
||||
}
|
||||
},
|
||||
"Settings": {
|
||||
"InterfaceSettings": "Interfaceindstillinger",
|
||||
"Close": "Luk",
|
||||
"Cancel": "Annuller",
|
||||
"Edit": "Rediger",
|
||||
"GeneralTab": {
|
||||
"General": "Generelt",
|
||||
"PrinterName": "Printernavn",
|
||||
"Language": "Sprog",
|
||||
"CalcEstimateTime": "Beregn estimeret printtid",
|
||||
"CalcEstimateTimeDescription": "Hvis flere er valgt vil et gennemsnit blive brugt",
|
||||
"CalcEtaTime": "Beregn sluttidspunkt for print",
|
||||
"CalcEtaTimeDescription": "Hvis flere er valgt vil et gennemsnit blive brugt",
|
||||
"FactoryReset": "Komplet nulstilling",
|
||||
"FactoryDialog": "Vælg venligst de sektioner du ønsker at nulstille:",
|
||||
"Reset": "Nulstil",
|
||||
"DbConsoleHistory": "Terminal Historik",
|
||||
"DbView": "Vis indstillinger",
|
||||
"DbHistoryJobs": "Jobhistorik",
|
||||
"DbHistoryTotals": "Totalhistorik",
|
||||
"DbWebcams": "Webcams",
|
||||
"DbTimelapseSettings": "Timelapse indstillinger",
|
||||
"MoonrakerDb": "Moonraker DB",
|
||||
"Backup": "Backup",
|
||||
"BackupDialog": "Vælg de sektioner du ønsker at lave backup af:",
|
||||
"Restore": "Gendan",
|
||||
"CannotReadJson": "Kan ikke læse backup-fil",
|
||||
"RestoreDialog": "Vælg de sektioner du ønsker at gendanne fra backup:"
|
||||
},
|
||||
"WebcamsTab": {
|
||||
"Webcams": "Webcams",
|
||||
"AddWebcam": "Tilføj webcam",
|
||||
"CreateWebcam": "Nyt Webcam",
|
||||
"EditWebcam": "Rediger Webcam",
|
||||
"SaveWebcam": "Gem Webcam",
|
||||
"UpdateWebcam": "Opdater Webcam",
|
||||
"IconPrinter": "Printer",
|
||||
"IconNozzle": "Dyse",
|
||||
"IconBed": "Bed",
|
||||
"IconCam": "Kamera",
|
||||
"IconFilament": "Filament",
|
||||
"IconDoor": "Dør",
|
||||
"IconMcu": "MCU",
|
||||
"IconHot": "Bål",
|
||||
"Mjpegstreamer": "MJPEG-Streamer",
|
||||
"MjpegstreamerAdaptive": "Adaptiv MJPEG-Streamer (eksperimental)",
|
||||
"Uv4lMjpeg": "UV4L-MJPEG",
|
||||
"Ipstream": "IP Kamera",
|
||||
"Required": "Krævet",
|
||||
"NameAlreadyExists": "Navnet bruges allerede",
|
||||
"Name": "Navn",
|
||||
"UrlStream": "URL Stream",
|
||||
"UrlSnapshot": "URL Snapshot",
|
||||
"Service": "Service",
|
||||
"TargetFPS": "Ønsket FPS",
|
||||
"FlipHorizontally": "Vend webcam horisontalt",
|
||||
"FlipVertically": "Vend webcam vertikalt"
|
||||
},
|
||||
"TimelapseTab": {
|
||||
"Enabled": "Aktiveret",
|
||||
"EnabledDescription": "Hvis inaktiv, bliver G-Code makroer ignoreret og AutoRendering bliver sprunget over.",
|
||||
"Timelapse": "Timelapse",
|
||||
"Mode": "Modus",
|
||||
"ModeDescription": "Vælg mellem \"Layermacro\" og \"Hyperlapse\" (tidsbaseret) modus",
|
||||
"Autorender": "Autorendering",
|
||||
"AutorenderDescription": "Hvis aktiv, vil Timelapse video automatisk blive renderet efter afsluttet print.",
|
||||
"SaveFrames": "Gem Frames",
|
||||
"SaveFramesDescription": "Gem frames til zip-fil for ekstern rendering",
|
||||
"StreamDelayCompensation": "Kompensering for \"Stream-Delay\" forsinkelse",
|
||||
"StreamDelayCompensationDescription": "Kompenser \"frame capture\"",
|
||||
"PreviewImage": "Forhåndsvisning af billede",
|
||||
"PreviewImageDescription": "Gem en forhåndsvisning med samme navn som videoen",
|
||||
"GcodeVerbose": "Beskrevet G-Code",
|
||||
"GcodeVerboseDescription": "Hvis aktiv, vil G-Code skrive informationer i terminalen",
|
||||
"Parkhead": "Parker Hotend",
|
||||
"ParkheadDescription": "Hvis aktiv, vil hotend blive parkeret før der tages billeder.",
|
||||
"Parkpos": "Parkeringsposition",
|
||||
"ParkposDescription": "Vælg parkeringsposition",
|
||||
"ParkTime": "Parkeringstid",
|
||||
"ParkTimeDescription": "Tilføj yderligere tid til parkering for bedre præcision.",
|
||||
"PosX": "Position X",
|
||||
"PosXDescription": "Parkeringspostion X (absolut)",
|
||||
"PosY": "Position Y",
|
||||
"PosYDescription": "Parkeringspostion Y (absolut)",
|
||||
"PosDZ": "Position Z",
|
||||
"PosDZDescription": "Parkeringspostion Z (relativ)",
|
||||
"FwRetract": "Firmware Retract",
|
||||
"FwRetractDescription": "Brug firmware retraction i timelapse makroen",
|
||||
"TravelSpeed": "Travel-hastighed",
|
||||
"TravelSpeedDescription": "Travel-hastighed til og fra parkeringsposition",
|
||||
"RetractSpeed": "Retract hastighed",
|
||||
"RetractSpeedDescription": "Hastighed der bruges til retractions.",
|
||||
"RetractDistance": "Retract distance",
|
||||
"RetractDistanceDescription": "Længden af retractions.",
|
||||
"UnretractSpeed": "Unretract hastighed",
|
||||
"UnretractSpeedDescription": "Hastigheden der bruges til unretracts.",
|
||||
"UnretractDistance": "Unretract distance",
|
||||
"UnretractDistanceDescription": "Længden af unretracts.",
|
||||
"ConstantRateFactor": "Constant Rate Faktor",
|
||||
"ConstantRateFactorDescription": "Konfigurerer Kvalitet / Filstørrelse af den renderede video. Kan justeres mellem 0-51, Hvor 0 er tabsfri, 23 er standard og 51 er værste kvalitet (mindste filstørrelse). En lavere værdi giver højere kvalitet, og et \"normalt\" område er 17-28. 17 eller 18 kan betragtes som visuelt tabsfrit.",
|
||||
"OutputFramerate": "Output Framerate",
|
||||
"OutputFramerateDescription": "Definerer framerate i videoen. Bemærk: Dette ignoreres hvis \"variable_fps\" er aktiveret",
|
||||
"Pixelformat": "Pixelformat",
|
||||
"PixelformatDescription": "Definerer pixelformatet i videoen",
|
||||
"Extraoutputparams": "Ekstra output parametre",
|
||||
"ExtraoutputparamsDescription": "Definerer ekstra output parametre til FFMPEG. Bemærk: Udfyldning af dette felt vil deaktivere rotationsindstillinger",
|
||||
"VariableFps": "Variabel FPS",
|
||||
"VariableFpsDescription": "Hvis aktiv, vil framrate blive beregnet ud fra ønsket længde.",
|
||||
"Targetlength": "Ønsket længde",
|
||||
"TargetlengthDescription": "Den ænskede længde på videoen når Variabel FPS er aktiveret",
|
||||
"VariableFpsMin": "Variabel FPS min",
|
||||
"VariableFpsMinDescription": "",
|
||||
"VariableFpsMax": "Variabel FPS maks",
|
||||
"VariableFpsMaxDescription": "",
|
||||
"duplicatelastframe": "Kopier sidste frame",
|
||||
"duplicatelastframeDescription": "Kopierer sidste frame i videoen",
|
||||
"HyperlapseCycle": "Hyperlapse cyklus tid",
|
||||
"HyperlapseCycleDescription": "Frames optages med det angivne tidsmellemrum (sek.)",
|
||||
"General": "Generelt",
|
||||
"RenderingOptions": "Renderingsindstillinger",
|
||||
"TimeFormatCode": "Tidsformat kode",
|
||||
"TimeFormatCodeDescription": "Angiver hvordan tid skal defineres i output filen",
|
||||
"Camera": "Kamera",
|
||||
"CameraDescription": "Vælg hvilket kamera der skal bruges"
|
||||
},
|
||||
"DashboardTab": {
|
||||
"Dashboard": "Kontrolpanel",
|
||||
"Mobile": "Mobil",
|
||||
"Tablet": "Tablet",
|
||||
"Desktop": "Desktop",
|
||||
"Widescreen": "Widescreen",
|
||||
"ResetLayout": "Nulstil layout"
|
||||
},
|
||||
"MacrosTab": {
|
||||
"Macros": "Macroer",
|
||||
"NOMacros": "Ingen macroer fundet...",
|
||||
"General": "Generelt",
|
||||
"Management": "Håndtering",
|
||||
"Simple": "Simpel",
|
||||
"Expert": "Ekspert",
|
||||
"Group": "Gruppe",
|
||||
"NoGroups": "Ingen grupper fundet...",
|
||||
"Macrogroups": "Grupper",
|
||||
"EditGroup": "Edit Gruppe",
|
||||
"CountMacros": "Ingen Macroer tilføjet | {count} Macro | {count} Macroer",
|
||||
"Name": "Navn",
|
||||
"Color": "Farve",
|
||||
"CustomColor": "Brugerdefineret farve",
|
||||
"Status": "Status",
|
||||
"Primary": "Primær",
|
||||
"Secondary": "Sekundær",
|
||||
"Success": "Succes",
|
||||
"Warning": "Advarsel",
|
||||
"Error": "Fejl",
|
||||
"Custom": "Brugerdefineret",
|
||||
"AddGroup": "Tilføj gruppe",
|
||||
"GroupMacros": "Gruppér macroer",
|
||||
"AvailableMacros": "Tilgængelige macroer",
|
||||
"Add": "Tilføj",
|
||||
"NoMacrosInGroup": "Ingen makroer i denne gruppe.",
|
||||
"NoAvailableMacros": "Ingen tilgængelige makroer.",
|
||||
"UnknownGroup": "Ukendt gruppe",
|
||||
"ChangeMacroColor": "Skift farve på knappen.",
|
||||
"ShowInStateStandby": "Vis/skjul hvis printer er inaktiv.",
|
||||
"ShowInStatePaused": "Vis/skjul hvis printer er på pause.",
|
||||
"ShowInStatePrinting": "Vis/skjul hvis printer er aktiv.",
|
||||
"DeleteMacroFromGroup": "Fjern makro fra gruppe.",
|
||||
"DeletedMacro": "Makro fjernet"
|
||||
},
|
||||
"ControlTab": {
|
||||
"Control": "Kontrol",
|
||||
"Style": "Stil",
|
||||
"Bars": "Barer",
|
||||
"Circle": "Cirkel",
|
||||
"Cross": "Kryds",
|
||||
"SpeedXY": "Hastighed XY",
|
||||
"SpeedZ": "Hastighed Z",
|
||||
"MoveDistancesInMm": "Distance i mm",
|
||||
"InvertXMovement": "Invertér X",
|
||||
"InvertYMovement": "Invertér Y",
|
||||
"InvertZMovement": "Invertér Z",
|
||||
"MoveDistancesXYInMm": "Distance XY i mm",
|
||||
"MoveDistancesZInMm": "Distance Z i mm",
|
||||
"MoveDistancesEInMm": "Distance E i mm",
|
||||
"SpeedEInMms": "Hastighed E i mm/s"
|
||||
},
|
||||
"ConsoleTab": {
|
||||
"Console": "Terminal",
|
||||
"Direction": "Retning",
|
||||
"DirectionTable": "Sidste handling øverst",
|
||||
"DirectionShell": "Sidste handling nederst",
|
||||
"Height": "Højde",
|
||||
"HideTemperatures": "Skjul temperaturer",
|
||||
"HideTimelapse": "Skjul Timelapse",
|
||||
"CreateHeadline": "Nyt filter",
|
||||
"Name": "Navn",
|
||||
"Regex": "Regex",
|
||||
"StoreButton": "Gem filter",
|
||||
"UpdateButton": "Opdater filter",
|
||||
"EditHeadline": "Rediger filter",
|
||||
"AddFilter": "Tilføj filter",
|
||||
"EntryStyle": "Indtastnings-Design",
|
||||
"EntryStyleDefault": "Standard",
|
||||
"EntryStyleCompact": "Kompakt"
|
||||
},
|
||||
"PresetsTab": {
|
||||
"PreheatPresets": "Forudindstillinger",
|
||||
"Cooldown": "Nedkøling",
|
||||
"AddPreset": "Tilføj forudindstilling",
|
||||
"CreateHeadline": "Ny forudindstilling",
|
||||
"EditHeadline": "Rediger forudindstilling",
|
||||
"Name": "Navn",
|
||||
"CustomGCode": "Brugerdefineret G-Code",
|
||||
"PresetInfo": "Du skal indstille mindst én temperatur eller g-kode.",
|
||||
"StoreButton": "Gem forudindstilling",
|
||||
"UpdateButton": "Opdater forudindstilling",
|
||||
"EditCooldown": "Rediger nedkøling",
|
||||
"UpdateCooldown": "Opdater nedkøling"
|
||||
},
|
||||
"RemotePrintersTab": {
|
||||
"RemotePrinters": "Printere",
|
||||
"AddPrinter": "Tilføj printer",
|
||||
"EditPrinter": "Rediger printer",
|
||||
"UpdatePrinter": "Opdater printer",
|
||||
"Hostname": "Værtsnavn",
|
||||
"Port": "Port"
|
||||
},
|
||||
"UiSettingsTab": {
|
||||
"UiSettings": "UI-indstillinger",
|
||||
"Logo": "Logo",
|
||||
"Primary": "Primær",
|
||||
"GcodeThumbnails": "Gcode forhåndsvisninger",
|
||||
"GcodeThumbnailsDescription": "Klik på knappen for mere information.",
|
||||
"Guide": "Guide",
|
||||
"ShowWebcamInNavigation": "Vis Webcam i navigation",
|
||||
"BoolBigThumbnail": "Stor forhåndsvisning",
|
||||
"BoolBigThumbnailDescription": "Vis et stort billede i statuspanelet under print.",
|
||||
"NavigationStyle": "Navigationsstil",
|
||||
"NavigationStyleDescription": "Skift navigationens udseende",
|
||||
"NavigationStyleIconsOnly": "Kun ikoner",
|
||||
"NavigationStyleIconsAndText": "Ikoner + Tekst",
|
||||
"BoolHideUploadAndPrintButton": "Skjul \"Upload og Print\" knap",
|
||||
"BoolHideUploadAndPrintButtonDescription": "Vis eller skjul \"Upload and Print\" knappen i top-baren.",
|
||||
"DisplayCANCEL_PRINT": "Vis Afbryd print",
|
||||
"DisplayCANCEL_PRINTDescription": "Viser Afbryd print knappen konstant - ingen tofaktor godkendelse nødvendig.",
|
||||
"DisplayZOffset": "Vis Z-Offset-panel",
|
||||
"DisplayZOffsetDescription": "Ellers vises panelet kun når et print er igang.",
|
||||
"LockSliders": "Lås sliders på touch-enheder",
|
||||
"LockSlidersDescription": "Sliders skal låses op på touchenheder før de kan ændres.",
|
||||
"LockSlidersDelay": "Forsinkelse på låsning af sliders",
|
||||
"LockSlidersDelayDescription": "Sliders vil låse efter det angivne tidsrum (sek). Hvis sat til 0 eller efterladt tomt, vil Sliders kun låse ved opdatering/genindlæsning af siden.",
|
||||
"ConfirmOnEmergencyStop": "Kræv bekræftelse før Nødstop",
|
||||
"ConfirmOnEmergencyStopDescription": "Viser en bekræftelses dialogboks ved tryk på Nødstop",
|
||||
"ConfirmOnPowerDeviceChange": "Kræv bekræftelse ved ændringer på Enhedens strømtilstand",
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Vis bekræftelse ved ændringer på Enhedens strømtilstand"
|
||||
},
|
||||
"GCodeViewerTab": {
|
||||
"GCodeViewer": "G-Code viser",
|
||||
"ExtruderColor": "Extruder farve",
|
||||
"BackgroundColor": "Baggrundsfarve",
|
||||
"GridColor": "Grid farve",
|
||||
"ShowAxes": "Vis akser",
|
||||
"MinFeed": "Minimum hastighed",
|
||||
"MaxFeed": "Maksimum hastighed"
|
||||
},
|
||||
"EditorTab": {
|
||||
"Editor": "Editor",
|
||||
"UseEscToClose": "Tryk ESC for at lukke Editor.",
|
||||
"UseEscToCloseDescription": "Tillader at ESC lukker Editor",
|
||||
"ConfirmUnsavedChanges": "Spørg om at gemme ændringer",
|
||||
"ConfirmUnsavedChangesDescription": "Hvis aktiv beder Editor om bekræftelse på at gemme eller kassere. Ellers bliver ændringer automatisk kasseret."
|
||||
}
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"Title": "G-Code Viser",
|
||||
"LoadLocal": "Lokal Fil",
|
||||
"ClearLoadedFile": "Fjern",
|
||||
"RenderQuality": "Renderingskvalitet",
|
||||
"Low": "Lav",
|
||||
"Medium": "Medium",
|
||||
"High": "Høj",
|
||||
"Ultra": "Ultra",
|
||||
"Max": "Maks",
|
||||
"ShowToolhead": "Vis nozzle",
|
||||
"ShowTravelMoves": "Vis Travel",
|
||||
"ShowObjectSelection": "Vis Objekt valg",
|
||||
"HDRendering": "HD Rendering (Runde Extrusions)",
|
||||
"ForceLineRendering": "Gennemtving Linje Rendering",
|
||||
"Transparency": "Transparens",
|
||||
"VoxelMode": "Voxel Mode (ASMBL)",
|
||||
"SpecularLighting": "Spejlende belysning",
|
||||
"ReloadRequired": "Opdatering påkrævet",
|
||||
"LoadCurrentFile": "Aktuel fil",
|
||||
"Tracking": "Sporing",
|
||||
"Rendering": "Rendering",
|
||||
"Downloading": "Downloader",
|
||||
"ColorMode": "Farvevisning"
|
||||
}
|
||||
}
|
||||
+88
-22
@@ -2,6 +2,13 @@
|
||||
"title": "Deutsch",
|
||||
"App": {
|
||||
"Printers": "Drucker",
|
||||
"Titles": {
|
||||
"Error": "FEHLER",
|
||||
"Pause": "Druck pausiert",
|
||||
"Printing": "{percent}% Drucken - {filename}",
|
||||
"PrintingETA": "{percent}% Drucken - ETA: {eta} - {filename}",
|
||||
"Complete": "Fertiggestellt - {filename}"
|
||||
},
|
||||
"TopBar": {
|
||||
"SAVE_CONFIG": "SAVE CONFIG",
|
||||
"UploadPrint": "Hochladen & Drucken",
|
||||
@@ -17,8 +24,33 @@
|
||||
"ServiceControl": "Dienst-Steuerung",
|
||||
"PowerDevices": "Stromversorgung",
|
||||
"HostControl": "Host-Steuerung",
|
||||
"Start": "Start",
|
||||
"Stop": "Stop",
|
||||
"Restart": "Neustart",
|
||||
"Reboot": "Neustart",
|
||||
"Shutdown": "Herunterfahren"
|
||||
"Shutdown": "Herunterfahren",
|
||||
"Cancel": "Abbrechen",
|
||||
"ConfirmationDialog": {
|
||||
"Title": {
|
||||
"KlipperRestart": "Klipper Neustart",
|
||||
"KlipperFirmwareRestart": "Klipper Firmware Neustart",
|
||||
"ServiceStart": "Dienst Start",
|
||||
"ServiceRestart": "Dienst Neustart",
|
||||
"ServiceStop": "Dienst Stop",
|
||||
"HostReboot": "Host Neustart",
|
||||
"HostShutdown": "Host Herunterfahren"
|
||||
},
|
||||
"Description": {
|
||||
"KlipperStop": "Ein Stopp von Klipper wird zum Abbruch des aktuellen Druckauftrags führen!",
|
||||
"KlipperRestart": "Ein Neustart von Klipper wird zum Abbruch des aktuellen Druckauftrags führen!",
|
||||
"KlipperFirmwareRestart": "Ein Neustart der Klipper Firmware wird zum Abbruch des aktuellen Druckauftrags führen!",
|
||||
"ServiceStart": "Ein Start dieses Dienstes kann zum Abbruch des aktuellen Druckauftrags führen!",
|
||||
"ServiceRestart": "Ein Neustart dieses Dienstes kann zum Abbruch des aktuellen Druckauftrags führen!",
|
||||
"ServiceStop": "Ein Stopp dieses Dienstes kann zum Abbruch des aktuellen Druckauftrags führen!",
|
||||
"HostReboot": "Ein Neustart des Hosts wird zum Abbruch des aktuellen Druckauftrags führen!",
|
||||
"HostShutdown": "Ein Herunterfahren des Hosts wird zum Abbruch des aktuellen Druckauftrags führen!"
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateDialog": {
|
||||
"Updating": "Aktualisiere {software}...",
|
||||
@@ -111,7 +143,8 @@
|
||||
"UnsavedChangesMessage": "Möchtest du die Änderungen an {filename} speichern?",
|
||||
"UnsavedChangesSubMessage": "Deine Änderungen werden verloren gehen wenn du sie nicht speicherst. Du kannst diese Meldung in den Editor-Einstellungen deaktivieren.",
|
||||
"DontSave": "Nicht speichern",
|
||||
"Cancel": "Abbrechen"
|
||||
"Cancel": "Abbrechen",
|
||||
"FileReadOnly": "schreibgeschützt"
|
||||
},
|
||||
"Files": {
|
||||
"GCodeFiles": "G-Code Dateien",
|
||||
@@ -154,12 +187,16 @@
|
||||
"LastModified": "Zuletzt geändert",
|
||||
"ObjectHeight": "Objekthöhe",
|
||||
"LayerHeight": "Schichthöhe",
|
||||
"NozzleDiameter": "Düsendurchmesser",
|
||||
"Filament": "Filament",
|
||||
"FilamentName": "Filament Name",
|
||||
"FilamentType": "Filament Typ",
|
||||
"FilamentUsage": "Filamentverbrauch",
|
||||
"FilamentWeight": "Filamentgewicht",
|
||||
"PrintTime": "Druckdauer",
|
||||
"Slicer": "Slicer",
|
||||
"Downloading": "Herunterladen",
|
||||
"WrongFileUploaded": "Hochladen von {filename} verweigert. Falsches Dateiformat!",
|
||||
"SuccessfullyUploaded": "Hochladen von {filename} erfolgreich!",
|
||||
"SuccessfullyRenamed": "{filename} erfolgreich umbenannt.",
|
||||
"SuccessfullyMoved": "{filename} erfolgreich verschoben.",
|
||||
@@ -173,14 +210,15 @@
|
||||
"AllJobs": "Alle Aufträge",
|
||||
"Empty": "Leer",
|
||||
"Delete": "Löschen",
|
||||
"Resume": "Fortsetzen",
|
||||
"Start": "Start",
|
||||
"Pause": "Pause"
|
||||
},
|
||||
"Console": {
|
||||
"SetupConsole": "Einstellungen",
|
||||
"SendCode": "Code senden...",
|
||||
"Empty": "Leer",
|
||||
"HideTemperatures": "verstecke Temperaturen",
|
||||
"HideTemperatures": "Temperaturen ausblenden",
|
||||
"HideTimelapse": "Timelapse ausblenden",
|
||||
"CommandList": "Kommandoliste"
|
||||
},
|
||||
"Heightmap": {
|
||||
@@ -334,7 +372,8 @@
|
||||
"FeedAmountIn": "Vorschub in",
|
||||
"FeedrateIn": "Geschwindigkeit in",
|
||||
"Retract": "Rückzug",
|
||||
"Extrude": "Extrudieren"
|
||||
"Extrude": "Extrudieren",
|
||||
"HotendTooCold": "Hotend-Temp. niedriger als"
|
||||
},
|
||||
"MacrosPanel": {
|
||||
"Headline": "Makros",
|
||||
@@ -368,9 +407,15 @@
|
||||
"Motion": "Bewegung",
|
||||
"Velocity": "Geschwindigkeit",
|
||||
"Acceleration": "Beschleunigung",
|
||||
"Deceleration": "Verlangsamung",
|
||||
"MaxAccelToDecel": "Max. Beschl. zu Verz.",
|
||||
"SquareCornerVelocity": "Eck-Geschwindigkeit"
|
||||
},
|
||||
"PressureAdvanceSettings": {
|
||||
"PressureAdvance": "Pressure Advance",
|
||||
"Extruder": "Extruder",
|
||||
"Advance": "Advance",
|
||||
"SmoothTime": "Smooth Time"
|
||||
},
|
||||
"FirmwareRetractionSettings": {
|
||||
"FirmwareRetraction": "Firmware Rückzug",
|
||||
"RetractLength": "Rückzugslänge",
|
||||
@@ -383,6 +428,7 @@
|
||||
"Headline": "Konsole",
|
||||
"SetupConsole": "Einstellungen",
|
||||
"HideTemperatures": "Temperaturmeldungen ausblenden",
|
||||
"HideTimelapse": "Timelapse ausblenden",
|
||||
"SendCode": "Befehl senden..."
|
||||
},
|
||||
"MinSettingsPanel": {
|
||||
@@ -475,7 +521,9 @@
|
||||
"Target": "Zieltemperatur",
|
||||
"Power": "PWM-Leistung",
|
||||
"Speed": "PWM-Geschwindigkeit"
|
||||
}
|
||||
},
|
||||
"TempTooLow": "Temperature von {name} zu niedrig! (min: {min})",
|
||||
"TempTooHigh": "Temperature von {name} zu hoch! (max: {max})"
|
||||
},
|
||||
"WebcamPanel": {
|
||||
"Headline": "Webcam",
|
||||
@@ -503,7 +551,7 @@
|
||||
"ConfigFiles": "Konfigurationsdateien",
|
||||
"SetupCurrentList": "Einstellungen",
|
||||
"HiddenFiles": "Versteckte Dateien",
|
||||
"HideBackupFiles": "Verstecke Sicherungsdateien",
|
||||
"HideBackupFiles": "Sicherungsdateien ausblenden",
|
||||
"CurrentPath": "Aktueller Pfad",
|
||||
"Files": "Dateien",
|
||||
"FreeDisk": "Freier Speicherplatz",
|
||||
@@ -562,7 +610,8 @@
|
||||
"CommittedYesterday": "eingereicht gestern",
|
||||
"CommittedDaysAgo": "eingereicht vor {days} Tagen",
|
||||
"CommittedOnDate": "eingereicht am {date}",
|
||||
"UpdateAll": "Alle Komponenten updaten"
|
||||
"UpdateAll": "Alle Komponenten updaten",
|
||||
"CommitsAvailabe": "keine Einreichung verfügbar | {count} Einreichung verfügbar | {count} Einreichungen verfügbar"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"SystemLoad": "Systemauslastung",
|
||||
@@ -574,7 +623,8 @@
|
||||
"Memory": "Mem",
|
||||
"Constants": "Konstanten",
|
||||
"LastStats": "Letzte Statistik",
|
||||
"HostDetails": "Host-Details"
|
||||
"HostDetails": "Host-Details",
|
||||
"Distro": "Distribution"
|
||||
}
|
||||
},
|
||||
"Settings": {
|
||||
@@ -593,14 +643,18 @@
|
||||
"FactoryReset": "Werkseinstellungen",
|
||||
"FactoryDialog": "Bitte wähle alle Abschnitte die du zurücksetzen möchtest:",
|
||||
"Reset": "zurücksetzen",
|
||||
"DbGeneral": "Allgemein",
|
||||
"DbPresets": "Presets",
|
||||
"DbMacrogroups": "Macro-Gruppen",
|
||||
"DbRemoteprinters": "Remote Drucker",
|
||||
"DbConsoleHistory": "Verlauf der Konsole",
|
||||
"DbView": "Ansichtseinstellungen",
|
||||
"DbHistoryJobs": "Historie Druckvorgänge",
|
||||
"DbHistoryTotals": "Historie Gesamtzähler",
|
||||
"DbWebcams": "Webcams",
|
||||
"DbTimelapseSettings": "Zeitraffer Einstellungen"
|
||||
"DbTimelapseSettings": "Zeitraffer Einstellungen",
|
||||
"MoonrakerDb": "Moonraker Datenbank",
|
||||
"Backup": "Datensicherung",
|
||||
"BackupDialog": "Bitte wähle alle Abschnitte aus, die du sichern möchtest:",
|
||||
"Restore": "Wiederherstellung",
|
||||
"CannotReadJson": "Sicherungsdatei kann nicht gelesen/analysiert werden.",
|
||||
"RestoreDialog": "Bitte wähle alle Abschnitte aus, die du wiederherstellen möchtest:"
|
||||
},
|
||||
"WebcamsTab": {
|
||||
"Webcams": "Webcams",
|
||||
@@ -641,6 +695,8 @@
|
||||
"AutorenderDescription": "Wenn diese Option aktiviert ist, wird das Zeitraffervideo am Ende des Druckvorgangs automatisch gerendert",
|
||||
"SaveFrames": "Bilder speichern",
|
||||
"SaveFramesDescription": "Speichern der Bilder in einer Zip-Datei für externes Rendern",
|
||||
"StreamDelayCompensation": "Stream-Verzögerungs-Kompensation",
|
||||
"StreamDelayCompensationDescription": "Verzögern der Bildaufnahme",
|
||||
"PreviewImage": "Vorschaubild",
|
||||
"PreviewImageDescription": "Speichert ein Vorschaubild mit demselben Namen wie das Video",
|
||||
"GcodeVerbose": "Ausführliche G-Codes",
|
||||
@@ -649,12 +705,16 @@
|
||||
"ParkheadDescription": "Wenn diese Option aktiviert ist, wird der Druckkopf vor der Aufnahme eines Bildes geparkt.",
|
||||
"Parkpos": "Park-Position",
|
||||
"ParkposDescription": "Wähle Park-Position",
|
||||
"ParkTime": "Park Dauer",
|
||||
"ParkTimeDescription": "Verlängern der Park Dauer",
|
||||
"PosX": "Position X",
|
||||
"PosXDescription": "Park-Postion X (absolut)",
|
||||
"PosY": "Position Y",
|
||||
"PosYDescription": "Park-Postion Y (absolut)",
|
||||
"PosDZ": "Position Z",
|
||||
"PosDZDescription": "Park-Postion Z (relativ)",
|
||||
"FwRetract": "Firmware Rückzug",
|
||||
"FwRetractDescription": "Benutze Firmware Rückzug im Timelapse Makro",
|
||||
"TravelSpeed": "Eilgang Geschwindigkeit",
|
||||
"TravelSpeedDescription": "Eilgang Geschwindigkeit für die Fahrt zur Park-Position und Wiederaufnahme des Drucks",
|
||||
"RetractSpeed": "Rückzuggeschwindigkeit",
|
||||
@@ -707,6 +767,7 @@
|
||||
"Management": "Verwaltung",
|
||||
"Simple": "Einfach",
|
||||
"Expert": "Experte",
|
||||
"Group": "Gruppe",
|
||||
"NoGroups": "Keine Gruppen gefunden...",
|
||||
"Macrogroups": "Gruppen",
|
||||
"EditGroup": "Gruppe bearbeiten",
|
||||
@@ -729,9 +790,9 @@
|
||||
"NoAvailableMacros": "Keine verfügbaren Makros.",
|
||||
"UnknownGroup": "Unbekannte Gruppe",
|
||||
"ChangeMacroColor": "Farbe der Schaltfläche ändern.",
|
||||
"ShowInStateStandby": "Anzeigen/verstecken wenn der Drucker im Standby ist.",
|
||||
"ShowInStatePaused": "Anzeigen/verstecken wenn der Drucker pausiert ist.",
|
||||
"ShowInStatePrinting": "Anzeigen/verstecken wenn der Drucker am drucken ist.",
|
||||
"ShowInStateStandby": "Anzeigen/ausblenden wenn der Drucker im Standby ist.",
|
||||
"ShowInStatePaused": "Anzeigen/ausblenden wenn der Drucker pausiert ist.",
|
||||
"ShowInStatePrinting": "Anzeigen/ausblenden wenn der Drucker am drucken ist.",
|
||||
"DeleteMacroFromGroup": "Makro aus Gruppe entfernen.",
|
||||
"DeletedMacro": "Makro gelöscht"
|
||||
},
|
||||
@@ -750,7 +811,11 @@
|
||||
"MoveDistancesXYInMm": "Verfahrwege XY in mm",
|
||||
"MoveDistancesZInMm": "Verfahrwege Z in mm",
|
||||
"MoveDistancesEInMm": "Verfahrwege E in mm",
|
||||
"SpeedEInMms": "Geschw. E in mm/s"
|
||||
"SpeedEInMms": "Geschw. E in mm/s",
|
||||
"MinimumValues": "Minimum: {minimum} Eintrag",
|
||||
"MaximumValues": "Maximum: {maximum} Einträge",
|
||||
"MaximumValuesVisibility": "Maximal {maximum} Einträge für beste Darstellung",
|
||||
"ValueGreaterThan": "Wert muss größer als {value} sein"
|
||||
},
|
||||
"ConsoleTab": {
|
||||
"Console": "Konsole",
|
||||
@@ -758,7 +823,8 @@
|
||||
"DirectionTable": "Letzter Eintrag oben",
|
||||
"DirectionShell": "Letzter Eintrag unten",
|
||||
"Height": "Höhe",
|
||||
"HideTemperatures": "Temperaturen verstecken",
|
||||
"HideTemperatures": "Temperaturen ausblenden",
|
||||
"HideTimelapse": "Timelapse ausblenden",
|
||||
"CreateHeadline": "Filter erstellen",
|
||||
"Name": "Name",
|
||||
"Regex": "Regex",
|
||||
@@ -806,8 +872,8 @@
|
||||
"NavigationStyleDescription": "Erscheinungsbild der Navigation ändern",
|
||||
"NavigationStyleIconsOnly": "Nur Icons",
|
||||
"NavigationStyleIconsAndText": "Icons + Text",
|
||||
"BoolHideUploadAndPrintButton": "Verstecke \"Hochladen & Drucken\" Button",
|
||||
"BoolHideUploadAndPrintButtonDescription": "Verstecke oder zeige die \"Hochladen & Drucken\" Schaltfläche in der Kopfleiste.",
|
||||
"BoolHideUploadAndPrintButton": "\"Hochladen & Drucken\" Schaltfläche ausblenden",
|
||||
"BoolHideUploadAndPrintButtonDescription": "Blendet die \"Hochladen & Drucken\" Schaltfläche in der Kopfleiste ein oder aus.",
|
||||
"DisplayCANCEL_PRINT": "Zeige CANCEL_PRINT an",
|
||||
"DisplayCANCEL_PRINTDescription": "Zeigt die CANCEL_PRINT Schaltfläche dauerhaft an - keine weitere Bestätigung erforderlich.",
|
||||
"DisplayZOffset": "Zeige Z-Offset-Panel an",
|
||||
|
||||
+67
-11
@@ -2,6 +2,13 @@
|
||||
"title": "English",
|
||||
"App": {
|
||||
"Printers": "Printers",
|
||||
"Titles": {
|
||||
"Error": "ERROR",
|
||||
"Pause": "Pause Print",
|
||||
"Printing": "{percent}% Printing - {filename}",
|
||||
"PrintingETA": "{percent}% Printing - ETA: {eta} - {filename}",
|
||||
"Complete": "Complete - {filename}"
|
||||
},
|
||||
"TopBar": {
|
||||
"SAVE_CONFIG": "SAVE CONFIG",
|
||||
"UploadPrint": "Upload & Print",
|
||||
@@ -17,8 +24,33 @@
|
||||
"ServiceControl": "Service Control",
|
||||
"PowerDevices": "Power Devices",
|
||||
"HostControl": "Host Control",
|
||||
"Start": "Start",
|
||||
"Stop": "Stop",
|
||||
"Restart": "Restart",
|
||||
"Reboot": "Reboot",
|
||||
"Shutdown": "Shutdown"
|
||||
"Shutdown": "Shutdown",
|
||||
"Cancel": "Cancel",
|
||||
"ConfirmationDialog": {
|
||||
"Title": {
|
||||
"KlipperRestart": "Klipper Restart",
|
||||
"KlipperFirmwareRestart": "Klipper Firmware Restart",
|
||||
"ServiceStart": "Service Start",
|
||||
"ServiceRestart": "Service Restart",
|
||||
"ServiceStop": "Service Stop",
|
||||
"HostReboot": "Host Reboot",
|
||||
"HostShutdown": "Host Shutdown"
|
||||
},
|
||||
"Description": {
|
||||
"KlipperStop": "Stopping Klipper will cause the current print to fail!",
|
||||
"KlipperRestart": "Restarting Klipper will cause the current print to fail!",
|
||||
"KlipperFirmwareRestart": "Restarting the Klipper Firmware will cause the current print to fail!",
|
||||
"ServiceStart": "Starting this service may cause the current print to fail!",
|
||||
"ServiceRestart": "Restarting this service may cause the current print to fail!",
|
||||
"ServiceStop": "Stopping this service may cause the current print to fail!",
|
||||
"HostReboot": "Rebooting the Host will cause the current print to fail!",
|
||||
"HostShutdown": "Shutting down the Host will cause the current print to fail!"
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateDialog": {
|
||||
"Updating": "Updating {software}...",
|
||||
@@ -155,12 +187,16 @@
|
||||
"LastModified": "Last modified",
|
||||
"ObjectHeight": "Object Height",
|
||||
"LayerHeight": "Layer Height",
|
||||
"NozzleDiameter": "Nozzle Diameter",
|
||||
"Filament": "Filament",
|
||||
"FilamentName": "Filament Name",
|
||||
"FilamentType": "Filament Type",
|
||||
"FilamentUsage": "Filament Usage",
|
||||
"FilamentWeight": "Filament Weight",
|
||||
"PrintTime": "Print Time",
|
||||
"Slicer": "Slicer",
|
||||
"Downloading": "Downloading",
|
||||
"WrongFileUploaded": "Upload was denied for {filename}. Wrong file format!",
|
||||
"SuccessfullyUploaded": "Upload of {filename} successful!",
|
||||
"SuccessfullyRenamed": "Successfully renamed {filename}.",
|
||||
"SuccessfullyMoved": "Successfully moved {filename}.",
|
||||
@@ -174,7 +210,7 @@
|
||||
"AllJobs": "All Jobs",
|
||||
"Empty": "Empty",
|
||||
"Delete": "Delete",
|
||||
"Resume": "Resume",
|
||||
"Start": "Start",
|
||||
"Pause": "Pause"
|
||||
},
|
||||
"Console": {
|
||||
@@ -371,9 +407,15 @@
|
||||
"Motion": "Motion",
|
||||
"Velocity": "Velocity",
|
||||
"Acceleration": "Acceleration",
|
||||
"Deceleration": "Deceleration",
|
||||
"MaxAccelToDecel": "Max Accel. to Decel.",
|
||||
"SquareCornerVelocity": "Square Corner Velocity"
|
||||
},
|
||||
"PressureAdvanceSettings": {
|
||||
"PressureAdvance": "Pressure Advance",
|
||||
"Extruder": "Extruder",
|
||||
"Advance": "Advance",
|
||||
"SmoothTime": "Smooth Time"
|
||||
},
|
||||
"FirmwareRetractionSettings": {
|
||||
"FirmwareRetraction": "Firmware Retraction",
|
||||
"RetractLength": "Retract Length",
|
||||
@@ -479,7 +521,9 @@
|
||||
"Target": "target temperature",
|
||||
"Power": "PWM-power",
|
||||
"Speed": "PWM-speed"
|
||||
}
|
||||
},
|
||||
"TempTooLow": "Temperature too low for {name}! (min: {min})",
|
||||
"TempTooHigh": "Temperature too high for {name}! (max: {max})"
|
||||
},
|
||||
"WebcamPanel": {
|
||||
"Headline": "Webcam",
|
||||
@@ -579,7 +623,8 @@
|
||||
"Memory": "Mem",
|
||||
"Constants": "Constants",
|
||||
"LastStats": "Last stats",
|
||||
"HostDetails": "Host details"
|
||||
"HostDetails": "Host details",
|
||||
"Distro": "Distro"
|
||||
}
|
||||
},
|
||||
"Settings": {
|
||||
@@ -598,14 +643,18 @@
|
||||
"FactoryReset": "Factory reset",
|
||||
"FactoryDialog": "Please select all the sections you want to reset:",
|
||||
"Reset": "reset",
|
||||
"DbGeneral": "General",
|
||||
"DbPresets": "Presets",
|
||||
"DbMacrogroups": "Macrogroups",
|
||||
"DbRemoteprinters": "Remoteprinters",
|
||||
"DbConsoleHistory": "Console History",
|
||||
"DbView": "View Settings",
|
||||
"DbHistoryJobs": "History Jobs",
|
||||
"DbHistoryTotals": "History Totals",
|
||||
"DbWebcams": "Webcams",
|
||||
"DbTimelapseSettings": "Timelapse Settings"
|
||||
"DbTimelapseSettings": "Timelapse Settings",
|
||||
"MoonrakerDb": "Moonraker DB",
|
||||
"Backup": "Backup",
|
||||
"BackupDialog": "Please select all the sections you want to create a backup:",
|
||||
"Restore": "Restore",
|
||||
"CannotReadJson": "Cannot read/parse backup file.",
|
||||
"RestoreDialog": "Please select all the sections you want to restore:"
|
||||
},
|
||||
"WebcamsTab": {
|
||||
"Webcams": "Webcams",
|
||||
@@ -664,6 +713,8 @@
|
||||
"PosYDescription": "Park postion Y (absolute)",
|
||||
"PosDZ": "Position Z",
|
||||
"PosDZDescription": "Park postion Z (relative)",
|
||||
"FwRetract": "FW Retract",
|
||||
"FwRetractDescription": "Use firmware retraction in the timelapse macro",
|
||||
"TravelSpeed": "Travel Speed",
|
||||
"TravelSpeedDescription": "Travel speed while moving to the parking position and resuming",
|
||||
"RetractSpeed": "Retract Speed",
|
||||
@@ -716,6 +767,7 @@
|
||||
"Management": "Management",
|
||||
"Simple": "Simple",
|
||||
"Expert": "Expert",
|
||||
"Group": "Group",
|
||||
"NoGroups": "No group found...",
|
||||
"Macrogroups": "Groups",
|
||||
"EditGroup": "Edit Group",
|
||||
@@ -759,7 +811,11 @@
|
||||
"MoveDistancesXYInMm": "Move distances XY in mm",
|
||||
"MoveDistancesZInMm": "Move distances Z in mm",
|
||||
"MoveDistancesEInMm": "Move distances E in mm",
|
||||
"SpeedEInMms": "Speed E in mm/s"
|
||||
"SpeedEInMms": "Speed E in mm/s",
|
||||
"MinimumValues": "Minimum values: {minimum}",
|
||||
"MaximumValues": "Maximum values: {maximum}",
|
||||
"MaximumValuesVisibility": "Maximum of {maximum} values is recommended for best visibilty",
|
||||
"ValueGreaterThan": "Value has to be greater than {value}"
|
||||
},
|
||||
"ConsoleTab": {
|
||||
"Console": "Console",
|
||||
|
||||
+73
-19
@@ -17,7 +17,32 @@
|
||||
"HostControl": "Controalr Host",
|
||||
"Reboot": "Reiniciar",
|
||||
"Shutdown": "Apagar",
|
||||
"ServiceControl": "Control del Servico"
|
||||
"ServiceControl": "Control del Servico",
|
||||
"Cancel": "Cancelar",
|
||||
"Restart": "Reiniciar",
|
||||
"Start": "Iniciar",
|
||||
"Stop": "Parar",
|
||||
"ConfirmationDialog": {
|
||||
"Description": {
|
||||
"HostReboot": "Si reinicia el host ahora, la impresion actual fallara",
|
||||
"HostShutdown": "Si apaga el host ahora, la impresion actual fallara",
|
||||
"KlipperFirmwareRestart": "Si reinicia el firmware de Klipper ahora, la impresion actual fallara",
|
||||
"KlipperRestart": "Si reinicia Klipper ahora, la impresion actual fallara",
|
||||
"KlipperStop": "Si para Klipper ahora, la impresion actual fallara",
|
||||
"ServiceRestart": "Si reinicia el servicio ahora, probablemente corra riesgo de faalar su trabajo de impresion en curso",
|
||||
"ServiceStart": "Si inicia este servicio ahora, probablemente corra riesgo de faalar su trabajo de impresion en curso",
|
||||
"ServiceStop": "Si para este servicio ahora, probablemente corra riesgo de faalar su trabajo de impresion en curso"
|
||||
},
|
||||
"Title": {
|
||||
"HostReboot": "Reiniciar host",
|
||||
"HostShutdown": "Apagar Host",
|
||||
"KlipperFirmwareRestart": "Reiniciar firmware de Klipper",
|
||||
"KlipperRestart": "Reiniciar Klipper",
|
||||
"ServiceRestart": "Reiniciar Servicio",
|
||||
"ServiceStart": "Iniciar Servicio",
|
||||
"ServiceStop": "Parar servicio"
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateDialog": {
|
||||
"Updating": "Actualizando {software}...",
|
||||
@@ -97,7 +122,8 @@
|
||||
"DontSave": "No guardar",
|
||||
"UnsavedChanges": "Cambios sin guardar",
|
||||
"UnsavedChangesMessage": "Quiere guardar los cambios al archivo {filename}?",
|
||||
"UnsavedChangesSubMessage": "Sus cambios se perderan si no los guarda. Puede desactivar este menssaje en la configuracion del editor "
|
||||
"UnsavedChangesSubMessage": "Sus cambios se perderan si no los guarda. Puede desactivar este menssaje en la configuracion del editor ",
|
||||
"FileReadOnly": "Solo lectura"
|
||||
},
|
||||
"Files": {
|
||||
"GCodeFiles": "Archivos G-Code",
|
||||
@@ -151,14 +177,16 @@
|
||||
"AddToQueue": "Agregar a la cola",
|
||||
"Filament": "Filamento",
|
||||
"StartPrint": "Iniciar impresion",
|
||||
"View3D": "Vista 3D"
|
||||
"View3D": "Vista 3D",
|
||||
"WrongFileUploaded": "Subida denegada para {filename}. Formato de archivo erroneo"
|
||||
},
|
||||
"Console": {
|
||||
"SetupConsole": "Confiurar Consola",
|
||||
"SendCode": "Enviar Codigo....",
|
||||
"Empty": "Vacio",
|
||||
"HideTemperatures": "Ocultar Temperaturas",
|
||||
"CommandList": "Lista de comandos"
|
||||
"CommandList": "Lista de comandos",
|
||||
"HideTimelapse": "Ocultar timelapse"
|
||||
},
|
||||
"Heightmap": {
|
||||
"Heightmap": "Mapa de altura",
|
||||
@@ -261,7 +289,8 @@
|
||||
"FeedAmountIn": "Cantidad en",
|
||||
"FeedrateIn": "Velocidad en",
|
||||
"Retract": "Retraer",
|
||||
"Extrude": "Extruir"
|
||||
"Extrude": "Extruir",
|
||||
"HotendTooCold": "Hotend temp. por debajo de"
|
||||
},
|
||||
"MacrosPanel": {
|
||||
"Headline": "Macros",
|
||||
@@ -283,7 +312,8 @@
|
||||
"Headline": "Consola",
|
||||
"SetupConsole": "Configurar Consola",
|
||||
"HideTemperatures": "Ocultar temperaturas",
|
||||
"SendCode": "Enviar codigo..."
|
||||
"SendCode": "Enviar codigo...",
|
||||
"HideTimelapse": "Ocultar timelapse"
|
||||
},
|
||||
"MinSettingsPanel": {
|
||||
"MissingConfiguration": "Configuracion no entrada",
|
||||
@@ -418,10 +448,16 @@
|
||||
"Headline": "Configuracion Impresora",
|
||||
"MotionSettings": {
|
||||
"Acceleration": "Aceleracion",
|
||||
"Deceleration": "Desaceleracion",
|
||||
"Motion": "Movimiento",
|
||||
"SquareCornerVelocity": "Velocidad angulo recto",
|
||||
"Velocity": "Velocidad"
|
||||
"Velocity": "Velocidad",
|
||||
"MaxAccelToDecel": "Max Accel. to Decel."
|
||||
},
|
||||
"PressureAdvanceSettings": {
|
||||
"Advance": "Avance",
|
||||
"Extruder": "Extrusor",
|
||||
"PressureAdvance": "Avance de presion",
|
||||
"SmoothTime": "Smooth Time"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -489,7 +525,8 @@
|
||||
"CommittedHoursAgo": "Confirmado hace {hours} horas",
|
||||
"CommittedOnDate": "Confirmado en {date}",
|
||||
"CommittedYesterday": "Confirmado ayer",
|
||||
"UpdateAll": "Actualizar todo"
|
||||
"UpdateAll": "Actualizar todo",
|
||||
"CommitsAvailabe": "Sin confrmaciones disponibles | {count} confimacion disponible | {count} confirmaciones disponibles"
|
||||
},
|
||||
"SystemPanel": {
|
||||
"SystemLoad": "Carga del sistema",
|
||||
@@ -501,7 +538,8 @@
|
||||
"Memory": "Mem",
|
||||
"Constants": "Constantes",
|
||||
"LastStats": "Ultimas estadisticas",
|
||||
"HostDetails": "Detalles del host"
|
||||
"HostDetails": "Detalles del host",
|
||||
"Distro": "Distribucion"
|
||||
}
|
||||
},
|
||||
"Settings": {
|
||||
@@ -517,16 +555,20 @@
|
||||
"CalcEstimateTimeDescription": "Si se selecciona muchos un promedio sera calculado",
|
||||
"CalcEtaTimeDescription": "Si se selecciona muchos un promedio sera calculado",
|
||||
"CalcEtaTime": "Calculo de ETA",
|
||||
"DbGeneral": "General",
|
||||
"DbHistoryJobs": "Historial de trabajos",
|
||||
"DbHistoryTotals": "Trabajos totales",
|
||||
"DbMacrogroups": "Gupos de Macros",
|
||||
"DbPresets": "Pre-configuraciones",
|
||||
"DbRemoteprinters": "Impresoras remotas",
|
||||
"DbTimelapseSettings": "Configuracion Timelapse",
|
||||
"DbWebcams": "Camaras Web",
|
||||
"FactoryDialog": "Elija las secciones que quiere reiniciar",
|
||||
"Reset": "Reiniciar"
|
||||
"Reset": "Reiniciar",
|
||||
"Backup": "Backup",
|
||||
"BackupDialog": "Elija todas las secciones a las que quiere hacer backup",
|
||||
"CannotReadJson": "No se puede leer/analizar el archivo de backup",
|
||||
"DbConsoleHistory": "Historial de consola",
|
||||
"DbView": "Configuraciones de Vista",
|
||||
"MoonrakerDb": "Moonraker DB",
|
||||
"Restore": "Restore",
|
||||
"RestoreDialog": "Elija las secciones que quiere restaurar"
|
||||
},
|
||||
"DashboardTab": {
|
||||
"Dashboard": "Panel",
|
||||
@@ -569,7 +611,8 @@
|
||||
"Status": "Estado",
|
||||
"Success": "Exito",
|
||||
"UnknownGroup": "Grupo desconocido",
|
||||
"Warning": "Alerta"
|
||||
"Warning": "Alerta",
|
||||
"Group": "Grupo"
|
||||
},
|
||||
"ControlTab": {
|
||||
"Control": "Controlar",
|
||||
@@ -604,7 +647,8 @@
|
||||
"AddFilter": "agregar filtro",
|
||||
"EntryStyle": "Estilo",
|
||||
"EntryStyleCompact": "Compacto",
|
||||
"EntryStyleDefault": "Predeterminado"
|
||||
"EntryStyleDefault": "Predeterminado",
|
||||
"HideTimelapse": "Ocultar timelapse"
|
||||
},
|
||||
"PresetsTab": {
|
||||
"PreheatPresets": "Precalentamiento",
|
||||
@@ -698,7 +742,17 @@
|
||||
"TargetlengthDescription": "Indica la duracion del video cuando FPS variable esta activado",
|
||||
"GcodeVerbose": "Gcode Verbose",
|
||||
"HyperlapseCycle": "Tiempo de ciclo Hyperlapse",
|
||||
"HyperlapseCycleDescription": "Una foto es tomada cada X segundos"
|
||||
"HyperlapseCycleDescription": "Una foto es tomada cada X segundos",
|
||||
"RetractDistanceDescription": "El largo del filamento que el extrusor retrae",
|
||||
"RetractSpeedDescription": "Velocidad con que el extrusor retrae el filamento",
|
||||
"UnretractDistanceDescription": "El largo del filamenteto que el extrusor vuelve a extruir despues de la retraccion",
|
||||
"UnretractSpeedDescription": "Velocidad con la que el extrusor vuelve a extruir despues de la retraccion",
|
||||
"FwRetract": "Retraccion de firmware",
|
||||
"FwRetractDescription": "Use la retraccion de firmware en la macro de timelapse",
|
||||
"StreamDelayCompensation": "Compensación de retraso de stream",
|
||||
"StreamDelayCompensationDescription": "Retraso de captura de cuadro",
|
||||
"ParkTimeDescription": "Agregue tiempo de inactividad adicional al apartar.",
|
||||
"ParkTime": "Park Time"
|
||||
},
|
||||
"UiSettingsTab": {
|
||||
"BoolBigThumbnail": "Miniatura grande",
|
||||
@@ -798,7 +852,7 @@
|
||||
"JobQueue": "Cola de tareas",
|
||||
"Jobs": "Tareas",
|
||||
"Pause": "Pasusar",
|
||||
"Resume": "Reanudar"
|
||||
"Start": "Iniciar"
|
||||
},
|
||||
"PowerDeviceChangeDialog": {
|
||||
"AreYouSure": "Esta seguro?",
|
||||
|
||||
+69
-21
@@ -18,7 +18,32 @@
|
||||
"PowerDevices": "Modules d'alimentation",
|
||||
"Reboot": "Redémarrage",
|
||||
"Shutdown": "Arrêt",
|
||||
"ServiceControl": "Contrôle des services"
|
||||
"ServiceControl": "Contrôle des services",
|
||||
"Cancel": "Annuler",
|
||||
"ConfirmationDialog": {
|
||||
"Description": {
|
||||
"HostReboot": "Si vous redémarez le \"host\" maintenant, votre impression sera annulée.",
|
||||
"HostShutdown": "Si vous éteignez le \"host\" maintenant, votre impression sera annulée.",
|
||||
"KlipperFirmwareRestart": "Si vous redémarrez le firmware Klipper maintenant, votre impression sera annulée.",
|
||||
"KlipperRestart": "Si vous redémarrez Klipper maintenant, votre impression sera annulée.",
|
||||
"KlipperStop": "Si vous arrêtez Klipper maintenant, votre impression sera annulée.",
|
||||
"ServiceRestart": "Si vous redémarrez ce service maintenant, il y a de fortes chances que votre impression sera annulée.",
|
||||
"ServiceStart": "Si vous démarrez ce service maintenant, il y a de fortes chances que votre impression sera annulée.",
|
||||
"ServiceStop": "Si vous arrêtez ce service maintenant, il y a de fortes chances que votre impression sera annulée."
|
||||
},
|
||||
"Title": {
|
||||
"HostReboot": "Redémarrer \"host\"",
|
||||
"HostShutdown": "Eteindre \"host\"",
|
||||
"KlipperFirmwareRestart": "Redémarrer firmware Klipper",
|
||||
"KlipperRestart": "Redémarrer Klipper",
|
||||
"ServiceRestart": "Redémarrer ce service",
|
||||
"ServiceStart": "Démarrer ce service",
|
||||
"ServiceStop": "Arrêter ce service"
|
||||
}
|
||||
},
|
||||
"Restart": "Redémarrer",
|
||||
"Start": "Démarrer",
|
||||
"Stop": "Arrêter"
|
||||
},
|
||||
"ThrottledStates": {
|
||||
"DescriptionUnderVoltageDetected": "rPI alimentation inférieure à 4.65V",
|
||||
@@ -74,7 +99,8 @@
|
||||
"DontSave": "Ne pas sauvegarder",
|
||||
"UnsavedChanges": "Changements non sauvegardés",
|
||||
"UnsavedChangesMessage": "Désirez-vous sauvegarder les changements dans {filename} ?",
|
||||
"UnsavedChangesSubMessage": "Vos changements seront perdus si vous ne les sauvegardez pas. Vous pouvez desactiver ce message dans les réglages de l'éditeur."
|
||||
"UnsavedChangesSubMessage": "Vos changements seront perdus si vous ne les sauvegardez pas. Vous pouvez desactiver ce message dans les réglages de l'éditeur.",
|
||||
"FileReadOnly": "lecture seule"
|
||||
},
|
||||
"Files": {
|
||||
"GCodeFiles": "Fichiers G-Code",
|
||||
@@ -128,14 +154,16 @@
|
||||
"View3D": "Vue 3D",
|
||||
"StartPrint": "Imprimer",
|
||||
"Filament": "Filament",
|
||||
"AddToQueue": "Ajouter à la queue"
|
||||
"AddToQueue": "Ajouter à la queue",
|
||||
"WrongFileUploaded": "Téléchargem,ent refusé pour {filename}. Mauvais format de fichier !"
|
||||
},
|
||||
"Console": {
|
||||
"SetupConsole": "Configuration console",
|
||||
"SendCode": "Envoyer la commande",
|
||||
"Empty": "vide",
|
||||
"HideTemperatures": "Cacher les températures",
|
||||
"CommandList": "Liste des commandes"
|
||||
"CommandList": "Liste des commandes",
|
||||
"HideTimelapse": "Cacher accéléré"
|
||||
},
|
||||
"Heightmap": {
|
||||
"Heightmap": "Maillage de hauteur",
|
||||
@@ -238,7 +266,8 @@
|
||||
"FeedAmountIn": "Longueur à extraire",
|
||||
"FeedrateIn": "Vitesse d'extrusion",
|
||||
"Retract": "Rétractation",
|
||||
"Extrude": "Extrusion"
|
||||
"Extrude": "Extrusion",
|
||||
"HotendTooCold": "Tête d'impression trop froide"
|
||||
},
|
||||
"MacrosPanel": {
|
||||
"Headline": "Macros",
|
||||
@@ -260,7 +289,8 @@
|
||||
"Headline": "Console",
|
||||
"SetupConsole": "Réglage Console",
|
||||
"HideTemperatures": "Cacher températures",
|
||||
"SendCode": "Envoyer la commande..."
|
||||
"SendCode": "Envoyer la commande...",
|
||||
"HideTimelapse": "Cacher accéléré"
|
||||
},
|
||||
"MinSettingsPanel": {
|
||||
"MissingConfiguration": "Configuration absente",
|
||||
@@ -387,10 +417,10 @@
|
||||
"MachineSettingsPanel": {
|
||||
"MotionSettings": {
|
||||
"Acceleration": "Accélération",
|
||||
"Deceleration": "Décélération",
|
||||
"SquareCornerVelocity": "Vitesse des angles droits",
|
||||
"Velocity": "Vitesse",
|
||||
"Motion": "Déplacements"
|
||||
"Motion": "Déplacements",
|
||||
"MaxAccelToDecel": "Décélération maximum"
|
||||
},
|
||||
"Headline": "Réglages machine",
|
||||
"FirmwareRetractionSettings": {
|
||||
@@ -399,6 +429,12 @@
|
||||
"RetractSpeed": "Vitesse de rétractation",
|
||||
"UnretractExtraLength": "Distance d'extrusion supplémentaire",
|
||||
"UnretractSpeed": "Vitesse d'extrusion"
|
||||
},
|
||||
"PressureAdvanceSettings": {
|
||||
"Advance": "avance",
|
||||
"Extruder": "extrudeur",
|
||||
"PressureAdvance": "pression en avance",
|
||||
"SmoothTime": "Temps de lissage"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -420,7 +456,8 @@
|
||||
"UpdateButton": "Mettre à jour le filtre",
|
||||
"EntryStyle": "Style de dialogue d'entrée",
|
||||
"EntryStyleCompact": "compact",
|
||||
"EntryStyleDefault": "defaut"
|
||||
"EntryStyleDefault": "defaut",
|
||||
"HideTimelapse": "Cacher accéléré"
|
||||
},
|
||||
"ControlTab": {
|
||||
"Control": "Contrôle",
|
||||
@@ -449,16 +486,20 @@
|
||||
"CalcEstimateTimeDescription": "En cas de séléction multiple, une moyenne est calculée",
|
||||
"CalcEtaTime": "Calcul du TEA",
|
||||
"CalcEstimateTime": "Calcul du temps estimé",
|
||||
"DbGeneral": "Général",
|
||||
"DbHistoryJobs": "Historique des travaux",
|
||||
"DbHistoryTotals": "Historique totaux",
|
||||
"DbMacrogroups": "Groupe de macros",
|
||||
"DbPresets": "Réglages",
|
||||
"DbRemoteprinters": "Imprimantes distantes",
|
||||
"DbWebcams": "Caméras",
|
||||
"FactoryDialog": "Choisissez les sections à réinitialiser",
|
||||
"Reset": "réinitalisation",
|
||||
"DbTimelapseSettings": "Accéléré"
|
||||
"DbTimelapseSettings": "Accéléré",
|
||||
"Backup": "Sauvegarde",
|
||||
"BackupDialog": "Choisissez les sections que vous désirez sauvegarder:",
|
||||
"CannotReadJson": "Lecture/interprétation du fichier de sauvegarde impossible.",
|
||||
"DbConsoleHistory": "Historique des commandes de console",
|
||||
"DbView": "Réglages de visualisation",
|
||||
"MoonrakerDb": "Base de données Moonraker",
|
||||
"Restore": "Restauration",
|
||||
"RestoreDialog": "Choisissez les sections que vous désirez restaurer:"
|
||||
},
|
||||
"InterfaceSettings": "Réglages interface",
|
||||
"MacrosTab": {
|
||||
@@ -494,7 +535,8 @@
|
||||
"Status": "Status",
|
||||
"Success": "réussi",
|
||||
"UnknownGroup": "Groupe inconnu",
|
||||
"Warning": "attention"
|
||||
"Warning": "attention",
|
||||
"Group": "Groupe"
|
||||
},
|
||||
"DashboardTab": {
|
||||
"Dashboard": "Tab. de bord",
|
||||
@@ -655,12 +697,16 @@
|
||||
"VariableFpsMin": "IPS variable min",
|
||||
"duplicatelastframe": "Multiplie la dernière image",
|
||||
"duplicatelastframeDescription": "Multiplie n fois la dernière image de la vidéo.",
|
||||
"VariableFpsMinDescription": "Nombre minimum d'IPS en mode variable.",
|
||||
"VariableFpsMaxDescription": "Nombre maximum d'IPS en mode variable.",
|
||||
"RetractSpeedDescription": "Vitesse de rétractation du filament avant parking.",
|
||||
"RetractDistanceDescription": "Distance de rétractation du filament avant parking.",
|
||||
"UnretractDistanceDescription": "Distance d'extrusion du filament après parking et avant reprise d'impression.",
|
||||
"UnretractSpeedDescription": "Vitesse d'extrusion du filament après parking et avant reprise d'impression."
|
||||
"UnretractSpeedDescription": "Vitesse d'extrusion du filament après parking et avant reprise d'impression.",
|
||||
"ParkTime": "Temps de parking",
|
||||
"ParkTimeDescription": "Ajoute un temps aditionnel en position de parking",
|
||||
"StreamDelayCompensation": "Dlai de compensation du flux",
|
||||
"StreamDelayCompensationDescription": "Délai avant capture d'une image du flux.",
|
||||
"FwRetract": "Rétractation firmware",
|
||||
"FwRetractDescription": "Utilisation de la rétractation firmware dans la macro \"accéléré\" (timelapse)"
|
||||
}
|
||||
},
|
||||
"ConnectionDialog": {
|
||||
@@ -724,7 +770,8 @@
|
||||
"Memory": "Mémoire",
|
||||
"Os": "OS",
|
||||
"SystemLoad": "Charge Système",
|
||||
"Version": "Version"
|
||||
"Version": "Version",
|
||||
"Distro": "Distribution"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Contrôle de disponibilité de mises à jour",
|
||||
@@ -746,7 +793,8 @@
|
||||
"CommittedHoursAgo": "Publié il y a {hours} heures",
|
||||
"CommittedOnDate": "Publié le {date}",
|
||||
"CommittedYesterday": "Publié hier",
|
||||
"UpdateAll": "Mettre tout à jour"
|
||||
"UpdateAll": "Mettre tout à jour",
|
||||
"CommitsAvailabe": "pas de mise à jour disponible | {count} mise à jour disponible | {count} mises à jour disponibles"
|
||||
}
|
||||
},
|
||||
"SelectPrinterDialog": {
|
||||
@@ -861,6 +909,6 @@
|
||||
"JobQueue": "Queue des travaux",
|
||||
"Jobs": "Travaux",
|
||||
"Pause": "Pause",
|
||||
"Resume": "Reprise"
|
||||
"Start": "Impression"
|
||||
}
|
||||
}
|
||||
+788
-444
File diff suppressed because it is too large.
Load diff
+75
-21
@@ -32,12 +32,37 @@
|
||||
"TopCornerMenu": {
|
||||
"HostControl": "Controllo dell'host",
|
||||
"KlipperControl": "Controllo di Klipper",
|
||||
"KlipperFirmwareRestart": "Riavvio del FIRMWARE",
|
||||
"KlipperFirmwareRestart": "Riavvia firmware",
|
||||
"KlipperRestart": "Riavvia",
|
||||
"PowerDevices": "Dispositivi",
|
||||
"Reboot": "Riavvio",
|
||||
"Shutdown": "Arresta",
|
||||
"ServiceControl": "Controllo Servizi"
|
||||
"ServiceControl": "Controllo Servizi",
|
||||
"Cancel": "Cancella",
|
||||
"Restart": "Riavvia",
|
||||
"Start": "Avvia",
|
||||
"Stop": "Ferma",
|
||||
"ConfirmationDialog": {
|
||||
"Description": {
|
||||
"HostReboot": "Se riavvii l'host ora, la stampa corrente fallirà.",
|
||||
"HostShutdown": "Se spegni l'host ora, la stampa corrente fallirà.",
|
||||
"KlipperFirmwareRestart": "Se riavvii il firmware di Klipper ora, la stampa corrente fallirà.",
|
||||
"KlipperRestart": "Se riavvii Klipper ora, la stampa corrente fallirà.",
|
||||
"KlipperStop": "Se arresti Klipper ora, la stampa corrente fallirà.",
|
||||
"ServiceRestart": "Se riavvii questo servizio ora, rischi molto probabilmente un fallimento della tua attuale stampa.",
|
||||
"ServiceStart": "Se avvii questo servizio ora, rischi molto probabilmente un fallimento della tua attuale stampa.",
|
||||
"ServiceStop": "Se fermi questo servizio ora, rischi molto probabilmente un fallimento della tua attuale stampa."
|
||||
},
|
||||
"Title": {
|
||||
"HostReboot": "Riavvia host",
|
||||
"HostShutdown": "Arresto host",
|
||||
"KlipperFirmwareRestart": "Riavvia firmware di klipper",
|
||||
"KlipperRestart": "Riavvia klipper",
|
||||
"ServiceRestart": "Riavvia servizio",
|
||||
"ServiceStart": "Avvia servizio",
|
||||
"ServiceStop": "Ferma servizio"
|
||||
}
|
||||
}
|
||||
},
|
||||
"UpdateDialog": {
|
||||
"Close": "Chiudi",
|
||||
@@ -60,7 +85,8 @@
|
||||
"Empty": "Vuoto",
|
||||
"HideTemperatures": "Nascondi temperature",
|
||||
"SendCode": "Invia codice...",
|
||||
"SetupConsole": "Impostazione Console"
|
||||
"SetupConsole": "Impostazione Console",
|
||||
"HideTimelapse": "Nascondi Timelapse"
|
||||
},
|
||||
"Editor": {
|
||||
"ConfigReference": "Configurazione di Riferimento",
|
||||
@@ -75,7 +101,8 @@
|
||||
"DontSave": "Non salvare",
|
||||
"UnsavedChanges": "Modifiche non salvate",
|
||||
"UnsavedChangesMessage": "Vuoi salvare le modifiche apportate a {filename}?",
|
||||
"UnsavedChangesSubMessage": "Le tue modifiche andranno perse se non le salvi. Puoi disabilitare questo messaggio nelle impostazioni dell'editor."
|
||||
"UnsavedChangesSubMessage": "Le tue modifiche andranno perse se non le salvi. Puoi disabilitare questo messaggio nelle impostazioni dell'editor.",
|
||||
"FileReadOnly": "read-only"
|
||||
},
|
||||
"Files": {
|
||||
"AllFiles": "Tutto",
|
||||
@@ -129,7 +156,8 @@
|
||||
"AddToQueue": "Aggiungi alla coda",
|
||||
"Filament": "Filamento",
|
||||
"StartPrint": "Avvia stampa",
|
||||
"View3D": "Vedi 3D"
|
||||
"View3D": "Vedi 3D",
|
||||
"WrongFileUploaded": "Il caricamento è stato rifiutato per {filename}. Formato file sbagliato!"
|
||||
},
|
||||
"Heightmap": {
|
||||
"Abort": "interrompi",
|
||||
@@ -267,7 +295,8 @@
|
||||
"Memory": "Memoria",
|
||||
"Os": "SO",
|
||||
"SystemLoad": "Carichi di Sistema",
|
||||
"Version": "Versione"
|
||||
"Version": "Versione",
|
||||
"Distro": "Distro"
|
||||
},
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Verifica aggiornamenti",
|
||||
@@ -289,7 +318,8 @@
|
||||
"CommittedHoursAgo": "committed {hours} hours ago",
|
||||
"CommittedOnDate": "committed on {date}",
|
||||
"CommittedYesterday": "committed yesterday",
|
||||
"UpdateAll": "Aggiorna tutti i componenti"
|
||||
"UpdateAll": "Aggiorna tutti i componenti",
|
||||
"CommitsAvailabe": "no commits available | {count} commit available | {count} commits available"
|
||||
}
|
||||
},
|
||||
"Panels": {
|
||||
@@ -311,7 +341,8 @@
|
||||
"X": "X",
|
||||
"Y": "Y",
|
||||
"Z": "Z",
|
||||
"ZTilt": "Inclinazione Z"
|
||||
"ZTilt": "Inclinazione Z",
|
||||
"HotendTooCold": "Temp. hotend più bassa di"
|
||||
},
|
||||
"FarmPrinterPanel": {
|
||||
"SwitchToPrinter": "Passa alla Stampante",
|
||||
@@ -339,7 +370,8 @@
|
||||
"Headline": "Console",
|
||||
"HideTemperatures": "Nascondi Temperature",
|
||||
"SendCode": "Invia codice...",
|
||||
"SetupConsole": "Impostazioni Console"
|
||||
"SetupConsole": "Impostazioni Console",
|
||||
"HideTimelapse": "Nascondi Timelapse"
|
||||
},
|
||||
"MiscellaneousPanel": {
|
||||
"Headline": "Miscellanea",
|
||||
@@ -473,7 +505,14 @@
|
||||
"Deceleration": "Decelerazione",
|
||||
"Motion": "Movimento",
|
||||
"SquareCornerVelocity": "Velocità Angolo Retto",
|
||||
"Velocity": "Velocità"
|
||||
"Velocity": "Velocità",
|
||||
"MaxAccelToDecel": "Max Accel. a Decel."
|
||||
},
|
||||
"PressureAdvanceSettings": {
|
||||
"Advance": "Advance",
|
||||
"Extruder": "Estrusore",
|
||||
"PressureAdvance": "Pressure Advance",
|
||||
"SmoothTime": "Smooth Time"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -524,7 +563,8 @@
|
||||
"UpdateButton": "Aggiorna filtro",
|
||||
"EntryStyle": "Entry-Design",
|
||||
"EntryStyleCompact": "compatto",
|
||||
"EntryStyleDefault": "default"
|
||||
"EntryStyleDefault": "default",
|
||||
"HideTimelapse": "Nascondi Timelapse"
|
||||
},
|
||||
"ControlTab": {
|
||||
"Control": "Controllo",
|
||||
@@ -561,16 +601,20 @@
|
||||
"CalcEstimateTimeDescription": "Se più di uno è selezionato, sarà calcolata la media",
|
||||
"CalcEtaTime": "Calcolo ETA",
|
||||
"CalcEtaTimeDescription": "Se più di uno è selezionato, sarà calcolata la media",
|
||||
"DbGeneral": "Generale",
|
||||
"DbHistoryJobs": "Cronologia Lavori",
|
||||
"DbHistoryTotals": "Cronologia Totali",
|
||||
"DbMacrogroups": "Macrogruppi",
|
||||
"DbPresets": "Preset",
|
||||
"DbRemoteprinters": "Stampantiremote",
|
||||
"DbWebcams": "Webcam",
|
||||
"FactoryDialog": "Seleziona tutte le sezioni che vuoi reimpostare:",
|
||||
"Reset": "reimposta",
|
||||
"DbTimelapseSettings": "Impostazioni Timelapse"
|
||||
"DbTimelapseSettings": "Impostazioni Timelapse",
|
||||
"Backup": "Backup",
|
||||
"BackupDialog": "Selezione tutte le sezioni per cui vuoi creare un backup:",
|
||||
"CannotReadJson": "Impossibile leggere il file di backup.",
|
||||
"DbConsoleHistory": "Cronologia Console",
|
||||
"DbView": "Vedi Impostazioni ",
|
||||
"MoonrakerDb": "Moonraker DB",
|
||||
"Restore": "Ripristina",
|
||||
"RestoreDialog": "Seleziona tutte le sezioni che vuoi ripristinare:"
|
||||
},
|
||||
"InterfaceSettings": "Impostazioni dell'Interfaccia",
|
||||
"MacrosTab": {
|
||||
@@ -606,7 +650,8 @@
|
||||
"Status": "Stato",
|
||||
"Success": "successo",
|
||||
"UnknownGroup": "Gruppo Sconosciuto",
|
||||
"Warning": "attenzione"
|
||||
"Warning": "attenzione",
|
||||
"Group": "Gruppo"
|
||||
},
|
||||
"PresetsTab": {
|
||||
"AddPreset": "aggiungi preset",
|
||||
@@ -656,8 +701,8 @@
|
||||
"ConstantRateFactorDescription": "Questo configura la qualità vs grandezza del video. Il raggio della scala del CRF è 0-51, dove 0 è lossless, 23 è il default e 51 è la qualità peggiore possibile. Un valore più basso porta generalmente ad una qualità maggiore e un raggio consigliato è di 17-28. Considera 17 o 18 come visualmente lossless.",
|
||||
"Enabled": "Abilitato",
|
||||
"EnabledDescription": "Se disabilitato, le macro gcode sono ignorate e autorender è ignorato.",
|
||||
"UnretractDistance": "Distanza Estrusione",
|
||||
"UnretractSpeed": "Velocità Estrusione",
|
||||
"UnretractDistance": "Distanza Ri-estrusione",
|
||||
"UnretractSpeed": "Velocità Ri-estrusione",
|
||||
"Extraoutputparams": "Parametrioutputextra",
|
||||
"ExtraoutputparamsDescription": "Definisce output aggiuntivi a FFMPEG. Nota: Specificare qualsiasi cosa qui disabiliterà l'impostazione di rotazione",
|
||||
"GcodeVerbose": "VerbosoGcode",
|
||||
@@ -701,7 +746,16 @@
|
||||
"VariableFpsMax": "FPS Variabili max",
|
||||
"VariableFpsMin": "FPS Variabili min",
|
||||
"duplicatelastframe": "duplicaultimoframe",
|
||||
"duplicatelastframeDescription": "Duplica l'ultimo frame alla fine del video"
|
||||
"duplicatelastframeDescription": "Duplica l'ultimo frame alla fine del video",
|
||||
"RetractSpeedDescription": "Velocità alla quale l'estrusore retrae il filamento.",
|
||||
"UnretractDistanceDescription": "La lunghezza di filamento che l'estrusore ri-estrude dopo una retrazione.",
|
||||
"UnretractSpeedDescription": "Velocità alla quale l'estrusore ri-estrude dopo una retrazione.",
|
||||
"ParkTime": "Tempo Parcheggio",
|
||||
"ParkTimeDescription": "Aggiungi tempo extra durante il parcheggio.",
|
||||
"StreamDelayCompensation": "Compensazione Ritardo Stream",
|
||||
"StreamDelayCompensationDescription": "Ritarda cattura frame",
|
||||
"FwRetract": "Retrazione FW",
|
||||
"FwRetractDescription": "Usa la retrazione firmware nella macro timelapse"
|
||||
},
|
||||
"UiSettingsTab": {
|
||||
"BoolBigThumbnail": "Grande anteprima",
|
||||
@@ -801,7 +855,7 @@
|
||||
"JobQueue": "Coda dei lavori",
|
||||
"Jobs": "Lavori",
|
||||
"Pause": "Pausa",
|
||||
"Resume": "Riprendi"
|
||||
"Start": "Avvia"
|
||||
},
|
||||
"PowerDeviceChangeDialog": {
|
||||
"AreYouSure": "Sei sicuro?",
|
||||
|
||||
+61
-14
@@ -30,14 +30,39 @@
|
||||
"Uploading": "Uploaden"
|
||||
},
|
||||
"TopCornerMenu": {
|
||||
"Cancel": "Annuleer",
|
||||
"ConfirmationDialog": {
|
||||
"Description": {
|
||||
"HostReboot": "Wanneer je nu de host reboot, zal de huidige print mislukken.",
|
||||
"HostShutdown": "Wanneer je nu de host afsluit, zal de huidige print mislukken.",
|
||||
"KlipperFirmwareRestart": "Wanneer je nu de Klipper firmware herstart, zal de huidige print mislukken.",
|
||||
"KlipperRestart": "Wanneer je nu Klipper herstart, zal de huidige print mislukken.",
|
||||
"KlipperStop": "Wanneer je nu Klipper stopt, zal de huidige print mislukken.",
|
||||
"ServiceRestart": "Wanneer je nu deze service herstart, is de kans groot dat de huidige print zal mislukken.",
|
||||
"ServiceStart": "Wanneer je nu deze service start, is de kans groot dat de huidige print zal mislukken.",
|
||||
"ServiceStop": "Wanneer je nu deze service stopt, is de kans groot dat de huidige print zal mislukken."
|
||||
},
|
||||
"Title": {
|
||||
"HostReboot": "Host reboot",
|
||||
"HostShutdown": "Host afsluiten",
|
||||
"KlipperFirmwareRestart": "Klipper firmware herstarten",
|
||||
"KlipperRestart": "Klipper herstarten",
|
||||
"ServiceRestart": "Service herstarten",
|
||||
"ServiceStart": "Service starten",
|
||||
"ServiceStop": "Service stoppen"
|
||||
}
|
||||
},
|
||||
"HostControl": "Host Beheer",
|
||||
"KlipperControl": "Klipper Beheer",
|
||||
"KlipperFirmwareRestart": "FIRMWARE herstart",
|
||||
"KlipperRestart": "Herstart",
|
||||
"PowerDevices": "Power Apparaten",
|
||||
"Reboot": "Opnieuw opstarten",
|
||||
"Restart": "Herstart",
|
||||
"ServiceControl": "Services Beheer",
|
||||
"Shutdown": "Afsluiten"
|
||||
"Shutdown": "Afsluiten",
|
||||
"Start": "Start",
|
||||
"Stop": "Stop"
|
||||
},
|
||||
"UpdateDialog": {
|
||||
"Close": "Sluiten",
|
||||
@@ -69,6 +94,7 @@
|
||||
"DontSave": "Sla niet op",
|
||||
"Downloading": "Downloaden",
|
||||
"FailedSave": "{filename} kon niet worden geupload!",
|
||||
"FileReadOnly": "alleen-lezen",
|
||||
"Minimap": "Toon minimap",
|
||||
"SaveClose": "Bewaar & sluiten",
|
||||
"SaveRestart": "Bewaar & herstart",
|
||||
@@ -136,7 +162,8 @@
|
||||
"UploadNewGcode": "Upload nieuwe G-Code",
|
||||
"Uploading": "Uploaden",
|
||||
"Used": "Gebruikt",
|
||||
"View3D": "Bekijk in 3D"
|
||||
"View3D": "Bekijk in 3D",
|
||||
"WrongFileUploaded": "Upload is gewijgerd voor {filename}. Verkeerd bestandsformaat!"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Leeg",
|
||||
@@ -252,7 +279,7 @@
|
||||
"JobQueue": "Job wachtrij",
|
||||
"Jobs": "Jobs",
|
||||
"Pause": "Pauze",
|
||||
"Resume": "Hervatten"
|
||||
"Start": "Start"
|
||||
},
|
||||
"Machine": {
|
||||
"ConfigFilesPanel": {
|
||||
@@ -301,6 +328,7 @@
|
||||
"SystemPanel": {
|
||||
"Awake": "Wakker",
|
||||
"Constants": "Constanten",
|
||||
"Distro": "Distributie",
|
||||
"Frequency": "Freq",
|
||||
"HostDetails": "Host details",
|
||||
"LastStats": "Laatste statistieken",
|
||||
@@ -344,6 +372,7 @@
|
||||
"FeedrateIn": "Feedsnelheid in",
|
||||
"Headline": "Bediening",
|
||||
"Home": "Home",
|
||||
"HotendTooCold": "Hotend temp. lager dan",
|
||||
"InvertX": "Inverteer X",
|
||||
"InvertY": "Inverteer Y",
|
||||
"InvertZ": "Inverteer Z",
|
||||
@@ -393,9 +422,16 @@
|
||||
"MotionSettings": {
|
||||
"Acceleration": "Acceleratie",
|
||||
"Deceleration": "Vertraging",
|
||||
"MaxAccelToDecel": "Max Accel. naar Decel.",
|
||||
"Motion": "Beweging",
|
||||
"SquareCornerVelocity": "Hoeksnelheid (SCV)",
|
||||
"Velocity": "Snelheid"
|
||||
},
|
||||
"PressureAdvanceSettings": {
|
||||
"Advance": "Advance",
|
||||
"Extruder": "Extruder",
|
||||
"PressureAdvance": "Pressure Advance",
|
||||
"SmoothTime": "Smooth Time"
|
||||
}
|
||||
},
|
||||
"MacrosPanel": {
|
||||
@@ -601,6 +637,7 @@
|
||||
"EntryStyleDefault": "standaard",
|
||||
"Height": "Hoogte",
|
||||
"HideTemperatures": "Verberg temperaturen",
|
||||
"HideTimelapse": "Verberg Timelapse",
|
||||
"Name": "Naam",
|
||||
"Regex": "Regex",
|
||||
"StoreButton": "Sla filter op",
|
||||
@@ -649,24 +686,28 @@
|
||||
"ShowAxes": "Toon Assen"
|
||||
},
|
||||
"GeneralTab": {
|
||||
"Backup": "Backup",
|
||||
"BackupDialog": "Selecteer alle secties waarvan je een backup wilt maken:",
|
||||
"CalcEstimateTime": "Bereken geschatte tijd",
|
||||
"CalcEstimateTimeDescription": "Als meerdere geselecteerd zijn, wordt het gemiddelde berekend",
|
||||
"CalcEtaTime": "ETA berekening",
|
||||
"CalcEtaTimeDescription": "Als meerdere geselecteerd zijn, wordt het gemiddelde berekend",
|
||||
"DbGeneral": "Algemeen",
|
||||
"CannotReadJson": "Kan het backup bestand niet lezen/verwerken. ",
|
||||
"DbConsoleHistory": "Console Geschiedenis",
|
||||
"DbHistoryJobs": "Geschiedenis Jobs",
|
||||
"DbHistoryTotals": "Geschiedenis Totalen",
|
||||
"DbMacrogroups": "Macro groepen",
|
||||
"DbPresets": "Voorinstellingen",
|
||||
"DbRemoteprinters": "Printers op afstand",
|
||||
"DbTimelapseSettings": "Timelapse Instellingen",
|
||||
"DbView": "Weergaveinstellingen",
|
||||
"DbWebcams": "Webcams",
|
||||
"FactoryDialog": "Selecteer de secties die je wil resetten:",
|
||||
"FactoryReset": "Herstel naar fabrieksinstellingen",
|
||||
"General": "Algemeen",
|
||||
"Language": "Taal",
|
||||
"MoonrakerDb": "Moonraker DB",
|
||||
"PrinterName": "Printer naam",
|
||||
"Reset": "reset"
|
||||
"Reset": "reset",
|
||||
"Restore": "Herstellen",
|
||||
"RestoreDialog": "Kies alle secties die je wil herstellen:"
|
||||
},
|
||||
"InterfaceSettings": "Interface Instellingen",
|
||||
"MacrosTab": {
|
||||
@@ -738,6 +779,8 @@
|
||||
"EnabledDescription": "Indien uitgeschakeld, worden gcode macros genegeerd en autorender overgeslagen.",
|
||||
"Extraoutputparams": "Extraoutputparams",
|
||||
"ExtraoutputparamsDescription": "Definieert extra parameters voor FFMPEG. Note: Alles wat hier wordt toegevoegd zal de rotatie instelling ongedaan maken",
|
||||
"FwRetract": "Firmware Retractie",
|
||||
"FwRetractDescription": "Gebruik firmware retractie in de timelapse macro",
|
||||
"GcodeVerbose": "GcodeVerbose",
|
||||
"GcodeVerboseDescription": "Indien ingeschakeld, kunnen Gcode macros informatie in de console tonen",
|
||||
"General": "Algemeen",
|
||||
@@ -747,6 +790,8 @@
|
||||
"ModeDescription": "Kies tussen Layermacro en Hyperlapse (tijd gebaseerde) modus",
|
||||
"OutputFramerate": "Uitvoer Framerate",
|
||||
"OutputFramerateDescription": "Definieert de framerate van de video. Note: dit wordt genegeerd wanneer variable_fps is ingeschakeld",
|
||||
"ParkTime": "Parkeerduur",
|
||||
"ParkTimeDescription": "Voeg extra tijd toe bij het parkeren.",
|
||||
"Parkhead": "Parkhead",
|
||||
"ParkheadDescription": "Indien ingeschakeld, wordt de printkop geparkeerd voor een foto te nemen.",
|
||||
"Parkpos": "Parkeer postitie",
|
||||
@@ -763,11 +808,13 @@
|
||||
"PreviewImageDescription": "Sla een voorbeeld afbeelding op met dezelfde naam als de video",
|
||||
"RenderingOptions": "Rendering opties",
|
||||
"RetractDistance": "Retractie Afstand",
|
||||
"RetractDistanceDescription": "",
|
||||
"RetractDistanceDescription": "De lengte filament die de extruder terugtrekt.",
|
||||
"RetractSpeed": "Retractie Snelheid",
|
||||
"RetractSpeedDescription": "",
|
||||
"RetractSpeedDescription": "Snelheid waarmee de extruder het filament terugtrekt.",
|
||||
"SaveFrames": "Sla frames op",
|
||||
"SaveFramesDescription": "Sla de frames op in een zip-bestand voor externe rendering",
|
||||
"StreamDelayCompensation": "Stream Delay Compensatie",
|
||||
"StreamDelayCompensationDescription": "Vertraag de beeldopname.",
|
||||
"Targetlength": "Doel lengte",
|
||||
"TargetlengthDescription": "De beoogde lengte wanneer variabele FPS is ingeschakeld",
|
||||
"TimeFormatCode": "Tijd Format Code",
|
||||
@@ -775,10 +822,10 @@
|
||||
"Timelapse": "Timelapse",
|
||||
"TravelSpeed": "Bewegingssnelheid",
|
||||
"TravelSpeedDescription": "Bewegingssnelheid tijdens het bewegen van en naar de parkeerpositie",
|
||||
"UnretractDistance": "",
|
||||
"UnretractDistanceDescription": "",
|
||||
"UnretractSpeed": "",
|
||||
"UnretractSpeedDescription": "",
|
||||
"UnretractDistance": "Deretactie lengte",
|
||||
"UnretractDistanceDescription": "De lengte van het filament dat de extruder terug voert na een retractie.",
|
||||
"UnretractSpeed": "Untretract Snelheid",
|
||||
"UnretractSpeedDescription": "De snelheid waarmee het filament teruggevoerd wordt door de extruder na een retractie.",
|
||||
"VariableFps": "Variabele FPS",
|
||||
"VariableFpsDescription": "Indien ingeschakeld, wordt de framerate van de video berekend op basis van de beoogde lengte",
|
||||
"VariableFpsMax": "Variabele FPS max",
|
||||
|
||||
+364
-74
@@ -36,8 +36,8 @@
|
||||
"KlipperRestart": "Перезапустить",
|
||||
"PowerDevices": "Силовые устройства",
|
||||
"Reboot": "Перезагрузка",
|
||||
"RestartServices": "Перезапуск служб",
|
||||
"Shutdown": "Выключение"
|
||||
"Shutdown": "Выключение",
|
||||
"ServiceControl": "Контроль обслуживания"
|
||||
},
|
||||
"UpdateDialog": {
|
||||
"Recovering": "Восстановление",
|
||||
@@ -53,7 +53,8 @@
|
||||
"HideTemperatures": "Скрытые температуры",
|
||||
"SendCode": "Отправьте код...",
|
||||
"SetupConsole": "Мебельная консоль",
|
||||
"CommandList": "Список команд"
|
||||
"CommandList": "Список команд",
|
||||
"HideTimelapse": "Скрыть таймлапс"
|
||||
},
|
||||
"Editor": {
|
||||
"Minimap": "Показать минимум",
|
||||
@@ -63,7 +64,12 @@
|
||||
"SaveClose": "Сохранить и закрыть",
|
||||
"SaveRestart": "Сохранить и перезапустить",
|
||||
"SuccessfullySaved": "{filename} успешно сохранено.",
|
||||
"Uploading": "Загрузка"
|
||||
"Uploading": "Загрузка",
|
||||
"Cancel": "Отмена",
|
||||
"DontSave": "Не сохранять",
|
||||
"UnsavedChanges": "Несохраненные изменения",
|
||||
"UnsavedChangesMessage": "Хотите ли вы сохранить изменения в {filename}?",
|
||||
"UnsavedChangesSubMessage": "Ваши изменения будут потеряны, если вы их не сохраните. Вы можете отключить это сообщение в настройках редактора."
|
||||
},
|
||||
"Files": {
|
||||
"AllFiles": "Все",
|
||||
@@ -87,9 +93,7 @@
|
||||
"LayerHeight": "Высота слоя",
|
||||
"Name": "Имя",
|
||||
"NewDirectory": "Новый каталог",
|
||||
"No": "Нет",
|
||||
"ObjectHeight": "Высота объекта",
|
||||
"PleaseEnterANewDirectoryName": "Пожалуйста, введите новое имя каталога: ",
|
||||
"Preheat": "Предварительный подогрев",
|
||||
"PrintStart": "Печать",
|
||||
"PrintTime": "Время печати",
|
||||
@@ -106,7 +110,6 @@
|
||||
"UploadNewGcode": "Загрузить новый Gcode",
|
||||
"Uploading": "Загрузить",
|
||||
"Used": "Использует: ",
|
||||
"Yes": "Да",
|
||||
"DeleteDirectory": "Удалить каталог",
|
||||
"DeleteDirectoryQuestion": "Вы действительно хотите удалить каталог \"{name}\" со всем его содержимым?",
|
||||
"DoYouWantToStartFilename": "Вы хотите начать {filename}?",
|
||||
@@ -116,7 +119,11 @@
|
||||
"SuccessfullyDeleted": "Успешно удалено {filename}.",
|
||||
"SuccessfullyMoved": "Успешное перемещение {filename}.",
|
||||
"SuccessfullyRenamed": "Успешное переименование {filename}.",
|
||||
"SuccessfullyUploaded": "Загрузка {filename} успешна!"
|
||||
"SuccessfullyUploaded": "Загрузка {filename} успешна!",
|
||||
"AddToQueue": "Добавить в очередь заданий",
|
||||
"Filament": "Филамент",
|
||||
"StartPrint": "Druck starten",
|
||||
"View3D": "3D просмотр"
|
||||
},
|
||||
"Heightmap": {
|
||||
"Abort": "Отменить",
|
||||
@@ -143,7 +150,16 @@
|
||||
"ErrorKlipperNotReady": "Клиппер не готов. Карта высот отключена.",
|
||||
"Flat": "Плоский",
|
||||
"NoProfile": "Профиль отсутствует",
|
||||
"Wireframe": "Каркас"
|
||||
"Wireframe": "Каркас",
|
||||
"BedMeshRemove": "Удалить сетку кровати",
|
||||
"CurrentMesh": {
|
||||
"Headline": "Текущая сетка",
|
||||
"Max": "Макс",
|
||||
"Min": "Мин",
|
||||
"Name": "Имя",
|
||||
"Size": "Размер",
|
||||
"Variance": "Отклонение"
|
||||
}
|
||||
},
|
||||
"History": {
|
||||
"AllJobs": "весь",
|
||||
@@ -217,7 +233,8 @@
|
||||
},
|
||||
"FarmPrinterPanel": {
|
||||
"WebcamOff": "Офф",
|
||||
"SwitchToPrinter": "Переключение на принтер"
|
||||
"SwitchToPrinter": "Переключение на принтер",
|
||||
"ReconnectToPrinter": "Подключите"
|
||||
},
|
||||
"KlippyStatePanel": {
|
||||
"FirmwareRestart": "Перезапуск прошивки",
|
||||
@@ -241,7 +258,8 @@
|
||||
"Send": "Отправить",
|
||||
"SendCode": "Отправьте код...",
|
||||
"SetupConsole": "Настройка консоли ",
|
||||
"Headline": "Консоль"
|
||||
"Headline": "Консоль",
|
||||
"HideTimelapse": "Скрыть таймлапс"
|
||||
},
|
||||
"MiscellaneousPanel": {
|
||||
"ExtrusionFactor": "коэффициент экструзии",
|
||||
@@ -276,7 +294,7 @@
|
||||
"Estimate": "Оцените",
|
||||
"Filament": "Филамент",
|
||||
"File": "Файл",
|
||||
"Flow": "Река",
|
||||
"Flow": "Поток",
|
||||
"Layer": "Слой",
|
||||
"Max": "макс.",
|
||||
"ObjectHeight": "Высота объекта",
|
||||
@@ -294,7 +312,14 @@
|
||||
"Y": "Y",
|
||||
"Z": "Z",
|
||||
"Headline": "Статус",
|
||||
"Requested": "Запрошено"
|
||||
"Requested": "Запрошено",
|
||||
"ExcludeObject": {
|
||||
"Cancel": "Отмена",
|
||||
"ExcludeObject": "Исключить объект",
|
||||
"ExcludeObjectHeadline": "Objekt ausschließen",
|
||||
"ExcludeObjectText": "Вы действительно хотите исключить \"{name}\"?",
|
||||
"Excluded": "исключено"
|
||||
}
|
||||
},
|
||||
"ToolsPanel": {
|
||||
"AutoscaleChart": "Автомасштабируемая диаграмма",
|
||||
@@ -341,7 +366,8 @@
|
||||
"ZBabyStepping": "Z Смещение"
|
||||
},
|
||||
"MacrosPanel": {
|
||||
"Headline": "Макросы"
|
||||
"Headline": "Макросы",
|
||||
"Send": "отправить"
|
||||
},
|
||||
"MoonrakerStatePanel": {
|
||||
"DownloadLog": "Скачать журнал",
|
||||
@@ -366,6 +392,33 @@
|
||||
"SaveInfoHeadline": "Информация",
|
||||
"ToEndstop": "до конечной остановки",
|
||||
"ToProbe": "к зонду"
|
||||
},
|
||||
"DependenciesPanel": {
|
||||
"Dependency": "Зависимость | Зависимости",
|
||||
"DependencyDescription": "Ваша текущая версия {name} не поддерживает все функции Mainsail. Обновите {name} по крайней мере до версии {neededVersion}."
|
||||
},
|
||||
"KlipperWarningsPanel": {
|
||||
"DeprecatedOption": "Опция '{option}' в разделе '{section}' устарела и будет удалена в будущем выпуске.",
|
||||
"DeprecatedValue": "Значение '{value}' в опции '{option}' в секции '{section}' устарело и будет удалено в будущем релизе.",
|
||||
"DownloadLog": "Загрузить файл журнала",
|
||||
"KlipperWarnings": "Предупреждения о клиперах"
|
||||
},
|
||||
"MachineSettingsPanel": {
|
||||
"Headline": "Настройки машины",
|
||||
"FirmwareRetractionSettings": {
|
||||
"FirmwareRetraction": "Отступление от прошивки",
|
||||
"RetractLength": "Длина втягивания",
|
||||
"RetractSpeed": "Скорость втягивания",
|
||||
"UnretractExtraLength": "Дополнительная длина удлинителя",
|
||||
"UnretractSpeed": "Скорость выдвижения"
|
||||
},
|
||||
"MotionSettings": {
|
||||
"Acceleration": "Ускорение",
|
||||
"Deceleration": "Замедление",
|
||||
"Motion": "Движение",
|
||||
"SquareCornerVelocity": "Угловая скорость",
|
||||
"Velocity": "Скорость"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Router": {
|
||||
@@ -376,7 +429,9 @@
|
||||
"History": "Курс",
|
||||
"Machine": "Машина",
|
||||
"Printers": "Принтер",
|
||||
"Webcam": "Веб-камера"
|
||||
"Webcam": "Веб-камера",
|
||||
"G-Code Viewer": "Программа просмотра G-кодов",
|
||||
"Timelapse": "Time-lapse"
|
||||
},
|
||||
"Settings": {
|
||||
"Cancel": "Отмена",
|
||||
@@ -393,11 +448,13 @@
|
||||
"Name": "Имя",
|
||||
"Regex": "Regex",
|
||||
"StoreButton": "Фильтр магазина",
|
||||
"UpdateButton": "Обновление фильтра"
|
||||
"UpdateButton": "Обновление фильтра",
|
||||
"EntryStyleCompact": "компактный",
|
||||
"EntryStyleDefault": "стандарт",
|
||||
"EntryStyle": "Стиль записей"
|
||||
},
|
||||
"ControlTab": {
|
||||
"Control": "Контроль",
|
||||
"EnableCross": "Разрешить движение крестом",
|
||||
"InvertXMovement": "Инвертировать движение X",
|
||||
"InvertYMovement": "Инвертирование движения Y",
|
||||
"InvertZMovement": "Инвертировать движение Z",
|
||||
@@ -407,27 +464,65 @@
|
||||
"MoveDistancesZInMm": "Расстояние перемещения Z в мм",
|
||||
"SpeedEInMms": "Скорость E в мм/с",
|
||||
"SpeedXY": "Скорость XY",
|
||||
"SpeedZ": "Скорость Z"
|
||||
"SpeedZ": "Скорость Z",
|
||||
"Bars": "Бар",
|
||||
"Circle": "Круг",
|
||||
"Cross": "Крест",
|
||||
"Style": "Стиль"
|
||||
},
|
||||
"Edit": "Редактировать",
|
||||
"GeneralTab": {
|
||||
"BoolBigThumbnail": "Большая миниатюра",
|
||||
"BoolBigThumbnailDescription": "Отображение большого эскиза на панели состояния во время печати.",
|
||||
"DisplayCANCEL_PRINT": "Отобразить CANCEL_PRINT",
|
||||
"DisplayCANCEL_PRINTDescription": "Показывает кнопку CANCEL_PRINT постоянно - подтверждение второго слоя не требуется.",
|
||||
"DisplayZOffset": "Показать панель со смещением по Z",
|
||||
"DisplayZOffsetDescription": "В противном случае панель появится только после начала печати.",
|
||||
"FactoryInfo": "Вы действительно хотите сбросить настройки грота на заводские?",
|
||||
"FactoryReset": "Заводской сброс",
|
||||
"General": "Общий",
|
||||
"Language": "Язык",
|
||||
"PrinterName": "Имя принтера",
|
||||
"ResetMainsail": "сбросить грот"
|
||||
"CalcEstimateTime": "Расчет расчетного времени",
|
||||
"CalcEstimateTimeDescription": "В случае множественного выбора рассчитывается среднее значение",
|
||||
"CalcEtaTime": "Расчет расчетного времени прибытия",
|
||||
"CalcEtaTimeDescription": "В случае множественного выбора рассчитывается среднее значение",
|
||||
"DbHistoryTotals": "Общий счетчик истории",
|
||||
"DbTimelapseSettings": "Настройки временного интервала",
|
||||
"DbWebcams": "Веб-камеры",
|
||||
"FactoryDialog": "Пожалуйста, выберите все разделы, которые вы хотите сбросить:",
|
||||
"Reset": "сброс",
|
||||
"DbHistoryJobs": "История печати"
|
||||
},
|
||||
"InterfaceSettings": "Настройки интерфейса",
|
||||
"MacrosTab": {
|
||||
"Macros": "Макросы",
|
||||
"NOMacros": "Макросы не найдены..."
|
||||
"NOMacros": "Макросы не найдены...",
|
||||
"Add": "добавить",
|
||||
"AddGroup": "Добавить группу",
|
||||
"AvailableMacros": "Существующие макросы",
|
||||
"ChangeMacroColor": "Измените цвет кнопки.",
|
||||
"Color": "Цвет",
|
||||
"CountMacros": "макросы не добавлены | {count} макрос | {count} макросы",
|
||||
"Custom": "пользовательский",
|
||||
"CustomColor": "Пользовательский цвет",
|
||||
"DeleteMacroFromGroup": "Удалить макрос из группы.",
|
||||
"DeletedMacro": "Макрос удален",
|
||||
"EditGroup": "Редактирование группы",
|
||||
"Error": "Ошибка",
|
||||
"Expert": "Эксперт",
|
||||
"General": "Общий",
|
||||
"GroupMacros": "Групповые макросы",
|
||||
"Macrogroups": "Группы",
|
||||
"Management": "Администрация",
|
||||
"Name": "Имя",
|
||||
"NoAvailableMacros": "Нет доступных макросов.",
|
||||
"NoGroups": "Группы не найдены...",
|
||||
"NoMacrosInGroup": "В этой группе нет макросов.",
|
||||
"Primary": "основной",
|
||||
"Secondary": "вторичный",
|
||||
"ShowInStatePaused": "Показать/скрыть, когда принтер приостановлен.",
|
||||
"ShowInStatePrinting": "Показать/скрыть, когда принтер печатает.",
|
||||
"ShowInStateStandby": "Показать/скрыть, когда принтер находится в режиме ожидания.",
|
||||
"Simple": "Просто",
|
||||
"Status": "Статус",
|
||||
"Success": "Успех",
|
||||
"UnknownGroup": "Неизвестная группа",
|
||||
"Warning": "Предупреждение",
|
||||
"Group": "Группировка макросов"
|
||||
},
|
||||
"PresetsTab": {
|
||||
"AddPreset": "добавление предустановки",
|
||||
@@ -451,41 +546,6 @@
|
||||
"RemotePrinters": "Удаленные принтеры",
|
||||
"UpdatePrinter": "Обновление принтера"
|
||||
},
|
||||
"ThemeTab": {
|
||||
"Logo": "Логотип",
|
||||
"Primary": "Основной",
|
||||
"Theme": "Тема"
|
||||
},
|
||||
"WebcamTab": {
|
||||
"AddWebcam": "добавить веб-камеру",
|
||||
"CreateWebcam": "Создать веб-камеру",
|
||||
"EditWebcam": "Редактирование веб-камерыa",
|
||||
"FlipHorizontally": "Переверните веб-камеру горизонтально",
|
||||
"FlipVertically": "Переверните веб-камеру вертикально",
|
||||
"IconBed": "Кровать",
|
||||
"IconCam": "Кэм",
|
||||
"IconDoor": "Дверь",
|
||||
"IconFilament": "Филамент",
|
||||
"IconHot": "Горячий",
|
||||
"IconMcu": "MCU",
|
||||
"IconNozzle": "Форсунка",
|
||||
"IconPrinter": "Принтер",
|
||||
"Ipstream": "IP-камера",
|
||||
"Mjpegstreamer": "MJPEG-стример",
|
||||
"MjpegstreamerAdaptive": "Адаптивный MJPEG-стример (экспериментальный)",
|
||||
"Name": "Имя",
|
||||
"NameAlreadyExists": "Имя уже существует",
|
||||
"Required": "требуется",
|
||||
"SaveWebcam": "Сохранить веб-камеру",
|
||||
"Service": "Сервис",
|
||||
"ShowInNavigation": "Показать в навигации",
|
||||
"TargetFPS": "Целевой FPS",
|
||||
"UpdateWebcam": "Обновление веб-камеры",
|
||||
"UrlNotAvailable": "URL недоступен",
|
||||
"Uv4lMjpeg": "UV4L-MJPEG",
|
||||
"WebcamURL": "URL веб-камеры",
|
||||
"Webcams": "Веб-камеры"
|
||||
},
|
||||
"DashboardTab": {
|
||||
"Dashboard": "Приборная панель",
|
||||
"Desktop": "Рабочий стол",
|
||||
@@ -493,6 +553,142 @@
|
||||
"ResetLayout": "Сброс макета",
|
||||
"Tablet": "Планшет",
|
||||
"Widescreen": "Широкоэкранный"
|
||||
},
|
||||
"Close": "Закрыть",
|
||||
"EditorTab": {
|
||||
"ConfirmUnsavedChanges": "Предложение сохранить или отменить несохраненные изменения",
|
||||
"ConfirmUnsavedChangesDescription": "Если включено, то для сохранения/отмены несохраненных изменений требуется подтверждение. Если отключено, изменения отбрасываются в фоновом режиме.",
|
||||
"Editor": "Редактор",
|
||||
"UseEscToClose": "Нажмите ESC, чтобы закрыть редактор",
|
||||
"UseEscToCloseDescription": "Позволяет закрыть редактор с помощью ESC."
|
||||
},
|
||||
"GCodeViewerTab": {
|
||||
"BackgroundColor": "Цвет фона",
|
||||
"ExtruderColor": "Цвета экструдера",
|
||||
"GCodeViewer": "Программа просмотра G-кода",
|
||||
"GridColor": "Цвет сетки",
|
||||
"MaxFeed": "Максимальная подача",
|
||||
"MinFeed": "Мин. подача",
|
||||
"ShowAxes": "Показать оси"
|
||||
},
|
||||
"TimelapseTab": {
|
||||
"Autorender": "Авторы",
|
||||
"AutorenderDescription": "Если эта опция активирована, то по окончании процесса печати автоматически выводится таймлапс видео.",
|
||||
"Camera": "Камера",
|
||||
"CameraDescription": "Определяет, какая камера будет использоваться",
|
||||
"ConstantRateFactor": "Коэффициент постоянной ставки",
|
||||
"ConstantRateFactorDescription": "Это настраивает качество в зависимости от размера файла отрендеренного видео. Шкала CRF варьируется от 0-51, где 0 - без потерь, 23 - значение по умолчанию, а 51 - наихудшее возможное качество. Меньшее значение обычно приводит к более высокому качеству, и субъективно разумный диапазон составляет 17-28. 17 или 18 считаются визуально без потерь.",
|
||||
"Enabled": "Активирует",
|
||||
"EnabledDescription": "Если эта опция отключена, макросы G-кода игнорируются, а Autorender пропускается.",
|
||||
"Extraoutputparams": "Дополнительный выходной параметр",
|
||||
"ExtraoutputparamsDescription": "Устанавливает дополнительные параметры вывода для FFMPEG. Примечание: Если вы укажете здесь что-либо, настройка вращения будет отключена.",
|
||||
"GcodeVerbose": "Подробные G-коды",
|
||||
"GcodeVerboseDescription": "Если включено, макросы G-кода записывают информацию в консоль",
|
||||
"General": "Общий",
|
||||
"HyperlapseCycle": "Продолжительность цикла гиперлапса",
|
||||
"HyperlapseCycleDescription": "Снимок делается каждые X секунд",
|
||||
"Mode": "Режим",
|
||||
"ModeDescription": "Выберите между макросъемкой слоя и режимом гиперлапса (с привязкой ко времени)",
|
||||
"OutputFramerate": "Выходная частота кадров",
|
||||
"OutputFramerateDescription": "Определяет частоту кадров видео. Примечание: Этот параметр игнорируется, если включена переменная_fps",
|
||||
"Parkhead": "Печатающая головка Park",
|
||||
"ParkheadDescription": "Если этот параметр включен, печатающая головка паркуется перед получением изображения.",
|
||||
"Parkpos": "Положение в парке",
|
||||
"ParkposDescription": "Выберите положение парка",
|
||||
"Pixelformat": "Формат пикселя",
|
||||
"PixelformatDescription": "Определяет пиксельный формат выходного видео",
|
||||
"PosDZ": "Позиция Z",
|
||||
"PosDZDescription": "Парковочное положение Z (относительное)",
|
||||
"PosX": "Позиция X",
|
||||
"PosXDescription": "Парковочное положение X (абсолютное)",
|
||||
"PosY": "Должность Y",
|
||||
"PosYDescription": "Положение парковки Y (абсолютное)",
|
||||
"PreviewImage": "Изображение для предварительного просмотра",
|
||||
"PreviewImageDescription": "Сохраняет миниатюру с тем же именем, что и видео.",
|
||||
"RenderingOptions": "Параметры рендеринга",
|
||||
"RetractDistance": "Длина втягивания",
|
||||
"RetractSpeed": "Скорость втягивания",
|
||||
"SaveFrames": "Сохранить изображения",
|
||||
"SaveFramesDescription": "Сохранение изображений в zip-файле для внешнего рендеринга",
|
||||
"Targetlength": "Целевая продолжительность",
|
||||
"TargetlengthDescription": "Длительность цели при активации переменного FPS",
|
||||
"TimeFormatCode": "Код формата времени",
|
||||
"TimeFormatCodeDescription": "Определяет, как метка времени должна быть закодирована в выходном файле",
|
||||
"Timelapse": "Time-lapse",
|
||||
"TravelSpeed": "Быстрая скорость перемещения",
|
||||
"TravelSpeedDescription": "Быстрая скорость перемещения для перехода в парковочное положение и возобновления печати",
|
||||
"VariableFps": "Переменный FPS",
|
||||
"VariableFpsDescription": "Если эта опция активирована, частота кадров выходного видео рассчитывается на основе целевой длительности.",
|
||||
"VariableFpsMax": "Макс. Переменный FPS",
|
||||
"VariableFpsMin": "Мин. переменная FPS",
|
||||
"duplicatelastframe": "Дублирование последнего изображения",
|
||||
"duplicatelastframeDescription": "Дублирует последнее изображение в конце видеоролика",
|
||||
"RetractSpeedDescription": "Скорость, с которой экструдер втягивает нить.",
|
||||
"RetractDistanceDescription": "Длина нити, которую втягивает экструдер.",
|
||||
"UnretractSpeed": "Скорость втягивания",
|
||||
"UnretractSpeedDescription": "Скорость, с которой экструдер продвигает нить после втягивания.",
|
||||
"UnretractDistance": "Расстояние расцепления",
|
||||
"UnretractDistanceDescription": "Длина нити, которую экструдер продвигает после обратного рывка.",
|
||||
"VariableFpsMinDescription": "Минимальное количество IPS в переменном режиме.",
|
||||
"VariableFpsMaxDescription": "Максимальное количество IPS в переменном режиме."
|
||||
},
|
||||
"UiSettingsTab": {
|
||||
"BoolBigThumbnail": "Большие эскизы",
|
||||
"BoolBigThumbnailDescription": "Отображение большого эскиза на экране состояния во время печати.",
|
||||
"BoolHideUploadAndPrintButton": "Скрыть кнопку \"Загрузить и распечатать\"",
|
||||
"BoolHideUploadAndPrintButtonDescription": "Скрыть или показать кнопку \"Загрузка и печать\" в строке заголовка.",
|
||||
"ConfirmOnEmergencyStop": "Требуется подтверждение для аварийной остановки",
|
||||
"ConfirmOnEmergencyStopDescription": "Показать диалог подтверждения перед аварийной остановкой.",
|
||||
"ConfirmOnPowerDeviceChange": "Подтверждение для изменения питания устройств",
|
||||
"ConfirmOnPowerDeviceChangeDescription": "Отображение диалога подтверждения перед изменением питания устройств.",
|
||||
"DisplayCANCEL_PRINT": "Показать CANCEL_PRINT",
|
||||
"DisplayCANCEL_PRINTDescription": "Отображает кнопку CANCEL_PRINT постоянно - дальнейшее подтверждение не требуется.",
|
||||
"DisplayZOffset": "Показать панель Z-смещения",
|
||||
"DisplayZOffsetDescription": "В противном случае панель управления отображается только после запуска печати.",
|
||||
"GcodeThumbnails": "Эскизы G-кода",
|
||||
"GcodeThumbnailsDescription": "Нажмите на кнопку, чтобы перейти к руководству.",
|
||||
"Guide": "Руководство",
|
||||
"LockSliders": "Блокировка слайдера на устройствах с сенсорным экраном",
|
||||
"LockSlidersDelay": "Задержка блокировки ползунка",
|
||||
"LockSlidersDelayDescription": "Ползунки блокируются после определенной задержки. Если 0 или пусто, то ползунки блокируются только после изменения/перезагрузки страницы.",
|
||||
"LockSlidersDescription": "Перед внесением изменений ползунки должны быть сначала разблокированы.",
|
||||
"Logo": "Логотип",
|
||||
"NavigationStyle": "Стиль навигации",
|
||||
"NavigationStyleDescription": "Изменение внешнего вида навигации",
|
||||
"NavigationStyleIconsAndText": "Иконки + текст",
|
||||
"NavigationStyleIconsOnly": "Только значки",
|
||||
"Primary": "Основной цвет",
|
||||
"ShowWebcamInNavigation": "Показать веб-камеру в навигации",
|
||||
"UiSettings": "Настройки пользовательского интерфейса"
|
||||
},
|
||||
"WebcamsTab": {
|
||||
"AddWebcam": "Добавить веб-камеру",
|
||||
"CreateWebcam": "Создать веб-камеру",
|
||||
"EditWebcam": "Редактирование веб-камеры",
|
||||
"FlipHorizontally": "Зеркальное отображение веб-камеры по горизонтали",
|
||||
"FlipVertically": "Зеркальная веб-камера в вертикальном положении",
|
||||
"IconBed": "Кровать",
|
||||
"IconCam": "Камера",
|
||||
"IconDoor": "Дверь",
|
||||
"IconFilament": "Филамент",
|
||||
"IconHot": "Горячий",
|
||||
"IconMcu": "MCU",
|
||||
"IconNozzle": "Форсунка",
|
||||
"IconPrinter": "Принтер",
|
||||
"Ipstream": "IP-камера",
|
||||
"Mjpegstreamer": "MJPEG стример",
|
||||
"MjpegstreamerAdaptive": "Адаптивный стример MJPEG (экспериментальный)",
|
||||
"Name": "Имя",
|
||||
"NameAlreadyExists": "Имя уже существует",
|
||||
"Required": "нуждается в",
|
||||
"SaveWebcam": "Сохранить веб-камеру",
|
||||
"Service": "Сервис",
|
||||
"TargetFPS": "Целевой FPS",
|
||||
"UpdateWebcam": "Обновление веб-камеры",
|
||||
"UrlSnapshot": "URL моментального снимка",
|
||||
"UrlStream": "URL потока",
|
||||
"Uv4lMjpeg": "UV4L-MJPEG",
|
||||
"Webcams": "Веб-камеры"
|
||||
}
|
||||
},
|
||||
"title": "Pусский",
|
||||
@@ -525,7 +721,6 @@
|
||||
"HiddenFiles": "Скрытые файлы",
|
||||
"LastModified": "Последнее изменение",
|
||||
"Name": "Имя",
|
||||
"PleaseStandBy": "Пожалуйста, будьте готовы",
|
||||
"RefreshDirectory": "Обновить каталог",
|
||||
"Rename": "Переименовать",
|
||||
"RenameDirectory": "Переименовать каталог",
|
||||
@@ -535,7 +730,8 @@
|
||||
"Total": "Всего",
|
||||
"UploadFile": "Загрузить файл",
|
||||
"Uploading": "Загрузка",
|
||||
"Used": "Используется"
|
||||
"Used": "Используется",
|
||||
"HideBackupFiles": "Скрыть файлы резервного копирования"
|
||||
},
|
||||
"EndstopPanel": {
|
||||
"Endstop": "Концевой упор",
|
||||
@@ -544,13 +740,6 @@
|
||||
"TRIGGERED": "ПЕРЕДАНО",
|
||||
"open": "ОТКРЫТЬ"
|
||||
},
|
||||
"LimitsPanel": {
|
||||
"Acceleration": "Ускорение",
|
||||
"Deceleration": "Замедление",
|
||||
"MachineLimits": "Пределы машины",
|
||||
"SquareCornerVelocity": "Квадратичная угловая скорость",
|
||||
"Velocity": "Скорость"
|
||||
},
|
||||
"LogfilesPanel": {
|
||||
"Logfiles": "Журналы"
|
||||
},
|
||||
@@ -569,7 +758,6 @@
|
||||
"UpdatePanel": {
|
||||
"CheckForUpdates": "Проверьте наличие обновлений",
|
||||
"Commits": "Обязательства",
|
||||
"CommittedAt": "совершённый в",
|
||||
"Detached": "отдельно стоящий",
|
||||
"Dirty": "грязный",
|
||||
"ERROR": "ОШИБКА",
|
||||
@@ -581,7 +769,13 @@
|
||||
"UpToDate": "актуальная информация",
|
||||
"Update": "обновление",
|
||||
"UpdateManager": "Менеджер по обновлению",
|
||||
"Upgrade": "обновление"
|
||||
"Upgrade": "обновление",
|
||||
"CommitsAvailabe": "нет доступных коммитов | {count} доступных коммитов | {count} доступных коммитов",
|
||||
"CommitsOnDate": "Отправлено {date}",
|
||||
"CommittedDaysAgo": "Отправлено {days} назад",
|
||||
"CommittedHoursAgo": "Отправлено {hours} назад",
|
||||
"CommittedOnDate": "подана {date}",
|
||||
"CommittedYesterday": "представленный вчера"
|
||||
}
|
||||
},
|
||||
"SelectPrinterDialog": {
|
||||
@@ -600,5 +794,101 @@
|
||||
"TryAgain": "повторите попытку",
|
||||
"UpdatePrinter": "Обновление принтера",
|
||||
"YouCanFindMore": "Более подробную информацию вы можете найти на сайте"
|
||||
},
|
||||
"Timelapse": {
|
||||
"AllFiles": "Все",
|
||||
"Cancel": "Отмена",
|
||||
"Autorender": "Авторы",
|
||||
"Create": "Создать",
|
||||
"CreateNewDirectory": "Новый каталог",
|
||||
"CurrentPath": "Текущий путь",
|
||||
"Delete": "Удалить",
|
||||
"DeleteDirectory": "Удалить каталог",
|
||||
"DeleteDirectoryQuestion": "Вы действительно хотите удалить каталог \"{name}\" со всем его содержимым?",
|
||||
"Download": "Скачать",
|
||||
"DuplicateLastframe": "Дублирование последнего изображения",
|
||||
"Empty": "Готовых таймлапсов не найдено.",
|
||||
"Enabled": "Активирует",
|
||||
"EstimatedLength": "Предполагаемая длина",
|
||||
"Files": "Файлы",
|
||||
"Filesize": "Размер файла",
|
||||
"Fixed": "исправить",
|
||||
"Framerate": "Частота кадров",
|
||||
"Frames": "Изображения",
|
||||
"Free": "Бесплатно",
|
||||
"FreeDisk": "Свободное пространство",
|
||||
"LastModified": "Последнее изменение",
|
||||
"MaxFramerate": "Макс. Частота кадров",
|
||||
"MinFramerate": "Мин. частота кадров",
|
||||
"Name": "Имя",
|
||||
"NewDirectory": "Новый каталог",
|
||||
"NoActiveTimelapse": "Записи отсутствуют.",
|
||||
"Preview": "Предварительный просмотр",
|
||||
"RefreshCurrentDirectory": "Обновление каталога",
|
||||
"Rename": "Переименовать",
|
||||
"RenameDirectory": "Переименовать каталог",
|
||||
"RenameFile": "Переименовать файл",
|
||||
"Render": "рендеринг",
|
||||
"RenderSettings": "Настройки рендеринга",
|
||||
"SaveFrames": "Сохранить изображения",
|
||||
"Search": "suche",
|
||||
"StartRender": "Начать рендеринг",
|
||||
"Status": "Статус",
|
||||
"TargetFps": "Целевой FPS",
|
||||
"Targetlength": "Целевая продолжительность",
|
||||
"TimelapseFiles": "Файлы замедленного действия",
|
||||
"TimelapseRendering": "Временная визуализация",
|
||||
"TimelapseRenderingSuccessful": "Успешный рендеринг с замедленной съемкой",
|
||||
"Total": "Всего",
|
||||
"Type": "Тип",
|
||||
"Used": "Оккупированный",
|
||||
"Variable": "Переменная",
|
||||
"Video": "Видео"
|
||||
},
|
||||
"PowerDeviceChangeDialog": {
|
||||
"AreYouSure": "Вы уверены?",
|
||||
"No": "Нет",
|
||||
"TurnDeviceOff": "{device} выключить",
|
||||
"TurnDeviceOn": "{device} Включите",
|
||||
"Yes": "Да"
|
||||
},
|
||||
"JobQueue": {
|
||||
"AllJobs": "Все заказы",
|
||||
"Delete": "Удалить",
|
||||
"Empty": "Пустой",
|
||||
"JobQueue": "Очередь на работу",
|
||||
"Jobs": "Заказы",
|
||||
"Pause": "Pause"
|
||||
},
|
||||
"EmergencyStopDialog": {
|
||||
"AreYouSure": "Вы уверены?",
|
||||
"EmergencyStop": "Аварийная остановка",
|
||||
"No": "Нет",
|
||||
"Yes": "Ja"
|
||||
},
|
||||
"GCodeViewer": {
|
||||
"ClearLoadedFile": "Удалить",
|
||||
"ColorMode": "Цветовой режим",
|
||||
"Downloading": "Скачать",
|
||||
"ForceLineRendering": "Отображение линии силы",
|
||||
"HDRendering": "HD-представление (круглые экструзии)",
|
||||
"High": "Высокий",
|
||||
"LoadCurrentFile": "Текущий файл",
|
||||
"LoadLocal": "Локальный файл",
|
||||
"Low": "Низкий",
|
||||
"Max": "Макс",
|
||||
"Medium": "Средний",
|
||||
"ReloadRequired": "Требуется перезагрузка",
|
||||
"RenderQuality": "Качество презентации",
|
||||
"Rendering": "Рендеринг",
|
||||
"ShowObjectSelection": "Показать выбор объекта",
|
||||
"ShowToolhead": "Показать головку инструмента",
|
||||
"ShowTravelMoves": "Показывайте движения в быстром темпе",
|
||||
"SpecularLighting": "Основные моменты",
|
||||
"Title": "Программа просмотра G-кода",
|
||||
"Tracking": "Отслеживание",
|
||||
"Transparency": "Прозрачность",
|
||||
"Ultra": "Ультра",
|
||||
"VoxelMode": "Воксельный режим (ASMBL)"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -563,10 +563,6 @@
|
||||
"FactoryReset": "恢復設定",
|
||||
"FactoryDialog": "請選擇您要重置的所有部分:",
|
||||
"Reset": "重置",
|
||||
"DbGeneral": "一般",
|
||||
"DbPresets": "預設",
|
||||
"DbMacrogroups": "巨集組",
|
||||
"DbRemoteprinters": "遠端印表機",
|
||||
"DbHistoryJobs": "歷史工作",
|
||||
"DbHistoryTotals": "歷史總計",
|
||||
"DbWebcams": "網路攝影機"
|
||||
|
||||
@@ -172,7 +172,6 @@
|
||||
"AllJobs": "所有的任务",
|
||||
"Empty": "空",
|
||||
"Delete": "删除",
|
||||
"Resume": "恢复",
|
||||
"Pause": "暂停"
|
||||
},
|
||||
"Console": {
|
||||
@@ -592,10 +591,6 @@
|
||||
"FactoryReset": "恢复出厂设置",
|
||||
"FactoryDialog": "选择你想要回复出厂值的部分:",
|
||||
"Reset": "重启",
|
||||
"DbGeneral": "通用",
|
||||
"DbPresets": "预设",
|
||||
"DbMacrogroups": "小组",
|
||||
"DbRemoteprinters": "远程打印机",
|
||||
"DbHistoryJobs": "工作历史",
|
||||
"DbHistoryTotals": "总历史",
|
||||
"DbWebcams": "网络摄像头",
|
||||
|
||||
@@ -95,7 +95,6 @@ import CommandHelpModal from '@/components/CommandHelpModal.vue'
|
||||
})
|
||||
export default class PageConsole extends Mixins(BaseMixin) {
|
||||
private gcode = ''
|
||||
private lastCommands: string[] = []
|
||||
private lastCommandNumber: number | null = null
|
||||
private items = []
|
||||
|
||||
@@ -147,7 +146,11 @@ export default class PageConsole extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get customFilters(): any[] {
|
||||
return this.$store.state.gui.console.customFilters
|
||||
return this.$store.state.gui.console.consolefilters
|
||||
}
|
||||
|
||||
get lastCommands(): string[] {
|
||||
return this.$store.state.gui.gcodehistory.entries ?? []
|
||||
}
|
||||
|
||||
commandClick(msg: string): void {
|
||||
@@ -162,7 +165,7 @@ export default class PageConsole extends Mixins(BaseMixin) {
|
||||
if (!cmd.shiftKey) {
|
||||
if (this.gcode !== '') {
|
||||
this.$store.dispatch('printer/sendGcode', this.gcode)
|
||||
this.lastCommands.push(this.gcode)
|
||||
this.$store.dispatch('gui/gcodehistory/addToHistory', this.gcode)
|
||||
this.gcode = ''
|
||||
this.lastCommandNumber = null
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -97,7 +97,7 @@ export default class PageDashboard extends Mixins(DashboardMixin) {
|
||||
get mobileLayout() {
|
||||
let panels = this.$store.getters['gui/getPanels']('mobileLayout')
|
||||
panels = panels.concat(this.missingPanelsMobile)
|
||||
panels = panels.filter((element: any) => element.visable)
|
||||
panels = panels.filter((element: any) => element.visible)
|
||||
|
||||
return panels
|
||||
}
|
||||
@@ -105,14 +105,14 @@ export default class PageDashboard extends Mixins(DashboardMixin) {
|
||||
get tabletLayout1() {
|
||||
let panels = this.$store.getters['gui/getPanels']('tabletLayout1')
|
||||
panels = panels.concat(this.missingPanelsTablet)
|
||||
panels = panels.filter((element: any) => element.visable)
|
||||
panels = panels.filter((element: any) => element.visible)
|
||||
|
||||
return panels
|
||||
}
|
||||
|
||||
get tabletLayout2() {
|
||||
let panels = this.$store.getters['gui/getPanels']('tabletLayout2')
|
||||
panels = panels.filter((element: any) => element.visable)
|
||||
panels = panels.filter((element: any) => element.visible)
|
||||
|
||||
return panels
|
||||
}
|
||||
@@ -120,14 +120,14 @@ export default class PageDashboard extends Mixins(DashboardMixin) {
|
||||
get desktopLayout1() {
|
||||
let panels = this.$store.getters['gui/getPanels']('desktopLayout1')
|
||||
panels = panels.concat(this.missingPanelsDesktop)
|
||||
panels = panels.filter((element: any) => element.visable)
|
||||
panels = panels.filter((element: any) => element.visible)
|
||||
|
||||
return panels
|
||||
}
|
||||
|
||||
get desktopLayout2() {
|
||||
let panels = this.$store.getters['gui/getPanels']('desktopLayout2')
|
||||
panels = panels.filter((element: any) => element.visable)
|
||||
panels = panels.filter((element: any) => element.visible)
|
||||
|
||||
return panels
|
||||
}
|
||||
@@ -135,21 +135,21 @@ export default class PageDashboard extends Mixins(DashboardMixin) {
|
||||
get widescreenLayout1() {
|
||||
let panels = this.$store.getters['gui/getPanels']('widescreenLayout1')
|
||||
panels = panels.concat(this.missingPanelsWidescreen)
|
||||
panels = panels.filter((element: any) => element.visable)
|
||||
panels = panels.filter((element: any) => element.visible)
|
||||
|
||||
return panels
|
||||
}
|
||||
|
||||
get widescreenLayout2() {
|
||||
let panels = this.$store.getters['gui/getPanels']('widescreenLayout2')
|
||||
panels = panels.filter((element: any) => element.visable)
|
||||
panels = panels.filter((element: any) => element.visible)
|
||||
|
||||
return panels
|
||||
}
|
||||
|
||||
get widescreenLayout3() {
|
||||
let panels = this.$store.getters['gui/getPanels']('widescreenLayout3')
|
||||
panels = panels.filter((element: any) => element.visable)
|
||||
panels = panels.filter((element: any) => element.visible)
|
||||
|
||||
return panels
|
||||
}
|
||||
|
||||
+2
-2
@@ -1,9 +1,9 @@
|
||||
<template>
|
||||
<v-row>
|
||||
<v-col :class="showJobQueue ? 'col-8' : 'col-12'">
|
||||
<v-col :class="(showJobQueue ? 'col-12 col-md-8 pt-0 pt-md-3 order-1 order-md-0' : 'col-12')">
|
||||
<gcodefiles-panel></gcodefiles-panel>
|
||||
</v-col>
|
||||
<v-col v-if="showJobQueue" class="col-4">
|
||||
<v-col v-if="showJobQueue" class="col-12 col-md-4 pb-0 pb-sm-3 order-0 order-md-1">
|
||||
<jobqueue-panel></jobqueue-panel>
|
||||
</v-col>
|
||||
</v-row>
|
||||
|
||||
+45
-25
@@ -8,23 +8,23 @@
|
||||
<v-col class="col-12 col-md-8 pb-0">
|
||||
<panel card-class="heightmap-map-panel" :title="$t('Heightmap.Heightmap')" icon="mdi-grid">
|
||||
<template v-slot:buttons-title>
|
||||
<v-btn text tile color="primary" class="ml-1 d-none d-sm-inline-flex" v-if="bed_mesh" @click="openRenameProfile()">{{ bed_mesh ? bed_mesh.profile_name : "" }}</v-btn>
|
||||
<v-btn text tile color="primary" class="ml-1 d-none d-sm-inline-flex" v-if="meshLoaded" @click="openRenameProfile()">{{ bed_mesh.profile_name }}</v-btn>
|
||||
</template>
|
||||
<template v-slot:buttons>
|
||||
<v-btn text tile color="primary" class=" d-sm-none" @click="openRenameProfile()">{{ bed_mesh ? bed_mesh.profile_name : "" }}</v-btn>
|
||||
<v-btn icon tile class="d-none d-sm-flex" @click="homePrinter" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')" :ripple="true"><v-icon>mdi-home</v-icon></v-btn>
|
||||
<v-btn text tile class="d-none d-sm-flex" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="bed_mesh" :title="$t('Heightmap.TitleClear')">{{ $t('Heightmap.Clear') }}</v-btn>
|
||||
<v-btn text tile color="primary" class="d-sm-none" v-if="meshLoaded" @click="openRenameProfile()">{{ bed_mesh ? bed_mesh.profile_name : "" }}</v-btn>
|
||||
<v-btn icon tile class="d-none d-sm-flex" @click="homePrinter" :color="homedAxes.includes('xyz') ? 'primary' : 'warning'" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')" :ripple="true"><v-icon>mdi-home</v-icon></v-btn>
|
||||
<v-btn text tile class="d-none d-sm-flex" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="meshLoaded" :title="$t('Heightmap.TitleClear')">{{ $t('Heightmap.Clear') }}</v-btn>
|
||||
<v-btn text tile class="d-none d-sm-flex" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="printerIsPrinting" :title="$t('Heightmap.TitleCalibrate')">{{ $t('Heightmap.Calibrate') }}</v-btn>
|
||||
</template>
|
||||
<v-card-text class="d-sm-none text-center pb-0">
|
||||
<v-item-group tile class="v-btn-toggle" name="controllers">
|
||||
<v-btn text small class="px-2 minwidth-0" color="primary" @click="homePrinter" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')"><v-icon small>mdi-home</v-icon></v-btn>
|
||||
<v-btn text small class="px-2 minwidth-0" :color="homedAxes.includes('xyz') ? 'primary' : 'warning'" @click="homePrinter" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')"><v-icon :color="homedAxes.includes('xyz') ? 'primary' : 'warning'" small>mdi-home</v-icon></v-btn>
|
||||
<v-btn text small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="bed_mesh" :title="$t('Heightmap.TitleClear')">{{ $t('Heightmap.Clear') }}</v-btn>
|
||||
<v-btn text small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="printerIsPrinting" :title="$t('Heightmap.TitleCalibrate')">{{ $t('Heightmap.Calibrate') }}</v-btn>
|
||||
</v-item-group>
|
||||
</v-card-text>
|
||||
<template v-if="!(bed_mesh)">
|
||||
<v-card-text>
|
||||
<template v-if="!(meshLoaded)">
|
||||
<v-card-text class="text-center py-3 font-italic">
|
||||
{{ $t('Heightmap.NoBedMeshHasBeenLoadedYet') }}
|
||||
</v-card-text>
|
||||
</template>
|
||||
@@ -66,7 +66,7 @@
|
||||
</panel>
|
||||
</v-col>
|
||||
<v-col class="col-12 col-md-4">
|
||||
<panel :title="$t('Heightmap.CurrentMesh.Headline')" v-if="bed_mesh.profile_name !== ''" card-class="heightmap-current-mesh-panel" icon="mdi-information" :collapsible="true" class="mt-0">
|
||||
<panel :title="$t('Heightmap.CurrentMesh.Headline')" v-if="meshLoaded" card-class="heightmap-current-mesh-panel" icon="mdi-information" :collapsible="true" class="mt-0">
|
||||
<v-card-text class="py-3 px-0">
|
||||
<v-row class="px-3">
|
||||
<v-col>{{ $t('Heightmap.CurrentMesh.Name') }}</v-col>
|
||||
@@ -184,6 +184,7 @@
|
||||
<script lang="ts">
|
||||
import {Component, Mixins, Watch} from 'vue-property-decorator'
|
||||
import BaseMixin from '@/components/mixins/base'
|
||||
import ControlMixin from '@/components/mixins/control'
|
||||
|
||||
import { createComponent } from 'echarts-for-vue'
|
||||
import * as echarts from 'echarts'
|
||||
@@ -211,7 +212,7 @@ interface HeightmapSerie {
|
||||
ECharts: createComponent({ echarts }),
|
||||
}
|
||||
})
|
||||
export default class PageHeightmap extends Mixins(BaseMixin) {
|
||||
export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) {
|
||||
|
||||
$refs!: {
|
||||
// eslint-disable-next-line
|
||||
@@ -244,6 +245,13 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
|
||||
get chartOptions() {
|
||||
return {
|
||||
tooltip: {
|
||||
backgroundColor: 'rgba(0,0,0,0.9)',
|
||||
borderWidth: 0,
|
||||
textStyle: {
|
||||
color: '#fff',
|
||||
fontSize: '14px'
|
||||
},
|
||||
padding: 15,
|
||||
formatter: this.tooltipFormatter
|
||||
},
|
||||
darkMode: true,
|
||||
@@ -362,51 +370,51 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
|
||||
}
|
||||
|
||||
get showProbed(): boolean {
|
||||
return this.$store.state.gui.heightmap.probed ?? true
|
||||
return this.$store.state.gui.view.heightmap.probed ?? true
|
||||
}
|
||||
|
||||
set showProbed(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'heightmap.probed', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.heightmap.probed', value: newVal })
|
||||
}
|
||||
|
||||
get showMesh(): boolean {
|
||||
return this.$store.state.gui.heightmap.mesh ?? true
|
||||
return this.$store.state.gui.view.heightmap.mesh ?? true
|
||||
}
|
||||
|
||||
set showMesh(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'heightmap.mesh', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.heightmap.mesh', value: newVal })
|
||||
}
|
||||
|
||||
get showFlat(): boolean {
|
||||
return this.$store.state.gui.heightmap.flat ?? true
|
||||
return this.$store.state.gui.view.heightmap.flat ?? true
|
||||
}
|
||||
|
||||
set showFlat(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'heightmap.flat', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.heightmap.flat', value: newVal })
|
||||
}
|
||||
|
||||
get wireframe(): boolean {
|
||||
return this.$store.state.gui.heightmap.wireframe ?? true
|
||||
return this.$store.state.gui.view.heightmap.wireframe ?? true
|
||||
}
|
||||
|
||||
set wireframe(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'heightmap.wireframe', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.heightmap.wireframe', value: newVal })
|
||||
}
|
||||
|
||||
get scale(): boolean {
|
||||
return this.$store.state.gui.heightmap.scale ?? true
|
||||
return this.$store.state.gui.view.heightmap.scale ?? true
|
||||
}
|
||||
|
||||
set scale(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'heightmap.scale', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.heightmap.scale', value: newVal })
|
||||
}
|
||||
|
||||
get scaleVisualMap(): boolean {
|
||||
return this.$store.state.gui.heightmap.scaleVisualMap ?? false
|
||||
return this.$store.state.gui.view.heightmap.scaleVisualMap ?? false
|
||||
}
|
||||
|
||||
set scaleVisualMap(newVal) {
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'heightmap.scaleVisualMap', value: newVal })
|
||||
this.$store.dispatch('gui/saveSetting', { name: 'view.heightmap.scaleVisualMap', value: newVal })
|
||||
}
|
||||
|
||||
get rangeX(): number[] {
|
||||
@@ -719,11 +727,23 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
|
||||
}
|
||||
}
|
||||
|
||||
get meshLoaded() {
|
||||
if(this.bed_mesh !== null) {
|
||||
return this.bed_mesh.profile_name !== ''
|
||||
} else {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
tooltipFormatter(data: any): string {
|
||||
return '<b>'+data.seriesName+'</b><br />' +
|
||||
'<b>' + data.dimensionNames[0]+'</b>: '+data.data[0].toFixed(1) + ' mm <br />' +
|
||||
'<b>' + data.dimensionNames[1]+'</b>: '+data.data[1].toFixed(1) + ' mm <br />' +
|
||||
'<b>' + data.dimensionNames[2]+'</b>: '+data.data[2].toFixed(3) + ' mm '
|
||||
const outputArray: string[] = []
|
||||
outputArray.push('<b>'+data.seriesName+'</b>')
|
||||
|
||||
Object.keys(data.encode).sort().forEach((axisName: string) => {
|
||||
outputArray.push('<b>' + axisName.toUpperCase() + '</b>: '+data.data[data.encode[axisName][0]].toFixed(axisName === 'z' ? 3 : 1) + ' mm')
|
||||
})
|
||||
|
||||
return outputArray.join('<br />')
|
||||
}
|
||||
|
||||
loadProfile(name: string): void {
|
||||
|
||||
Loaded 100 of 153 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user