Compare commits

..
56 Commits
Author SHA1 Message Date
Stefan Dej ed0a6976c1 Merge branch 'develop' 2022-01-28 19:28:50 +01:00
Furrciak 1c4127acf2 locale(pl): additional fix for polish language (#592) 2022-01-28 19:27:53 +01:00
Furrciak a121e56085 locale(pl): fix polish translation (#589) 2022-01-28 19:27:34 +01:00
Stefan Dej 010b3ac55b chore: push version number to v2.1.1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-27 22:19:40 +01:00
FurrciakandStefan Dej b944af5448 locale(pl): polish translation (#581)
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-01-27 22:15:55 +01:00
srbjessen 0f0180bc50 locale(da): danish - minor updates, missing tags and removed "deceleration" (#578) 2022-01-27 21:55:59 +01:00
Stefan Dej 7148bebef2 Merge remote-tracking branch 'origin/develop' into develop 2022-01-27 21:41:49 +01:00
Stefan Dej 63c90c7eb6 Merge branch 'master' into develop 2022-01-27 21:41:37 +01:00
lixxbox ed45815d3b docs: fix some broken links (#580)
fix some broken links
2022-01-27 14:24:43 +01:00
Stefan Dej d856b73cd1 fix: polling klippy error messages (#571) 2022-01-26 01:36:36 +01:00
Stefan Dej 86d3421f1e Merge remote-tracking branch 'origin/develop' into develop 2022-01-23 20:20:22 +01:00
Stefan Dej b5b25bd90c Merge branch 'master' into develop 2022-01-23 20:20:10 +01:00
Stefan Dej 0db74e9e37 fix: hide second notification in timelapse > remove mp4 (#572) 2022-01-23 20:11:27 +01:00
Pedro Lamas be0063e2a0 chore(build): Sets Node engine to version 16 (#569) 2022-01-23 00:26:03 +01:00
Zhu QianandStefan Dej b743467bca locale(zh): Update zh.json (#557)
Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-01-23 00:23:43 +01:00
Pedro Lamas 8a9bc456b6 chore: Use node 16 for base docker image (#568) 2022-01-23 00:18:21 +01:00
th33xitus 75aad8b880 fix: input field and spinner bug (fixes #551) (#555) 2022-01-22 10:29:53 +01:00
Stefan Dej 7fc5e298ad fix: delete remote printers dont work (#564) 2022-01-22 00:44:38 +01:00
Stefan Dej 1de95b12ec fix: farm printer switch and display klippy connection errors (#563) 2022-01-22 00:18:15 +01:00
Stefan Dej 1e54c92b00 fix: default color mode in gcodeviewer was wrong (#559)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-20 22:51:51 +01:00
Stefan Dej 8eb67ae2b6 fix: read nozzle_diameter from klipper config in gcodeviewer (#558)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-20 22:38:31 +01:00
Paul Cutlerandlixxbox 69bb61a30d docs: Update prepare themes page with review feedback (#554)
Followup to #486 

Signed-off-by Paul Cutler paul@paulcutler.org
Co-authored-by: lixxbox <lixxbox@users.noreply.github.com>
2022-01-20 15:31:26 +01:00
lixxbox a3ad590d4b docs: fix macro link 2022-01-20 13:16:54 +01:00
Paul Cutler 702981e324 docs: Review Themes Chapter in Documentation (#486)
* Review Themes Chapter and fix typos, grammar and readability

Signed-off-by Paul Cutler paul@paulcutler.org
2022-01-19 22:45:23 +01:00
lixxbox b4764194b0 docs: additions to the readme/index for 2.1 (#543) 2022-01-19 22:40:44 +01:00
deddoggo d5694835d0 locale(it): IT translation update (#553) 2022-01-19 22:31:35 +01:00
Stefan Dej 25a4c3e476 Merge branch 'develop' into release/v2.1.0 2022-01-19 20:22:55 +01:00
Emperor 19496a1f0a locale(ru): Update RU v2.1 (#552)
* Update RU v2.1
2022-01-19 20:20:38 +01:00
Stefan Dej 1a8a9558d3 feat: send gcode macro with keyup enter (#544)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-19 19:47:25 +01:00
steadyjaw d94543207f bugfix: fix capitalization of bed_mesh names and renaming functions (fix #545,#546) (#547)
* fix: remove text-transformation on rename-button
* fix: remove toUpperCase on renameProfile
* fix: add remove command to renameProfile
2022-01-19 19:39:17 +01:00
Stefan Dej 9c70a0cafa docs: update screenshot to v2.1.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 22:41:20 +01:00
Stefan Dej c5aaa2f79f Merge branch 'develop' into release/v2.1.0 2022-01-18 22:08:02 +01:00
th33xitus 595c937d50 fix: improve machine settings number inputs (#537)
* fix: truncate excessive decimal places

fix: add `toString` casting to labels

fix: disable spinner appropriately

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: allow smooth time with 3 decimal places

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: disable both spinners if input value triggers error

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: add spinnerFactor prop

Simple multiplicator that can be used in combination with spinners to increase/decrease values with a different step size.

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: smooth time step size of 0.001

fix: spinnerFactor of 10

Allows for manual input of numbers with 3 decimal places. Spinners will still increase/decrease by 0.01

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* feat: add hasSpinner prop

Allows for individually activating/disabling spinners on a number input field

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: add sane values as spinnerFactor for motion and fw retract spinners

Signed-off-by: Dominik Willner <th33xitus@gmail.com>

* fix: nullish coalescing operator logic

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-01-18 22:07:27 +01:00
Stefan Dej 28a6f5a813 chore: update package-lock.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 20:56:51 +01:00
Stefan Dej 4901d4992c chore: push version number to v2.1.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 20:54:58 +01:00
Stefan Dej 56d61ce6ae fix: ipv6 issues with encodeURI
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 20:47:46 +01:00
Paul Cutler be2efac9fd docs: Update Quicktips (#518)
Reiview and update the whole Quicktip section with better readability, grammar and spelling.

Signed-off-by Paul Cutler paul@paulcutler.org
2022-01-18 14:14:53 +01:00
Kevin Nguyen 7b19c902de fix: encodeURI for thumbnails and timelapse files (#539)
GET requests including file names with special characters such as '%' will properly encode the request to the server.
2022-01-18 01:04:16 +01:00
Morten Lindhardt bf60aef344 fix: set default for min_extrude_temp (#540)
* fix: set default for min_extrude_temp

Signed-off-by: Morten Lindhardt <r3fuze@gmail.com>

* fix: use settings instead of config
2022-01-18 01:02:34 +01:00
Stefan Dej 674ad36ddb fix: klippy connected/disconnected change
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-18 00:25:36 +01:00
lixxbox f535ccf493 docs: add redirect dor configuration 2022-01-16 21:13:09 +01:00
Stefan Dej 06bf0acdc3 fix: workaround to display download status in gcode-viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-16 20:37:33 +01:00
Stefan Dej 5307412484 fix: workaround to display download status in editor
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-15 01:29:44 +01:00
Stefan Dej bd7cf76076 fix: hide snackbar details if total not available
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-14 22:47:22 +01:00
Stefan Dej aa4c269eab fix: sort mcus in SystemPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-14 20:49:11 +01:00
Stefan Dej d7c2dc5033 fix: sort endstops in EndstopPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-14 20:47:42 +01:00
CodingJustForRun 9da5c356f7 locale(hu): 2022 01 12 update (#531)
one key updated
2022-01-12 21:46:36 +01:00
CodingJustForRun bd5723dda6 locale(hu): hun update 20220110 as requested :) (#530) 2022-01-12 21:46:15 +01:00
Stefan Dej 3ab0a5952a locale: fix keys in top corner menu
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-12 20:53:48 +01:00
Stefan Dej d76343b7bb fix: fix locale output in confirm dialog for service control
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-10 21:04:44 +01:00
Bart Lammers d94e9f18f3 locale(nl): Update NL locale (#529) 2022-01-10 19:09:09 +01:00
cgrossi70 4610eb70bc locale(es): Traslation Spanish RC1 (#528) 2022-01-10 19:08:28 +01:00
srbjessen 649bbaa7dc locale(da): Updated Danish translations (#527) 2022-01-10 19:07:07 +01:00
lixxbox 887da6745a docs: themes / changed name to cryd-s
user changed the name of his github account
2022-01-10 14:22:05 +01:00
Stefan Dej b7e94ba25e locale(fr): update FR locale
thx to Roland Forster

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-09 23:23:26 +01:00
Stefan Dej 629e0f2f7c fix: request metadata for gcode files, when using search function
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-09 11:27:38 +01:00
81 changed files with 2955 additions and 1451 deletions

No files matched your search

+28 -15
View File
@@ -1,39 +1,52 @@
# Mainsail
<p align="center">
<img src="docs/assets/img/logo.png" alt="Sublime's custom image"/>
</p>
Mainsail a lightweight & responsive web interface for [Klipper](https://github.com/KevinOConnor/klipper), the 3D printer firmware. It communicates with [Moonraker (Klipper-API)](https://github.com/arksine/moonraker) from [Arksine](https://github.com/arksine).
# Mainsail
[![downloads](https://img.shields.io/github/downloads/mainsail-crew/mainsail/total?style=flat-square)](https://github.com/mainsail-crew/mainsail/releases) [![localizations](https://shields-staging.herokuapp.com/github/directory-file-count/mainsail-crew/mainsail/src%2Flocales?label=localizations&extension=json&type=file&style=flat-square)](https://docs.mainsail.xyz/development/localization) [![stars](https://img.shields.io/github/stars/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/stargazers) [![forks](https://img.shields.io/github/forks/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/network/members)
[![license](https://img.shields.io/github/license/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/blob/develop/LICENSE) [![last-commit](https://img.shields.io/github/last-commit/meteyou/mainsail?style=flat-square)](https://github.com/mainsail-crew/mainsail/commits/) ![size](https://img.shields.io/github/repo-size/meteyou/mainsail?style=flat-square)
[![discord](https://img.shields.io/discord/758059413700345988?color=%235865F2&label=discord&logo=discord&logoColor=white&style=flat-square)](https://discord.gg/skWTwTD) [![patreons](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Fshieldsio-patreon.vercel.app%2Fapi%3Fusername%3Dmeteyou%26type%3Dpatrons&style=flat-square)](https://www.patreon.com/meteyou)
Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy.
[Getting Started](https://docs.mainsail.xyz/setup)
Mainsail is also available in remote mode on [http://my.mainsail.xyz](http://my.mainsail.xyz). Find out [more](https://docs.mainsail.xyz/setup#mymainsailxyz).
[Documentation](https://docs.mainsail.xyz)
[Release Notes](https://github.com/meteyou/mainsail/releases)
[Release Notes](https://github.com/mainsail-crew/mainsail/releases)
## Screenshots
![screenshot-dashboard](docs/assets/img/screenshot.png)
## 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
- Job Queue
- Temperature Presets (with custom gcode)
- Bed Mesh Leveling
- Bed Mesh visualisation
- G-Code Viewer
- Multi-Webcam support
- Control power devices (relays, TPLink, Tasmota, ..)
- Customizable UI (logos, backgrounds & even custom css)
- Timelapse integration
- Control power devices such as relays, TPLink and Tasmota devices, and more
- Powerful Macro-Management
- Configurable dashboard
- Customizable user interface including logos, backgrounds, and custom CSS
- Exclude objects (not yet officially supported by Klipper)
## Get support & assistance
Do you need help or just want to talk? Join us on [Discord](https://discord.gg/skWTwTD). We have a very active community.
Have you found a bug? Then we would like you to create an [issue](https://github.com/meteyou/mainsail/issues).
## Help and Support
Do you need help or just want to talk? Join our active community on [Discord](https://discord.gg/skWTwTD).
Have you found a bug? Please create an [Issue](https://github.com/mainsail-crew/mainsail/issues) in GitHub and let us know.
## 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)
- [Ko-Fi (one-time)](https://ko-fi.com/mainsail)
[![patreon](https://img.shields.io/badge/patreon-participate-yellow.svg?style=flat-square)](https://www.patreon.com/meteyou)
[![kofi](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg?style=flat-square)](https://ko-fi.com/mainsail)
## Credit, sources and inspiration
* [Kevin O'Connor](https://github.com/KevinOConnor) for the awesome 3D printer firmware [Klipper](https://github.com/KevinOConnor/klipper)
+1 -1
View File
@@ -1,4 +1,4 @@
FROM node:buster AS base
FROM node:16-buster AS base
EXPOSE 8080
+1
View File
@@ -20,6 +20,7 @@ source "https://rubygems.org"
group :jekyll_plugins do
gem "jekyll-feed", "~> 0.12"
gem "jekyll-remote-theme"
gem "jekyll-redirect-from"
end
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
+3
View File
@@ -17,3 +17,6 @@ defaults:
path: "" # an empty string here means all files in the project
values:
image: assets/img/rtfm.png
plugins:
- jekyll-redirect-from
+1 -1
View File
@@ -3,4 +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
Cryd,,cryd-s,Mainsail-Theme-by-Cryd
1 name short_note author repo
3 Cyberpunk Dario-Ciceri cp2077-mainsail-theme
4 Mainsail x Voron Toolhead Various toolhead images inside the theme folder can be renamed to 'sidebar-background.png' eriroh Mainsail-x-Voron-Toolhead-Theme
5 Rat Rig (unofficial) includes various sidebar images which can be renamed to ‘sidebar-background.png’ Raabi91 ratrig-mainsail-theme
6 Cryd Crykor90 cryd-s Mainsail-Theme-by-Cryd
Binary file not shown.

Before

Width:  |  Height:  |  Size: 385 KiB

After

Width:  |  Height:  |  Size: 692 KiB

+2
View File
@@ -4,6 +4,8 @@ title: Configuration
nav_order: 5
has_children: false
permalink: /configuration
redirect_from:
- /necessary-configuration
---
# Required configuration
+3 -3
View File
@@ -13,13 +13,13 @@ description: >-
<!-- {{ page.description }} -->
We would like acknowledge the valuable contributions that many people and projects have made to Mainsail, particularly the:
We would like acknowledge the valuable contributions that many people and projects have made to Mainsail, especially the following:
- contributors, who help make Mainsail better
- testers, who help find bugs in Mainsail, so they can be quickly fixed
- supporters via patreon/ko-fi
- supporters via Patreon and Ko-fi
..and of course the projects Mainsail is built on, especially [Klipper](https://github.com/KevinOConnor/klipper){:target="_blank"}, [Moonraker](https://github.com/Arksine/moonraker){:target="_blank"} and [MainsailOS](https://github.com/mainsail-crew/MainsailOS/){:target="_blank"}.
We would like to thank the projects Mainsail is built on, especially [Klipper](https://github.com/KevinOConnor/klipper){:target="_blank"}, [Moonraker](https://github.com/Arksine/moonraker){:target="_blank"}, and [MainsailOS](https://github.com/mainsail-crew/MainsailOS/){:target="_blank"}.
**THANK YOU for your continued support.**
+11 -10
View File
@@ -9,33 +9,34 @@ has_toc: false
# Data Privacy
We understand the need for data privacy and have designed Mainsail to operate in your browser’s cache locally.
Mainsail understands the need for data privacy and it has been designed to only run in your browser locally.
The following table applies to Mainsail when installed locallaly, or accessed via [my.mainsail.xyz](http://my.mainsail.xyz).
The following table applies to Mainsail when installed locally or accessed remotely at [my.mainsail.xyz](http://my.mainsail.xyz).
| YES | NO |
| :--------------: | :---------------: |
| Store static files in browser storage (.html, .js, .css) | ‘Phone home’ |
| Communicate directly with your printer via the Moonraker API | Send/transfer any data externally |
| Store static files in browser storage (.html, .js, .css) | ‘Telemetry’ |
| Communicate directly with your printer via the Moonraker API | Send or transfer any data externally |
## Will my data be safe if I use the hosted version?
Accessing [my.mainsail.xyz](http://my.mainsail.xyz) stores the .html, .js and .css files for Mainsail locally in the brower's storage in exactly the same way that an instance running on your local hardware would do. In reality, there is no functional difference (or concern) between accessing Mainsail from a privately or publicly hosted instance.
Accessing [my.mainsail.xyz](http://my.mainsail.xyz) stores the .html, .js and .css files for Mainsail locally in your brower's storage in exactly the same way that an instance running on your local hardware would do. There is no functional difference or concerns between accessing Mainsail locally or in a remotely public hosted instance.
Parallel operation is also possible.
Running Mainsail both locally and remotely in parallel is also possible.
# Third party software
We do not modify third party packages or software, nor control their attitude to Data Privacy.
Mainsail does not modify any third party packages and does not control Data Privacy for any third party packages you choose to install.
If you are concerned, please consider the privacy policies (or contacting the developer) of:
If you are concerned, please review the privacy policies for the following third party software:
* [RaspberryOS](https://www.raspberrypi.org/privacy/)
* Klipper
* Moonraker
Please contact the developers of any of the above software if you have any concerns.
It is worth noting that Klipper, Moonraker and RaspberryOS are open source software and ( whilst this brings no guarantee of privacy and security) the source is available and open to peer review.
It is worth noting that Klipper, Moonraker and RaspberryOS are open source software. This does not bring a guarantee of privacy and security, but the source code is available and open to peer review.
{: .info}
The Raspberry Foundation is a registered charity in the United Kingdom, with extensive Privacy and Safeguarding policies.
The Raspberry Foundation is a registered charity in the United Kingdom with extensive Privacy and Safeguarding policies.
{: .info}
+10 -4
View File
@@ -6,7 +6,7 @@ has_children: false
---
# Welcome to Mainsail!
Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy..
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 }
@@ -20,14 +20,20 @@ Mainsail makes Klipper more accessible by adding a lightweight, responsive web u
- 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)
- File Manager (G-Code and config files)
- File Editor (G-Code and config files)
- Print History and Statistics
- Job Queue
- Temperature Presets (with custom gcode)
- Bed Mesh Leveling
- Bed Mesh visualisation
- G-Code Viewer
- Multi-Webcam support
- Timelapse integration
- Control power devices such as relays, TPLink and Tasmota devices, and more
- Powerful Macro-Management
- Configurable dashboard
- Customizable user interface including logos, backgrounds, and custom CSS
- Exclude objects (not yet officially supported by Klipper)
## Help and Support
Do you need help or just want to talk? Join our active community on Discord.
+3 -3
View File
@@ -5,7 +5,7 @@ parent: Quicktips
has_children: false
permalink: /quicktips/additional-sensors
description: >-
Integrate additional sensors into the temperature graph. For example Raspberry Pi, MCU, BMExxx, HTU21D, LM75 and more..
You can integrate additional sensors [supported by Klipper](https://www.klipper3d.org/Config_Reference.html#temperature-sensors) into the temperature graph in Mainsail.
---
# {{ page.title }}
@@ -13,7 +13,7 @@ description: >-
## Raspberry Pi temperature sensor
Append the following section to your printer.cfg:
Append the following section to your `printer.cfg`:
```yaml
[temperature_sensor raspberry_pi]
@@ -24,7 +24,7 @@ max_temp: 100
## ATSAM, ATAMD, and STM32 temperature sensor
Append the following section to your printer.cfg:
Append the following section to your `printer.cfg`:
```yaml
[temperature_sensor mcu_temp]
+5 -5
View File
@@ -5,22 +5,22 @@ parent: Quicktips
has_children: false
permalink: /quicktips/console-shortcuts
description: >-
Similar to a terminal of your OS, there are some keyboard shortcuts in Mainsail that make your everyday life easier.
Keyboard shortcuts are available for those who prefer shortcuts.
---
# {{ page.title }}
{{ page.description }}
## Help command
## List of Commands
Issue a `HELP` command to get a list of possible commands.
Issue a `HELP` command in the console to get a list of all available commands.
## Autocomplete
You can start typing a command and then complete it with the tab-key. If there are several possibilities, you will get a list of choices.
You can start typing a command and then complete it with the Tab key. If there are several possibilities, a list of choices will be displayed.
![](../assets/img/quicktips/console-shortcuts/tab_complete.gif)
## Scroll through commands
Using the &uarr; up / &darr; down arrow keys you can scroll through previous commands.
Use the &uarr; up and &darr; down arrow keys to scroll through previously used commands in the console.
+2 -2
View File
@@ -5,14 +5,14 @@ parent: Quicktips
has_children: false
permalink: /quicktips/disable-octoprint-lcd-menu
description: >-
Klipper is shipped with an Octoprint entry in the LCD menu. These menu points don't work with Mainsail.
Klipper ships with an Octoprint entry in the LCD menu which does not work with Mainsail.
---
# {{ page.title }}
{{ page.description }}
## Modify printer.cfg
Just add the following entry to your printer.cfg:
Add the following entry to your printer.cfg to disable Octoprint:
```yaml
[menu __main __octoprint]
@@ -5,7 +5,7 @@ parent: Quicktips
has_children: false
permalink: /quicktips/hide-gcode_macros
description: >-
As you probably already noticed, you can show and hide the gcode macros in the interface settings, but there is more...
You can show and hide G-Code macros in the interface settings
---
# {{ page.title }}
@@ -25,10 +25,10 @@ gcode:
M300
```
`MY_AWESOME_GCODE` appears in your interface settings, `_MY_HELPER_CODE` not.
`MY_AWESOME_GCODE` appears in your interface settings, `_MY_HELPER_CODE` does not.
![](../assets/img/quicktips/hide-gcode_macros/my_awesome_macro.png)
By the way, this also works for other configuration sections like, **fans and outputs.**
This also works for other configuration sections including **fans and outputs.**
{: .info}
+7 -6
View File
@@ -1,24 +1,25 @@
---
layout: default
title: Print History/Stats
title: Print History and Statistics
parent: Quicktips
has_children: false
permalink: /quicktips/history
description: >-
Since Mainsail 1.5.0 it is possible to report and visualize print statistics. These contain various information such as print status, print duration, amount of filament used, etc.
You can view your print history and statistics in the History section of Mainsail.
---
# {{ page.title }}
{{ page.description }}
It's also possible to reprint jobs.
This includes print job status, duration, amount of filament used, and more. You can also reprint a print job.
![](../assets/img/quicktips/history/history.png){: style="width: 50%;"}
## Enable print history tracking
For this, it is necessary to enable print history tracking in moonraker.
To enable print history tracking, you must first enable this feature in Moonraker.
Just add `[history]` to your moonraker.conf and restart moonraker.
Add `[history]` to your `moonraker.conf ` configuration file and restart Moonraker.
The new history entry will appear in Mainsails sidebar.
The new history entry will appear in Mainsail's sidebar.
+1 -1
View File
@@ -5,7 +5,7 @@ nav_order: 10
has_children: true
permalink: /quicktips
description: >-
quick tips, without much explanation
Quick tips for Mainsail users.
---
# {{ page.title }}
+52 -37
View File
@@ -12,75 +12,91 @@ description: >-
{{ page.description }}
__Disclaimer__
Thank you [Charlie_Powell](https://community.octoprint.org/u/Charlie_Powell) for letting us adapt your guide for mainsailOS!
Thank you to [Charlie_Powell](https://community.octoprint.org/u/Charlie_Powell) for letting us adapt his guide for MainsailOS!
The original guide can be found [here](https://community.octoprint.org/t/setting-up-multiple-webcams-in-octopi-the-right-way/32669).
{: .info}
## Prerequisites
You need:
For multicam to work, you will need:
- mainsailOS v0.5.0 or higher
- ssh access
- at least two cameras
- MainsailOS v0.5.0 or higher
- SSH access
- Two or more cameras
__WARNING__
**If you are working on a existing installation, make a backup!**
**If you are working with an existing installation, make a backup!**
{: .warning}
## Creating the configuration files
mainsailOS supports an infinite number of webcam*.txt-style configuration files. They can be placed in
MainsailOS supports an infinite number of `webcam*.txt` style configuration files. They should be placed in
`/home/pi/klipper_config`.
In the UI, got to 'Settings > Interface' click on (1) and save as `webcam2.txt`.
In Mainsail's user interface, go to 'Settings > Interface' and click on (1) and save as `webcam2.txt`.
:image:
Now you should have two identical files:
You should now have two identical files with different names:
1. `/home/pi/klipper_config/webcam.txt`
2. `/home/pi/klipper_config/webcam2.txt`
## Editing the original configuration file for a specific camera
Find out the path to the camera by ID. This makes it much easier to stop /dev/video0 and /dev/video1 from switching on you.
## Edit the original configuration file for a specific camera
Find the path to the camera by its ID. This makes it easier to stop `dev/video0` and `/dev/video1` from being switchedin the future.
Run `ls /dev/v4l/by-id`, copy your camera id and paste it into the editor in mainsail. For example:
In a terminal, run the command `ls /dev/v4l/by-id`, copy your camera id and paste it into the editor in Mainsail. For example:
```bash
$ ls /dev/v4l/by-id/
```
returns
```
usb-046d_0825_88C56B60-video-index0 usb-046d_0825_88C56B60-video-index1
```
I'll use the first one `usb-046d_0825_88C56B60-video-index0`
This example will use the first one: `usb-046d_0825_88C56B60-video-index0`
__Note__
Not sure which device is which? You can run lsusb to match a name to an ID.
Not sure which device is which? You can run `lsusb` to match a camera name to an ID.
{: .info}
Then edit `/home/pi/klipper_config/webcam.txt` in by clicking on it in mainsail.
Edit `/home/pi/klipper_config/webcam.txt` by clicking on it in Mainsail.
Set `camera="usb"` at the top, and the `camera_usb_options` line to indicate the device:
Insert two lines at the beginning of `webcam.txt`:
`camera_usb_options="-r 640x480 -f 10 -d /dev/v4l/by-id/<device long id>"`
```
camera="usb"
camera_usb_options="-r 640x480 -f 10 -d /dev/v4l/by-id/<device long id>"
```
The `device long id` should match the camera name from running `lsusb`.
__Note__
Using a Raspberry Pi camera? Set camera="raspi" at the top of the file, and you can ignore referencing the cameras by device ID.
If you are using a Raspberry Pi branded camera, set camera="raspi" at the top of the file and you do not have to reference the cameras by device ID.
{: .info}
## 3. Editing the second configuration file
There's two things that need adjusting here: the port mjpg_streamer will be running under, and the device again.
When using a second camera, you must add the port `mjpg_streamer` runs under and the device.
__Note__
Using 1 RPi camera and 1 USB camera? You don't need to reference them by ID, since camera="raspi" vs. camera="usb" is enough.
If you are using one Raspberry Pi branded camera and a different USB camera you don't need to reference them by ID, as camera="raspi" and camera="usb" is enough.
{: .info}
Find the long ID of the second camera, as you did for the first one.
Similar to finding the first camera, run `ls` and copy the ID of the second camera:
Editing `/home/pi/klipper_config/webcam2.txt` like described above.
```bash
ls /dev/v4l/by-id/
```
As above again, set camera="usb" and set camera_usb_options but this time using the ID for the second camera:
Edit `/home/pi/klipper_config/webcam2.txt` as described above and add:
`camera="usb"` and `set camera_usb_options` but this time using the ID for the second camera:
`camera_usb_options="-r 640x480 -f 10 -d /dev/v4l/by-id/<device long id>"`
```bash
camera_usb_options="-r 640x480 -f 10 -d /dev/v4l/by-id/<device long id>"
```
Adjust the port, by editing camera_http_options:
Adjust the port by editing `camera_http_options`:
`camera_http_options="-n -p 8081"`
@@ -93,23 +109,22 @@ webcam3.txt => -p 8083
```
__INFO__
mainsailOS comes already setup with four nginx reverse proxies for port 8080 to 8083, so you can configure 4 webcams easy with this guide,
for more webcams you need to configure the nginx config, which we dont recommend!
It includes editing nginx configuration, which is easy to mess up and having mainsail stop working as well.
If you need more than four webcams, hop onto our [Discord](https://discord.gg/skWTwTD){:target="_blank"} and we will help you.
MainsailOS comes setup with four nginx reverse proxies for port 8080 through 8083, so you can configure 4 webcams with this guide.
For more webcams you will need to edit the nginx configuration, which is not recommended. It can be easy to make a mistake when editing nginx, which will also cause Mainsail to stop working.
If you need more than four webcams, visit us on [Discord](https://discord.gg/skWTwTD){:target="_blank"} and we will help you.
{: .warning}
## 4. Test it works
Restart webcamd click the button,
and try and find your second camera under `http://<your-ip>/webcam2/`.
If it doesn't work, check in the webcam log under the filemanager log section for details.
## 4. Test that it works
Restart `webcamd` by clicking the power button icon in the upper right corner of Mainsail and click `Webcamd` to restart it.
Find your second camera under `http://<your-ip>/webcam2/`.
If it doesn't work, check in the webcam log in the filemanager log section for details.
If it works, you can use the URLs in mainsail:
If it works, you can use the URLs in Mainsail:
Stream: `http://<your-ip>/webcam2/`
__DONE__
Congratulations, you set up multi webcam with mainsailOS!
If you want to add more, just follow the guide again and increment the webcam*.txt number i.e. webcam**3**.txt and so on.
The webcams are easy accessible through your `http://<your-ip>/webcam`, `http://<your-ip>/webcam2` and so on.
Congratulations, you set up multi webcam with Mainsail!
If you want to add more, follow the guide again and increment the `webcam*.txt` number, i.e. `webcam**3**.txt` and so on.
The webcams are accessible through your `http://<your-ip>/webcam`, `http://<your-ip>/webcam2`, etc.
{: .success}
+3 -4
View File
@@ -16,16 +16,15 @@ In Mainsails interface settings you will find a section called "Preheat Presets"
### Preheat
Enter a name \(e.g. name, color and type of filament\) and the temperatures obtained. You can disable individual heaters and even specify a custom gcode for the preheat phase. The gcode will be executed after the selected temperatures are set.
Enter a name for your preset, such as filament, color or other text and the temperature you wish to set the preset at. You can disable individual heaters and even specify a custom gcode for the preheat phase. The G-Code will be executed after the selected temperatures are set.
![](../assets/img/quicktips/presets/preheat.png)
### Further Examples
#### Z-Offset
You can add custom G-Code to make it easier to switch between different Z-Offsets. This makes it easier to work with different surfaces and flexplates.
To quickly switch between different Z-offsets \(flexplates with smooth and textured surfaces\), you can create presets and deactivate the heaters.
As G-Code you simply enter `SET_GCODE_OFFSET Z=0.2`, of course with your determined offset.
To configure the G-Code enter `SET_GCODE_OFFSET Z=0.2`, and change `0.2` to the offset you need.
![](../assets/img/quicktips/presets/gcodeoffset.png)
+16 -25
View File
@@ -11,26 +11,20 @@ description: >-
{{ page.description }}
__Notice__
This is not a complete guide with every single step in detail, but rather a recommendation of what to do and especially what not to do to get access to the printer from somewhere remote from your network.
This guide does not include every step in detail, but is a recommendation for safe remote access.
{: .info}
You have to decide if you ..
- only want to have status messages on your smartphone
- or you need full remote access to Mainsail from everywhere
Of course, you can also use a combination of both.
You will need to decide if you want to receive status messages on your smartphone, have full remote access to Mainsail, or both.
## Status messages
For simple status messages there are a couple of additional tools that can be used:
- __discord:__ Mooncord is a bot that sends you status messages over discord.
[https://github.com/eliteSchwein/mooncord](https://github.com/eliteSchwein/mooncord)
- __telegram:__ moonraker-telegram is a bot that sends you status messages over telegram.
[https://github.com/Raabi91/moonraker-telegram](https://github.com/Raabi91/moonraker-telegram)
For simple status messages there are a two additional tools that can be used:
- __Discord:__ Mooncord is a bot that sends you status messages over Discord: [https://github.com/eliteSchwein/mooncord](https://github.com/eliteSchwein/mooncord)
- __Telegram:__ moonraker-telegram is a bot that sends you status messages over the messaging application Telegram: [https://github.com/Raabi91/moonraker-telegram](https://github.com/Raabi91/moonraker-telegram)
These tools are installed on the local machine and send the status messages via the respective platforms. Thus, no access to your local network from outside is necessary.
These tools are installed on the local machine and send status messages to their respective platforms. No changes are needed to externally access your local network.
For details, please refer to the projects instructions.
For details, please refer to each project's instructions and documentation.
## Remote Access to Mainsail
@@ -45,9 +39,9 @@ What <b>not to do</b>:
<div class="warning">
What you <b>could do</b>:
<ul>
<li>Use an external service provider (e.g. tailscale) to gain access to your home network.
<li>Use an external service provider such as Tailscale to gain access to your home network.
<ul>
<li>Con: you give the control out of your hand</li>
<li>A potential downside is not having personal control of the connection.</li>
</ul>
</li>
<li>Reverse Proxy</li>
@@ -59,8 +53,8 @@ What you <b>could do</b>:
<ul>
<li>Set up your own secured VPN tunnel.
<ul>
<li>either in the router</li>
<li>or your Pi</li>
<li>In your router</li>
<li>Or your Raspberry Pi</li>
</ul>
</li>
</ul>
@@ -68,18 +62,15 @@ What you <b>could do</b>:
## Set up VPN
Several routers allow you to set up a VPN tunnel without much effort.
After you have entered the login data into e.g. your smartphone, you will have secure access to your entire network, including Mainsail.
Several routers allow you to set up a VPN tunnel. After you have configured the VPN and logged in from another device, you will have secure access to your entire network, including Mainsail.
If your router does not support this, you can also set up your own VPN, e.g. on your Pi.
Therefore you could use: [OpenVPN](https://openvpn.net/), [WireGuard](https://www.wireguard.com/) or [PiVPN](https://www.pivpn.io/)
If your router does not support this, you can also set up your own VPN, for example, using your Raspberry Pi.
[OpenVPN](https://openvpn.net/), [WireGuard](https://www.wireguard.com/) or [PiVPN](https://www.pivpn.io/) are all options that could work.
To be able to reach your home network even with a non-static IP address, you should use a dynamic DNS service. This will forward a domain directly to your IP address. Often, these DynDNS services can also be set up directly in the router, so that the IP address gets automatically updated on a change.
Some free services: [DuckDNS](https://www.duckdns.org) or [FreeDNS ](https://freedns.afraid.org/)
To be able to reach your home network even with a non-static IP address, you will need to use a Dynamic DNS service. This will forward a domain directly to your IP address. Often these DynDNS services can also be set up directly in your router so when your external IP address changes, your domain will be automatically updated. Free Dynamic DNS services include [DuckDNS](https://www.duckdns.org) or [FreeDNS ](https://freedns.afraid.org/)
__Notice__
The devices that dial in via the VPN tunnel are assigned to a different address range. This address range must be configured in moonraker under _trusted_clients_ and _cors_domains_. [https://moonraker.readthedocs.io/en/latest/configuration/#authorization](https://moonraker.readthedocs.io/en/latest/configuration/#authorization) <br/><br/>
The devices that you use to access VPN tunnel are assigned to a different address range. This address range must be configured in Moonraker under _trusted_clients_ and _cors_domains_. See also [Moonraker's documentation on network authorization.](https://moonraker.readthedocs.io/en/latest/configuration/#authorization) <br/><br/>
For example:
__192.168.1__.x&emsp;_// devices on your regular LAN_
__192.168.50__.x&emsp;_// devices connected through your VPN tunnel_
+8 -9
View File
@@ -9,27 +9,26 @@ description: >-
# {{ page.title }}
{{ page.description }}
Moonraker has compatibility with Octoprint's API. To enable octoprint api compatibility,
add the following to your `moonraker.conf` and restart Moonraker.
Moonraker is compatible with Octoprint's API. To enable Octoprint API compatibility, add the following to your `moonraker.conf` and restart Moonraker.
```
[octoprint_compat]
```
### PrusaSlicer/SuperSlicer (prior to v2.3.0)
### PrusaSlicer / SuperSlicer (PrusaSlicer v2.3.0 and up)
Enable advanced or expert mode and change the options under `Printer Settings / General` as shown in the screenshot below. A "Physical Printer" must be configured in `Printer Settings / General`.
If not already been done, switch to advanced or expert mode and set the options under `Printer Settings / General` as shown in the screenshot below.
### PrusaSlicer / SuperSlicer (prior to PrusaSlicer v2.3.0)
Enable advanced or expert mode and change the options under `Printer Settings / General` as shown in the screenshot below.
For "API Key" you can type anything.
![screenshot](../assets/img/additional/FileUpload-PrusaSlicer-2.2.0.png)
### PrusaSlicer/SuperSlicer (since v2.3.0)
A "Physical Printer" must be defined to configure the settings from above.
More detailed instructions will follow.
### Cura with OctoPrint-Connect
Install the OctoPrint-Connection plugin via Marketplace. In `Settings > Printer > Manage Printers...`
you can find the Button `Connect OctoPrint`. Add your printer and type anything in the `API Key` field.
Install the OctoPrint-Connection plugin in Cura's Marketplace. In Cura go to `Settings > Printer > Manage Printers`
and find the Button `Connect OctoPrint`. Add your printer and type anything in the `API Key` field.
![screenshot](../assets/img/additional/FileUpload-Cura-4.8.png)
+3 -3
View File
@@ -13,7 +13,7 @@ description: >-
## Moonraker.conf
Add the following section to your printers moonraker.conf:
To enable updates in Mainsail's web interface, add the following section to your printer's `moonraker.conf`:
```yaml
[update_manager]
@@ -24,10 +24,10 @@ repo: mainsail-crew/mainsail
path: ~/mainsail
```
Once you have restarted the moonraker service, the Update Manager will appear in Mainsails machine settings.
Restart the Moonraker service and the Update Manager will appear in Mainsail's machine settings.
![](../assets/img/quicktips/update-manager/update-manager.png)
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 by visiting the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
{: .info}
+2 -2
View File
@@ -20,6 +20,6 @@ You will need to choose which way you want to install Mainsail on a Raspberry Pi
## Hosted
You an also setup [remote access](../quicktips/remote-access) without installing or configuring a web server.
You an also setup [remote access](/quicktips/remote-access) without installing or configuring a web server.
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.
You can test and review a hosted version of Mainsail at [my.mainsail.xyz](http://my.mainsail.xyz). Please read the [documentation](/setup/mainsail-hosted) for usage and configuration.
+1 -1
View File
@@ -181,7 +181,7 @@ Now it should be possible to open the interface: `http://<printer-ip>/`.
if you want to get the full experience with mainsail and klipper virtual_sdcard print, you should use these macros, or use them as templates for your own.
[Macro Link](../../necessary-cfg.md){: .btn target="_blank"}
[Macro Link](../../configurations/necessary-cfg.md){: .btn target="_blank"}
## Change the Hostname (optional)
+5 -7
View File
@@ -11,29 +11,27 @@ description: >-
# {{ page.title }}
{{ page.description }}
There are two background images that can be used in Mainsail. The first is in the sidebar and the second is in the main section.
At the moment there are two background images that can be set. In the sidebar- and mainview.
![screenshot](../assets/img/customizing/sidebar-main.jpg){:width="50%"}
For uploads you can use the built-in file manager. `(Settings > Machine)`
You can upload a new background image using the file manager located in `Settings > Machine`.
<!-- ![screenshot](../assets/img/customizing/screenshot-sidebar-background.png) -->
## Sidebar background image
Just load a background image into your .theme folder and name it `sidebar-background.<extension>`.
Load the background image into your .theme folder and name it `sidebar-background.<extension>`.
| Filename | sidebar-background |
| Valid file extensions | .jpg, .png, .gif and .svg |
| Recommended image size | 300x1000px |
## Mainview background image
## Main background image
Upload a background image into your .theme folder and name it `main-background.<extension>`.
| Filename | main-background |
| Valid file extensions | .jpg, .png, .gif and .svg |
**Please note**: By default, the background image is stretched to the entire area.
For example, if you want a repeating pattern, you also need to use custom css.
**Please note**: The background image is stretched to cover the entire area by default. For example, if you want a repeating pattern, you will also need to use custom CSS to style it correctly.
{: .info}
+12 -19
View File
@@ -6,49 +6,42 @@ nav_order: 30
permalink: /theming/custom-css
---
# Custom-CSS
# Custom CSS
The custom.css file allows you to customize the appearance of Mainsail
without the need of rebuilding it. All you need to do is to place a file
named "custom.css" into the configuration directory ".theme" and define
your css rules in there.
The `custom.css` file allows you to customize the appearance of Mainsail
without the need of rebuilding it. Place a file named `custom.css` in the `.theme` folder of your Mainsail installation and define your custom **C**ascading **S**tyle **S**heets (CSS) rules inside the file.
![file-screenshot](../assets/img/customizing/screenshot-custom-css.png "custom.css file")
![example result](../assets/img/customizing/screenshot-custom-css-example-result.png "custom.css result")
## How to CSS
## Customizing the CSS
You need to be familiar with the CSS (**C**ascading **S**tyle **S**heets) syntax.
There are many resources to learn CSS online, for example:
You need to be familiar with the CSS syntax to customize Mainsail. There are many resources available to learn CSS online, for example:
- https://www.w3schools.com/css/default.asp
### find the Element selector (example based on Chrome Browser)
### Finding the Element to Customize
Use your browser's built-in developer tools to find the right selector of the element you want to add your own flair to.
Open the developer tools:
right click anywhere on the page and select "inspect" (or F12 on the keyboard)
You will need to use your browser's built in developer tools to find the element you want to customize. You can do this by clicking the "Developer Tools" button in the browser's toolbar or by right clicking on the page and choosing `Inspect Element` or press `F12`.
![open dev-tools](../assets/img/customizing/screenshot-custom-css-inspect.png "open dev-tools")
1. Activate the "inspector"
1. Activate the developer tools and inspector
2. Select the desired element
3. Find the selector
4. Use the style editor and fiddle arround
4. Use the style editor to customize the element. Play around to find the style you like!
![find element](../assets/img/customizing/screenshot-custom-css-find-element.png "find the right element")
![fiddle](../assets/img/customizing/screenshot-custom-css-fiddle.png "fiddle")
When you have achieved your desired appearance copy the full "section" including selector and curly braces
When you have achieved your desired appearance, copy the full "section", including the selector and curly braces.
![fiddle 2](../assets/img/customizing/screenshot-custom-css-fiddle-2.png "fiddle 2")
Then copy it to the "custom.css" file (you can keep everything or only what you have added)
Next copy it inside the "custom.css" file (you can keep everything or only what you have added)
![example](../assets/img/customizing/screenshot-custom-css-example.png "custom.css example")
NOTE: After saving, your browser may need a uncached reload to show the change (https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Bypassing_cache)
NOTE: After saving, your browser may need a uncached reload to show the change. Visit [Wikipedia to learn how.](https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Bypassing_cache)
+7 -5
View File
@@ -1,20 +1,22 @@
---
layout: default
title: Logos/Icons
title: Logos and Icons
parent: Theming
nav_order: 20
permalink: /theming/favicons
description: >-
Replace the default logos/icons, to quickly recognize your printers.
Replace the default logos and icons with your own.
---
# {{ page.title }}
{{ page.description }}
For uploads you can use the built-in file manager. `(Settings > Machine)`
You can use the built in file manager in `Settings > Machine` to upload your own logos and icons. Customizing your icons can help identify your printers.
## Sidebar logo
Just upload a logo into your .theme folder and name it `sidebar-logo.<extension>`.
Upload a logo into your .theme folder and name it `sidebar-logo.<extension>`, where extension is one of the valid file types below.
For more information on creating and uploading to your `.theme` folder, please refer to the [Customizing your theme](/theming/prepare) chapter.
| Filename | sidebar-logo |
| Valid file extensions | .svg, .jpg, .png and .gif |
@@ -30,7 +32,7 @@ Upload favicons into your .theme folder and name them `favicon-32x32.png` *(requ
| Valid file extensions | .png |
| Recommended image size | 32x32px, 16x16px |
A hard browser refresh may be necessary (CTRL+SHIFT+F5 on windows or CMD+SHIFT+R on mac).
A browser refresh may be necessary (CTRL+SHIFT+F5 on windows or CMD++SHIFT+R on macOS) to reload without the browser cache.
{: .info}
![screenshot](../assets/img/customizing/screenshot-favicons.png)
+1 -1
View File
@@ -11,7 +11,7 @@ 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 the [Prepare](/theming/prepare) section to create a basic structure for your own theme or take a look in [themes](/theming/themes) to see if there are themes from the Mainsail community you would like to use or customize.
<div class="youtube-container">
<iframe type="text/html" src="https://www.youtube.com/embed/kbSfLQtl4tA" frameborder="0"></iframe>
+6 -11
View File
@@ -11,22 +11,17 @@ description: >-
# {{ page.title }}
{{ page.description }}
## Preparing your custom theme
## .theme folder
You only need to create a ".theme" folder in your config folder.
There you will place all the files you need to personalize Mainsail.
You can use Mainsail's built-in file manager (`Settings > Machine`) to create the `.theme` folder. Upload the files to this folder and edit your CSS files.
You can use Mainsail's built-in file manager `(Settings > Machine)` to create the .theme folder and upload all the files and edit your css-files.
The dot in the folder name means that it is a hidden folder. Therefore you have to activate "show hidden files".
The dot in the folder name means that it is a hidden folder. You will need to activate "Show Hidden Files" in Mainsail's file manager.
{: .info}
![screenshot](../assets/img/customizing/screenshot-display-hidden-files.png)
## directory structure
We have prepared the following simple overview for you.
Please refer to the separate instructions for details.
All listed files in the .theme folder are optional and will only be loaded if they are provided.
## Directory structure
The below directory and file structure provides an overview of files you could include. All listed files in the `.theme` folder are optional and will only be loaded if they are provided.
{: .info}
```
@@ -40,4 +35,4 @@ All listed files in the .theme folder are optional and will only be loaded if th
| | |-- favicon-32x32.png
| | |-- custom.css
| | |-- ...
```
```
+1 -1
View File
@@ -16,7 +16,7 @@ description: >-
## Setup Instructions
{: .no_toc}
Go to the repo of the theme and download it. Place the files according to [these instructions](/theming/prepare#directory-structure).
Click on the URL link below to go to the theme's repository and download it. Place the files according to [the instructions in the Preparing your theme section](/theming/prepare#directory-structure).
[KIAUH](/setup/kiauh) has an integrated theme installer
Go to `[Advanced] > [Theme installer]`, enter the desired theme <span class="key">id</span> and confirm with return.
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "mainsail",
"version": "2.1.0-beta4",
"version": "2.1.0",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mainsail",
"version": "2.1.0-beta4",
"version": "2.1.0",
"dependencies": {
"@codemirror/basic-setup": "^0.19.0",
"@codemirror/highlight": "^0.19.6",
+5 -2
View File
@@ -1,6 +1,6 @@
{
"name": "mainsail",
"version": "2.1.0-rc1",
"version": "2.1.1",
"private": true,
"decription": "a klipper web interface",
"author": {
@@ -92,5 +92,8 @@
"browserslist": [
"> 1%",
"last 2 versions"
]
],
"engines": {
"node": "^16"
}
}
+1 -1
View File
@@ -50,7 +50,7 @@ import ConnectionStatus from '@/components/ui/ConnectionStatus.vue'
ConnectionStatus,
}
})
export default class TheUpdateDialog extends Mixins(BaseMixin) {
export default class TheConnectingDialog extends Mixins(BaseMixin) {
counter = 0
get protocol() {
+8 -3
View File
@@ -30,9 +30,14 @@
{{ snackbarHeadline }}<br />
<strong>{{ filename }}</strong>
</div>
<span v-if="loaderProgress.total > 1" class="mr-1">({{ formatFilesize(loaderProgress.loaded) }}/{{ formatFilesize(loaderProgress.total) }})</span>
{{ Math.round(100 * loaderProgress.loaded / loaderProgress.total) }} % @ {{ loaderProgress.speed }}/s<br />
<v-progress-linear class="mt-2" :value="100 * loaderProgress.loaded / loaderProgress.total"></v-progress-linear>
<template v-if="loaderProgress.total > 0">
<span class="mr-1">({{ formatFilesize(loaderProgress.loaded) }}/{{ formatFilesize(loaderProgress.total) }})</span>
{{ Math.round(100 * loaderProgress.loaded / loaderProgress.total) }} % @ {{ loaderProgress.speed }}/s<br />
<v-progress-linear class="mt-2" :value="100 * loaderProgress.loaded / loaderProgress.total"></v-progress-linear>
</template>
<template v-else>
<v-progress-linear class="mt-2" indeterminate></v-progress-linear>
</template>
<template v-slot:action="{ attrs }">
<v-btn
color="red"
+22 -22
View File
@@ -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="checkDialog(klipperRestart)">
<v-list-item class="minheight30 pr-2" link @click="checkDialog(klipperRestart, 'klipper', 'restart')">
<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="checkDialog(klipperFirmwareRestart)">
<v-list-item class="minheight30 pr-2" link @click="checkDialog(klipperFirmwareRestart, 'klipper', 'firmwareRestart')">
<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="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-btn icon small v-if="getServiceState(service) === 'inactive'" @click="checkDialog(serviceStart, service, 'start')"><v-icon small>mdi-play</v-icon></v-btn>
<v-btn icon small v-else @click="checkDialog(serviceRestart, service, 'restart')"><v-icon small>mdi-restart</v-icon></v-btn>
<v-btn icon small :disabled="getServiceState(service) === 'inactive' || service === 'moonraker'" @click="checkDialog(serviceStop, service, 'stop')" :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="checkDialog(hostReboot)">
<v-list-item class="minheight30 pr-2" link @click="checkDialog(hostReboot, 'host', 'reboot')">
<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="checkDialog(hostShutdown)">
<v-list-item class="minheight30 pr-2" link @click="checkDialog(hostShutdown, 'host', 'shutdown')">
<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>
@@ -180,27 +180,27 @@ export default class TheTopCornerMenu extends Mixins(BaseMixin) {
return null
}
checkDialog(executableFunction: any, serviceName: string | null = null) {
checkDialog(executableFunction: any, serviceName: string, action: string) {
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)+''
const actionUppercase = action.trim().charAt(0).toUpperCase() + action.trim().slice(1)
let titleKey = 'App.TopCornerMenu.ConfirmationDialog.Title.Service' + actionUppercase
let descriptionKey = 'App.TopCornerMenu.ConfirmationDialog.Description.Service' + actionUppercase
const buttonKey = 'App.TopCornerMenu.' + actionUppercase
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)+''
if (serviceName === 'klipper' && ['stop', 'restart', 'firmwareRestart'].includes(action)){
titleKey = 'App.TopCornerMenu.ConfirmationDialog.Title.' + (action !== 'stop' ? 'Klipper' : 'Service') + actionUppercase
descriptionKey = 'App.TopCornerMenu.ConfirmationDialog.Description.Klipper' + actionUppercase
} else if (serviceName === 'host') {
titleKey = 'App.TopCornerMenu.ConfirmationDialog.Title.Host' + actionUppercase
descriptionKey = 'App.TopCornerMenu.ConfirmationDialog.Description.Host' + actionUppercase
}
this.dialogConfirmation.actionButtonText = this.$t('App.TopCornerMenu.' + action.charAt(0).toUpperCase() + action.slice(1))+''
this.dialogConfirmation.title = this.$t(titleKey).toString()
this.dialogConfirmation.description = this.$t(descriptionKey).toString()
this.dialogConfirmation.actionButtonText = this.$t(buttonKey).toString()
this.dialogConfirmation.show = true
} else executableFunction(serviceName)
}
+22 -10
View File
@@ -161,11 +161,20 @@
</template>
</v-snackbar>
<v-snackbar v-model="downloadSnackbar.status" :timeout="-1" :value="true" fixed right bottom dark>
<div>
{{ $t('GCodeViewer.Downloading') }} - {{ Math.round(downloadSnackbar.percent) }} % @ {{ formatFilesize(Math.round(downloadSnackbar.speed)) }}/s<br />
<strong>{{ downloadSnackbar.filename }}</strong>
</div>
<v-progress-linear class="mt-2" :value="downloadSnackbar.percent"></v-progress-linear>
<template v-if="downloadSnackbar.total > 0">
<div>
{{ $t('GCodeViewer.Downloading') }} - {{ Math.round(downloadSnackbar.percent) }} % @ {{ formatFilesize(Math.round(downloadSnackbar.speed)) }}/s<br />
<strong>{{ downloadSnackbar.filename }}</strong>
</div>
<v-progress-linear class="mt-2" :value="downloadSnackbar.percent"></v-progress-linear>
</template>
<template v-else>
<div>
{{ $t('GCodeViewer.Downloading') }}<br />
<strong>{{ downloadSnackbar.filename }}</strong>
</div>
<v-progress-linear class="mt-2" indeterminate></v-progress-linear>
</template>
<template v-slot:action="{ attrs }">
<v-btn color="red" text v-bind="attrs" @click="cancelDownload" style="min-width: auto;" >
<v-icon class="0">mdi-close</v-icon>
@@ -296,6 +305,10 @@ export default class Viewer extends Mixins(BaseMixin) {
return this.$store.state.printer.exclude_object?.excluded_objects ?? []
}
get nozzle_diameter() {
return this.$store.state.printer.configfile?.settings?.extruder?.nozzle_diameter ?? 0.4
}
async init() {
let canvasElement = this.$store.state.gcodeviewer?.canvasBackup ?? null
@@ -717,8 +730,7 @@ export default class Viewer extends Mixins(BaseMixin) {
if (viewer && colors.length) {
viewer.gcodeProcessor.resetTools()
colors.forEach((color: string) => {
//Todo get nozzle size
viewer.gcodeProcessor.addTool(color, 0.4) //Default the nozzle to 0.4 for now.
viewer.gcodeProcessor.addTool(color, this.nozzle_diameter)
})
this.setReloadRequiredFlag()
}
@@ -738,11 +750,11 @@ export default class Viewer extends Mixins(BaseMixin) {
{text: 'Feature', value: 2},
]
get colorMode(): string {
return this.$store.state.gui.gcodeViewer.colorMode ?? 2
get colorMode(): number {
return this.$store.state.gui.gcodeViewer?.colorMode ?? 2
}
set colorMode(newVal: string) {
set colorMode(newVal: number) {
this.$store.dispatch('gui/saveSetting', {name: 'gcodeViewer.colorMode', value: newVal})
if (viewer) {
@@ -11,10 +11,11 @@
v-model="value"
class="d-flex align-center"
@click:append="resetLimit"
@blur="value = target"
:label="label"
:suffix="unit"
:append-icon="this.value !== this.defaultValue ? 'mdi-restart' : ''"
:error="(this.value < this.min) || ((this.value > this.max) && this.max !== null)"
:append-icon="value !== defaultValue ? 'mdi-restart' : ''"
:error="error = ((value < min) || ((value > max) && max !== null))"
:step="step"
:min="min"
:max="max"
@@ -25,10 +26,24 @@
outlined
dense
>
<template v-slot:append-outer>
<template v-if="hasSpinner" 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>
<v-btn
@click="increment"
:disabled="((value >= max) && max !== null) || error"
class="mt-n3"
icon plain small
>
<v-icon>mdi-chevron-up</v-icon>
</v-btn>
<v-btn
@click="decrement"
:disabled="(value <= min) || error"
class="mb-n3"
icon plain small
>
<v-icon>mdi-chevron-down</v-icon>
</v-btn>
</div>
</template>
</v-text-field>
@@ -44,9 +59,12 @@ import BaseMixin from '@/components/mixins/base'
@Component
export default class FirmwareRetractionSettingsInput extends Mixins(BaseMixin) {
private value: number = 0
private error: boolean | undefined
@Prop({ type: String, required: true }) readonly label!: string
@Prop({ type: Number, required: false , default: 1 }) readonly step!: number
@Prop({ type: Boolean, required: false , default: false }) readonly hasSpinner!: number
@Prop({ type: Number, required: false , default: 1 }) readonly spinnerFactor!: 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
@@ -71,12 +89,12 @@ export default class FirmwareRetractionSettingsInput extends Mixins(BaseMixin) {
}
decrement(): void {
this.value = (this.value > this.min) ? Math.round((this.value - this.step) * (10 ** this.dec)) / (10 ** this.dec) : this.min
this.value = (this.value > this.min) ? Math.round((this.value - this.step * this.spinnerFactor) * (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.value = (this.value < this.max! || this.max === null) ? Math.round((this.value + this.step * this.spinnerFactor) * (10 ** this.dec)) / (10 ** this.dec) : this.max
this.sendCmd()
}
+1
View File
@@ -47,6 +47,7 @@
dense
clearable
clear-icon="mdi-refresh"
@keyup.enter="sendWithParams"
></v-text-field>
</v-col>
</v-row>
+25 -7
View File
@@ -11,10 +11,11 @@
v-model="value"
class="d-flex align-center"
@click:append="resetLimit"
@blur="value = target"
:label="label"
:suffix="unit"
:append-icon="this.value !== this.defaultValue ? 'mdi-restart' : ''"
:error="(this.value < this.min) || ((this.value > this.max) && this.max !== null)"
:append-icon="value !== defaultValue ? 'mdi-restart' : ''"
:error="error = ((value < min) || ((value > max) && max !== null))"
:step="step"
:min="min"
:max="max"
@@ -25,10 +26,24 @@
outlined
dense
>
<template v-slot:append-outer>
<template v-if="hasSpinner" 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>
<v-btn
@click="increment"
:disabled="((value >= max) && max !== null) || error"
class="mt-n3"
icon plain small
>
<v-icon>mdi-chevron-up</v-icon>
</v-btn>
<v-btn
@click="decrement"
:disabled="(value <= min) || error"
class="mb-n3"
icon plain small
>
<v-icon>mdi-chevron-down</v-icon>
</v-btn>
</div>
</template>
</v-text-field>
@@ -44,9 +59,12 @@ import BaseMixin from '@/components/mixins/base'
@Component
export default class MotionSettingsInput extends Mixins(BaseMixin) {
private value: number = 0
private error: boolean | undefined
@Prop({ type: String, required: true }) readonly label!: string
@Prop({ type: Number, required: false , default: 1 }) readonly step!: number
@Prop({ type: Boolean, required: false , default: false }) readonly hasSpinner!: number
@Prop({ type: Number, required: false , default: 1 }) readonly spinnerFactor!: 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
@@ -71,12 +89,12 @@ export default class MotionSettingsInput extends Mixins(BaseMixin) {
}
decrement(): void {
this.value = (this.value > this.min) ? Math.round((this.value - this.step) * (10 ** this.dec)) / (10 ** this.dec) : this.min
this.value = (this.value > this.min) ? Math.round((this.value - this.step * this.spinnerFactor) * (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.value = (this.value < this.max! || this.max === null) ? Math.round((this.value + this.step * this.spinnerFactor) * (10 ** this.dec)) / (10 ** this.dec) : this.max
this.sendCmd()
}
@@ -11,10 +11,11 @@
v-model="value"
class="d-flex align-center"
@click:append="resetLimit"
@blur="value = target"
:label="label"
:suffix="unit"
:append-icon="this.value !== this.defaultValue ? 'mdi-restart' : ''"
:error="(this.value < this.min) || ((this.value > this.max) && this.max !== null)"
:append-icon="value !== defaultValue ? 'mdi-restart' : ''"
:error="error = ((value < min) || ((value > max) && max !== null))"
:step="step"
:min="min"
:max="max"
@@ -25,10 +26,24 @@
outlined
dense
>
<template v-slot:append-outer>
<template v-if="hasSpinner" 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>
<v-btn
@click="increment"
:disabled="((value >= max) && max !== null) || error"
class="mt-n3"
icon plain small
>
<v-icon>mdi-chevron-up</v-icon>
</v-btn>
<v-btn
@click="decrement"
:disabled="(value <= min) || error"
class="mb-n3"
icon plain small
>
<v-icon>mdi-chevron-down</v-icon>
</v-btn>
</div>
</template>
</v-text-field>
@@ -44,9 +59,12 @@ import BaseMixin from '@/components/mixins/base'
@Component
export default class PressureAdvanceSettingsInput extends Mixins(BaseMixin) {
private value: number = 0
private error: boolean | undefined
@Prop({ type: String, required: true }) readonly label!: string
@Prop({ type: Number, required: false , default: 1 }) readonly step!: number
@Prop({ type: Boolean, required: false , default: false }) readonly hasSpinner!: number
@Prop({ type: Number, required: false , default: 1 }) readonly spinnerFactor!: 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
@@ -72,12 +90,12 @@ export default class PressureAdvanceSettingsInput extends Mixins(BaseMixin) {
}
decrement(): void {
this.value = (this.value > this.min) ? Math.round((this.value - this.step) * (10 ** this.dec)) / (10 ** this.dec) : this.min
this.value = (this.value > this.min) ? Math.round((this.value - this.step * this.spinnerFactor) * (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.value = (this.value < this.max! || this.max === null) ? Math.round((this.value + this.step * this.spinnerFactor) * (10 ** this.dec)) / (10 ** this.dec) : this.max
this.sendCmd()
}
@@ -121,7 +121,7 @@ export default class ControlPanelExtruder extends Mixins(BaseMixin) {
}
get minExtrudeTemp() {
return this.$store.state.printer.configfile.config.extruder.min_extrude_temp
return this.$store.state.printer.configfile.settings.extruder.min_extrude_temp
}
doSend(gcode: string) {
+7 -3
View File
@@ -33,8 +33,8 @@
:loading="printer.socket.isConnecting"
:toolbar-color="isCurrentPrinter ? 'primary' : ''"
>
<template v-slot:buttons v-if="printer.socket.isConnected && printer_webcams.length">
<v-menu :offset-y="true" title="Webcam">
<template v-slot:buttons>
<v-menu :offset-y="true" title="Webcam" v-if="showWebcamSwitch">
<template v-slot:activator="{ on, attrs }">
<v-btn text v-bind="attrs" v-on="on">
<v-icon small>mdi-webcam</v-icon>
@@ -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" :show-fps="false"></webcam-mjpegstreamer>
<webcam-mjpegstreamer :cam-settings="currentWebcam" :printer-url="printerUrl" :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>
@@ -193,6 +193,10 @@ export default class FarmPrinterPanel extends Mixins(BaseMixin) {
return this.$store.getters['farm/'+this.printer._namespace+'/getPrinterPreview']
}
get showWebcamSwitch() {
return (this.printer.socket.isConnected && this.printer_webcams.length > 0)
}
get printer_webcams() {
return this.$store.getters['farm/'+this.printer._namespace+'/getPrinterWebcams']
}
+15 -11
View File
@@ -133,7 +133,7 @@
:search="search"
:custom-filter="advancedSearch"
mobile-breakpoint="0"
@pagination="refreshMetadata"
@current-items="refreshMetadata"
>
<template slot="items">
@@ -904,14 +904,13 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
value.toString().toLowerCase().indexOf(search.toLowerCase()) !== -1
}
refreshMetadata(data: any) {
const items = sortFiles(this.files, [this.sortBy], [this.sortDesc])
for (let i = data.pageStart; i < data.pageStop; i++) {
if (items[i] && !items[i].isDirectory && !items[i].metadataPulled) {
let filename = (this.currentPath+'/'+items[i].filename).substring(7)
this.$socket.emit('server.files.metadata', { filename: filename }, { action: 'files/getMetadata' })
}
}
refreshMetadata(data: FileStateFile[]) {
const items = data.filter((file) => !file.isDirectory && !file.metadataRequested && !file.metadataPulled)
items.forEach((file: FileStateFile) => {
this.$store.dispatch('files/requestMetadata', {
filename: (this.currentPath+'/'+file.filename)
})
})
}
created() {
@@ -925,7 +924,9 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
thumb.height >= thumbnailSmallMin && thumb.height <= thumbnailSmallMax
)
if (thumbnail && 'relative_path' in thumbnail) return this.apiUrl+'/server/files/'+this.currentPath+'/'+encodeURI(thumbnail.relative_path)+'?timestamp='+item.modified.getTime()
if (thumbnail && 'relative_path' in thumbnail) {
return `${this.apiUrl}/server/files/${encodeURI(this.currentPath)}/${encodeURI(thumbnail.relative_path)}?timestamp=${item.modified.getTime()}`
}
}
return ''
@@ -935,7 +936,9 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
if (item.thumbnails?.length) {
const thumbnail = item.thumbnails.find(thumb => thumb.width >= thumbnailBigMin)
if (thumbnail && 'relative_path' in thumbnail) return this.apiUrl+'/server/files/'+this.currentPath+'/'+encodeURI(thumbnail.relative_path)+'?timestamp='+item.modified.getTime()
if (thumbnail && 'relative_path' in thumbnail) {
return `${this.apiUrl}/server/files/${encodeURI(this.currentPath)}/${encodeURI(thumbnail.relative_path)}?timestamp=${item.modified.getTime()}`
}
}
return ''
@@ -1033,6 +1036,7 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
root: 'gcodes',
path: path !== '' ? '/'+path : '',
filename: item.filename,
size: item.size,
permissions: item.permissions
})
}
+4 -3
View File
@@ -595,8 +595,9 @@ export default class HistoryListPanel extends Mixins(BaseMixin) {
relative_url = item.filename.substr(0, item.filename.lastIndexOf('/')+1)
}
if (thumbnail && 'relative_path' in thumbnail)
return this.apiUrl+'/server/files/gcodes/'+relative_url+thumbnail.relative_path+'?timestamp='+item.metadata.modified
if (thumbnail && 'relative_path' in thumbnail) {
return `${this.apiUrl}/server/files/gcodes/${encodeURI(relative_url+thumbnail.relative_path)}?timestamp=${item.metadata.modified}`
}
}
return false
@@ -616,7 +617,7 @@ export default class HistoryListPanel extends Mixins(BaseMixin) {
}
if (thumbnail && 'relative_path' in thumbnail)
return this.apiUrl+'/server/files/gcodes/'+relative_url+thumbnail.relative_path+'?timestamp='+item.metadata.modified
return `${this.apiUrl}/server/files/gcodes/${encodeURI(relative_url+thumbnail.relative_path)}?timestamp=${item.metadata.modified}`
}
return false
+12 -7
View File
@@ -6,9 +6,15 @@
card-class="klippy-state-panel"
>
<template v-if="klippyIsConnected">
<v-card-text class="py-1 mt-2">
<v-card-text class="py-1 mt-2" v-if="klippy_message !== null">
<pre style="white-space: pre-wrap;">{{ klippy_message }}</pre>
</v-card-text>
<v-card-text v-else class="text-center py-3">
<v-progress-circular
indeterminate
color="primary"
></v-progress-circular>
</v-card-text>
<v-divider class="mt-2"></v-divider>
<v-card-actions class="justify-start">
<v-btn small @click="restart" class="ml-2 error--text"><v-icon class="mr-sm-2">mdi-restart</v-icon>{{ $t('Panels.KlippyStatePanel.Restart') }}</v-btn>
@@ -28,7 +34,7 @@
<script lang="ts">
import Component from 'vue-class-component'
import {Mixins, Watch} from 'vue-property-decorator'
import {Mixins} from 'vue-property-decorator'
import BaseMixin from '../mixins/base'
import ConnectionStatus from '../ui/ConnectionStatus.vue'
import Panel from '@/components/ui/Panel.vue'
@@ -37,11 +43,10 @@ import Panel from '@/components/ui/Panel.vue'
components: {Panel, ConnectionStatus}
})
export default class KlippyStatePanel extends Mixins(BaseMixin) {
private timer: number | null = null
//private timer: number | null = null
get klippy_message() {
return this.$store.state.server.klippy_message ?? ''
return this.$store.state.server.klippy_message ?? null
}
restart() {
@@ -52,7 +57,7 @@ export default class KlippyStatePanel extends Mixins(BaseMixin) {
this.$socket.emit('printer.firmware_restart', { }, { loading: 'firmwareRestart' })
}
requestKlippyState() {
/*requestKlippyState() {
this.$socket.emit('printer.info', {}, { action: 'printer/getInfo' })
}
@@ -68,6 +73,6 @@ export default class KlippyStatePanel extends Mixins(BaseMixin) {
this.requestKlippyState()
}, 2000)
}
}
}*/
}
</script>
@@ -626,6 +626,7 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
root: this.root,
path: this.currentPath,
filename: item.filename,
size: item.size,
permissions: item.permissions
})
}
@@ -656,7 +657,7 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
downloadFile() {
const filename = (this.absolutePath+'/'+this.contextMenu.item.filename)
const href = this.apiUrl + '/server/files' + filename
const href = `${this.apiUrl}/server/files${encodeURI(filename)}`
window.open(href)
}
@@ -60,7 +60,14 @@ export default class EndstopPanel extends Mixins(BaseMixin) {
public sortEndstops: any = {}
get endstops() {
return this.$store.state.printer.endstops ?? {}
const endstops = this.$store.state.printer.endstops ?? {}
return Object.keys(endstops).sort().reduce(
(obj: any, key: string) => {
obj[key] = endstops[key]
return obj
}, {}
)
}
get existProbe () {
@@ -173,6 +173,7 @@
import {Component, Mixins} from 'vue-property-decorator'
import BaseMixin from '../../mixins/base'
import Panel from '@/components/ui/Panel.vue'
import {caseInsensitiveSort} from '@/plugins/helpers'
@Component({
components: {Panel}
})
@@ -192,7 +193,9 @@ export default class SystemPanel extends Mixins(BaseMixin) {
}
get mcus() {
return this.$store.getters['printer/getMcus'] ?? []
const mcus = this.$store.getters['printer/getMcus'] ?? []
return caseInsensitiveSort(mcus, 'name')
}
get hostStats() {
@@ -3,9 +3,11 @@
<v-row>
<v-col class="col-12 col-md-6">
<firmware-retraction-settings-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractLength')"
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractLength').toString()"
:target="current_retract_length"
:default-value="config_retract_length"
:hasSpinner="true"
:spinnerFactor="10"
:step="0.01"
:min="0"
:max="null"
@@ -16,9 +18,11 @@
</v-col>
<v-col class="col-12 col-md-6">
<firmware-retraction-settings-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractSpeed')"
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.RetractSpeed').toString()"
:target="current_retract_speed"
:default-value="config_retract_speed"
:hasSpinner="true"
:spinnerFactor="5"
:step="1"
:min="1"
:max="null"
@@ -31,9 +35,11 @@
<v-row>
<v-col class="col-12 col-md-6">
<firmware-retraction-settings-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractExtraLength')"
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractExtraLength').toString()"
:target="current_unretract_extra_length"
:default-value="config_unretract_extra_length"
:hasSpinner="true"
:spinnerFactor="10"
:step="0.01"
:min="0"
:max="null"
@@ -44,9 +50,11 @@
</v-col>
<v-col class="col-12 col-md-6">
<firmware-retraction-settings-input
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractSpeed')"
:label="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.UnretractSpeed').toString()"
:target="current_unretract_speed"
:default-value="config_unretract_speed"
:hasSpinner="true"
:spinnerFactor="5"
:step="1"
:min="1"
:max="null"
@@ -71,35 +79,35 @@ import FirmwareRetractionSettingsInput from '@/components/inputs/FirmwareRetract
export default class FirmwareRetractionSettings extends Mixins(BaseMixin) {
get current_retract_length(): number {
return this.$store.state.printer?.firmware_retraction?.retract_length ?? 0
return Math.floor((this.$store.state.printer?.firmware_retraction?.retract_length ?? 0) * 100) / 100
}
get current_retract_speed(): number {
return this.$store.state.printer?.firmware_retraction?.retract_speed ?? 20
return Math.trunc(this.$store.state.printer?.firmware_retraction?.retract_speed ?? 20)
}
get current_unretract_extra_length(): number {
return this.$store.state.printer?.firmware_retraction?.unretract_extra_length ?? 0
return Math.floor((this.$store.state.printer?.firmware_retraction?.unretract_extra_length ?? 0) * 100) / 100
}
get current_unretract_speed(): number {
return this.$store.state.printer?.firmware_retraction?.unretract_speed ?? 10
return Math.trunc(this.$store.state.printer?.firmware_retraction?.unretract_speed ?? 10)
}
get config_retract_length(): number {
return this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_length ?? 0
return Math.floor((this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_length ?? 0) * 100) / 100
}
get config_retract_speed(): number {
return this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_speed ?? 20
return Math.trunc(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.retract_speed ?? 20)
}
get config_unretract_extra_length(): number {
return this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_extra_length ?? 0
return Math.floor((this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_extra_length ?? 0) * 100) / 100
}
get config_unretract_speed(): number {
return this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_speed ?? 10
return Math.trunc(this.$store.state.printer?.configfile?.settings?.firmware_retraction?.unretract_speed ?? 0)
}
}
</script>
@@ -2,26 +2,26 @@
<panel
v-if="klipperReadyForGui"
icon="mdi-engine"
:title="$t('Panels.MachineSettingsPanel.Headline')"
:title="$t('Panels.MachineSettingsPanel.Headline').toString()"
:collapsible="true"
card-class="machine-settings-panel"
>
<div>
<sub-panel
:title="$t('Panels.MachineSettingsPanel.MotionSettings.Motion')"
:title="$t('Panels.MachineSettingsPanel.MotionSettings.Motion').toString()"
sub-panel-class="motion-settings-subpanel"
>
<motion-settings></motion-settings>
</sub-panel>
<sub-panel
:title="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.PressureAdvance')"
:title="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.PressureAdvance').toString()"
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')"
:title="$t('Panels.MachineSettingsPanel.FirmwareRetractionSettings.FirmwareRetraction').toString()"
sub-panel-class="firmware-retraction-settings-subpanel"
>
<firmware-retraction-settings></firmware-retraction-settings>
@@ -3,9 +3,11 @@
<v-row>
<v-col class="col-12 col-md-6">
<motion-settings-input
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Velocity')"
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Velocity').toString()"
:target="current_velocity"
:default-value="max_velocity"
:hasSpinner="true"
:spinnerFactor="5"
:step="1"
:min="1"
:max="null"
@@ -16,13 +18,14 @@
</v-col>
<v-col class="col-12 col-md-6">
<motion-settings-input
:label="$t('Panels.MachineSettingsPanel.MotionSettings.SquareCornerVelocity')"
:label="$t('Panels.MachineSettingsPanel.MotionSettings.SquareCornerVelocity').toString()"
:target="current_square_corner_velocity"
:default-value="max_square_corner_velocity"
:step="1"
:min="1"
:hasSpinner="true"
:step="0.1"
:min="0.1"
:max="null"
:dec="0"
:dec="1"
unit="mm/s"
attribute-name="SQUARE_CORNER_VELOCITY"
></motion-settings-input>
@@ -31,9 +34,11 @@
<v-row>
<v-col class="col-12 col-md-6">
<motion-settings-input
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Acceleration')"
:label="$t('Panels.MachineSettingsPanel.MotionSettings.Acceleration').toString()"
:target="current_accel"
:default-value="max_accel"
:hasSpinner="true"
:spinnerFactor="100"
:step="1"
:min="1"
:max="null"
@@ -44,9 +49,11 @@
</v-col>
<v-col class="col-12 col-md-6">
<motion-settings-input
:label="$t('Panels.MachineSettingsPanel.MotionSettings.MaxAccelToDecel')"
:label="$t('Panels.MachineSettingsPanel.MotionSettings.MaxAccelToDecel').toString()"
:target="current_accel_to_decel"
:default-value="max_accel_to_decel"
:hasSpinner="true"
:spinnerFactor="100"
:step="1"
:min="1"
:max="null"
@@ -71,35 +78,35 @@ import MotionSettingsInput from '@/components/inputs/MotionSettingsInput.vue'
export default class MotionSettings extends Mixins(BaseMixin) {
get current_velocity(): number {
return this.$store.state.printer?.toolhead?.max_velocity ?? 300
return Math.trunc(this.$store.state.printer?.toolhead?.max_velocity ?? 300)
}
get current_accel(): number {
return this.$store.state.printer?.toolhead?.max_accel ?? 3000
return Math.trunc(this.$store.state.printer?.toolhead?.max_accel ?? 3000)
}
get current_accel_to_decel(): number {
return this.$store.state.printer?.toolhead?.max_accel_to_decel ?? 1500
return Math.trunc(this.$store.state.printer?.toolhead?.max_accel_to_decel ?? 1500)
}
get current_square_corner_velocity(): number {
return this.$store.state.printer?.toolhead?.square_corner_velocity ?? 8
return Math.floor((this.$store.state.printer?.toolhead?.square_corner_velocity ?? 8) * 10) / 10
}
get max_velocity(): number {
return this.$store.state.printer?.configfile?.settings?.printer?.max_velocity ?? 300
return Math.trunc(this.$store.state.printer?.configfile?.settings?.printer?.max_velocity ?? 300)
}
get max_accel(): number {
return this.$store.state.printer?.configfile?.settings?.printer?.max_accel ?? 3000
return Math.trunc(this.$store.state.printer?.configfile?.settings?.printer?.max_accel ?? 3000)
}
get max_accel_to_decel(): number {
return this.$store.state.printer?.configfile?.settings?.printer?.max_accel_to_decel ?? 1500
return Math.trunc(this.$store.state.printer?.configfile?.settings?.printer?.max_accel_to_decel ?? 1500)
}
get max_square_corner_velocity(): number {
return this.$store.state.printer?.configfile?.settings?.printer?.square_corner_velocity ?? 8
return Math.floor((this.$store.state.printer?.configfile?.settings?.printer?.square_corner_velocity ?? 8) * 10) / 10
}
}
</script>
@@ -13,7 +13,7 @@
</v-btn>
<v-select
v-model="selectedExtruder"
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.Extruder')"
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.Extruder').toString()"
:items="all_extruders"
:value="active_extruder"
hide-details
@@ -24,12 +24,13 @@
</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')"
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.Advance').toString()"
:target="current_pressure_advance"
:default-value="default_pressure_advance"
:extruder="selectedExtruder"
:hasSpinner="true"
:min="0"
:max="1"
:max="null"
:step="0.001"
:dec="3"
unit="mm/s"
@@ -38,14 +39,16 @@
</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')"
:label="$t('Panels.MachineSettingsPanel.PressureAdvanceSettings.SmoothTime').toString()"
:target="current_smooth_time"
:default-value="default_smooth_time"
:extruder="selectedExtruder"
:hasSpinner="true"
:min="0"
:max="0.2"
:step="0.01"
:dec="2"
:step="0.001"
:spinnerFactor="10"
:dec="3"
unit="s"
attribute-name="SMOOTH_TIME"
></pressure-advance-settings-input>
@@ -86,19 +89,19 @@ export default class PressureAdvanceSettings extends Mixins(BaseMixin) {
}
get current_pressure_advance(): number {
return this.$store.state.printer?.[this.selectedExtruder]?.pressure_advance ?? 0
return Math.floor((this.$store.state.printer?.[this.selectedExtruder]?.pressure_advance ?? 0) * 1000) / 1000
}
get current_smooth_time(): number {
return this.$store.state.printer?.[this.selectedExtruder]?.smooth_time ?? 0.04
return Math.floor((this.$store.state.printer?.[this.selectedExtruder]?.smooth_time ?? 0.04) * 1000) / 1000
}
get default_pressure_advance(): number {
return this.$store.state.printer.configfile?.settings?.[this.selectedExtruder]?.pressure_advance ?? 0
return Math.floor((this.$store.state.printer.configfile?.settings?.[this.selectedExtruder]?.pressure_advance ?? 0) * 1000) / 1000
}
get default_smooth_time(): number {
return this.$store.state.printer.configfile?.settings?.[this.selectedExtruder]?.pressure_advance_smooth_time ?? 0.04
return Math.floor((this.$store.state.printer.configfile?.settings?.[this.selectedExtruder]?.pressure_advance_smooth_time ?? 0.04) * 1000) / 1000
}
}
+6 -4
View File
@@ -513,8 +513,9 @@ export default class StatusPanel extends Mixins(BaseMixin) {
relative_url = this.current_file.filename.substr(0, this.current_file.filename.lastIndexOf('/')+1)
}
if (thumbnail && 'relative_path' in thumbnail)
return this.apiUrl+'/server/files/gcodes/'+relative_url+thumbnail.relative_path+'?timestamp='+this.current_file.modified
if (thumbnail && 'relative_path' in thumbnail) {
return `${this.apiUrl}/server/files/gcodes/${encodeURI(relative_url+thumbnail.relative_path)}?timestamp=${this.current_file.modified}`
}
}
}
@@ -534,8 +535,9 @@ export default class StatusPanel extends Mixins(BaseMixin) {
relative_url = this.current_file.filename.substr(0, this.current_file.filename.lastIndexOf('/')+1)
}
if (thumbnail && 'relative_path' in thumbnail)
return this.apiUrl+'/server/files/gcodes/'+relative_url+thumbnail.relative_path+'?timestamp='+this.current_file.modified
if (thumbnail && 'relative_path' in thumbnail) {
return `${this.apiUrl}/server/files/gcodes/${encodeURI(relative_url+thumbnail.relative_path)}?timestamp=${this.current_file.modified}`
}
}
}
@@ -443,7 +443,7 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
const filename = item.filename.slice(0, item.filename.lastIndexOf('.'))
const preview = this.files?.find((file) => file.filename === filename+'.jpg')
if (preview) {
return this.apiUrl+'/server/files/'+this.currentPath+'/'+preview.filename+'?timestamp='+preview.modified.getTime()
return `${this.apiUrl}/server/files/${encodeURI(this.currentPath)}/${encodeURI(preview.filename)}?timestamp=${preview.modified.getTime()}`
}
return ''
@@ -457,7 +457,7 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
else if (item.filename.endsWith('zip')) {
this.downloadFile(item.filename)
} else if (item.filename.endsWith('mp4')) {
this.videoDialogFilename = this.currentPath + '/' + item.filename
this.videoDialogFilename = encodeURI(`${this.currentPath}/${item.filename}`)
this.boolVideoDialog = true
}
}
+932 -917
View File
File diff suppressed because it is too large. Load diff
+22 -4
View File
@@ -71,6 +71,13 @@
"DescriptionPreviouslyFrequencyCapped": "rPi ARM la fecuencia maxima fue al menos una vez limitada a 1.2 GHz desde el ultimo encendido.",
"DescriptionPreviouslyThrottled": "rPI ARM el nucleo se redujo al menos una vez desde el último encendido",
"DescriptionPreviouslyTemperatureLimited": "rPi uC (3A+/3B+ only) la temperatura estuvo por lo menos una vez del limite (default 60C) desde el ultimo encendido."
},
"Titles": {
"Complete": "Completado - {filename}",
"Error": "Error",
"Pause": "Pausar impresion",
"Printing": "{percent}% imprimiendo - {filename}",
"PrintingETA": "{percent}% imprimiendo - ETA: {eta} - {filename}"
}
},
"ConnectionDialog": {
@@ -178,7 +185,10 @@
"Filament": "Filamento",
"StartPrint": "Iniciar impresion",
"View3D": "Vista 3D",
"WrongFileUploaded": "Subida denegada para {filename}. Formato de archivo erroneo"
"WrongFileUploaded": "Subida denegada para {filename}. Formato de archivo erroneo",
"FilamentName": "Nombre del filamento",
"FilamentType": "Tipo del filamento",
"NozzleDiameter": "Diametro del pico"
},
"Console": {
"SetupConsole": "Confiurar Consola",
@@ -405,7 +415,9 @@
"Target": "temperatura objetivo",
"Power": "Poder PWM",
"Speed": "Velocidad PWN"
}
},
"TempTooHigh": "Temperatura muy alta para {name}! (max: {max})",
"TempTooLow": "Temperatura muy baja para {name}! (min: {min})"
},
"WebcamPanel": {
"Headline": "Camara Web",
@@ -629,7 +641,11 @@
"Bars": "Barras",
"Circle": "Circulo",
"Cross": "Cruz",
"Style": "Estylo"
"Style": "Estylo",
"MaximumValues": "Valores Maximos: {maximum}",
"MaximumValuesVisibility": "Maximo valor de {maximum} se recomiendo para mejor visibilidad",
"MinimumValues": "Valores Minimos: {minimum}",
"ValueGreaterThan": "El valor tiene que se mas gande de {value}"
},
"ConsoleTab": {
"Console": "Consola",
@@ -752,7 +768,9 @@
"StreamDelayCompensation": "Compensación de retraso de stream",
"StreamDelayCompensationDescription": "Retraso de captura de cuadro",
"ParkTimeDescription": "Agregue tiempo de inactividad adicional al apartar.",
"ParkTime": "Park Time"
"ParkTime": "Park Time",
"VariableFpsMinDescription": "",
"VariableFpsMaxDescription": ""
},
"UiSettingsTab": {
"BoolBigThumbnail": "Miniatura grande",
+31 -12
View File
@@ -1,4 +1,5 @@
{
"_last_update:": "09.01.2022",
"title": "Français",
"App": {
"Printers": "Imprimantes",
@@ -72,6 +73,13 @@
"Updating": "Mise à jour {software}...",
"UpdatingDone": "Mise à jour {software} effectuée !",
"RecoveringDone": "Restauration {software} effectuée !"
},
"Titles": {
"Error": "ERREUR",
"Pause": "Pause impression",
"Printing": "{percent}% imprimé - {filename}",
"PrintingETA": "{percent}% imprimé - TEA: {eta} - {filename}",
"Complete": "Terminé - {filename}"
}
},
"Router": {
@@ -155,7 +163,10 @@
"StartPrint": "Imprimer",
"Filament": "Filament",
"AddToQueue": "Ajouter à la queue",
"WrongFileUploaded": "Téléchargem,ent refusé pour {filename}. Mauvais format de fichier !"
"WrongFileUploaded": "Téléchargem,ent refusé pour {filename}. Mauvais format de fichier !",
"FilamentName": "Nom du filament",
"FilamentType": "Type de filament",
"NozzleDiameter": "Diamètre de la buze"
},
"Console": {
"SetupConsole": "Configuration console",
@@ -376,7 +387,9 @@
"Speed": "Vitesse-PWM",
"Target": "température cible",
"Temperature": "température actuelle"
}
},
"TempTooHigh": "La température de {name} est trop haute, (max: {max})",
"TempTooLow": "La température de {name} est trop basse, (min: {min})"
},
"WebcamPanel": {
"Headline": "Caméra",
@@ -474,7 +487,11 @@
"Bars": "Barres",
"Circle": "Cercle",
"Cross": "Croix",
"Style": "Style"
"Style": "Style",
"MaximumValues": "Valeurs maximum: {maximum}",
"MinimumValues": "Valeurs minimum: {minimum}",
"MaximumValuesVisibility": "Le maximum de {maximum} valeurs est recommandé pour la meilleure visibilité",
"ValueGreaterThan": "La valeur doit être supérieure à {value}"
},
"Edit": "Edition",
"GeneralTab": {
@@ -660,7 +677,7 @@
"GcodeVerboseDescription": "Si activé, les macros G-Code envoient des informations détaillées à la console.",
"General": "Général",
"Mode": "Mode",
"ModeDescription": "Choix entre les modes macro de couche (layermacro) et Hyperlapse (basé sur le temps).",
"ModeDescription": "Choix entre les modes Layermacro (macro de couche) et Hyperlapse (basé sur le temps).",
"HyperlapseCycle": "Temps de cycle Hyperlapse",
"HyperlapseCycleDescription": "Une image sera capturée chaque X secondes.",
"OutputFramerate": "Images par seconde",
@@ -690,7 +707,7 @@
"TimeFormatCodeDescription": "Définit comment le code horaire du fichier de sortie doit être encodé.",
"Timelapse": "Accéléré",
"TravelSpeed": "Vitesse de déplacement",
"TravelSpeedDescription": "Vitesse de déplacement pour se rendre à la position de parking et pour reprendre l'impresion.",
"TravelSpeedDescription": "Vitesse de déplacement pour se rendre à la position de parking et pour reprendre l'impression.",
"VariableFps": "IPS variable",
"VariableFpsDescription": "Si activé, le nombre d'images par seconde (IPS) sera calculé tenant compte de la taille du fichier de sortie.",
"VariableFpsMax": "IPS variable max",
@@ -703,10 +720,12 @@
"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",
"StreamDelayCompensation": "Délai 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)"
"FwRetractDescription": "Utilisation de la rétractation firmware dans la macro \"accéléré\" (timelapse)",
"VariableFpsMaxDescription": "En cas d'IPS variable, nombre maximum d'images par seconde (IPS)",
"VariableFpsMinDescription": "En cas d'IPS variable, nombre minimum d'images par seconde (IPS)"
}
},
"ConnectionDialog": {
@@ -854,7 +873,7 @@
},
"Timelapse": {
"AllFiles": "Tous",
"Autorender": "Affichage automatique",
"Autorender": "Calcul automatique",
"Cancel": "Annuler",
"Create": "Créer",
"CreateNewDirectory": "nouveau dossier",
@@ -885,8 +904,8 @@
"Rename": "Renommer",
"RenameDirectory": "Renommer le dossier",
"RenameFile": "Renommer le fichier",
"Render": "afficher",
"RenderSettings": "Paramètres d'affichage",
"Render": "calculer",
"RenderSettings": "Paramètres de calcul de la vidéo",
"SaveFrames": "Sauvegarde des images",
"Search": "recherche",
"StartRender": "affiche",
@@ -894,8 +913,8 @@
"TargetFps": "IPS fichier",
"Targetlength": "Taille fichier",
"TimelapseFiles": "Fichiers vidéo",
"TimelapseRendering": "Affiche vidéos",
"TimelapseRenderingSuccessful": "Affichage réussi",
"TimelapseRendering": "Calcul de la vidéo",
"TimelapseRenderingSuccessful": "Calcul de la vidéo réussi",
"Total": "Total",
"Type": "Type",
"Used": "Utilisé",
+18 -4
View File
@@ -2,6 +2,13 @@
"title": "Magyar",
"App": {
"Printers": "Nyomtatók",
"Titles": {
"Error": "HIBA",
"Pause": "Nyomtatás Állj",
"Printing": "{percent}% Nyomtatás - {filename}",
"PrintingETA": "{percent}% Nyomtatás - IDŐ: {eta} - {filename}",
"Complete": "Elkészült - {filename}"
},
"TopBar": {
"SAVE_CONFIG": "BÁLLÍTÁS MENTÉSE",
"UploadPrint": "Feltöltés és nyomtatás",
@@ -180,9 +187,12 @@
"LastModified": "Legutóbb módosítva",
"ObjectHeight": "Tárgymagasság",
"LayerHeight": "Rétegmagasság",
"NozzleDiameter": "Fúvóka Átmérője",
"Filament": "Filament",
"FilamentUsage": "Filament felhasználás",
"FilamentWeight": "Filament súlya",
"FilamentName": "Filament Neve",
"FilamentType": "Filament Típus",
"FilamentUsage": "Filament Felhasználás",
"FilamentWeight": "Filament Súlya",
"PrintTime": "Nyomtatási idő",
"Slicer": "Slicer",
"Downloading": "Letöltés...",
@@ -397,7 +407,7 @@
"Motion": "Mozgás",
"Velocity": "Gyorsaság",
"Acceleration": "Gyorsulás",
"Deceleration": "Lassulás",
"MaxAccelToDecel": "Lassulás Max Gyorsulása",
"SquareCornerVelocity": "Sebesség a sarkokban"
},
"PressureAdvanceSettings": {
@@ -801,7 +811,11 @@
"MoveDistancesXYInMm": "XY mozgás táv. mm-ben",
"MoveDistancesZInMm": "Z mozdítás mm-ben",
"MoveDistancesEInMm": "E-mozgás táv. mm-ben",
"SpeedEInMms": "E sebessége mm/s-ban"
"SpeedEInMms": "E sebessége mm/s-ban",
"MinimumValues": "Minimum értékek: {minimum}",
"MaximumValues": "Maximum értékek: {maximum}",
"MaximumValuesVisibility": "A legjobb láthatósághoz ajánlott Maximum érték: {maximum}",
"ValueGreaterThan": "Az értéknek nagyobbnak kell lennie mint: {value}"
},
"ConsoleTab": {
"Console": "Konzol",
+19 -3
View File
@@ -71,6 +71,13 @@
"RecoveringDone": "Recupero {software} completato!",
"Updating": "Aggiornamento {software} in corso...",
"UpdatingDone": "Aggiornamento {software} completato!"
},
"Titles": {
"Error": "ERRORE",
"Complete": "Completo - {filename}",
"Pause": "Pausa Stampa",
"Printing": "{percent}% Stampando - {filename}",
"PrintingETA": "{percent}% Stampando - ETA: {eta} - {filename}"
}
},
"ConnectionDialog": {
@@ -157,7 +164,10 @@
"Filament": "Filamento",
"StartPrint": "Avvia stampa",
"View3D": "Vedi 3D",
"WrongFileUploaded": "Il caricamento è stato rifiutato per {filename}. Formato file sbagliato!"
"WrongFileUploaded": "Il caricamento è stato rifiutato per {filename}. Formato file sbagliato!",
"FilamentName": "Nome Filamento",
"FilamentType": "Tipo Filamento",
"NozzleDiameter": "Diametro Ugello"
},
"Heightmap": {
"Abort": "interrompi",
@@ -458,7 +468,9 @@
"ShowNameInList": "Mostra {name} nell'elenco",
"State": "Stato",
"Target": "Obiettivo",
"TemperaturesInChart": "Temperatura [°C]"
"TemperaturesInChart": "Temperatura [°C]",
"TempTooHigh": "Temperatura troppo alta per {name}! (max: {max})",
"TempTooLow": "Temperatura troppo bassa per {name}! (min: {min})"
},
"WebcamPanel": {
"All": "Tutto",
@@ -581,7 +593,11 @@
"Bars": "Barre",
"Circle": "Cerchio",
"Cross": "Croce",
"Style": "Stile"
"Style": "Stile",
"MaximumValues": "Valori massimi: {maximum}",
"MinimumValues": "Valori minimi: {minimum}",
"ValueGreaterThan": "Il valore deve essere più grande di {value}",
"MaximumValuesVisibility": "Il massimo dei valori {maximum} è raccomandato per la migliore visibilità"
},
"DashboardTab": {
"Dashboard": "Dashboard",
+17 -1
View File
@@ -21,6 +21,13 @@
"TitleTemperatureLimitActive": "Temperatuurlimiet actief",
"TitleUnderVoltageDetected": "Ondervoltage gedetecteerd"
},
"Titles": {
"Complete": "Kompleet - {filename}",
"Error": "FOUT",
"Pause": "Pauzeer print",
"Printing": "{percent}% Printen - {filename}",
"PrintingETA": "{percent}% Printen - ETA: {eta} - {filename}"
},
"TopBar": {
"CannotUploadTheFile": "Kan het bestand niet uploaden!",
"EmergencyStop": "Noodstop",
@@ -127,6 +134,8 @@
"EditFile": "Bewerk bestand",
"Empty": "Leeg",
"Filament": "Filament",
"FilamentName": "Filamentnaam",
"FilamentType": "Filament Type",
"FilamentUsage": "Filamentgebruik",
"FilamentWeight": "Filament Gewicht",
"Files": "Bestanden",
@@ -139,6 +148,7 @@
"LayerHeight": "Laaghoogte",
"Name": "Naam",
"NewDirectory": "Nieuwe map",
"NozzleDiameter": "Nozzle Diameter",
"ObjectHeight": "Objecthoogte",
"Preheat": "Voorverwarmen",
"PrintStart": "Start print",
@@ -554,6 +564,8 @@
"ShowTargetTemperatureInChart": "Toon doeltemperatuur in de grafiek",
"State": "Status",
"Target": "Doel",
"TempTooHigh": "Temperatuur te hoog voor {name}! (max: {max})",
"TempTooLow": "Temperatuur te laag voor {name}! (min: {min})",
"Temperatures": "Temperaturen",
"TemperaturesInChart": "Temperatuur [°C]",
"UNKNOWN": "ONBEKEND"
@@ -651,6 +663,9 @@
"InvertXMovement": "Inverteer X beweging",
"InvertYMovement": "Inverteer Y beweging",
"InvertZMovement": "Inverteer Z beweging",
"MaximumValues": "Maximale waarden: {maximum}",
"MaximumValuesVisibility": "Maximum van {maximum} waarden is geadviseerd voor beste overzicht",
"MinimumValues": "Minimale waarden: {minimum}",
"MoveDistancesEInMm": "Afstanden E in mm",
"MoveDistancesInMm": "Afstanden in mm",
"MoveDistancesXYInMm": "Afstanden XY in mm",
@@ -658,7 +673,8 @@
"SpeedEInMms": "Snelheid E in mm/s",
"SpeedXY": "Snelheid XY",
"SpeedZ": "Snelheid Z",
"Style": "Stijl"
"Style": "Stijl",
"ValueGreaterThan": "Waarde moet groter zijn dan {value}"
},
"DashboardTab": {
"Dashboard": "Dashboard",
+932
View File
@@ -0,0 +1,932 @@
{
"title": "Polski",
"App": {
"Printers": "Drukarki",
"Titles": {
"Error": "BŁĄD",
"Pause": "Pauza",
"Printing": "{percent}% Drukowanie - {filename}",
"PrintingETA": "{percent}% Drukowanie - ETA: {eta} - {filename}",
"Complete": "Zakończono - {filename}"
},
"TopBar": {
"SAVE_CONFIG": "ZAPISZ KONFIGURACJE",
"UploadPrint": "Wgraj i Drukuj",
"EmergencyStop": "Awaryjny STOP",
"Uploading": "Wgrywanie",
"UploadOfFileSuccessful": "Wgranie {file} zakończono pomyślnie!",
"CannotUploadTheFile": "Błąd wgrywania pliku!"
},
"TopCornerMenu": {
"KlipperControl": "Ustawienia",
"KlipperRestart": "Uruchom ponownie",
"KlipperFirmwareRestart": "Uruchom ponownie Klippera",
"ServiceControl": "Kontrola usług",
"PowerDevices": "Zasilanie urządzeń",
"HostControl": "Kontrola hosta",
"Start": "Start",
"Stop": "Stop",
"Restart": "Restart",
"Reboot": "Uruchom ponownie",
"Shutdown": "Wyłącz",
"Cancel": "Anuluj",
"ConfirmationDialog": {
"Title": {
"KlipperRestart": "Restart",
"KlipperFirmwareRestart": "Uruchom ponownie Klippera",
"ServiceStart": "Start usługi",
"ServiceRestart": "Restart usługi",
"ServiceStop": "Zatrzymaj usługę",
"HostReboot": "Ponowne uruchomienie hosta",
"HostShutdown": "Zatrzymanie hosta"
},
"Description": {
"KlipperStop": "Zatrzymanie Klippera zatrzyma wydruk!",
"KlipperRestart": "Ponowne uruchomienie zatrzyma wydruk!",
"KlipperFirmwareRestart": "Restart zatrzyma wydruk!",
"ServiceStart": "Uruchomienie tej usługi zatrzyma wydruk!",
"ServiceRestart": "Ponowne uruchomienie zatrzyma wydruk!",
"ServiceStop": "Zatrzymanie tej usługi może zastopować wydruk!",
"HostReboot": "Ponowne uruchomienie hosta zatrzyma wydruk!",
"HostShutdown": "Wyłączenie hosta zatrzyma wydruk!"
}
}
},
"UpdateDialog": {
"Updating": "Aktualizacja {software}...",
"UpdatingDone": "Aktualizacja {software} zakończona!",
"Recovering": "Odzyskiwanie {software}...",
"RecoveringDone": "Odzyskiwanie {software} zakończone!",
"Empty": "Puste",
"Close": "Zamknij"
},
"ThrottledStates": {
"HeadlineCurrentFlags": "Aktualne flagi",
"HeadlinePreviouslyFlags": "Poprzednie flagi",
"TitleUnderVoltageDetected": "Wykryto zbyt niskie napięcie",
"TitleFrequencyCapped": "Obniżenie częstotliwości",
"TitleCurrentlyThrottled": "Zdławienie",
"TitleTemperatureLimitActive": "Aktywny limit temperatury",
"TitlePreviouslyUnderVolted": "Poprzednio poniżej napięcia",
"TitlePreviouslyFrequencyCapped": "Poprzednio ograniczone taktowanie",
"TitlePreviouslyThrottled": "Poprzednio zdławione",
"TitlePreviouslyTemperatureLimited": "Poprzednio ograniczone temperaturowo",
"DescriptionUnderVoltageDetected": "Zasilanie rPi poniżej 4.65V",
"DescriptionFrequencyCapped": "Taktowanie rPi ograniczone do 1.2 GHz.",
"DescriptionCurrentlyThrottled": "Częstotliwość rdzeni rPi jest aktualnie obniżona.",
"DescriptionTemperatureLimitActive": "Temperatura rPi (wyłącznie 3A+/3B+) jest aktualnie powyżej ograniczeń programowych (domyślnie 60C).",
"DescriptionPreviouslyUnderVolted": "Zasilanie rPi było poniżej 4.65V co najmniej raz od ostatniego włączenia.",
"DescriptionPreviouslyFrequencyCapped": "Taktowanie rPi było ograniczone co najmniej raz do 1.2 GHz od ostatniego włączenia.",
"DescriptionPreviouslyThrottled": "Rdzenie rPi były co najmniej raz obniżone od ostatniego włączenia.",
"DescriptionPreviouslyTemperatureLimited": "Temperatura rPi (wyłącznie 3A+/3B+) przekraczała co najmniej raz 60C od ostatniego uruchomienia."
}
},
"EmergencyStopDialog": {
"EmergencyStop": "Awaryjny STOP",
"AreYouSure": "Jesteś pewien?",
"No": "Nie",
"Yes": "Tak"
},
"PowerDeviceChangeDialog": {
"TurnDeviceOn": "Włącz {device}",
"TurnDeviceOff": "Wyłącz {device}",
"AreYouSure": "Jesteś pewien?",
"No": "Nie",
"Yes": "Tak"
},
"ConnectionDialog": {
"Connecting": "Łączenie z {host}",
"Failed": "Połączenie nieudane",
"CannotConnectTo": "Połączenie ({host}) z Moonrakerem nieudane.",
"TryAgain": "Spróbuj ponownie",
"CheckMoonrakerLog": "Jeżeli ta wiadomość się powtarza , sprawdź plik:"
},
"SelectPrinterDialog": {
"Connecting": "Łączenie z {host}",
"ConnectionFailed": "Połączenie nieudane",
"CannotConnectTo": "Połączenie z {host} nieudane.",
"TryAgain": "Spróbuj ponownie",
"SelectPrinter": "Wybierz drukarkę",
"AddPrinter": "Dodaj drukarkę",
"EditPrinter": "Edytuj drukarkę",
"UpdatePrinter": "Zaktualizuj drukarkę",
"ChangePrinter": "Zmień drukarkę",
"HostnameRequired": "Hostname jest wymagany",
"HostnameInvalid": "Nieprawidłowy Hostname/ip",
"PortRequired": "Port jest wymagany",
"Hello": "Witaj w zdalnym połączeniu z Mainsailem!",
"RememberToAdd": "Pamiętaj , aby dodać {cors} w moonraker.conf wewnątrz 'cors_domains'.",
"YouCanFindMore": "Możesz znaleźć więcej szczegółów w"
},
"Router": {
"Dashboard": "Panel sterowania",
"Printers": "Drukarki",
"Webcam": "Kamera internetowa",
"Console": "Konsola poleceń",
"Heightmap": "Mapa stołu",
"G-Code Files": "Pliki G-Code",
"History": "Historia",
"Timelapse": "Timelapse",
"Machine": "Drukarka",
"G-Code Viewer": "3D G-Code"
},
"Editor": {
"Minimap": "Pokaż minimapę",
"Downloading": "Pobieranie",
"Uploading": "Wgrywanie",
"ConfigReference": "Wzór konfiguracji",
"SaveRestart": "Zapisz i uruchom ponownie",
"SaveClose": "Zapisz i zamknij",
"SuccessfullySaved": "{filename} pomyślnie zapisano.",
"FailedSave": "{filename} nie mógł zostać wgrany!",
"UnsavedChanges": "Niezapisane zmiany",
"UnsavedChangesMessage": "Chcesz zapisać zmiany w {filename}?",
"UnsavedChangesSubMessage": "Niezapisane zmiany zostaną utracone. Możesz wyłączyć to okno dialogowe w ustawieniach edytora",
"DontSave": "Nie zapisuj",
"Cancel": "Anuluj",
"FileReadOnly": "Tylko do odczytu"
},
"Files": {
"GCodeFiles": "Pliki G-Code",
"UploadNewGcode": "Wgraj nowy G-Code",
"CreateNewDirectory": "Stwórz nowy katalog",
"RefreshCurrentDirectory": "Odśwież aktualny katalog",
"SetupCurrentList": "Ustawienia aktualnych list" ,
"HiddenFiles": "Ukryte pliki",
"PrintedFiles": "Wydrukowane pliki",
"FreeDisk": "Wolne miejsce",
"Used": "Używane",
"Free": "Wolne",
"Total": "Łącznie",
"Files": "Pliki",
"AllFiles": "Wszystkie",
"Search": "Wyszukaj",
"Empty": "Puste",
"DropFilesToAddGcode": "Przenieś i upuść plik(i) aby wgrać G-Code",
"PrintStart": "Start wydruku",
"AddToQueue": "Dodaj do kolejki",
"Preheat": "Podgrzej",
"Download": "Pobierz",
"Rename": "Zmień nazwę",
"Delete": "Usuń",
"StartJob": "Start pracy",
"DoYouWantToStartFilename": "Czy chcesz rozpocząć druk {filename}?",
"StartPrint": "Start druku",
"NewDirectory": "Nowy katalog",
"RenameFile": "Zmiana nazwy pliku",
"EditFile": "Edytowanie pliku",
"Name": "Nazwa",
"Cancel": "Anuluj",
"Create": "Stwórz",
"RenameDirectory": "Zmiana nazwy katalogu",
"DeleteDirectory": "Usuwanie katalogu",
"DeleteDirectoryQuestion": "Czy na pewno chcesz usunąć katalog \"{name}\" z całą jej zawartością?",
"Uploading": "Wgrywanie",
"CurrentPath": "Aktualna ścieżka",
"Filesize": "Rozmiar pliku",
"LastModified": "Ostatnio modyfikowane",
"ObjectHeight": "Wysokość objektu",
"LayerHeight": "Wysokość warstwy",
"NozzleDiameter": "Średnica dyszy",
"Filament": "Filament",
"FilamentName": "Nazwa filamentu",
"FilamentType": "Typ filamentu",
"FilamentUsage": "Zużycie filamentu",
"FilamentWeight": "Waga filamentu",
"PrintTime": "Czas druku",
"Slicer": "Slicer",
"Downloading": "Pobieranie",
"WrongFileUploaded": "Niemożliwe wgranie {filename}. Zły format pliku!",
"SuccessfullyUploaded": "Wgranie {filename} zakończono pomyślnie!",
"SuccessfullyRenamed": "Pomyślnie zmieniono nazwę {filename}.",
"SuccessfullyMoved": "Pomyślnie przeniesiono {filename}.",
"SuccessfullyCreated": "Pomyślnie utworzono {filename}.",
"SuccessfullyDeleted": "Pomyślnie usunięto {filename}.",
"View3D" : "Zobacz w 3D"
},
"JobQueue": {
"JobQueue": "Kolejka wydruków",
"Jobs": "Wydruki",
"AllJobs": "Wszystkie wydruki",
"Empty": "Puste",
"Delete": "Usuń",
"Start": "Start",
"Pause": "Pauza"
},
"Console": {
"SetupConsole": "Konsola ustawień",
"SendCode": "Wgrywanie pliku...",
"Empty": "Puste",
"HideTemperatures": "Ukryj temperatury",
"HideTimelapse": "Ukryj timelapse",
"CommandList": "Lista komend"
},
"Heightmap": {
"Heightmap": "Mapa stołu",
"ErrorKlipperNotReady": "Klipper nie jest gotowy. Mapa stołu wyłączona",
"NoProfile": "Brak profili",
"TitleHomeAll": "Pozycja zerowa wszystkich osi",
"Clear": "Wyczyść",
"TitleClear": "Wyczyść siatkę stołu.",
"Calibrate": "Kalibracja",
"TitleCalibrate": "Kalibracja nowej siatki",
"NoBedMeshHasBeenLoadedYet": "Nie została jeszcze wgrana żadna siatka.",
"Probed": "Zmierzone",
"Mesh": "Siatka",
"Flat": "Stół",
"Wireframe": "Szkielet",
"Scale": "Skala",
"Profiles": "Profile",
"Deleted": "Usunięto",
"RenameBedMeshProfile": "Zmień nazwę siatki stołu",
"Name": "Nazwa",
"Abort": "Anuluj",
"Rename": "Zmień nazwę",
"BedMeshRemove": "Usuń siatkę stołu",
"BedMeshCalibrate": "Kalibracja nowej siatki stołu",
"DoYouReallyWantToCalibrate": "Na pewno chcesz rozpocząć nową kalibrację siatki?",
"DeleteBedMeshProfile": "Usuń siatkę stołu",
"DoYouReallyWantToDelete": "Na pewno chcesz usunąć profil \"{name}\"?",
"Remove": "Usuń",
"CurrentMesh": {
"Headline": "Aktualna siatka",
"Name": "Nazwa",
"Size": "Rozmiar",
"Min": "Minimalna",
"Max": "Maksymalna",
"Variance": "Różnica"
}
},
"History": {
"Statistics": "Statystyki",
"TotalPrinttime": "Łączny czas drukowania",
"LongestPrinttime": "Najdłuższy czas wydruku",
"AvgPrinttime": "Średni czas druku",
"TotalFilamentUsed": "Łączne zużycie filamentu",
"TotalJobs": "Wszystkich wydruków",
"FilamentUsage": "Zużycie filamentu",
"PrinttimeAvg": "Średni czas wydruku",
"PrintHistory": "Historia wydruków",
"TitleRefreshHistory": "Odśwież historię",
"TitleSettings": "Ustawienia",
"Search": "wyszukaj",
"Jobs": "Wydruki",
"AllJobs": "Łącznie",
"Empty": "puste",
"Details": "Szczegóły",
"Reprint": "Ponownie wydrukuj",
"Delete": "Usuń",
"JobDetails": "Szczegóły wydruku",
"Filename": "Nazwa pliku",
"Filesize": "Rozmiar pliku",
"LastModified": "Ostatnio zmodyfikowane",
"Status": "Status",
"StartTime": "Czas rozpoczęcia",
"EndTime": "Czas zakończenia",
"EstimatedTime": "Szacowany czas zakończenia",
"PrintDuration": "Czas trwania druku",
"PrintTime": "Czas druku",
"TotalDuration": "Łączny czas trwania",
"TotalTime": "Całkowity czas druku",
"EstimatedFilamentWeight": "Szacowane zużycie filamentu",
"EstimatedFilament": "Szacowany filament",
"FilamentCalc": "Przewidziane zużycie filamentu",
"FilamentUsed": "Zużycie filamentu",
"FirstLayerExtTemp": "Temperatura ekstrudera na 1 warstwie",
"FirstLayerBedTemp": "Temperatura stołu na 1 warstwie",
"FirstLayerHeight": "Wysokość pierwszej warstwy",
"LayerHeight": "Wysokość warstwy",
"ObjectHeight": "Wysokość wydruku",
"Slicer": "Slicer",
"SlicerVersion": "Wersja Slicera",
"HistoryFilamentUsage": "Łączne zużycie filamentu",
"HistoryPrinttimeAVG": "Średni czas wydruku",
"ShowStatusName": "Pokaż \"{name}\" ({count})"
},
"Timelapse": {
"TimelapseFiles": "Pliki timelapse",
"Search": "Wyszukaj",
"CreateNewDirectory": "Stwórz katalog",
"RefreshCurrentDirectory": "Odśwież katalog",
"Empty": "Nie znaleziono zakończonych timelapse.",
"CurrentPath": "Ścieżka",
"FreeDisk": "Wolne miejsce",
"Used": "Używane",
"Free": "Wolne",
"Total": "Łącznie",
"Files": "Pliki",
"AllFiles": "Wszystkie",
"Rename": "Zmień nazwę",
"Download": "Pobierz",
"Delete": "Usuń",
"RenameFile": "Zmień nazwę pliku",
"Name": "Nazwa",
"Cancel": "Anuluj",
"Create": "Stwórz",
"NewDirectory": "Nowy katalog",
"RenameDirectory": "Zmień nazwę katalogu",
"DeleteDirectory": "Usuń katalog",
"DeleteDirectoryQuestion": "Na pewno chcesz usunąć katalog \"{name}\" z jego całą zawartością?",
"Filesize": "Rozmiar pliku",
"LastModified": "Ostatnio modyfikowane",
"Status": "Status",
"Preview": "Podgląd",
"Enabled": "Włączone",
"Autorender": "Autorender",
"Frames": "Klatki",
"EstimatedLength": "Przewidywana długość",
"Render": "render",
"RenderSettings": "Ustawienia renderowania",
"Type": "Typ",
"Fixed": "naprawione",
"Variable": "Zmienne",
"Framerate": "Klatek na sek.",
"MinFramerate": "Min. klatek na sek.",
"MaxFramerate": "Max. klatek na sek.",
"DuplicateLastframe": "Duplikuj ostatnią klatkę",
"Targetlength": "Docelowa długość",
"TargetFps": "Docelowo klatek na sek.",
"StartRender": "zacznij renderowanie",
"TimelapseRendering": "Renderowanie timelapse",
"TimelapseRenderingSuccessful": "Renderowanie timelapse zakończone sukcesem",
"Video": "Filmy",
"NoActiveTimelapse": "Brak dostępnych nagrań.",
"SaveFrames": "Zapisz klatki"
},
"Panels": {
"ControlPanel": {
"Headline": "Zarządzanie drukarką",
"SetupControls": "Konfiguracja zarządzania",
"AlternateControls": "Alternatywne zarządzanie",
"InvertX": "Odwróć oś X",
"InvertY": "Odwróć oś Y",
"InvertZ": "Odwróć oś Z",
"ALL": "WSZYSTKIE",
"QGL": "QGL",
"ZTilt": "Nachylenie osi Z",
"X": "X",
"Y": "Y",
"Z": "Z",
"PleaseConfigureSteps": "Proszę skonfigurować kroki",
"SettingsInterfaceControl": "Ustawienia > Interfejs > Konfiguracja",
"FeedAmountIn": "Ilość wej. filamentu",
"FeedrateIn": "Tempo filamentu",
"Retract": "Retrakcja",
"Extrude": "Wytłocz",
"HotendTooCold": "Temperatura hotendu mniejsza niż"
},
"MacrosPanel": {
"Headline": "Makra",
"Send": "Wyślij"
},
"DependenciesPanel": {
"Dependency": "Zależność | Zależności",
"DependencyDescription": "Twoja aktualna {name} wersja nie wspiera wszystkich funkcji Mainsaila. Zaktualizuj {name} do wersji co najmniej {neededVersion}."
},
"FarmPrinterPanel": {
"WebcamOff": "Wyłącz",
"SwitchToPrinter": "Przełącz do drukarki",
"ReconnectToPrinter": "Ponownie połącz"
},
"KlippyStatePanel": {
"KlippyState": "Status Klippera",
"MoonrakerCannotConnect": "Moonraker nie może połączyć się z Klipperem!",
"KlipperCheck": "Sprawdź , czy Klipper jest uruchomiony oraz czy UDS (Unix Domain Socket) został skonfigurowany poprawnie.",
"Restart": "Ponowne uruchomienie",
"FirmwareRestart": "Ponowne uruchomienie oprogramowania"
},
"KlipperWarningsPanel": {
"KlipperWarnings": "Ostrzeżenia Klippera",
"DownloadLog": "Pobierz logi",
"DeprecatedOption": "Opcja '{option}' w sekcji '{section}' jest przestarzała i zostanie usunięta w przyszłych wydaniach.",
"DeprecatedValue": "Ustawienie '{value}' w opcji '{option}' w sekcji '{section}' jest przestarzała i zostanie usunięta w przyszłych wydaniach."
},
"MachineSettingsPanel": {
"Headline": "Ustawienia drukarki",
"MotionSettings": {
"Motion": "Ruch",
"Velocity": "Prędkość",
"Acceleration": "Akceleracja",
"MaxAccelToDecel": "Maks. Akc. do startu zmniejszania prędkości.",
"SquareCornerVelocity": "Prędkość na rogu kwadratu"
},
"PressureAdvanceSettings": {
"PressureAdvance": "Ustawienia nacisku",
"Extruder": "Ekstruder",
"Advance": "Zaawansowane",
"SmoothTime": "Czas wygładzania"
},
"FirmwareRetractionSettings": {
"FirmwareRetraction": "Retrakcja oprogramowania",
"RetractLength": "Długość retrakcji",
"RetractSpeed": "Prędkość retrakcji",
"UnretractExtraLength": "Dodatkowa długość wycofywania",
"UnretractSpeed": "Prędkość wycofywania"
}
},
"MiniconsolePanel": {
"Headline": "Konsola",
"SetupConsole": "Konfiguracja konsoli",
"HideTemperatures": "Ukryj temperatury",
"HideTimelapse": "Ukryj timelapse",
"SendCode": "Wyślij kod..."
},
"MinSettingsPanel": {
"MissingConfiguration": "Brakująca konfiguracja",
"IsNotDefinedInConfig": "Nie jest określone w konfiguracji.",
"IncludeMainsailCfg": "Upewnij się że printer.cfg zawiera mainsail.cfg.",
"MoreInformation": "Więcej informacji"
},
"PrintsettingsPanel": {
"Headline": "Ustawienia wydruku",
"SpeedFactor": "Wartość prędkości",
"ExtrusionFactor": "Wartość ekstruzji"
},
"MiscellaneousPanel": {
"Headline": "Różne",
"RunoutSensor": {
"Disabled": "wyłączone",
"Detected": "wykryto",
"Empty": "Puste"
}
},
"MoonrakerStatePanel": {
"MoonrakerWarnings": "Ostrzeżenia Moonrakera",
"MoonrakerErrorInfo": "Został wykryty błąd podczas ładowania plików moonrakera. Proszę sprawdzić pliki logów i naprawić błąd.",
"FollowingPluginHasAnError": "Następujący plugin ma błąd:",
"DownloadLog": "Pobierz logi"
},
"PowerControlPanel": {
"PowerControl": "Kontrola zasilania",
"Error": "Błąd",
"On": "Wł.",
"Off": "Wył."
},
"StatusPanel": {
"Headline": "Status",
"Position": "Pozycja",
"Absolute": "absolutna",
"Relative": "względna",
"X": "X",
"Y": "Y",
"Z": "Z",
"PausePrint": "Pauza wydruku",
"ResumePrint": "Wznowienie wydruku",
"CancelPrint": "Anuluj wydruk",
"ClearPrintStats": "Wyczyść statystyki drukarki",
"ReprintJob": "Ponownie wydrukuj",
"Requested": "Wymagane",
"Speed": "Prędkość",
"Flow": "Przepływ",
"Max": "Maks.",
"Filament": "Filament",
"Layer": "Warstwa",
"ObjectHeight": "Wysokość obiektu",
"Estimate": "Szacowana",
"File": "Plik",
"Print": "Drukuj",
"Difference": "Różnica",
"Total": "Całkowicie",
"Slicer": "Slicer",
"ETA": "ETA",
"Unknown": "Nieznany",
"ExcludeObject": {
"ExcludeObject": "Wyklucz obiekt",
"Excluded": "Wyklucz",
"ExcludeObjectHeadline": "Wykluczanie Obiektu",
"ExcludeObjectText": "Czy na pewno chcesz wykluczyć \"{name}\"?",
"Cancel": "Anuluj"
}
},
"ToolsPanel": {
"Headline": "Temperatury",
"Presets": "Ustawienia wstępne",
"Cooldown": "Chłodzenie",
"SetupTemperatures": "Domyślne ustawienia temp.",
"ShowChart": "Pokaż wykres",
"AutoscaleChart": "Autoskaluj wykres",
"Name": "Nazwa",
"Color": "Kolor",
"State": "Stan",
"Current": "Aktualna",
"Target": "Docelowa",
"Min": "Min.",
"Max": "Maks.",
"Avg": "Śred.",
"ShowNameInChart": "Pokaż {name} na wykresie",
"ShowNameInList": "Pokaż {name} na liście",
"TemperaturesInChart": "Temperatura [°C]",
"Dataset": {
"Temperature": "aktualną temperaturę",
"Target": "docelową temperatura",
"Power": "PWM - prąd",
"Speed": "PWM - prędkość"
},
"TempTooLow": "Temperatura zbyt mała dla {name}! (min: {min})",
"TempTooHigh": "Temperatura zbyt wysoka dla {name}! (max: {max})"
},
"WebcamPanel": {
"Headline": "Kamera internetowa",
"FPS": "Kl/S",
"All": "Wszystkie",
"UnknownWebcamService": "Nieznana usługa kamery",
"UrlNotAvailable": "URL niedostępny"
},
"ZoffsetPanel": {
"Headline": "Przesunięcie osi Z",
"CurrentOffset": "Aktualne przesunięcie",
"Save": "Zapisz",
"ToEndstop": "Do krańcówki",
"ToProbe": "Do sondy",
"SaveInfoHeadline": "Informacja",
"SaveInfoDescription": "Nowe przesunięcie osi z zostało przeliczone i zarejestrowane. Kliknij na ZAPISZ_KONFIGURACJĘ aby zapisać nowe przesunięcie w drukarka.cfg i uruchom ponownie Klippera.",
"SaveInfoDescriptionPrint": "Nowe przesunięcie osi z zostało przeliczone i zarejestrowane. Po wydrukowaniu , kliknij na ZAPISZ_KONFIGURACJĘ aby zapisać nowe przesunięcie w drukarka.cfg i uruchom ponownie Klippera.",
"SAVE_CONFIG": "ZAPISZ_KONFIGURACJĘ",
"Later": "Później",
"Ok": "Okej"
}
},
"Machine": {
"ConfigFilesPanel": {
"ConfigFiles": "Pliki konfiguracyjne",
"SetupCurrentList": "Konfiguracje aktualnej listy",
"HiddenFiles": "Ukryte pliki",
"HideBackupFiles": "Ukryj pliki kopii zapasowej",
"CurrentPath": "Ścieżka",
"Files": "Pliki",
"FreeDisk": "Wolne miejsce",
"Used": "Używane",
"Free": "Wolne",
"Total": "Łączne",
"AllFiles": "Wszystkie",
"Empty": "Puste",
"ShowFile": "Pokaż pliki",
"EditFile": "Edytuj pliki",
"Download": "Pobierz",
"Rename": "Zmień nazwę",
"Delete": "Usuń",
"RenameFile": "Zmień nazwę pliku",
"Name": "Nazwa",
"UploadFile": "Wgraj plik",
"Cancel": "Anuluj",
"Create": "Nowy",
"CreateFile": "Nowy plik",
"RefreshDirectory": "Odśwież katalog",
"CreateDirectory": "Nowy katalog",
"RenameDirectory": "Zmień nazwę katalogu",
"DeleteDirectory": "Usuń katalog",
"DeleteDirectoryQuestion": "Na pewno chcesz usunąć katalog \"{name}\" z jego całą zawartością?",
"Uploading": "Wgrywanie",
"Filesize": "Rozmiar pliku",
"LastModified": "Ostatnio modyfikowane"
},
"EndstopPanel": {
"Endstops": "Krańcówki",
"Endstop": "Krańcówka",
"TRIGGERED": "URUCHOMIONA",
"open": "OTWARTA",
"EndstopInfo": "Naciśnij synchronizację w prawym narożniku żeby załadować aktualny status krańcówki."
},
"LogfilesPanel": {
"Logfiles": "Pliki logów"
},
"UpdatePanel": {
"UpdateManager": "Menadżer aktualizacji",
"CheckForUpdates": "Sprawdź , czy są dostępne aktualizacje",
"System": "System",
"PackagesCanBeUpgraded": "pakiety mogą być zaktualizowane",
"OSPackages": "Pakiety-OS",
"Commits": "Wydane",
"UpToDate": "Aktualne",
"Detached": "Osobne",
"Update": "Aktualizuj",
"Upgrade": "Uaktualnij",
"Dirty": "Brudne",
"Invalid": "Nieprawidłowe",
"Unknown": "Nieznane",
"ERROR": "BŁĄD",
"CommitsOnDate": "Wydano {date}",
"CommittedHoursAgo": "Wydano {hours} godzin temu",
"CommittedYesterday": "Wydano wczoraj",
"CommittedDaysAgo": "Wydano {days} dni temu",
"CommittedOnDate": "Wydano {date}",
"UpdateAll": "Zaktualizuj wszystko",
"CommitsAvailabe": "Brak nowych wydań | {count} dostępnych wydań| {count} dostępnych wydań"
},
"SystemPanel": {
"SystemLoad": "Ładowanie systemu",
"Version": "Wersja",
"Os": "OS",
"Load": "Śr. użycia",
"Awake": "Awake",
"Frequency": "Częstotliwość",
"Memory": "Pamięć",
"Constants": "Stałe",
"LastStats": "Ostatnie statystyki",
"HostDetails": "Detale Hosta",
"Distro": "Dystrybucja"
}
},
"Settings": {
"InterfaceSettings": "Ustawienia interfejsu",
"Close": "Zamknij",
"Cancel": "Anuluj",
"Edit": "Edytuj",
"GeneralTab": {
"General": "Ogólny",
"PrinterName": "Nazwa drukarki",
"Language": "Język",
"CalcEstimateTime": "Szacowany czas ukończenia",
"CalcEstimateTimeDescription": "Jeżeli wiele jest zaznaczonych , średnia zostanie wyliczona.",
"CalcEtaTime": "kalkulacja ETA",
"CalcEtaTimeDescription": "Jeżeli wiele jest zaznaczonych , średnia zostanie wyliczona.",
"FactoryReset": "Ustawienia fabryczne",
"FactoryDialog": "Proszę wybrać wszystkie sekcje które mają zostać zresetowane:",
"Reset": "reset",
"DbConsoleHistory": "Historia Konsoli",
"DbView": "Ustawienia",
"DbHistoryJobs": "Historia wydruków",
"DbHistoryTotals": "Historia łącznie",
"DbWebcams": "Kamery",
"DbTimelapseSettings": "Ustawienia timelapse",
"MoonrakerDb": "Moonraker DB",
"Backup": "Kopia zapasowa",
"BackupDialog": "Proszę wybrać wszystkie sekcje z których ma zostać utworzona kopia zapasowa:",
"Restore": "Przywróć",
"CannotReadJson": "Niemożność przeczytania/przeanalizowania pliku kopii zapasowej.",
"RestoreDialog": "Proszę wybrać wszystkie sekcje do przywrócenia:"
},
"WebcamsTab": {
"Webcams": "Kamery",
"AddWebcam": "Dodaj kamerę",
"CreateWebcam": "Stwórz kamerę",
"EditWebcam": "Edytuj kamerę",
"SaveWebcam": "Zapisz kamerę",
"UpdateWebcam": "Zaktualizuj kamerę",
"IconPrinter": "Drukarka",
"IconNozzle": "Dysza",
"IconBed": "Stół",
"IconCam": "Kamera",
"IconFilament": "Filament",
"IconDoor": "Drzwi",
"IconMcu": "MCU",
"IconHot": "Gorące",
"Mjpegstreamer": "Transmisja MJPEG",
"MjpegstreamerAdaptive": "Adaptacyjna transmisja MJPEG *(experimental)",
"Uv4lMjpeg": "UV4L-MJPEG",
"Ipstream": "Transmisja po IP",
"Required": "Wymagane",
"NameAlreadyExists": "Nazwa już istnieje",
"Name": "Nazwa",
"UrlStream": "Transmisja po URL",
"UrlSnapshot": "Migawka URL",
"Service": "Usługi",
"TargetFPS": "Docelowo Kl/S",
"FlipHorizontally": "Odwróć widok kamerki w poziomie",
"FlipVertically": "Odwróć widok kamerki w pionie"
},
"TimelapseTab": {
"Enabled": "Włączone",
"EnabledDescription": "Jeżeli wyłączone, makra G-Code są ignorowane i autorenderowanie jest pomijane",
"Timelapse": "Timelapse",
"Mode": "Tryb",
"ModeDescription": "Wybierz pomiędzy makro warstwy a Hiperlapsem.",
"Autorender": "Autorenderowanie",
"AutorenderDescription": "Jeżeli włączone, timelaps będzie automatycznie renderowany na końcu druku.",
"SaveFrames": "Zapisz ramki.",
"SaveFramesDescription": "Zapisz klatki do pliku ZIP dla zewnętrznego renderowania.",
"StreamDelayCompensation": "Kompensacja utraty jakości",
"StreamDelayCompensationDescription": "Ulepszenie jakości timelapse",
"PreviewImage": "Podgląd obrazu",
"PreviewImageDescription": "Zapisz podglądowy obraz z taką samą nazwą jak film",
"GcodeVerbose": "Wgrywanie informacji z G-Code do konsoli",
"GcodeVerboseDescription": "Jeżeli włączone , makra G-Code będzie wysyłał informacje do konsoli.",
"Parkhead": "Parkuj głowicę",
"ParkheadDescription": "Jeżeli włączone , głowica będzie parkowana przed uchwyceniem klatki.",
"Parkpos": "Pozycja parkowania",
"ParkposDescription": "Wybierz pozycję , gdzie głowica ma być parkowana",
"ParkTime": "Czas podczas parkowania",
"ParkTimeDescription": "Dodaj dodatkowy czas bezczynny podczas parkowania.",
"PosX": "Pozycja X",
"PosXDescription": "Parkowanie na osi X (wyłącznie absolutne wartości)",
"PosY": "Pozycja Y",
"PosYDescription": "Parkowanie na osi Y (wyłącznie absolutne wartości)",
"PosDZ": "Pozycja Z",
"PosDZDescription": "Parkowanie na osi Z (względne wartości)",
"FwRetract": "Retrakcja FW",
"FwRetractDescription": "Używaj retrakcji firmware'owej w makro timelapse.",
"TravelSpeed": "Prędkość podróży",
"TravelSpeedDescription": "Prędkość podróży podczas parkowania i wznawiania.",
"RetractSpeed": "Prędkość wycofywania",
"RetractSpeedDescription": "Prędkość którą ekstruder będzie wytłaczał filament.",
"RetractDistance": "Odległość wycofywania",
"RetractDistanceDescription": "Długość filamentu którą ekstruder będzie wytłaczać.",
"UnretractSpeed": "Prędkość wycofywania",
"UnretractSpeedDescription": "Prędkość jaką ekstruder będzie wycofywał filament.",
"UnretractDistance": "Długość wycofywania",
"UnretractDistanceDescription": "Długość filamentu wycofywanego którą będzie używał ekstruder po wytłoczeniu filametu.",
"ConstantRateFactor": "Stała kompensacja rozmiaru",
"ConstantRateFactorDescription": "To ustawienie konfiguruje jakość vs rozmiar wyrenderowanego filmu. Skala CRF jest od 0-51 , gdzie 0 jest bez utraty jakości , 23 jest domyślne , a 51 jest najgorsze jakościowo. Generalnie im mniejsza liczba tym mniej utraty jakości. 17 - 18 jest praktycznie bez żadnych utrat.",
"OutputFramerate": "Stała liczba Kl/S",
"OutputFramerateDescription": "Definiuje kl/s w timelapse. UWAGA : jeżeli opcja zmiennych kl/s jest włączona , to ustawienie zostanie pominięte",
"Pixelformat": "Jakość",
"PixelformatDescription": "Definiuje ile w obrazie jest pikseli.",
"Extraoutputparams": "Dodatkowe parametry wyjściowe",
"ExtraoutputparamsDescription": "Definiuje dodatkowe parametry do FFMPEG. UWAGA : Dodawanie czegokolwiek w tym miejscu wyłącza możliwość rotacji obrazu.",
"VariableFps": "Zmienne Kl/S",
"VariableFpsDescription": "Jeżeli włączone , Kl/S będą obliczane na podstawie docelowej długości timelapse.",
"Targetlength": "Docelowa długość",
"TargetlengthDescription": "Docelowa długość timelapse , podczas włączenia opcji Zmienne Kl/S",
"VariableFpsMin": "Min. Zmienne Kl/S",
"VariableFpsMinDescription": "Ustawienie odpowiadające za minimalną liczbę Kl/S w timelapse",
"VariableFpsMax": "Maks Kl/S",
"VariableFpsMaxDescription": "Ustawienie odpowiadające za maksymalną liczbę Kl/S w timelapse",
"duplicatelastframe": "Duplikuj ostatnią klatkę na koniec filmu",
"duplicatelastframeDescription": "",
"HyperlapseCycle": "Czas cyklu Hyperlapse",
"HyperlapseCycleDescription": "Klatka zostanie uchwycona co każde X sekund",
"General": "Ogólne",
"RenderingOptions": "Ustawienia renderowania",
"TimeFormatCode": "Format Czasu",
"TimeFormatCodeDescription": "Ustawienie definiuje jaki format czasu w pliku wyjściowym powinien być zakodowany",
"Camera": "Kamera",
"CameraDescription": "Wybierz , jaka kamera powinna być używana"
},
"DashboardTab": {
"Dashboard": "Sterowanie",
"Mobile": "Smartfon",
"Tablet": "Tablet",
"Desktop": "Komputer",
"Widescreen": "Szeroki ekran",
"ResetLayout": "Resetowanie układu"
},
"MacrosTab": {
"Macros": "Makra",
"NOMacros": "Nie znaleziono makr...",
"General": "Ogólne",
"Management": "Administrowanie",
"Simple": "Proste",
"Expert": "Ekspert",
"Group": "Grupa",
"NoGroups": "Nie znaleziono grupy...",
"Macrogroups": "Grupy Makr",
"EditGroup": "Edytuj grupę",
"CountMacros": "Brak nowych makr| {count} x Makr | {count} x Makr",
"Name": "Nazwa",
"Color": "Kolor",
"CustomColor": "Własny Kolor",
"Status": "Status",
"Primary": "Podstawowy",
"Secondary": "Dodatkowy",
"Success": "Sukces",
"Warning": "Ostrzeżenie",
"Error": "Błąd",
"Custom": "Personalizacja",
"AddGroup": "Dodaj grupę",
"GroupMacros": "Grupuj Makra",
"AvailableMacros": "Dostępne Makra",
"Add": "Dodaj",
"NoMacrosInGroup": "Brak makr w tej grupie.",
"NoAvailableMacros": "Brak dostępnych makr.",
"UnknownGroup": "Nieznana grupa.",
"ChangeMacroColor": "Zmień kolor przycisku.",
"ShowInStateStandby": "Pokaż/ukryj gdy drukarka jest w stanie spoczynku.",
"ShowInStatePaused": "Pokaż/ukryj gdy drukowanie jest zpauzowane.",
"ShowInStatePrinting": "Pokaż/ukryj gdy drukarka drukuje.",
"DeleteMacroFromGroup": "Usuń makro z grupy.",
"DeletedMacro": "Usunięto makro."
},
"ControlTab": {
"Control": "Kontrola",
"Style": "Styl",
"Bars": "Ramki",
"Circle": "Kółko",
"Cross": "Krzyż",
"SpeedXY": "Prędkość XY",
"SpeedZ": "Prędkość Z",
"MoveDistancesInMm": "Długość ruchu w mm",
"InvertXMovement": "Odwróć ruch osi X ",
"InvertYMovement": "Odwróć ruch osi Y",
"InvertZMovement": "Odwróć ruch osi Z",
"MoveDistancesXYInMm": "Długość ruchu osi XY w mm",
"MoveDistancesZInMm": "Długość ruchu osi Z w mm",
"MoveDistancesEInMm": "Długość ruchu osi E w mm",
"SpeedEInMms": "Prędkość E w mm/s",
"MinimumValues": "Minimalne wartości: {minimum}",
"MaximumValues": "Maksymalne wartości: {maximum}",
"MaximumValuesVisibility": "Maksymum z {maximum} jest rekomendowana dla najlepszej widoczności",
"ValueGreaterThan": "Wartość musi być wyższa niż {value}"
},
"ConsoleTab": {
"Console": "Personalizacja",
"Direction": "Kierunek",
"DirectionTable": "Ostatni wpis u góry",
"DirectionShell": "Ostatni wpis na dole",
"Height": "Wysokość",
"HideTemperatures": "Ukryj temperatury",
"HideTimelapse": "Ukryj timelapse",
"CreateHeadline": "Stwórz filtr",
"Name": "Nazwa",
"Regex": "Wyrażenie regularne",
"StoreButton": "Zapisz filtr",
"UpdateButton": "Zaktualizuj filtr",
"EditHeadline": "Edytuj filtr",
"AddFilter": "Dodaj filtr",
"EntryStyle": "Styl Zapisu",
"EntryStyleDefault": "Domyślny",
"EntryStyleCompact": "Kompaktowy"
},
"PresetsTab": {
"PreheatPresets": "Szybkie ustaw.",
"Cooldown": "Czas przerwy",
"AddPreset": "Dodaj preset",
"CreateHeadline": "Stwórz preset",
"EditHeadline": "Edytuj preset",
"Name": "Nazwa",
"CustomGCode": "Własny G-Code",
"PresetInfo": "Musisz co najmniej podać temperaturę , albo dodać G-Code.",
"StoreButton": "Zapisz preset",
"UpdateButton": "Zaktualizuj preset",
"EditCooldown": "Edytuj czas przerw",
"UpdateCooldown": "Aktualizuj czas przerw"
},
"RemotePrintersTab": {
"RemotePrinters": "Drukarki",
"AddPrinter": "Dodaj drukarkę",
"EditPrinter": "Edytuj drukarę",
"UpdatePrinter": "Aktualizuj drukarkę",
"Hostname": "Nazwa hosta",
"Port": "Port"
},
"UiSettingsTab": {
"UiSettings": "Ustawienia UI",
"Logo": "Logo",
"Primary": "Podstawowe",
"GcodeThumbnails": "Pokazuj miniaturki",
"GcodeThumbnailsDescription": "Wciśnij aby przejść na stronę z pomocnikiem dot. włączenia funkcji.",
"Guide": "Przewodnik",
"ShowWebcamInNavigation": "Pokazuj kamerki internetowe",
"BoolBigThumbnail": "Duża miniaturka",
"BoolBigThumbnailDescription": "Pokazuj dużą miniaturkę podczas wydruku.",
"NavigationStyle": "Styl paska nawigacyjnego",
"NavigationStyleDescription": "Zmiana stylu paska nawigacyjnego",
"NavigationStyleIconsOnly": "Tylko ikony",
"NavigationStyleIconsAndText": "Ikony + Tekst",
"BoolHideUploadAndPrintButton": "Pokazuj przycisk Wgraj i drukuj ",
"BoolHideUploadAndPrintButtonDescription": "Pokazuj lub ukryj przycisk \"Wgraj i drukuj\" na górnym pasku.",
"DisplayCANCEL_PRINT": "Pokazuj przycisk ANULUJ_WYDRUK",
"DisplayCANCEL_PRINTDescription": "Pokazuje przycisk ANULUJ_WYDRUK permamentnie - brak potrzeby drugiej warstwy.",
"DisplayZOffset": "Pokazuj panel Z-Offset",
"DisplayZOffsetDescription": "Inaczej , panel będzie pojawiał się wyłącznie po rozpoczęciu wydruku.",
"LockSliders": "Zablokuj suwaki na ekranie dotykowym",
"LockSlidersDescription": "Suwaki na ekranie dotykowym muszą zostać odblokowane przez wprowadzeniem zmian.",
"LockSlidersDelay": "Opóźnienie blokady suwaków",
"LockSlidersDelayDescription": "Suwaki zablokują się po nadanym czasie blokady (dotykowe ekrany). Jeżeli ustawione na 0 lub puste , suwaki zablokują się jedynie po zmianie strony lub przeładowaniu.",
"ConfirmOnEmergencyStop": "Potwierdzenie Nagłego Zatrzymania",
"ConfirmOnEmergencyStopDescription": "Pokazuj dialog konfirmacji po naciśnięciu Nagłego Zatrzymania",
"ConfirmOnPowerDeviceChange": "Potwierdzenie dla zmiany zasilania urządzenia",
"ConfirmOnPowerDeviceChangeDescription": "Pokazuj dialog konfirmacji po naciśnięciu zmiany zasilania."
},
"GCodeViewerTab": {
"GCodeViewer": "3D G-Code",
"ExtruderColor" : "Kolory Ekstrudera",
"BackgroundColor" : "Kolory tła",
"GridColor": "Kolory siatki",
"ShowAxes": "Pokazuj osie",
"MinFeed" :"Minimalna prędkość feedrate",
"MaxFeed" : "Maksymalna prędkość feedrate"
},
"EditorTab": {
"Editor": "Edytor",
"UseEscToClose": "Naciśnij ESC aby wyjść z Edytora",
"UseEscToCloseDescription": "Pozwala aby móc zamknąć edytor za pomocą ESC",
"ConfirmUnsavedChanges": "Potwierdź aby zapisać lub anulować niezapisane zmiany",
"ConfirmUnsavedChangesDescription": "Jeżeli włączone , edytor wymaga potwierdzenia zapisania zmian lub anulowania. Jeżeli wyłączone , edytor nie wymaga potwierdzenia."
}
},
"GCodeViewer":{
"Title" : "3D G-Code",
"LoadLocal": "Załaduj plik z urządzenia",
"ClearLoadedFile": "Wyczyść",
"RenderQuality" : "Jakość renderowania",
"Low" : "Niska",
"Medium" : "Średnia",
"High" : "Wysoka",
"Ultra" : "Ultra",
"Max" : "Maksymalna",
"ShowToolhead":"Pokazuj głowicę",
"ShowTravelMoves":"Pokazuj ruchy podróży głowicy",
"ShowObjectSelection":"Pokazuj wybieranie obiektu",
"HDRendering":"Renderowanie HD (okrągła ekstruzja)",
"ForceLineRendering":"Wymuszanie renderowania linii",
"Transparency":"Transparentność",
"VoxelMode":"Tryb wokseli (ASMBL)",
"SpecularLighting":"Dynamiczne Oświetlenie",
"ReloadRequired" : "Wymagane załadowanie ponowne",
"LoadCurrentFile": "Aktualny plik",
"Tracking": "Śledzenie",
"Rendering" : "Renderowanie",
"Downloading" : "Pobieranie",
"ColorMode" : "Tryb koloru"
}
}
+82 -13
View File
@@ -37,7 +37,32 @@
"PowerDevices": "Силовые устройства",
"Reboot": "Перезагрузка",
"Shutdown": "Выключение",
"ServiceControl": "Контроль обслуживания"
"ServiceControl": "Контроль обслуживания",
"Start": "Начало",
"Stop": "Стоп",
"ConfirmationDialog": {
"Title": {
"HostReboot": "Перезагрузка хоста",
"HostShutdown": "Выключение хоста",
"KlipperFirmwareRestart": "Перезапуск прошивки клиппера",
"KlipperRestart": "Перезапуск клиппера",
"ServiceRestart": "Перезапуск службы",
"ServiceStart": "Начало обслуживания",
"ServiceStop": "Остановка обслуживания"
},
"Description": {
"HostReboot": "Перезагрузка хоста приведет к сбою текущей печати!",
"HostShutdown": "Выключение хоста приведет к сбою текущей печати!",
"KlipperFirmwareRestart": "Перезапуск прошивки клиппера приведет к сбою текущей печати!",
"KlipperRestart": "Перезапуск Klipper приведет к сбою текущей печати!",
"KlipperStop": "Остановка Klipper приведет к сбою текущей печати!",
"ServiceRestart": "Перезапуск этой службы может привести к сбою текущей печати!",
"ServiceStart": "Запуск этой службы может привести к сбою текущей печати!",
"ServiceStop": "Остановка этой службы может привести к сбою текущей печати!"
}
},
"Cancel": "Отмена",
"Restart": "Перезапустить"
},
"UpdateDialog": {
"Recovering": "Восстановление",
@@ -46,6 +71,13 @@
"UpdatingDone": "Обновление выполнено",
"Empty": "пустой",
"Close": "закрыть"
},
"Titles": {
"Complete": "Завершено - {filename}",
"Error": "ОШИБКА",
"Pause": "Приостановить печать",
"Printing": "{percent}% Печать - {filename}",
"PrintingETA": "{percent}% Печать - ETA: {eta} - {filename}"
}
},
"Console": {
@@ -69,7 +101,8 @@
"DontSave": "Не сохранять",
"UnsavedChanges": "Несохраненные изменения",
"UnsavedChangesMessage": "Хотите ли вы сохранить изменения в {filename}?",
"UnsavedChangesSubMessage": "Ваши изменения будут потеряны, если вы их не сохраните. Вы можете отключить это сообщение в настройках редактора."
"UnsavedChangesSubMessage": "Ваши изменения будут потеряны, если вы их не сохраните. Вы можете отключить это сообщение в настройках редактора.",
"FileReadOnly": "только для чтения"
},
"Files": {
"AllFiles": "Все",
@@ -123,7 +156,11 @@
"AddToQueue": "Добавить в очередь заданий",
"Filament": "Филамент",
"StartPrint": "Druck starten",
"View3D": "3D просмотр"
"View3D": "3D просмотр",
"FilamentName": "Название нити",
"FilamentType": "Тип нити накаливания",
"NozzleDiameter": "Диаметр сопла",
"WrongFileUploaded": "В загрузке файла {filename} было отказано. Неправильный формат файла!"
},
"Heightmap": {
"Abort": "Отменить",
@@ -229,7 +266,8 @@
"Y": "Y",
"Z": "Z",
"ZTilt": "Z Tilt",
"Headline": "Управление"
"Headline": "Управление",
"HotendTooCold": "Температура нагревателя ниже, чем"
},
"FarmPrinterPanel": {
"WebcamOff": "Офф",
@@ -351,7 +389,9 @@
},
"Headline": "Температуры",
"ShowNameInChart": "Показать {name} на графике",
"ShowNameInList": "Показать {name} в списке"
"ShowNameInList": "Показать {name} в списке",
"TempTooHigh": "Температура слишком высока для {name}! (max: {max})",
"TempTooLow": "Температура слишком низкая для {name}! (min: {min})"
},
"WebcamPanel": {
"All": "Все",
@@ -417,7 +457,14 @@
"Deceleration": "Замедление",
"Motion": "Движение",
"SquareCornerVelocity": "Угловая скорость",
"Velocity": "Скорость"
"Velocity": "Скорость",
"MaxAccelToDecel": "Макс. ускорение - замедление."
},
"PressureAdvanceSettings": {
"Advance": "Аванс",
"Extruder": "Экструдер",
"PressureAdvance": "Опережение давления",
"SmoothTime": "Плавное время"
}
}
},
@@ -451,7 +498,8 @@
"UpdateButton": "Обновление фильтра",
"EntryStyleCompact": "компактный",
"EntryStyleDefault": "стандарт",
"EntryStyle": "Стиль записей"
"EntryStyle": "Стиль записей",
"HideTimelapse": "Скрыть таймлапс"
},
"ControlTab": {
"Control": "Контроль",
@@ -468,7 +516,11 @@
"Bars": "Бар",
"Circle": "Круг",
"Cross": "Крест",
"Style": "Стиль"
"Style": "Стиль",
"MaximumValues": "Максимальные значения: {maximum}",
"MaximumValuesVisibility": "Для лучшей видимости рекомендуется максимальное из {maximum} значений",
"MinimumValues": "Минимальные значения: {minimum}",
"ValueGreaterThan": "Значение должно быть больше, чем {value}"
},
"Edit": "Редактировать",
"GeneralTab": {
@@ -485,7 +537,15 @@
"DbWebcams": "Веб-камеры",
"FactoryDialog": "Пожалуйста, выберите все разделы, которые вы хотите сбросить:",
"Reset": "сброс",
"DbHistoryJobs": "История печати"
"DbHistoryJobs": "История печати",
"Backup": "Резервная копия",
"BackupDialog": "Пожалуйста, выберите все разделы, для которых вы хотите создать резервную копию:",
"CannotReadJson": "Невозможно прочитать/разобрать файл резервной копии.",
"DbConsoleHistory": "История консоли",
"DbView": "Просмотр настроек",
"MoonrakerDb": "Moonraker DB",
"Restore": "Восстановить",
"RestoreDialog": "Пожалуйста, выберите все разделы, которые вы хотите восстановить:"
},
"InterfaceSettings": "Настройки интерфейса",
"MacrosTab": {
@@ -630,7 +690,13 @@
"UnretractDistance": "Расстояние расцепления",
"UnretractDistanceDescription": "Длина нити, которую экструдер продвигает после обратного рывка.",
"VariableFpsMinDescription": "Минимальное количество IPS в переменном режиме.",
"VariableFpsMaxDescription": "Максимальное количество IPS в переменном режиме."
"VariableFpsMaxDescription": "Максимальное количество IPS в переменном режиме.",
"FwRetract": "Отступление от прошивки",
"FwRetractDescription": "Использование ресайза прошивки в макросъемке таймлапса",
"ParkTime": "Продолжительность парка",
"ParkTimeDescription": "Увеличение продолжительности парка",
"StreamDelayCompensation": "Компенсация задержки потока",
"StreamDelayCompensationDescription": "Задержка захвата изображения"
},
"UiSettingsTab": {
"BoolBigThumbnail": "Большие эскизы",
@@ -753,7 +819,8 @@
"Memory": "Память",
"Os": "OS",
"SystemLoad": "Нагрузки на систему",
"Version": "Версия"
"Version": "Версия",
"Distro": "Распространение"
},
"UpdatePanel": {
"CheckForUpdates": "Проверьте наличие обновлений",
@@ -775,7 +842,8 @@
"CommittedDaysAgo": "Отправлено {days} назад",
"CommittedHoursAgo": "Отправлено {hours} назад",
"CommittedOnDate": "подана {date}",
"CommittedYesterday": "представленный вчера"
"CommittedYesterday": "представленный вчера",
"UpdateAll": "Обновление всех компонентов"
}
},
"SelectPrinterDialog": {
@@ -858,7 +926,8 @@
"Empty": "Пустой",
"JobQueue": "Очередь на работу",
"Jobs": "Заказы",
"Pause": "Pause"
"Pause": "Pause",
"Start": "Начало"
},
"EmergencyStopDialog": {
"AreYouSure": "Вы уверены?",
+206 -130
View File
@@ -2,115 +2,149 @@
"title": "简体中文",
"App": {
"Printers": "打印机组",
"Titles": {
"Error": "错误",
"Pause": "暂停打印",
"Printing": "{percent}% 打印中 - {filename}",
"PrintingETA": "{percent}% 打印中 - 预估: {eta} - {filename}",
"Complete": "完成 - {filename}"
},
"TopBar": {
"SAVE_CONFIG": "保存配置",
"UploadPrint": "上传并打印",
"EmergencyStop": "紧急停止",
"Uploading": "上传",
"UploadOfFileSuccessful": "上传 {file} 成功!",
"CannotUploadTheFile": "无法上传该文件!"
"EmergencyStop": "急停",
"Uploading": "上传中",
"UploadOfFileSuccessful": "文件 {file} 上传成功!",
"CannotUploadTheFile": "不能上传此文件!"
},
"TopCornerMenu": {
"KlipperControl": "Klipper 控制",
"KlipperRestart": "Klipper 重启",
"KlipperRestart": "重启",
"KlipperFirmwareRestart": "固件重启",
"PowerDevices": "Power Devices",
"HostControl": "主机控制",
"Reboot": "重启",
"Shutdown": "关机"
"ServiceControl": "服务控制",
"PowerDevices": "电源设备",
"HostControl": "主控",
"Start": "启动",
"Stop": "停止",
"Restart": "重新启动",
"Reboot": "重新载入",
"Shutdown": "关闭",
"Cancel": "取消",
"ConfirmationDialog": {
"Title": {
"KlipperRestart": "Klipper 重启",
"KlipperFirmwareRestart": "Klipper 固件重启",
"ServiceStart": "服务启动",
"ServiceRestart": "服务重启",
"ServiceStop": "服务停止",
"HostReboot": "控制器重新载入",
"HostShutdown": "控制器关闭"
},
"Description": {
"KlipperStop": "如果停止klipper会导致当前打印失败!",
"KlipperRestart": "如果重启klipper会导致当前打印失败!",
"KlipperFirmwareRestart": "如果重启KLipper固件会导致当前打印失败!",
"ServiceStart": "启动此服务可能会导致当前打印失败!",
"ServiceRestart": "重启此服务可能会导致当前打印失败!",
"ServiceStop": "停止此服务可能会导致当前打印失败!",
"HostReboot": "重启主机会导致当前打印失败!",
"HostShutdown": "关闭主机会导致当前打印失败!"
}
}
},
"UpdateDialog": {
"Updating": "更新 {software}...",
"UpdatingDone": "更新 {software} 完成!",
"Updating": "跟新 {software}...",
"UpdatingDone": "跟新 {software} done!",
"Recovering": "恢复 {software}...",
"RecoveringDone": "恢复 {software} 完成!",
"Empty": "空的",
"RecoveringDone": "跟新 {software} 完成!",
"Empty": "空",
"Close": "关闭"
},
"ThrottledStates": {
"HeadlineCurrentFlags": "当前标志",
"HeadlinePreviouslyFlags": "以前的标志",
"TitleUnderVoltageDetected": "检测到电压过低",
"HeadlinePreviouslyFlags": "先前的标志",
"TitleUnderVoltageDetected": "检测到低压",
"TitleFrequencyCapped": "频率上限",
"TitleCurrentlyThrottled": "当前被限制",
"TitleTemperatureLimitActive": "温度限制",
"TitlePreviouslyUnderVolted": "先前的不足",
"TitlePreviouslyFrequencyCapped": "以前的频率上限",
"TitlePreviouslyThrottled": "以前节流",
"TitlePreviouslyTemperatureLimited": "以前的温度限制",
"DescriptionUnderVoltageDetected": "树莓派电源电压当前低于4.65V",
"DescriptionFrequencyCapped": "树莓派ARM最大频率目前限制为1.2 GHz.",
"DescriptionCurrentlyThrottled": "树莓派ARM核心当前已被限制.",
"DescriptionTemperatureLimitActive": "树莓派 uC (3A+/3B+ only) 温度超过了软件限制数值(默认 60C).",
"DescriptionPreviouslyUnderVolted": "自上次通电后,树莓派电源电压至少有一次降至4.65V以下.",
"DescriptionPreviouslyFrequencyCapped": "自上次通电后,树莓派ARM的最大频率至少一度限制在1.2 GHz.",
"DescriptionPreviouslyThrottled": "自上次通电, 后树莓派ARM至少节流一次.",
"DescriptionPreviouslyTemperatureLimited": "树莓派 uC (3A+/3B+ only) 在电源开启后至少有一次超过了温度限制数值 (温度限制 60C) ."
"TitleCurrentlyThrottled": "当前受到限制",
"TitleTemperatureLimitActive": "温度限制有效",
"TitlePreviouslyUnderVolted": "历史低压检测",
"TitlePreviouslyFrequencyCapped": "历史频率上限",
"TitlePreviouslyThrottled": "历史限制",
"TitlePreviouslyTemperatureLimited": "历史温度限制",
"DescriptionUnderVoltageDetected": "树莓派电源目前低于 4.65V",
"DescriptionFrequencyCapped": "rPi ARM 最高频率限制再 1.2 GHz.",
"DescriptionCurrentlyThrottled": "rPi ARM 核心当前被限制.",
"DescriptionTemperatureLimitActive": "rPi uC (3A+/3B+ 仅) 温度当前超过限制数值 (默认 60C).",
"DescriptionPreviouslyUnderVolted": "rPI 自从开机一来已经不止一次低于 4.65V.",
"DescriptionPreviouslyFrequencyCapped": "rPi ARM 自从开机一来已经不止一次被限制再 1.2 GHz.",
"DescriptionPreviouslyThrottled": "rPI ARM 自从开机一来已经多次核心被限制.",
"DescriptionPreviouslyTemperatureLimited": "rPi uC (3A+/3B+ only)自从开机一来已经不止一次超过软件限制 (default 60C)."
}
},
"EmergencyStopDialog": {
"EmergencyStop": "紧急停止",
"AreYouSure": "你确定吗?",
"No": "不",
"Yes": "是的"
"EmergencyStopDialog": {
"EmergencyStop": "急停",
"AreYouSure": "是否确定?",
"No": "否",
"Yes": "确定"
},
"PowerDeviceChangeDialog": {
"TurnDeviceOn": "启动设备 {device} ",
"TurnDeviceOff": "关闭设备 {device} ",
"AreYouSure": "你确定吗?",
"No": "不",
"Yes": "是的"
"TurnDeviceOn": "打开 {device} ",
"TurnDeviceOff": "关闭 {device} ",
"AreYouSure": "是否确定?",
"No": "否",
"Yes": "确定"
},
"ConnectionDialog": {
"Connecting": "连接到主机 {host}",
"ConnectionDialog": {
"Connecting": "连接至 {host}",
"Failed": "连接失败",
"CannotConnectTo": "不能够连接至Moonraker ({host}).",
"TryAgain": "请重试",
"CheckMoonrakerLog": "如果此条信息多次显示, 请在此处参考记录(log)文件:"
"CannotConnectTo": "连接至 Moonraker ({host})失败.",
"TryAgain": "重试",
"CheckMoonrakerLog": "如果此消息重复显示, 请从此处打开检查历史记录文件:"
},
"SelectPrinterDialog": {
"Connecting": "连接至主机 {host}",
"Connecting": "连接至 {host}",
"ConnectionFailed": "连接失败",
"CannotConnectTo": "不能够连接至主机 {host}.",
"TryAgain": "请重试",
"SelectPrinter": "选择打印机",
"CannotConnectTo": "不能连接至 {host}.",
"TryAgain": "重试",
"SelectPrinter": "先择打印机",
"AddPrinter": "添加打印机",
"EditPrinter": "编辑打印机",
"UpdatePrinter": "跟新打印机",
"ChangePrinter": "更换打印机",
"HostnameRequired": "需要主机名称",
"HostnameInvalid": "无效的主机名/IP地址",
"PortRequired": "需要端口号",
"Hello": "你好,欢迎使用Mainsail的远程控制!",
"RememberToAdd": "请在 moonraker.conf 中的{cors} 添加'cors_domains'.",
"YouCanFindMore": "你可以在一下位置找到更多有用的细节"
"ChangePrinter": "替换打印机",
"HostnameRequired": "需要提供主机名称",
"HostnameInvalid": "不可用的 主机名称/IP地址",
"PortRequired": "需要配置端口",
"Hello": "欢迎使用 Mainsail 远程!",
"RememberToAdd": "请再 moonraker.conf 中{cors} 添加 'cors_domains'.",
"YouCanFindMore": "你可以找到更多细节:"
},
"Router": {
"Dashboard": "仪表盘",
"Router": {
"Dashboard": "主屏幕",
"Printers": "打印机",
"Webcam": "网络摄像头",
"Console": "控制面板",
"Webcam": "摄像头",
"Console": "控制台",
"Heightmap": "高度图",
"G-Code Files": "G-Code 文件",
"History": "历史",
"Timelapse": "延时摄影",
"Timelapse": "时间戳",
"Machine": "机器",
"G-Code Viewer": "G-Code 视窗"
"G-Code Viewer": "G-Code 显示器"
},
"Editor": {
"Minimap": "显示小地图",
"Editor": {
"Minimap": "显示缩略图",
"Downloading": "正在下载",
"Uploading": "上传中",
"ConfigReference": "配置参考",
"SaveRestart": "保存并重启",
"SaveClose": "保存并关闭",
"SuccessfullySaved": "{filename} 保存成功.",
"FailedSave": "{filename} 无法上传!",
"UnsavedChanges": "修改未保存",
"UnsavedChangesMessage": "你想保存此修改过的文件吗 {filename}?",
"UnsavedChangesSubMessage": "如果不保存你将要丢失你修改的文件. 你可以在设置里面关闭此条信息.",
"FailedSave": "{filename} 不能够上传!",
"UnsavedChanges": "修改未被保存",
"UnsavedChangesMessage": "是否将修改保存至 {filename}?",
"UnsavedChangesSubMessage": "不保存将要丢失你的修改. 你可以再编辑设置里使能此选项.",
"DontSave": "不保存",
"Cancel": "取消"
"Cancel": "取消",
"FileReadOnly": "只读"
},
"Files": {
"GCodeFiles": "G-Code 文件",
@@ -153,12 +187,16 @@
"LastModified": "最后一次修改",
"ObjectHeight": "物体高度",
"LayerHeight": "层高",
"NozzleDiameter": "挤出头孔直径",
"Filament": "耗材",
"FilamentUsage": "耗材使用",
"FilamentName": "耗材名称",
"FilamentType": "耗材规格",
"FilamentUsage": "耗材用量",
"FilamentWeight": "耗材重量",
"PrintTime": "打印时间",
"Slicer": "切片",
"Downloading": "下载中",
"WrongFileUploaded": "上传 {filename}被否定. 文件格式错误!",
"SuccessfullyUploaded": "成功下载{filename}!",
"SuccessfullyRenamed": "成功修改名称 {filename}.",
"SuccessfullyMoved": "成功移动{filename}.",
@@ -166,12 +204,13 @@
"SuccessfullyDeleted": "成功删除 {filename}.",
"View3D" : "打开 3D"
},
"JobQueue": {
"JobQueue": {
"JobQueue": "打印队列",
"Jobs": "任务",
"AllJobs": "所有的任务",
"Empty": "空",
"Delete": "删除",
"Start": "修改",
"Pause": "暂停"
},
"Console": {
@@ -179,6 +218,7 @@
"SendCode": "发送代码...",
"Empty": "空",
"HideTemperatures": "隐藏温度",
"HideTimelapse": "隐藏时间戳",
"CommandList": "命令列表"
},
"Heightmap": {
@@ -263,56 +303,56 @@
"EstimatedFilamentWeight": "预估耗材重量",
"ShowStatusName": "显示 \"{name}\" ({count})"
},
"Timelapse": {
"TimelapseFiles": "延时摄影文件",
"Search": "搜索",
"CreateNewDirectory": "新建目录",
"RefreshCurrentDirectory": "刷新目录",
"Empty": "没有发现完成的延时摄影文件.",
"CurrentPath": "当前路径",
"FreeDisk": "空闲磁盘",
"Used": "使用中",
"Free": "空闲",
"Total": "总",
"Files": "文件",
"AllFiles": "所有的文件",
"Rename": "重命名",
"Download": "下载",
"Delete": "删除",
"RenameFile": "重命名文件",
"Name": "名称",
"Cancel": "取消",
"Create": "创建",
"NewDirectory": "新目录",
"RenameDirectory": "重命名目录",
"DeleteDirectory": "删除目录",
"DeleteDirectoryQuestion": "你确定删除 \"{name}\" 和里面所有的文件吗?",
"Filesize": "文件大小",
"LastModified": "最近一次修改",
"Status": "状态",
"Preview": "预览",
"Enabled": "使能",
"Autorender": "自动渲染",
"Frames": "帧",
"EstimatedLength": "预计长度",
"Render": "渲染",
"RenderSettings": "渲染设置",
"Type": "类型",
"Fixed": "确定",
"Variable": "变量",
"Framerate": "帧率",
"MinFramerate": "最低. 帧率",
"MaxFramerate": "最高. 帧率",
"DuplicateLastframe": "复制最后一帧",
"Targetlength": "目标长度",
"TargetFps": "目标 FPS",
"StartRender": "开始渲染",
"TimelapseRendering": "延时摄影渲染中",
"TimelapseRenderingSuccessful": "延时摄影渲染完成",
"Timelapse": {
"TimelapseFiles": "延时摄影文件",
"Search": "搜索",
"CreateNewDirectory": "新建目录",
"RefreshCurrentDirectory": "刷新目录",
"Empty": "没有发现完成的延时摄影文件.",
"CurrentPath": "当前路径",
"FreeDisk": "空闲磁盘",
"Used": "使用中",
"Free": "空闲",
"Total": "总",
"Files": "文件",
"AllFiles": "所有的文件",
"Rename": "重命名",
"Download": "下载",
"Delete": "删除",
"RenameFile": "重命名文件",
"Name": "名称",
"Cancel": "取消",
"Create": "创建",
"NewDirectory": "新目录",
"RenameDirectory": "重命名目录",
"DeleteDirectory": "删除目录",
"DeleteDirectoryQuestion": "你确定删除 \"{name}\" 和里面所有的文件吗?",
"Filesize": "文件大小",
"LastModified": "最近一次修改",
"Status": "状态",
"Preview": "预览",
"Enabled": "使能",
"Autorender": "自动渲染",
"Frames": "帧",
"EstimatedLength": "预计长度",
"Render": "渲染",
"RenderSettings": "渲染设置",
"Type": "类型",
"Fixed": "确定",
"Variable": "变量",
"Framerate": "帧率",
"MinFramerate": "最低. 帧率",
"MaxFramerate": "最高. 帧率",
"DuplicateLastframe": "复制最后一帧",
"Targetlength": "目标长度",
"TargetFps": "目标 FPS",
"StartRender": "开始渲染",
"TimelapseRendering": "延时摄影渲染中",
"TimelapseRenderingSuccessful": "延时摄影渲染完成",
"Video": "视频",
"NoActiveTimelapse": "没有记录文件可用.",
"SaveFrames": "记录帧"
},
},
"Panels": {
"ControlPanel": {
"Headline": "控制",
@@ -332,7 +372,8 @@
"FeedAmountIn": "进料量",
"FeedrateIn": "进料速度",
"Retract": "回抽",
"Extrude": "挤出"
"Extrude": "挤出",
"HotendTooCold": "挤出头温度. 低于"
},
"MacrosPanel": {
"Headline": "宏定义",
@@ -366,9 +407,15 @@
"Motion": "运动",
"Velocity": "速度",
"Acceleration": "加速度",
"Deceleration": "减速度",
"MaxAccelToDecel": "最大加速. 到减速.",
"SquareCornerVelocity": "直角拐角速度"
},
"PressureAdvanceSettings": {
"PressureAdvance": "高级推力控制",
"Extruder": "挤出机",
"Advance": "高级",
"SmoothTime": "平滑时间"
},
"FirmwareRetractionSettings": {
"FirmwareRetraction": "固件回抽",
"RetractLength": "回抽长度",
@@ -381,6 +428,7 @@
"Headline": "控制台",
"SetupConsole": "设置控制台",
"HideTemperatures": "隐藏温度",
"HideTimelapse": "隐藏时间戳",
"SendCode": "发送代码..."
},
"MinSettingsPanel": {
@@ -440,7 +488,7 @@
"Difference": "不同",
"Total": "总",
"Slicer": "切片",
"ETA": "ETA",
"ETA": "预估",
"Unknown": "未知",
"ExcludeObject": {
"ExcludeObject": "排除对象",
@@ -473,7 +521,9 @@
"Target": "目标温度",
"Power": "PWM-功率",
"Speed": "PWM-速度"
}
},
"TempTooLow": "温度过低 {name}! (min: {min})",
"TempTooHigh": "温度过高 {name}! (max: {max})"
},
"WebcamPanel": {
"Headline": "网络摄像头",
@@ -560,7 +610,8 @@
"CommittedYesterday": "昨天提交",
"CommittedDaysAgo": "{days} 天前提交",
"CommittedOnDate": "在 {date} 这一天提交",
"UpdateAll": "更新所有的零件"
"UpdateAll": "更新所有的零件",
"CommitsAvailabe": "无提交有效 | {count} 提交有效 | {count} 提交有效"
},
"SystemPanel": {
"SystemLoad": "系统负载",
@@ -572,7 +623,8 @@
"Memory": "内存",
"Constants": "常数",
"LastStats": "最后统计",
"HostDetails": "主控细节"
"HostDetails": "主控细节",
"Distro": "发行版"
}
},
"Settings": {
@@ -591,10 +643,18 @@
"FactoryReset": "恢复出厂设置",
"FactoryDialog": "选择你想要回复出厂值的部分:",
"Reset": "重启",
"DbHistoryJobs": "工作历史",
"DbConsoleHistory": "控制台历史",
"DbView": "查看设置",
"DbHistoryJobs": "历史工作",
"DbHistoryTotals": "总历史",
"DbWebcams": "网络摄像头",
"DbTimelapseSettings": "演示摄影设置"
"DbWebcams": "摄像头",
"DbTimelapseSettings": "时间戳设置",
"MoonrakerDb": "Moonraker DB",
"Backup": "备份",
"BackupDialog": "请选择所有你想要备份的部分:",
"Restore": "重载",
"CannotReadJson": "不可以读/解析 备份文件.",
"RestoreDialog": "Please select all the sections you want to restore:"
},
"WebcamsTab": {
"Webcams": "网络摄像头",
@@ -635,6 +695,8 @@
"AutorenderDescription": "如果使能了,延时摄影会在打印结束后自动摄影",
"SaveFrames": "保存图库",
"SaveFramesDescription": "保存图库为zip-文件来外部渲染",
"StreamDelayCompensation": "流延迟补偿",
"StreamDelayCompensationDescription": "延迟帧捕获",
"PreviewImage": "预览图",
"PreviewImageDescription": "保存预览图的名称与视频名称相同",
"GcodeVerbose": "Gcode详情",
@@ -643,18 +705,26 @@
"ParkheadDescription": "如果使能, 打印头会在拍照前移动到预设位置.",
"Parkpos": "预设位置",
"ParkposDescription": "选择预设位置",
"ParkTime": "预设时间",
"ParkTimeDescription": "增加更多的时间给预设位置.",
"PosX": "位置 X",
"PosXDescription": "预设位置 X (绝对位置)",
"PosY": "位置 Y",
"PosYDescription": "预设位置 Y (绝对位置)",
"PosDZ": "位置 Z",
"PosDZDescription": "预设位置 Z (相对位置)",
"FwRetract": "FW 回抽",
"FwRetractDescription": "再时间戳内使用软件回抽",
"TravelSpeed": "空驶速度",
"TravelSpeedDescription": "移动到预设位置并恢复打印",
"RetractSpeed": "回抽速度",
"RetractSpeedDescription": "挤出机回抽料的速度",
"RetractDistance": "回抽距离",
"UnretractSpeed": "挤出速度",
"UnretractDistance": "挤出距离",
"RetractDistanceDescription": "挤出机回抽料的距离",
"UnretractSpeed": "回料速度",
"UnretractSpeedDescription": "挤出机退料后返回过来进料的速度.",
"UnretractDistance": "回料长度",
"UnretractDistanceDescription": "回料的长度.",
"ConstantRateFactor": "恒定系数",
"ConstantRateFactorDescription": "这里设置渲染视频的质量和文件大小. CRF 的数值区间是 0–51, 0 是无损, 预设值为23 , 51 是最差画质. 数值越低画质越好,建议数值为17–28. 考虑到 17 或者 18 已经视觉效果等同无损.",
"OutputFramerate": "输出帧率",
@@ -696,7 +766,8 @@
"General": "一般",
"Management": "管理",
"Simple": "简单",
"Expert": "专业",
"Expert": "专家",
"Group": "组",
"NoGroups": "没有发现组...",
"Macrogroups": "组",
"EditGroup": "编辑组",
@@ -740,7 +811,11 @@
"MoveDistancesXYInMm": "移动距离 XY 毫米",
"MoveDistancesZInMm": "移动距离 Z 毫米",
"MoveDistancesEInMm": "移动距离 E 毫米",
"SpeedEInMms": "Speed E in mm/s"
"SpeedEInMms": "移动 E in mm/s",
"MinimumValues": "最小值: {minimum}",
"MaximumValues": "最大值: {maximum}",
"MaximumValuesVisibility": "最大值 {maximum} 推荐为了最好的可视化",
"ValueGreaterThan": "数值最好比 {value} 大"
},
"ConsoleTab": {
"Console": "控制",
@@ -749,6 +824,7 @@
"DirectionShell": "底部最后一次输入",
"Height": "高度",
"HideTemperatures": "隐藏温度",
"HideTimelapse": "隐藏时间戳",
"CreateHeadline": "创建过滤器",
"Name": "名称",
"Regex": "正则表达式",
+15 -4
View File
@@ -1,5 +1,7 @@
<style scoped>
.rename-profile {
text-transform: none;
}
</style>
<template>
@@ -8,7 +10,7 @@
<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="meshLoaded" @click="openRenameProfile()">{{ bed_mesh.profile_name }}</v-btn>
<v-btn text tile color="primary" class="ml-1 d-none d-sm-inline-flex rename-profile" 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" v-if="meshLoaded" @click="openRenameProfile()">{{ bed_mesh ? bed_mesh.profile_name : "" }}</v-btn>
@@ -225,6 +227,7 @@ export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) {
private removeDialog = false
private calibrateDialog = false
private newName = ''
private oldName = ''
private heightmapScale = 0.5
private probedOpacity = 1
@@ -753,6 +756,7 @@ export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) {
openRenameProfile(): void {
this.newName = this.bed_mesh?.profile_name ?? ''
this.oldName = this.bed_mesh.profile_name
this.renameDialog = true
setTimeout(() => {
@@ -762,8 +766,15 @@ export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) {
renameProfile(): void {
this.renameDialog = false
this.$store.dispatch('server/addEvent', { message: 'BED_MESH_PROFILE SAVE='+this.newName.toUpperCase(), type: 'command' })
this.$socket.emit('printer.gcode.script', { script: 'BED_MESH_PROFILE SAVE='+this.newName.toUpperCase() }, { loading: 'bedMeshRename' })
this.$store.dispatch('server/addEvent', { message: 'BED_MESH_PROFILE SAVE='+this.newName, type: 'command' })
this.$store.dispatch('server/addEvent', { message: 'BED_MESH_PROFILE REMOVE='+this.oldName, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: 'BED_MESH_PROFILE SAVE='+this.newName }, { loading: 'bedMeshRename' })
this.$socket.emit('printer.gcode.script', { script: 'BED_MESH_PROFILE REMOVE='+this.oldName }, { loading: 'bedMeshRename' })
this.newName = ''
this.oldName = ''
}
openRemoveProfile(name: string): void {
+11 -8
View File
@@ -31,8 +31,10 @@ export class WebSocketClient {
this.store?.dispatch(eventName, event)
}
connect(): void {
this.store?.dispatch('socket/setData', { isConnecting: true })
async connect() {
this.store?.dispatch('socket/setData', {
isConnecting: true
})
if (this.instance) {
this.instance.close()
@@ -44,13 +46,13 @@ export class WebSocketClient {
this.store?.dispatch('socket/onOpen', event)
}
this.instance.onclose = (e) => {
this.instance.onclose = async (e) => {
if (!e.wasClean && this.reconnects < this.maxReconnects) {
this.reconnects++
setTimeout(() => {
this.connect()
}, this.reconnectInterval)
} else this.store?.dispatch('socket/onClose', e)
} else await this.store?.dispatch('socket/onClose', e)
}
this.instance.onerror = () => {
@@ -62,8 +64,9 @@ export class WebSocketClient {
if (this.store) {
const wait = this.getWaitById(data.id)
if (wait && wait.action !== ''){
if (data.error && data.error.message) {
window.console.error('Response Error: '+wait.action+' > '+data.error.message)
if (data.error?.message) {
if (data.error?.message !== 'Klippy Disconnected')
window.console.error('Response Error: '+wait.action+' > '+data.error.message)
} else if (wait.action) {
let result = data.result
if (result === 'ok') result = { result: result }
@@ -82,8 +85,8 @@ export class WebSocketClient {
}
}
close():void {
if (this.instance) this.instance.close()
async close() {
if (this.instance) await this.instance.close()
}
getWaitById(id: number): Wait | null {
+6 -4
View File
@@ -28,6 +28,8 @@ export const actions: ActionTree<EditorState, RootState> = {
axios.get(url, {
cancelToken: source.token,
onDownloadProgress: (progressEvent) => {
const total = progressEvent.total > 0 ? progressEvent.total : (payload.size ?? 0)
let speedOutput: string = state.loaderProgress.speed
let lastTimestamp = state.loaderProgress.lastTimestamp
let lastLoaded = state.loaderProgress.lastLoaded
@@ -50,9 +52,9 @@ export const actions: ActionTree<EditorState, RootState> = {
direction: 'downloading',
speed: speedOutput,
loaded: progressEvent.loaded,
total: progressEvent.total,
lastLoaded: lastLoaded,
lastTimestamp: lastTimestamp
total,
lastLoaded,
lastTimestamp
})
},
responseType: 'blob'
@@ -123,7 +125,7 @@ export const actions: ActionTree<EditorState, RootState> = {
dispatch('clearLoader')
Vue.$toast.success(i18n.t('Editor.SuccessfullySaved', { filename: data.item.path }).toString())
if (payload.restartServiceName === 'klipper') {
dispatch('server/addEvent', { message: 'FIRMWARE_RESTART', type: 'command' })
//dispatch('server/addEvent', { message: 'FIRMWARE_RESTART', type: 'command' })
Vue.$socket.emit('printer.gcode.script', { script: 'FIRMWARE_RESTART' })
} else if (payload.restartServiceName !== null) {
Vue.$socket.emit('machine.services.restart', { service: payload.restartServiceName })
+3
View File
@@ -32,6 +32,9 @@ export const farm: Module<FarmState, RootState> = {
isConnecting: false,
isConnected: false
}
},
existsPrinter: (state) => (namespace: string) => {
return Object.keys(state).includes(namespace)
}
},
actions: {
+38 -16
View File
@@ -7,7 +7,7 @@ export const actions: ActionTree<FarmPrinterState, RootState> = {
commit('reset')
},
connect({ state, commit, dispatch, getters }) {
connect({ state, commit, dispatch, getters, rootGetters }) {
commit('setSocketData', { isConnecting: true })
const socket = new WebSocket(getters.getSocketUrl)
@@ -19,10 +19,15 @@ export const actions: ActionTree<FarmPrinterState, RootState> = {
isConnected: true
})
dispatch('initPrinter')
dispatch('sendObj', {
method: 'server.info',
action: 'getServerInfo',
})
}
socket.onclose = (e) => {
if (!rootGetters['farm/existsPrinter'](state._namespace)) return
if (!e.wasClean && state.socket.reconnects < state.socket.maxReconnects) {
commit('setSocketData', { reconnects: state.socket.reconnects + 1 })
@@ -39,12 +44,13 @@ export const actions: ActionTree<FarmPrinterState, RootState> = {
}
socket.onerror = () => {
window.console.log('Farm Printer WebSocket Error')
window.console.error('Farm Printer WebSocket Error')
}
socket.onmessage = (msg) => {
const data = JSON.parse(msg.data)
if (data && data.method) {
switch (data.method) {
case 'notify_status_update':
dispatch('getData', data.params[0])
@@ -55,27 +61,31 @@ export const actions: ActionTree<FarmPrinterState, RootState> = {
break
case 'notify_klippy_ready':
dispatch('initPrinter')
dispatch('connectKlippy')
break
}
} else if ('result' in data) {
const requestIndex = state.socket.wsData.findIndex(item => item.id === data.id)
if (
state.socket.wsData.filter(item => item.id === data.id).length > 0 &&
state.socket.wsData.filter(item => item.id === data.id)[0].action !== undefined &&
state.socket.wsData.filter(item => item.id === data.id)[0].action !== ''
requestIndex !== -1 &&
state.socket.wsData[requestIndex].action !== undefined &&
state.socket.wsData[requestIndex].action !== ''
) {
let result = data.result
if (result === 'ok') result = { result: result }
if (typeof(result) === 'string') result = { result: result }
const preload = {}
const wsData = state.socket.wsData.filter(item => item.id === data.id)[0]
const wsData = state.socket.wsData[requestIndex]
if (wsData.actionPreload) Object.assign(preload, wsData.actionPreload)
Object.assign(preload, { requestParams: wsData.params })
Object.assign(preload, result)
dispatch(wsData.action, preload)
}
if (requestIndex !== -1) commit('removeWsData', requestIndex)
}
}
},
@@ -105,17 +115,29 @@ export const actions: ActionTree<FarmPrinterState, RootState> = {
}
},
disconnectKlippy({ commit }) {
commit('setData', { print_stats: { state: 'error' }})
connectKlippy({ commit, dispatch }) {
commit('setKlippyConnected', true)
dispatch('initPrinter')
},
initPrinter({ commit, dispatch }) {
disconnectKlippy({ commit }) {
commit('setKlippyConnected', false)
},
getServerInfo({ commit, dispatch }, payload) {
commit('setKlippyConnected', payload.klippy_connected)
dispatch('initPrinter')
},
initPrinter({ state, commit, dispatch }) {
commit('resetData')
dispatch('sendObj', {
method: 'printer.objects.list',
action: 'getObjectsList',
})
if (state.server.klippy_connected) {
dispatch('sendObj', {
method: 'printer.objects.list',
action: 'getObjectsList',
})
}
dispatch('sendObj', {
method: 'server.files.list',
@@ -146,7 +168,7 @@ export const actions: ActionTree<FarmPrinterState, RootState> = {
]
let subscripts = {}
payload.objects.forEach((object: string) => {
payload.objects?.forEach((object: string) => {
const splits = object.split(' ')
const objectName = splits[0]
+9 -3
View File
@@ -49,6 +49,8 @@ export const getters: GetterTree<FarmPrinterState, any> = {
getStatus: (state, getters) => {
if (!state.socket.isConnected) {
return state.socket.isConnecting ? 'Connecting...' : 'Disconnected'
} else if (!state.server.klippy_connected) {
return 'ERROR'
} else if (state.data?.print_stats?.state) {
if (state.data.print_stats.state === 'printing') {
const percent = getters['getPrintPercent']
@@ -123,6 +125,8 @@ export const getters: GetterTree<FarmPrinterState, any> = {
},
getPrinterPreview: (state, getters) => {
if (!state.server.klippy_connected) return []
const output = []
Object.keys(state.data).filter((key) => key.startsWith('extruder')).forEach((key) => {
@@ -244,9 +248,11 @@ export const getters: GetterTree<FarmPrinterState, any> = {
getPrinterWebcams: (state) => {
const webcams: GuiWebcamStateWebcam[] = []
Object.keys(state.data.webcams).forEach((id: string) => {
webcams.push({...state.data?.webcams[id], id})
})
if (state.data.webcams) {
Object.keys(state.data.webcams).forEach((id: string) => {
webcams.push({...state.data?.webcams[id], id})
})
}
return webcams
}
+3
View File
@@ -21,6 +21,9 @@ export const getDefaultState = (): FarmPrinterState => {
reconnectInterval: 1000,
wsData: [],
},
server: {
klippy_connected: false
},
data: {
gui: getGuiDefaultState(),
webcams: {}
+15 -1
View File
@@ -46,7 +46,21 @@ export const mutations: MutationTree<FarmPrinterState> = {
},
addWsData(state, payload) {
state.socket.wsData.push(payload)
const wsData = [...state.socket.wsData]
wsData.push(payload)
Vue.set(state.socket, 'wsData', wsData)
},
removeWsData(state, index) {
const wsData = [...state.socket.wsData]
wsData.splice(index, 1)
Vue.set(state.socket, 'wsData', wsData)
},
setKlippyConnected(state, payload) {
Vue.set(state.server, 'klippy_connected', payload)
},
setCurrentFile(state, payload) {
+5
View File
@@ -5,6 +5,7 @@ import {GuiWebcamStateWebcam} from '@/store/gui/webcams/types'
export interface FarmPrinterState {
_namespace: string
socket: FarmPrinterStateSocket
server: FarmPrinterStateServer
data: {
gui: GuiState
webcams: {
@@ -33,4 +34,8 @@ export interface FarmPrinterStateSocket {
reconnectInterval: number
// eslint-disable-next-line
wsData: any[]
}
export interface FarmPrinterStateServer {
klippy_connected: boolean
}
+12 -1
View File
@@ -112,6 +112,15 @@ export const actions: ActionTree<FileState, RootState> = {
}
},
requestMetadata({ commit }, payload: { filename: string }) {
const rootPath = payload.filename.substr(0, payload.filename.indexOf('/'))
if (rootPath === 'gcodes') {
const requestFilename = payload.filename.substr(7)
commit('setMetadataRequested', { filename: requestFilename })
Vue.$socket.emit('server.files.metadata', { filename: requestFilename }, { action: 'files/getMetadata' })
}
},
getMetadata({ commit, rootState }, payload) {
if (payload !== undefined && payload.filename !== '') {
if (payload.filename === rootState?.printer?.print_stats?.filename) {
@@ -211,8 +220,10 @@ export const actions: ActionTree<FileState, RootState> = {
Vue.$toast.error(payload.error.message)
} else {
const delPath = payload.item.path.substr(payload.item.path.lastIndexOf('/')+1)
const fileExtension = payload.item.path.substr(payload.item.path.lastIndexOf('.')+1)
Vue.$toast.success(<string>i18n.t('Files.SuccessfullyDeleted', {filename: delPath}))
if (!(payload.item.root === 'timelapse' && fileExtension === 'jpg'))
Vue.$toast.success(<string>i18n.t('Files.SuccessfullyDeleted', {filename: delPath}))
}
},
}
+19
View File
@@ -28,6 +28,22 @@ export const mutations: MutationTree<FileState> = {
})
},
setMetadataRequested(state, payload) {
let filename = 'gcodes/'+payload.filename
const dirArray = filename.split('/')
filename = dirArray[dirArray.length-1]
const path = findDirectory(state.filetree, dirArray)
const fileIndex = path?.findIndex((element: FileStateFile) => element.filename === filename)
if (path && fileIndex !== undefined && fileIndex !== -1) {
// eslint-disable-next-line
const currentFile = {...path[fileIndex]} as any
currentFile.metadataRequested = true
Vue.set(path, fileIndex, currentFile)
} else window.console.error('file not found in filetree: '+payload.filename)
},
setMetadata(state, payload) {
let filename = 'gcodes/'+payload.filename
const dirArray = filename.split('/')
@@ -41,6 +57,7 @@ export const mutations: MutationTree<FileState> = {
allowedMetadata.forEach((key: string) => {
if (key in payload) currentFile[key] = payload[key]
})
currentFile.metadataRequested = true
currentFile.metadataPulled = true
Vue.set(path, fileIndex, currentFile)
@@ -65,11 +82,13 @@ export const mutations: MutationTree<FileState> = {
modified: modified,
permissions: payload.item.permissions,
size: payload.item.size,
metadataRequested: false,
metadataPulled: false,
})
} else {
parent[indexFile].modified = new Date(payload.item.modified * 1000)
parent[indexFile].size = payload.item.size
parent[indexFile].metadataRequested = false
parent[indexFile].metadataPulled = false
const extension = filename.substr(filename.lastIndexOf('.') + 1)
+1
View File
@@ -25,6 +25,7 @@ export interface FileStateFile {
slicer_version?: string
thumbnails?: FileStateFileThumbnail[]
metadataPulled?: boolean,
metadataRequested?: boolean,
size?: number
}
+1 -1
View File
@@ -99,6 +99,6 @@ export const actions: ActionTree<GuiRemoteprintersState, RootState> = {
commit('delete', id)
dispatch('farm/unregisterPrinter', id, { root: true })
Vue.$socket.emit('server.database.delete_item', { namespace: 'mainsail', key: 'remoteprinters.printers'+id })
Vue.$socket.emit('server.database.delete_item', { namespace: 'mainsail', key: 'remoteprinters.printers.'+id })
},
}
+70 -3
View File
@@ -29,10 +29,11 @@ export const actions: ActionTree<ServerState, RootState> = {
commit('saveDbNamespaces', payload.namespaces)
dispatch('printer/init', null, { root: true })
Vue.$socket.emit('server.info', {}, { action: 'server/checkKlippyConnected'})
//dispatch('printer/init', null, { root: true })
},
initServerInfo: function ({ dispatch, commit }, payload) {
initServerInfo({ dispatch, commit }, payload) {
// delete old plugin entries
if ('plugins' in payload) delete payload.plugins
if ('failed_plugins' in payload) delete payload.failed_plugins
@@ -67,11 +68,77 @@ export const actions: ActionTree<ServerState, RootState> = {
commit('setThrottledState', payload.throttled_state)
},
setKlippyReady({ dispatch }) {
setKlippyReady({ dispatch, state }) {
if (state.klippy_connected_timer !== null) dispatch('stopKlippyConnectedInterval')
if (state.klippy_state_timer !== null) dispatch('stopKlippyStateInterval')
dispatch('printer/reset', null, { root: true })
dispatch('printer/init', null, { root: true })
},
setKlippyDisconnected({ commit, dispatch, state }) {
commit('setKlippyDisconnected', null)
if (state.klippy_state_timer !== null) dispatch('stopKlippyStateInterval')
dispatch('startKlippyConnectedInterval')
},
setKlippyShutdown({ commit }) {
commit('setKlippyShutdown', null)
},
startKlippyConnectedInterval({ commit, state }) {
if (state.klippy_connected_timer === null) {
const timer = setInterval(() => {
Vue.$socket.emit('server.info', {}, { action: 'server/checkKlippyConnected'})
}, 2000)
commit('setKlippyConnectedTimer', timer)
}
},
stopKlippyConnectedInterval({ commit, state }) {
if (state.klippy_connected_timer !== null) {
clearInterval(state.klippy_connected_timer)
commit('setKlippyConnectedTimer', null)
}
},
async checkKlippyConnected({ commit, dispatch, state }, payload) {
if (payload.klippy_connected) {
await dispatch('stopKlippyConnectedInterval')
await commit('setKlippyConnected')
dispatch('checkKlippyState', { state: payload.klippy_state, state_message: null })
} else if (!payload.klippy_connected && state.klippy_connected_timer === null)
dispatch('startKlippyConnectedInterval')
},
startKlippyStateInterval({ commit, state }) {
if (state.klippy_state_timer === null) {
const timer = setInterval(() => {
Vue.$socket.emit('printer.info', {}, { action: 'server/checkKlippyState'})
}, 2000)
commit('setKlippyStateTimer', timer)
}
},
stopKlippyStateInterval({ commit, state }) {
if (state.klippy_state_timer !== null) {
clearInterval(state.klippy_state_timer)
commit('setKlippyStateTimer', null)
}
},
checkKlippyState({ commit, dispatch, state }, payload: { state: string, state_message: string | null }) {
commit('setKlippyState', payload.state)
commit('setKlippyMessage', payload.state_message)
if (payload.state !== 'ready' && state.klippy_connected && state.klippy_state_timer === null) {
dispatch('startKlippyStateInterval')
} else if (payload.state === 'ready' && state.klippy_state_timer !== null) {
dispatch('stopKlippyStateInterval')
} else if (payload.state === 'ready' && state.klippy_state_timer === null) {
dispatch('printer/init', null, { root: true })
}
},
getData({ commit }, payload){
commit('setData', payload)
},
+2
View File
@@ -15,7 +15,9 @@ import { jobQueue } from '@/store/server/jobQueue'
export const getDefaultState = (): ServerState => {
return {
klippy_connected: false,
klippy_connected_timer: null,
klippy_state: '',
klippy_state_timer: null,
klippy_message: '',
components: [],
failed_components: [],
+21
View File
@@ -10,7 +10,24 @@ export const mutations: MutationTree<ServerState> = {
Object.assign(state, getDefaultState())
},
setKlippyConnected(state) {
Vue.set(state, 'klippy_connected', true)
},
setKlippyState(state, payload) {
Vue.set(state, 'klippy_state', payload)
},
setKlippyStateTimer(state, payload) {
Vue.set(state, 'klippy_state_timer', payload)
},
setKlippyMessage(state, payload) {
Vue.set(state, 'klippy_message', payload)
},
setKlippyDisconnected(state) {
Vue.set(state, 'klippy_connected', false)
Vue.set(state, 'klippy_state', 'disconnected')
Vue.set(state, 'klippy_message', 'Disconnected...')
},
@@ -20,6 +37,10 @@ export const mutations: MutationTree<ServerState> = {
Vue.set(state, 'klippy_message', 'Shutdown...')
},
setKlippyConnectedTimer(state, timer) {
Vue.set(state, 'klippy_connected_timer', timer)
},
setProcStats(state, payload) {
Vue.set(state, 'cpu_temp', payload.cpu_temp)
Vue.set(state, 'moonraker_stats', payload.moonraker_stats)
+2
View File
@@ -5,7 +5,9 @@ import { ServerTimelapseState } from '@/store/server/timelapse/types'
export interface ServerState {
klippy_connected: boolean
klippy_connected_timer: number | null
klippy_state: string
klippy_state_timer: number | null
klippy_message: string
components: string[],
failed_components: string[],
+8 -11
View File
@@ -12,13 +12,13 @@ export const actions: ActionTree<SocketState, RootState> = {
commit('setData', payload)
},
setSocket({ commit, state }, payload) {
async setSocket({ commit, state }, payload) {
commit('setData', payload)
if ('$socket' in Vue.prototype) {
Vue.prototype.$socket.close()
Vue.prototype.$socket.setUrl(state.protocol+'://'+payload.hostname+':'+payload.port+'/websocket')
Vue.prototype.$socket.connect()
await Vue.prototype.$socket.close()
await Vue.prototype.$socket.setUrl(state.protocol+'://'+payload.hostname+':'+payload.port+'/websocket')
await Vue.prototype.$socket.connect()
}
},
@@ -33,12 +33,8 @@ export const actions: ActionTree<SocketState, RootState> = {
commit('server/updateManager/setStatus', { busy: false }, { root: true })
},
onClose ({ commit }, event) {
onClose ({ commit }) {
commit('setDisconnected')
if (event.wasClean) {
window.console.log('Socket closed clear')
}
},
onMessage ({ commit, dispatch }, payload) {
@@ -52,16 +48,17 @@ export const actions: ActionTree<SocketState, RootState> = {
break
case 'notify_klippy_ready':
commit('server/setKlippyConnected', null, { root: true })
dispatch('printer/reset', null, { root: true })
dispatch('printer/init', null, { root: true })
break
case 'notify_klippy_disconnected':
commit('server/setKlippyDisconnected', null, { root: true })
dispatch('server/setKlippyDisconnected', null, { root: true })
break
case 'notify_klippy_shutdown':
commit('server/setKlippyShutdown', null, { root: true })
dispatch('server/setKlippyShutdown', null, { root: true })
break
case 'notify_proc_stat_update':
+1
View File
@@ -11,6 +11,7 @@ export const mutations: MutationTree<SocketState> = {
setConnected (state) {
Vue.set(state, 'isConnected', true)
Vue.set(state, 'isConnecting', false)
Vue.set(state, 'connectingFailed', false)
},
setDisconnected (state) {