Compare commits

...
90 Commits
Author SHA1 Message Date
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
Stefan Dej e919a81536 Merge remote-tracking branch 'origin/develop' into develop 2022-01-08 01:25:18 +01:00
Stefan Dej d6b98639c1 feat: ignore timelapse pause state during a print
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-08 01:25:07 +01:00
steadyjaw 4ac9b56775 refactor: change default colors (#523)
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-08 00:45:04 +01:00
steadyjaw e0c1330c4a Fix: control panel cross style (#524)
* fix: input rules and move message text to locales
* fix: omit duplicate entries in comboxes
* fix: add key to button group

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-08 00:44:46 +01:00
steadyjaw 0d89f42935 Fix: zSlider and clear button in gcodeviewer (#522)
* refactor: enable zSlider when tracking
* fix: set zSlider to max on start tracking
* fix: disable tracking when pressing CLEAR

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-07 21:41:29 +01:00
Stefan Dej 1e5c6c39de Merge remote-tracking branch 'origin/develop' into develop 2022-01-07 21:32:53 +01:00
steadyjaw ff782d9d04 Fix: control settings (#520)
* fix: input rules and move message text to locales
* fix: omit duplicate entries in comboxes

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-07 21:28:01 +01:00
Stefan Dej 61c2ba38b0 fix: gcode files view with queue on mobile devices
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-07 21:16:26 +01:00
Stefan Dej 65cb342cb8 locale(da): fix typo in locale file
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-06 23:30:19 +01:00
Stefan Dej 81e78e770c Merge remote-tracking branch 'origin/develop' into develop 2022-01-06 23:27:03 +01:00
CodingJustForRun 5ed63ed27f locale(hu): Hu updated for the latest eng local (#517)
all eng changes follow up has been made
2022-01-06 23:26:37 +01:00
srbjessenandStefan Dej c831d33873 locale(da): Minor changes and spellchecking (#512)
* Update da.json
* locale: fix typo in translation name
* locale: add last translations
* Update da.json

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2022-01-06 23:25:55 +01:00
th33xitus 55df4da104 feat: add displaying/sorting of/by more gcode metadata (#519)
adds displaying of and sorting by nozzle diameter, filament name and filament type metadata

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-01-06 23:24:31 +01:00
Stefan Dej e3db2731ab fix: only update / send temp commands if they are changed
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-06 13:11:35 +01:00
Stefan Dej f81c253e85 Merge remote-tracking branch 'origin/develop' into develop 2022-01-06 13:05:08 +01:00
Stefan Dej ec67ab3033 fix: only update / send temp commands on blur if they are changed
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-06 13:05:03 +01:00
steadyjaw 8acf2b3b7e refactor: change panel expansion indicator (#516) 2022-01-06 10:48:51 +01:00
steadyjaw 3d14e8ba46 fix: button and input placement based on screen width (#515) 2022-01-06 10:48:15 +01:00
steadyjaw 450c3db1e6 fix: sidebar logo and top-sidebar overlay (#514) 2022-01-06 10:47:49 +01:00
Stefan Dej 39dbebb2d2 locale(de): add temp too high/too low messages to locale file
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 16:30:16 +01:00
Stefan Dej 94f60516c1 locale: add "Temp too high", "Temp too low" output to i18n in ToolsPanel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 15:37:58 +01:00
Stefan Dej 098c946dde fix: send temp input only when blur, select value or press enter or tab key
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 15:13:43 +01:00
Stefan Dej 97020863d2 refactor: sort buttons in status panel toolbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 14:12:53 +01:00
Stefan Dej d1218aa0f5 fix: hide fps in farm printer panel with mjpegstreamer webcam
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 02:27:29 +01:00
Stefan Dej dc4a322420 fix: restart stream when switching between mjpegstreamer webcams
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 01:48:27 +01:00
Stefan Dej 2ff9e5a111 fix: webcam selector doesnt work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-01-05 01:48:00 +01:00
lixxbox 058688d470 docs: first boot - fix info box 2022-01-04 23:05:22 +01:00
th33xitus 26ed70b4a7 refactor: improve confirmation dialog visuals (#508)
* chore: improve confirmation service host control visuals
* fix: add missing klipper restart condition
* i18n: improve wording of english and german translation

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-01-04 21:25:54 +01:00
Paul Cutlerandlixxbox 7b3781ebaf docs: Update First Boot docs (#506)
* Update first boot page for readability and feedback

Signed-off-by Paul Cutler paul@paulcutler.org

* adjusted some codeblocks

Co-authored-by: lixxbox <lixxbox@users.noreply.github.com>
2022-01-04 16:15:56 +01:00
th33xitus 52ad699f92 fix: logical error causing issues with input fields (#507)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-01-03 22:49:09 +01:00
steadyjaw b2335b16f2 fix: remove buggy condition for sidebar overlay (#505)
* fix: remove buggy condition for sidebar overlay
* fix: add missing styling in iconsOnly Mode

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-03 12:06:55 +01:00
Paul Cutler a339cabc7d docs: Update Home Page and Setup Guides (#478)
* Update necessary-cfg for grammar and readability fixes
* Update homepage for typos, grammar and readability
* Update index.md in manual setup for readability
* Update for readability and make editing moonraker.conf a sub-chapter
* Update for readabiliy and grammar
* Update for readability and grammar
* Fix PR  #478 with review feedback - fix Klipper pause / resume
* Fix typo (missing s in preset)
* Make call to action stronger, remove "it is" for "time to print!"
* Improve readability on front page
* Update Kiauh page for readability and gramma
* Review and update Update guides for spelling, grammar, readabilty and localization
* Review updates from yesterday and fix some errors from updating the docs
* Apply feedback to fix typos for PR#478

Signed-off-by Paul Cutler paul@paulcutler.org
2022-01-03 10:10:17 +01:00
steadyjaw b6966f05ee fix: UI fixes related to feedback form beta-phase (#494)
* fix: truncated settings menu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change probe chips to label

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): change button color and make responsive

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: change display helpers of some buttons

* fix(#390): encodeURI of thumbnails in files page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: responsivity of timelapse-page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): more responsiveness

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor(timelapse): no frames found visibility

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: tooltip on disabled retract /extrude buttons

* refactor(editor): show "read-only" in title if file is not writable

* fix: visibility of reload button

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: select printer dialog new ui style

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: add attach prop to inputs w dropdowns

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: paddings of panels on spec. viewports

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: hide spin buttons on number inputs

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor:  hide-spin-buttons after merging timelapseTab

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: add overlay-scrollbar to sidebar

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: scrollbars in settingsmenu

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feat: remember current path when leaving gcode-files-page

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: remove comment in gcodefilespanel

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feat: remember current path in timlapse files panel

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feat: remember current path in config files panel

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: console text colors and add css classes

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: filepanel-path-persistance to new db layout

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: settings tab scrollbars

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: button logic in heigthmap

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: color  home button in heightmap

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: heightmap add color to small buttons

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* refactor: sidebar behavior on touch devices

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: reapply tooltip patch after merge

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: temp sidebar remove touch-condition

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* feat: add save-action for non persistant settings

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>

* fix: use new save action in setters

Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
2022-01-01 22:55:01 +01:00
Stefan Dej c1b344e94c Merge remote-tracking branch 'origin/develop' into develop 2021-12-31 22:55:29 +01:00
Stefan Dej 35f30aef4f chore: push version number to v2.1.0-rc1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 22:46:19 +01:00
Bart Lammers da72a4e272 locale(nl): add last 2.1-beta strings (#499) 2021-12-31 22:30:28 +01:00
deddoggoandStefan Dej e5b0ad292b locale(it): update IT to beta6 (#483)
* Beta3 IT

* Beta4 IT

* Beta6 (IT)

* locale: remove unused keys

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:51:18 +01:00
Stefan Dej a54813a167 locale(zh): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:46:44 +01:00
Stefan Dej 95a13c9c44 locale(zh-tw): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:45:23 +01:00
Stefan Dej d1905f100a locale(ru): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:44:50 +01:00
Stefan Dej a3a12882f8 locale(nl): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:44:07 +01:00
Stefan Dej ffa05ee1d5 locale(it): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:42:42 +01:00
Stefan Dej ea49345138 locale(hu): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:41:43 +01:00
Stefan Dej 83e10bde0c locale(de): fix missing entry
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:41:29 +01:00
srbjessenandStefan Dej 9895622cfa locale(da): update da.json (#491)
* Update da.json

* locale: fix typo in translation name

Signed-off-by: Stefan Dej <meteyou@gmail.com>

* locale: add last translations

Signed-off-by: Stefan Dej <meteyou@gmail.com>

Co-authored-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:23:02 +01:00
cgrossi70 c38716ba2a locale(es): Correcciones de la Beta6 (#492) 2021-12-31 18:09:27 +01:00
Stefan Dej 88ecdcc3c6 locale: fix missing entry
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 18:07:30 +01:00
Stefan Dej 11f97d6289 locale(fr): update FR translation
thanks to Roland Forster

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 17:47:52 +01:00
Stefan Dej 706ed470c4 fix: hide webcam panel in config & dashboard if no webcam exists
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 17:33:57 +01:00
Stefan Dej a6c927508f fix: tooltip bug in sidebar with text + icons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 15:48:20 +01:00
Stefan Dej eeac987784 feat: convert presets from V2.0.1 to V2.1.0 moonraker DB
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 15:36:05 +01:00
Stefan Dej 275a268c43 fix: ignore wrong presets in moonraker db
this fixed a not displaying temp table

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-31 14:54:55 +01:00
th33xitus 9c37383787 fix: dispatch with correct keyName (#498)
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-31 14:28:53 +01:00
th33xitus bc353a060d fix: ignore maxTouchPoints === 256 (#493)
It can occur, that a browser on Windows 10 reports a maxTouchPoints count of 256, even though the device is a desktop system without any touch functionality at all.
See also: https://stackoverflow.com/a/67909182

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2021-12-30 22:22:34 +01:00
lixxbox 5286be32b1 docs: fix theme 2021-12-27 10:49:52 +01:00
lixxbox 3bb52a566e docs: add new community theme "Cryd" 2021-12-27 10:43:43 +01:00
Stefan Dej 64e7626e04 chore: push version number to v2.1.0-beta6
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 09:59:32 +01:00
Stefan Dej deb81094d0 refactor: remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 09:45:57 +01:00
Stefan Dej 667bb2976d fix: reactivity of sidebar navi points
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 09:45:37 +01:00
Stefan Dej f404895126 locale: add KlipperStop to translate list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-12-26 01:34:13 +01:00
93 changed files with 2455 additions and 1614 deletions

No files matched your search

+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
View File
@@ -3,3 +3,4 @@ Dracula,,steadyjaw,dracula-mainsail-theme
Cyberpunk,,Dario-Ciceri,cp2077-mainsail-theme
Mainsail x Voron Toolhead,Various toolhead images inside the theme folder can be renamed to 'sidebar-background.png',eriroh,Mainsail-x-Voron-Toolhead-Theme
Rat Rig (unofficial), includes various sidebar images which can be renamed to ‘sidebar-background.png’,Raabi91,ratrig-mainsail-theme
Cryd,,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 cryd-s Mainsail-Theme-by-Cryd
Binary file not shown.

Before

Width:  |  Height:  |  Size: 385 KiB

After

Width:  |  Height:  |  Size: 692 KiB

+11 -9
View File
@@ -4,6 +4,8 @@ title: Configuration
nav_order: 5
has_children: false
permalink: /configuration
redirect_from:
- /necessary-configuration
---
# Required configuration
@@ -11,7 +13,7 @@ permalink: /configuration
**Mainsail requires a minimum configuration to function properly and will display a warning at startup if the required parts are not found in your configuration file(s).**
{: .warning}
The following configuration elements are mandatory and must be configured for Mainsail to operate:
The following configuration elements are mandatory and must be configured for Mainsail to operate correctly:
* [Virtual SD Card](configuration#virtual_sdcard)
* [Display Status](configuration#display_status)
@@ -22,28 +24,28 @@ The following configuration elements are optional, including making tweaks and a
* [Custom Commands](configuration#customisation)
## Virtual SD Card
This allows gcode file uploads.
The `Virtual SD Card` allows gcode file uploads.
```yaml
[virtual_sdcard]
path: ~/gcode_files
```
## Display Status
This is required for messages in your status panel, if you don't have a `[display]` in your configuration.
`Display Status` is required for messages in your status panel, if you don't have `[display]` in your configuration.
```yaml
[display_status]
```
## Pause, Resume, Cancel
This enables pause / resume in mainsail.
These macros enable pause and resume in Klipper.
```yaml
[pause_resume]
```
# Macros
## for pause / resume / cancel functionality
These should be modified to your own needs.
## Add pause / resume / cancel functionality
You can modify the below macros to fit your needs.
{% raw %}
```yaml
[gcode_macro PAUSE]
@@ -118,12 +120,12 @@ gcode:
# Optional
## Customisation
Klipper has many canned/preset commands that are themselves just macros.
Klipper has a number of preset commands that are also just macros.
The default configuration of these may not suit your needs or preferences, (though they are usually a good place to start). It's possible to adjust these by including them in your config, along with whatever code you would like to run.
The default configuration of these may not suit your needs or preferences, though they are usually a good place to start. It's possible to adjust these by including them in your config, along with any additional code you would like to run.
## Example
Adjusting the `BED_MESH_CALIBRATE` command (which can be run from the Sidebar > Heightmap > Calibrate.
Adjusting the `BED_MESH_CALIBRATE` command, which is found in the menu at Sidebar > Heightmap > Calibrate.
{% raw %}
```yaml
[gcode_macro BED_MESH_CALIBRATE]
+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}
+14 -14
View File
@@ -6,7 +6,7 @@ has_children: false
---
# Welcome to Mainsail!
Mainsail aims to make Klipper more accessible to end users through a lightweight, responsive web ui, centred around an intuitive and consistent design philsophy.
Mainsail makes Klipper more accessible by adding a lightweight, responsive web user interface, centred around an intuitive and consistent design philosophy..
{: .fs-5 }
[Getting Started](/setup){: .btn .btn-primary }
@@ -17,30 +17,30 @@ Mainsail aims to make Klipper more accessible to end users through a lightweight
![Dashboard](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
- Temperature Presets (with custom gcode)
- File Manager (G-Code and config files)
- File Editor (G-Code and config files)
- Print History and Statistics
- Temperature Presets (with custom G-Code)
- Bed Mesh Leveling
- Multi-Webcam support
- Control power devices (relays, TPLink, Tasmota, ..)
- Customizable UI (logos, backgrounds & even custom css)
- Control power devices such as relays, TPLink and Tasmota devices, and more
- Customizable user interface including logos, backgrounds, and custom CSS
## Get support & assistance
Do you need help or just want to talk? Join us on discord. We have a very active community.
Have you found a bug? Then we would like you to create an Issue on GitHub.
## Help and Support
Do you need help or just want to talk? Join our active community on Discord.
Have you found a bug? Please create an Issue in GitHub and let us know.
[Discord](https://discord.gg/skWTwTD){: .btn}{:target="_blank"}
[GitHub Issues](https://github.com/mainsail-crew/mainsail/issues){: .btn}{:target="_blank"}
## Support this project
The project is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support the project.
## Support Mainsail
Mainsail is primarily developed and maintained by `meteyou`. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support him:
- [Patreon (recurring)](https://patreon.com/meteyou){:target="_blank"}
- [Ko-Fi (one-time)](https://ko-fi.com/mainsail){:target="_blank"}
However, we would also like to ask you to support the regular contributors.
Please also support all of our maintainers and contributors.
{: .info}
+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}
+6 -7
View File
@@ -9,18 +9,17 @@ has_toc: false
# Setup Guides
## Local installation
Decide which route you want to follow for the installation. There are several ways to install Mainsail on a Raspberry Pi:
You will need to choose which way you want to install Mainsail on a Raspberry Pi:
- [MainsailOS](mainsail-os.md) <span class="label label-red">recommended</span>
A prebuilt image for your Raspberry Pi. Flash it and you are almost ready to go.
A prebuilt image for your Raspberry Pi. Preconfigured and requires the least amount of setup.
- [KIAUH](kiauh.md) - _Klipper Installation And Update Helper_
A script toolbox to install and keep Klipper, Moonraker and Mainsail up to date. It contains many additional features and is the way to go for multiprinter setups.
A script toolbox to install and update Klipper, Moonraker and Mainsail. KIAUH contains additional features and is recommended for multi-printer setups.
- [Manual Setup](manual-setup/index.md)
The rocky road. If you want to know how everything is set up by hand, you will get all the information here.
The rocky road for the daring. For those who want to know how everything is set up manually.
## Hosted
Setup [remote access](../quicktips/remote-access) without installing/configuring a web server!
{: .info}
You an also setup [remote access](../quicktips/remote-access) without installing or configuring a web server.
A hosted instance of Mainsail can be found and used at [my.mainsail.xyz](http://my.mainsail.xyz), check out the [documentation](mainsail-hosted) for usage and configuration.
You can test and review a hosted version of Mainsail at [my.mainsail.xyz](http://my.mainsail.xyz). Please read the [documentation](mainsail-hosted) for usage and configuration.
+2 -2
View File
@@ -8,8 +8,8 @@ permalink: /setup/kiauh
---
# Installing Mainsail with KIAUH
[KIAUH](https://github.com/th33xitus/kiauh) is a handy tool that helps you install or upgrade Klipper, Moonraker, Mainsail and various other extensions easily and comfortably.
[KIAUH](https://github.com/th33xitus/kiauh) is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail, and other extensions.
![](../assets/img/setup/kiauh.png)
For more information and get to the guide click [here](https://github.com/th33xitus/kiauh).
You can visit [KIAUH on GitHub](https://github.com/th33xitus/kiauh) to learn more and view its documentation.
+9 -12
View File
@@ -13,25 +13,22 @@ permalink: /setup/mainsail-hosted
Mainsail and MainsailOS respect [Data Privacy](../data-privacy).
{: .info}
The hosted version of mainsail can be used:
* On the same (local) network as your printer.
* On a remote (different) network to your printer (requires the configuration of [remote access](../quicktips/remote-access)).
The hosted version of Mainsail can be used on the same local network with your printer or on a different remote to network and requires you to setup [remote access](../quicktips/remote-access).
## Requirements
- MainsailOS and KIAUH are preconfigured to meet the requirements for the hosted service to work.
- If you have a manual installation, then the following requirements must be met:
* Klipper must be installed.
* Moonraker must be installed.
* my.mainsail.xyz must be configured as a CORS domain in moonraker.conf.
- MainsailOS and KIAUH are preconfigured to meet the requirements for the hosted service.
- If you have a manual installation, the following requirements must be met:
* Klipper
* Moonraker
* `my.mainsail.xyz` must be configured as a CORS domain in `moonraker.conf`.
## Editing moonraker.conf
### Editing moonraker.conf for remote access
Further information can be found in the Moonraker [documentation](https://moonraker.readthedocs.io/en/latest/configuration/#authorization)
You can learn more about editing Moonraker's authorization [configuration documentation here.](https://moonraker.readthedocs.io/en/latest/configuration/#authorization)
{: .info}
To allow [my.mainsail.xyz](http://my.mainsail.xyz) to access your local installation, navigate to moonraker.conf open it and add the following code:
To configure [my.mainsail.xyz](http://my.mainsail.xyz) for access with your local installation, open `moonraker.conf` and add the following `authorization` section:
```yml
[authorization]
+4 -4
View File
@@ -10,13 +10,13 @@ permalink: /setup/mainsail-os
# Installing MainsailOS
MainsailOS builds upon RaspberryOS-Lite by incorporating Klipper, Moonraker and Mainsail into one disc image, making them more accessible and quicker to setup than before.
MainsailOS builds upon Raspberry Pi OS Lite by including Klipper, Moonraker, and Mainsail into the disc image, making setup quick and Mainsail easier to use with Klipper and Moonraker.
Complex/custom configurations may be better suited to a [manual](manual-setup/index.md) installation of Mainsail.
Advanced users may want more complex and custom configurations and Mainsail can be [manually installed](manual-setup/index.md).
If you are familiar with the flashing process, then please use your preferred method as you normally would.
If you are familiar with process to flash the firmware, then please use your preferred method as you normally would.
If however you are unfamiliar with the flashing process then we have documented two methods to flash MainsailOS to your SD card:
If however you are unfamiliar with the flashing process we have documented two methods to flash MainsailOS to your SD card:
* [Raspberry Pi Imager](mainsailos/pi-imager) (cross-platform, easiest) <span class="label label-red">recommended</span>
* [Balena Etcher](mainsailos/balena-etcher) (requires manual setup)
+18 -17
View File
@@ -11,54 +11,55 @@ permalink: /setup/mainsailos/first-boot
# First boot
Insert the flashed SD card into your Pi and connect other desired/necessary hardware (ethernet, USB to 3D printer, webcam).
Insert the flashed SD card into your Pi and connect any other hardware such a network cable, USB cable to the 3D printer, or a webcam.
Power on the Pi and leave it to boot.
Power on the Pi and let it boot up.
**The initial boot of MainsailOS may take some time to expand your "root" filesystem. The larger the SD card, the longer the first boot will take.**
{: .warning}
Initially the green LED on the Pi will be extremely active. After some time it will only intermittently flicker, indicating it has likely completed the boot sequence.
The web ui should now be ready to access on your local network:
The web interface should now be ready to access on your local network:
```
http://mainsailos.local
http://<IP address of your pi>
```
or
```
http://<IP address of your Pi>
```
## Mainsail.cfg
**Important:** Include the mainsail.cfg into your printer.cfg
**Important:** Include `mainsail.cfg` in your printer.cfg file
{: .warning}
Mainsail will not work unless Klipper is told to include its configuration. This can be achieved either by placing the contents of mainsail.cfg into your printer.cfg.
Mainsail will not work correctly until `mainsail.cfg` is included in Klipper's configuration file. Open Klipper's default `printer.cfg` file in Mainsail's file manager located in `Settings > Machine`. If you do not have a `printer.cfg` file, you can create one. Add the following line to `printer.cfg`
To do this, open the default printer.cfg in the Mainsail web GUI:
```
[include mainsail.cfg]
```
![screenshot-web-editor](../../../assets/img/setup/screenshot-web-editor-printer.png)
![screenshot-web-editor-printercfg](../../../assets/img/setup/screenshot-printercfg-include-mainsail.png)
Add the following line:
```yml
[include mainsail.cfg]
```
and click on the "Save & Restart" button.
and click on the`Save & Restart` button.
## Updates
Once you've successfully navigated to the Mainsail web ui we _thoroughly_ recommend that you run updates.
Once you've successfully navigated to the Mainsail's web interface it is _strongly_ recommend that you run any available updates.
{: .info}
Klipper, Moonraker and Mainsail have fast development cycles and whilst we do our best to ensure MainsailOS ships as close to the bleeding edge as we can, there will always be a short delay before releases make it into the image.
Klipper, Moonraker and Mainsail have fast development cycles and while we do our best to ensure MainsailOS ships as close to upstream as we can, there will always be a short delay before releases make it into MainsailOS' image.
We recommend that you enable and use the [built in update-manager](../../update/update-manager) to perform a system update, then update the stack components (Klipper, Moonraker, Mainsail)
It is recommended that you enable and use the [built in update-manager](../../update/update-manager) to perform any system updates, then update Klipper, Moonraker, Mainsail as needed.
![screenshot-update-manager](../../../assets/img/update/screenshot-update-manager-example-not-up-to-date.png)
MainsailOS is now configured, and we can get Klipper's [printer.cfg](klipper-setup) setup.
MainsailOS is now configured, and Klipper's configuration file, [printer.cfg], can be setup.
---
[< tool selection](../mainsail-os.md){: .btn } [next step >](klipper-setup){: .btn }
+4 -4
View File
@@ -10,14 +10,14 @@ permalink: /setup/pre-flight
# Preflight Checklist
A quick run-through to check no important steps have been missed during installation and configuration.
You may wish to review the list below to make sure you have not missed any important steps during the setup process.
| Installed software components: | Configured: | Performed: |
| Installed software components: | Configured: | Completed: |
| :-- | :-- | :-- |
| &#x2705; MainsailOS<br> **OR** <br> &#x2705; Klipper<br> &#x2705; Moonraker<br> &#x2705; Mainsail<br> | &#x2705; Network<br> &#x2705; [Configured printer.cfg](mainsailos/klipper-setup)<br> &#x2705; [Included mainsail.cfg](mainsailos/first-boot#mainsailcfg)| &#x2705; Updates<br> &#x2705; Klipper verification(s)|
# Time to print
# Time to print!
If you've covered all the steps, you should now have a complete software stack ready to perform calibration prints!
If you have performed all of the installation steps, your installation should be complete and you are ready to start calibrating and printing with your 3D printer.
**Thank you for choosing Mainsail**
+6 -5
View File
@@ -7,9 +7,10 @@ permalink: /update/
has_toc: false
---
There are currently two methods to update either via the web interface, or manually.
There are two methods to update Mainsail: from Mainsail's interface in your web browser or by manually updating.
- [Update Manager](update-manager) <span class="label label-red">recommended</span>
A built in update utility found in the web ui, under the machine tab.
- [Manual Update](manual-update)
Guides on manual update methods for each component; Klipper, Moonraker and Mainsail.
- [Update Manager Guide](update-manager) <span class="label label-red">(Recommended)</span>
Update Klipper, Moonraker and Mainsail in your web browser using Mainsail. This is the recommended method.
- [Manual Update Guide](manual-update)
Review the included guides on how to manually update each component, including Klipper, Moonraker, and Mainsail.
+6 -4
View File
@@ -8,16 +8,18 @@ permalink: /update/klipper
## Klipper
### Update from Repository
To update Klipper directly from its repository, run the following command in a terminal:
```bash
cd ~/klipper
git pull
```
Restart Klipper (`sudo service klipper restart`) and check the `klippy.log`, if Klipper starts
correctly and then continue the guide.
Restart Klipper using the command `sudo service klipper restart` and check the `klippy.log`. if Klipper started correctly without any errors you may continue.
### Klipper config changes
If you have issues after update your Klipper instance, you can check config changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md).
### Klipper configuration changes
If you have any issues after updating your Klipper instance, you can check the configuration changes [here](https://github.com/KevinOConnor/klipper/blob/master/docs/Config_Changes.md).
---
[< table of contents](index.md){: .btn } [next step >](moonraker.md){: .btn}
+10 -4
View File
@@ -6,20 +6,26 @@ nav_order: 4
permalink: /update/mainsail
---
## Mainsail
## Updating Mainsail
To update Mainsail manually, run the commands below in your terminal:
```bash
cd ~/mainsail
rm -R ./*
wget -q -O mainsail.zip https://github.com/mainsail-crew/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
```
### Move gui.json from gcodes to klipper_config
This is only necessary if you update from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`.
### Updating from 0.2.2 to 0.2.3 or higher
If you are updating from Mainsail version 0.2.2 to a newer version, you must move the file `gui.json` from the `gcodes` directory to the `klipper_config' directory.
This is only necessary when updating from 0.2.2 to 0.2.3 or higher. If you use MainsailOS, the virtual_sdcard directory is `gcode_files` instead of `sdcard`.
```
mv ~/sdcard/gui.json ~/klipper_config/
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
You should now be able to open Mainsail in your web browser at `http://<printer-ip>/`.
---
[< previous step](moonraker.md){: .btn }
+17 -12
View File
@@ -6,21 +6,26 @@ nav_order: 3
permalink: /update/moonraker
---
## Moonraker
## Updating Moonraker
To update Moonraker directly from its repository, run the following command in a terminal:
```bash
cd ~/moonraker
git pull
```
Restart Moonraker (`sudo service moonraker restart`) and open the url `http://<printer-ip>:7125/printer/info` in your browser.
Restart Moonraker using the command `sudo service moonraker restart` and open the URL `http://<printer-ip>:7125/printer/info` in your browser.
If you see a content like this
Your printer is updated and ready if you see the following message:
```
{"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-643-g528f9f25", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}
```
### Add Moonraker update manager
To use the update manager in Mainsail you have to add this in your moonraker.conf:
### Add Moonraker to the update manager
If you want to update Moonraker using the update manager, you need to add the following section to your printer's `moonraker.conf`:
```
[update_manager]
@@ -30,21 +35,21 @@ repo: mainsail-crew/mainsail
path: ~/mainsail
```
### Change Moonraker to systemd service (December 6th 2020)
Moonraker is now installed as a systemd service. If `moonraker.conf` is not located in the home directory, the command will looks something like the following:
### Moonraker as a systemd service
As of December 2020, Moonraker is added as a systemd service during installation. If `moonraker.conf` is not located in the home directory, run this command in your terminal:
```bash
~/moonraker/scripts/install-moonraker.sh -f -c /home/pi/klipper_config/moonraker.conf
```
This allows logging to stdout which can be viewed with the `journalctl -u moonraker command`.
This allows logging to `stdout` which can be viewed with the command `journalctl -u moonraker` in your terminal.
### Update Moonraker dependence
This is only nessasary, if you see missing modules in the moonraker log.
### Update Moonraker's dependencies
Updating Moonraker's dependecencies manually is only needed if you see missing modules in the Moonraker log. You can run the following command to update Moonraker's dependencies:
```bash
~/moonraker/scripts/install-moonraker.sh -r
```
### Moonraker config changes
If you have issues after update your Moonraker instance, you can check config changes [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md).
### Moonraker configuration changes
If you have issues after updating Moonraker, please review the list of changes requiring user intervention [here](https://github.com/Arksine/moonraker/blob/master/docs/user_changes.md).
---
[< previous step](klipper.md){: .btn } [next step >](mainsail.md){: .btn }
+12 -10
View File
@@ -9,18 +9,18 @@ permalink: /update/update-manager
# Update Manager
You can find further information on this topic by checking out the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
You can find further information on this topic in the [Moonraker documentation](https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#update_manager){:target="_blank"}.
{: .info}
## Enabling the feature
## Enabling Update Manager
To use the built in Update Manager it must first be enabled by editing the moonraker.conf file:
To use the built in Update Manager it must first be enabled by editing the `moonraker.conf` file. From a terminal navigate to Klipper's configuration directory and edit the configuration file:
```bash
cd ~/klipper_config
sudo nano moonraker.conf
```
Add the following section to your printers moonraker.conf:
Add the following section to your printer's `moonraker.conf`:
```yaml
[update_manager]
@@ -36,18 +36,20 @@ Restart Moonraker:
sudo systemctl restart moonraker
```
## Using the Web UI
## Using Mainsail to Update
With the manager enabled reload the web ui and select the 'machine' tab from the sidebar. You should now see the Update Manager panel.
With the update manager enabled, reload your web browser and select the 'Machine' tab from the sidebar. You should now see the Update Manager panel.
Holding shift whilst clicking the browser's refresh button (or pressing ctrl+f5) will force it to reload the page fully (without the cache).
Holding shift while clicking the browser's refresh button (or pressing Control + F5) will force it to reload the page fully without the cache.
{: .info}
Typically the update order is top to bottom.
The update order is top to bottom.
![screenshot-updates-required](../assets/img/update/screenshot-update-manager-example-not-up-to-date.png)
To update a component, click the ![screenshot-update-button](../assets/img/update/screenshot-update-manager-button-rounded.png) button.
To update a component, click the 'UPDATE' button next to the component you wish to update:
A new window will launch and the component will be updated. When the update is finished, the window can be closed.
![screenshot-update-button](../assets/img/update/screenshot-update-manager-button-rounded.png)
A popover window will launch and the component will be updated. When the update is finished, you can close the window.
+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",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "mainsail",
"version": "2.1.0-beta5",
"version": "2.1.0",
"private": true,
"decription": "a klipper web interface",
"author": {
+1
View File
@@ -24,6 +24,7 @@ $t('App.TopCornerMenu.ConfirmationDialog.Title.ServiceRestart')
$t('App.TopCornerMenu.ConfirmationDialog.Title.ServiceStop')
$t('App.TopCornerMenu.ConfirmationDialog.Title.HostReboot')
$t('App.TopCornerMenu.ConfirmationDialog.Title.HostShutdown')
$t('App.TopCornerMenu.ConfirmationDialog.Description.KlipperStop')
$t('App.TopCornerMenu.ConfirmationDialog.Description.KlipperRestart')
$t('App.TopCornerMenu.ConfirmationDialog.Description.KlipperFirmwareRestart')
$t('App.TopCornerMenu.ConfirmationDialog.Description.ServiceStart')
+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"
+5 -5
View File
@@ -3,7 +3,7 @@
<v-btn icon tile @click="showSettings = true">
<v-icon>mdi-cogs</v-icon>
</v-btn>
<v-dialog v-model="showSettings" width="900" persistent :fullscreen="isMobile" @keydown.esc="showSettings = false">
<v-dialog v-model="showSettings" width="900" persistent :fullscreen="isMobile" @keydown.esc="showSettings = false" scrollable>
<panel :title="$t('Settings.InterfaceSettings')" icon="mdi-cogs" card-class="settings-menu-dialog" :margin-bottom="false" style="overflow: hidden;" :height="isMobile ? 0 : 548">
<template v-slot:buttons>
<v-btn icon tile @click="showSettings = false"><v-icon>mdi-close-thick</v-icon></v-btn>
@@ -187,18 +187,18 @@ export default class TheSettingsMenu extends Mixins(BaseMixin) {
<style scoped>
.settings-tabs {
height: auto;
min-height: 100%;
max-height: calc(var(--app-height) - 96px);
height: calc(var(--app-height) - 96px);
}
.settings-tabs-bar {
border-right: 1px solid rgba(255, 255, 255, 0.12);
height: 100%;
}
.settings-tabs-bar.height500,
.settings-tabs.height500 {
max-height: 500px;
height: 500px;
max-height: calc(var(--app-height) - 111px);
}
</style>
+128 -52
View File
@@ -2,24 +2,33 @@
.nav-logo {
height: 32px;
}
.small-list-item {
height: var(--sidebar-menu-item-height);
}
.no-text-decoration {
text-decoration: none;
background-color: transparent;
}
.no-background:before {
background-color: rgba(255, 255, 255, 0) !important;
}
.no-border {
border: 0 !important;
}
</style>
<style scoped>
.active-nav-item {
border-right: 4px solid var(--v-primary-base);
}
.menu-item-icon {
opacity: .85;
}
.menu-item-title {
line-height: 30px;
font-size: 14px;
@@ -27,57 +36,78 @@
text-transform: uppercase;
opacity: .85;
}
.nav-scrollbar {
height: 100%;
}
</style>
<template>
<v-navigation-drawer v-model="naviDrawer" :src="sidebarBackground" :mini-variant="(navigationStyle === 'iconsOnly')" :key="navigationStyle" :width="navigationWidth" clipped app>
<v-list class="pr-0 pt-0 ml-0">
<v-list-item-group active-class="active-nav-item">
<template v-if="countPrinters">
<v-tooltip right>
<template v-slot:activator="{ on, attrs }">
<v-list-item
router to="/allPrinters"
class="small-list-item mt-1"
v-bind="attrs"
v-on="on"
>
<v-list-item-icon class="my-3 mr-3 menu-item-icon">
<v-icon>mdi-view-dashboard-outline</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title tile class="menu-item-title">{{ $t("App.Printers") }}</v-list-item-title>
</v-list-item-content>
<v-navigation-drawer v-model="naviDrawer" :src="sidebarBackground" :mini-variant="(navigationStyle === 'iconsOnly')" :key="navigationStyle" :width="navigationWidth" :temporary="boolNaviTemp" clipped app :style="sidebarCssVars">
<overlay-scrollbars class="nav-scrollbar">
<v-list class="pr-0 pt-0 ml-0">
<v-list-item-group active-class="active-nav-item">
<v-list-item
router to="/"
:class="'sidebar-logo no-text-decoration no-background no-border ' + ((navigationStyle === 'iconsOnly') ? 'pa-0 justify-center' : '')"
:style="'height: ' + topbarHeight + 'px'"
:ripple="false"
v-if="isMobile"
>
<template v-if="sidebarLogo">
<img :src="sidebarLogo" :style="logoCssVars" class="nav-logo" alt="Logo" />
</template>
<template v-else>
<mainsail-logo :color="logoColor" :style="logoCssVars" class="nav-logo" :ripple="false"></mainsail-logo>
</template>
<template v-if="navigationStyle !== 'iconsOnly'">
<span class="text-h6 font-weight-regular text-truncate"> {{ printerName }} </span>
</template>
</v-list-item>
<template v-if="countPrinters">
<v-tooltip right :open-delay="500" :disabled="navigationStyle !== 'iconsOnly'">
<template v-slot:activator="{ on, attrs }">
<v-list-item
router to="/allPrinters"
class="small-list-item mt-1"
v-bind="attrs"
v-on="on"
>
<v-list-item-icon class="my-3 mr-3 menu-item-icon">
<v-icon>mdi-view-dashboard-outline</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title tile class="menu-item-title">{{ $t("App.Printers") }}</v-list-item-title>
</v-list-item-content>
</v-list-item>
</template>
<span v-if="navigationStyle === 'iconsOnly'">{{ $t("App.Printers") }}</span>
</v-tooltip>
<v-divider class="my-1"></v-divider>
</template>
<div v-for="(category, index) in naviPoints" :key="index">
<v-tooltip right :open-delay="500">
<template v-slot:activator="{ on, attrs }">
<v-list-item
router :to="category.path"
v-if="showInNavi(category)"
class="small-list-item"
v-bind="attrs"
v-on="on"
>
<v-list-item-icon class="my-3 mr-3 menu-item-icon">
<v-icon>mdi-{{ category.icon }}</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title tile class="menu-item-title">{{ $t(`Router.${category.title}`) }}</v-list-item-title>
</v-list-item-content>
</v-list-item>
</template>
<span v-if="navigationStyle === 'iconsOnly'">{{ $t(`Router.${category.title}`) }}</span>
</v-tooltip>
</div>
</v-list-item-group>
</v-list>
</v-list-item>
</template>
<span>{{ $t("App.Printers") }}</span>
</v-tooltip>
<v-divider class="my-1"></v-divider>
</template>
<div v-for="(category, index) in naviPoints" :key="index">
<v-tooltip right :open-delay="500" :disabled="navigationStyle !== 'iconsOnly'">
<template v-slot:activator="{ on, attrs }">
<v-list-item
router :to="category.path"
class="small-list-item"
v-bind="attrs"
v-on="on"
>
<v-list-item-icon class="my-3 mr-3 menu-item-icon">
<v-icon>mdi-{{ category.icon }}</v-icon>
</v-list-item-icon>
<v-list-item-content>
<v-list-item-title tile class="menu-item-title">{{ $t(`Router.${category.title}`) }}</v-list-item-title>
</v-list-item-content>
</v-list-item>
</template>
<span>{{ $t(`Router.${category.title}`) }}</span>
</v-tooltip>
</div>
</v-list-item-group>
</v-list>
</overlay-scrollbars>
<template v-slot:append>
<v-list-item class="small-list-item mb-2">
<v-list-item-icon class="menu-item-icon">
@@ -96,17 +126,20 @@ import BaseMixin from '@/components/mixins/base'
import {PrinterStateKlipperConfig} from '@/store/printer/types'
import TheSelectPrinterDialog from '@/components/TheSelectPrinterDialog.vue'
import AboutModal from '@/components/modals/AboutModal.vue'
import {navigationWidth} from '@/store/variables'
import {navigationWidth, topbarHeight} from '@/store/variables'
import MainsailLogo from '@/components/ui/MainsailLogo.vue'
@Component({
components: {
TheSelectPrinterDialog,
AboutModal
AboutModal,
MainsailLogo
}
})
export default class TheSidebarAlt extends Mixins(BaseMixin) {
export default class TheSidebar extends Mixins(BaseMixin) {
navigationWidth = navigationWidth
topbarHeight = topbarHeight
get naviDrawer(): boolean {
return this.$store.state.naviDrawer
@@ -125,7 +158,9 @@ export default class TheSidebarAlt extends Mixins(BaseMixin) {
}
get naviPoints(): AppRoute[] {
return routes.filter((element) => element.showInNavi)
return routes.filter((element) => {
return element.showInNavi && this.showInNavi(element)
})
}
get klippy_state(): string {
@@ -156,6 +191,47 @@ export default class TheSidebarAlt extends Mixins(BaseMixin) {
return this.$store.getters['farm/countPrinters']
}
get boolNaviTemp(): boolean {
if(!this.isMobile && this.$vuetify.breakpoint.mdAndDown) {
return true
}
return false
}
get sidebarCssVars(): any {
if(this.boolNaviTemp){
return {
'top': `${topbarHeight}px !important`,
'padding-bottom': `${topbarHeight}px`
}
}
return {}
}
get sidebarLogo(): string {
return this.$store.getters['files/getSidebarLogo']
}
get logoColor(): string {
return this.$store.state.gui.uiSettings.logo
}
get printerName():string {
if (this.$store.state.gui.general.printername.length)
return this.$store.state.gui.general.printername
return this.$store.state.printer.hostname
}
get logoCssVars() {
if(this.navigationStyle !== 'iconsOnly'){
return {
'margin-right': '16px'
}
}
return {}
}
showInNavi(route: AppRoute): boolean {
if (['shutdown', 'error', 'disconnected'].includes(this.klippy_state) && !route.alwaysShow) return false
else if (route.title === 'Webcam' && !this.boolNaviWebcam) return false
+24 -23
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>
@@ -85,7 +85,7 @@
</v-card>
</v-dialog>
<v-dialog v-model="dialogConfirmation.show" width="400" :fullscreen="isMobile">
<panel card-class="confirm-top-corner-menu-dialog" icon="mdi-help-circle" :title="dialogConfirmation.title" :margin-bottom="false">
<panel card-class="confirm-top-corner-menu-dialog" icon="mdi-alert" :title="dialogConfirmation.title" :margin-bottom="false">
<template v-slot:buttons>
<v-btn icon tile @click="dialogConfirmation.show = false"><v-icon>mdi-close-thick</v-icon></v-btn>
</template>
@@ -101,7 +101,7 @@
<v-btn text @click="dialogConfirmation.show = false">
{{ $t('App.TopCornerMenu.Cancel') }}
</v-btn>
<v-btn text color="primary" @click="executeDialog">
<v-btn text color="error" @click="executeDialog">
{{ dialogConfirmation.actionButtonText }}
</v-btn>
</v-card-actions>
@@ -180,26 +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 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)
}
+5
View File
@@ -15,6 +15,11 @@
.topbar .v-btn.v-btn--icon {
width: var(--topbar-icon-btn-width) !important;
}
@media (min-width: 768px) {
header.topbar {
z-index: 8 !important;
}
}
</style>
<template>
+4 -4
View File
@@ -25,8 +25,8 @@
<template>
<v-row :class="'ma-0 '+entryStyle">
<v-col class="col-auto pr-0 text--secondary">{{ event.formatTime }}</v-col>
<v-col :class="colorConsoleMessage(event)" v-html="event.formatMessage" @click.capture="commandClick"></v-col>
<v-col class="col-auto pr-0 text--disabled console-time">{{ event.formatTime }}</v-col>
<v-col :class="colorConsoleMessage(event) + ' ' + 'console-message'" v-html="event.formatMessage" @click.capture="commandClick"></v-col>
</v-row>
</template>
@@ -46,9 +46,9 @@ export default class ConsoleTableEntry extends Vue {
}
colorConsoleMessage(item: ServerStateEvent): string {
if (item.message.startsWith('!! ')) return 'red--text'
if (item.message.startsWith('!! ')) return 'error--text'
return 'white--text'
return 'text--primary'
}
commandClick(event: Event) {
+92 -62
View File
@@ -2,20 +2,39 @@
<style>
.viewer {
width: 100%;
height: calc(var(--app-height) - 250px);
height: calc(var(--app-height) - 266px);
border: 1px solid #3f3f3f;
}
.slider-autoheight,
.slider-autoheight .v-slider {
height: calc(var(--app-height) - 250px);
height: calc(var(--app-height) - 286px);
}
@media (min-width: 600px) and (max-width: 959px) {
.viewer {
height: calc(var(--app-height) - 318px);
}
.slider-autoheight,
.slider-autoheight .v-slider {
height: calc(var(--app-height) - 338px);
}
}
@media (max-width: 599px) {
.viewer {
height: calc(var(--app-height) - 356px);
}
.slider-autoheight,
.slider-autoheight .v-slider {
height: calc(var(--app-height) - 376px);
}
}
.slider-autoheight .v-slider {
margin-top: 0;
margin-bottom: 0;
}
.slider-autoheight .v-input__slot {
height: 100%;
}
@@ -63,70 +82,68 @@
<v-col class="col-auto pr-6">
<v-slider
vertical
:disabled="tracking"
:disabled="loading || !loadedFile"
:max="maxZSlider"
:min="0"
:value="zSlider"
class="slider-autoheight"
class="slider-autoheight mt-3"
@input="updateZSlider"
></v-slider>
</v-col>
</v-row>
<v-row class="mt-0">
<v-col>
<v-select :items="colorModes" :label="$t('GCodeViewer.ColorMode')" item-text="text" dense v-model="colorMode" hide-details outlined attach></v-select>
</v-col>
<v-col class="text-center">
<template v-if="loadedFile === null">
<v-btn @click="loadCurrentFile" class="mr-3" v-if="sdCardFilePath !== '' && sdCardFilePath !== loadedFile">{{ $t("GCodeViewer.LoadCurrentFile")}}</v-btn>
<v-btn @click="chooseFile">{{ $t("GCodeViewer.LoadLocal") }}</v-btn>
</template>
<template v-else>
<v-btn @click="tracking=!tracking" v-if="showTrackingButton" class="mr-3"><v-icon v-html="tracking ? 'mdi-toggle-switch' : 'mdi-toggle-switch-off-outline'" class="mr-2"></v-icon>{{ $t("GCodeViewer.Tracking") }}</v-btn>
<v-btn @click="clearLoadedFile">{{ $t("GCodeViewer.ClearLoadedFile") }}</v-btn>
</template>
</v-col>
<v-row class="mt-0 d-flex align-top">
<v-col>
<v-row>
<v-col>
<v-select :items="renderQualities" :label="$t('GCodeViewer.RenderQuality')" item-text="label" dense v-model="renderQuality" hide-details outlined attach></v-select>
<v-col order-md="2" class="d-flex align-content-space-around justify-center flex-wrap flex-md-nowrap col-12 col-md-4">
<template v-if="loadedFile === null">
<v-btn @click="loadCurrentFile" class="mr-3" v-if="sdCardFilePath !== '' && sdCardFilePath !== loadedFile">{{ $t("GCodeViewer.LoadCurrentFile")}}</v-btn>
<v-btn @click="chooseFile">{{ $t("GCodeViewer.LoadLocal") }}</v-btn>
</template>
<template v-else>
<v-btn @click="tracking=!tracking" class="mr-3" v-if="showTrackingButton"><v-icon v-html="tracking ? 'mdi-toggle-switch' : 'mdi-toggle-switch-off-outline'" class="mr-2"></v-icon>{{ $t("GCodeViewer.Tracking") }}</v-btn>
<v-btn @click="clearLoadedFile">{{ $t("GCodeViewer.ClearLoadedFile") }}</v-btn>
</template>
</v-col>
<v-col class="col-auto">
<v-menu :offset-y="true" :offset-x="true" top :close-on-content-click="false" :title="$t('Files.SetupCurrentList')">
<template v-slot:activator="{ on, attrs }">
<v-btn class="minwidth-0 px-2" v-bind="attrs" v-on="on"><v-icon>mdi-cog</v-icon></v-btn>
</template>
<v-list>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="showCursor" :label="$t('GCodeViewer.ShowToolhead')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="showTravelMoves" :label="$t('GCodeViewer.ShowTravelMoves')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36" v-if="loadedFile === sdCardFilePath && printing_objects.length > 1">
<v-checkbox class="mt-0" hide-details v-model="showObjectSelection" :label="$t('GCodeViewer.ShowObjectSelection')"></v-checkbox>
</v-list-item>
<v-divider></v-divider>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="hdRendering" :label="$t('GCodeViewer.HDRendering')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="forceLineRendering" :label="$t('GCodeViewer.ForceLineRendering')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="transparency" :label="$t('GCodeViewer.Transparency')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="voxelMode" :label="$t('GCodeViewer.VoxelMode')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="specularLighting" :label="$t('GCodeViewer.SpecularLighting')"></v-checkbox>
</v-list-item>
</v-list>
</v-menu>
<v-col class="col-12 col-sm-6 col-md-4">
<v-select :items="colorModes" :label="$t('GCodeViewer.ColorMode')" item-text="text" dense v-model="colorMode" hide-details outlined></v-select>
</v-col>
<v-col order-md="3" class="col-12 col-sm-6 col-md-4">
<v-select :items="renderQualities" :label="$t('GCodeViewer.RenderQuality')" item-text="label" dense v-model="renderQuality" hide-details outlined></v-select>
</v-col>
</v-row>
</v-col>
<v-menu :offset-y="true" :offset-x="true" top :close-on-content-click="false" :title="$t('Files.SetupCurrentList')">
<template v-slot:activator="{ on, attrs }">
<v-btn class="minwidth-0 px-2 mr-3 mt-3" v-bind="attrs" v-on="on"><v-icon>mdi-cog</v-icon></v-btn>
</template>
<v-list>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="showCursor" :label="$t('GCodeViewer.ShowToolhead')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="showTravelMoves" :label="$t('GCodeViewer.ShowTravelMoves')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36" v-if="loadedFile === sdCardFilePath && printing_objects.length > 1">
<v-checkbox class="mt-0" hide-details v-model="showObjectSelection" :label="$t('GCodeViewer.ShowObjectSelection')"></v-checkbox>
</v-list-item>
<v-divider></v-divider>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="hdRendering" :label="$t('GCodeViewer.HDRendering')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="forceLineRendering" :label="$t('GCodeViewer.ForceLineRendering')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="transparency" :label="$t('GCodeViewer.Transparency')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="voxelMode" :label="$t('GCodeViewer.VoxelMode')"></v-checkbox>
</v-list-item>
<v-list-item class="minHeight36">
<v-checkbox class="mt-0" hide-details v-model="specularLighting" :label="$t('GCodeViewer.SpecularLighting')"></v-checkbox>
</v-list-item>
</v-list>
</v-menu>
</v-row>
<input :accept="'.g,.gcode,.gc,.gco,.nc,.ngc,.tap'" @change="fileSelected" hidden multiple ref="fileInput" type="file" />
</v-card-text>
@@ -144,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>
@@ -310,7 +336,8 @@ export default class Viewer extends Mixins(BaseMixin) {
viewerInit(element: HTMLCanvasElement) {
viewer = new GCodeViewer(element)
viewer.init()
viewer.setBackgroundColor('#121212')
viewer.setBackgroundColor(this.backgroundColor)
viewer.bed.setBedColor(this.gridColor)
viewer.setCursorVisiblity(this.showCursor)
viewer.setZClipPlane(1000000, -1000000)
viewer.axes.show(this.showAxes)
@@ -366,6 +393,7 @@ export default class Viewer extends Mixins(BaseMixin) {
if (viewer) {
viewer.clearScene(true)
this.loadedFile = null
this.tracking = false
}
}
@@ -537,6 +565,8 @@ export default class Viewer extends Mixins(BaseMixin) {
async trackingChanged(newVal: boolean) {
if (!viewer) return
if (newVal) {
//Set zSlider to max value
this.zSlider = this.maxZSlider
//Force renderers reload.
viewer.gcodeProcessor.updateFilePosition(0)
viewer?.forceRender()
@@ -733,7 +763,7 @@ export default class Viewer extends Mixins(BaseMixin) {
}
get backgroundColor() {
return this.$store.state.gui.gcodeViewer?.backgroundColor ?? '#000000'
return this.$store.state.gui.gcodeViewer?.backgroundColor ?? '#121212'
}
@Watch('backgroundColor')
@@ -743,7 +773,7 @@ export default class Viewer extends Mixins(BaseMixin) {
}
get gridColor() {
return this.$store.state.gui.gcodeViewer?.gridColor ?? '#000000'
return this.$store.state.gui.gcodeViewer?.gridColor ?? '#B3B3B3'
}
@Watch('gridColor')
@@ -13,8 +13,8 @@
@click:append="resetLimit"
:label="label"
:suffix="unit"
:append-icon="this.value !== this.defaultValue ? 'mdi-restart' : ''"
:error="(this.value < this.min) || ((this.value > this.max) && this.max !== -1)"
:append-icon="value !== defaultValue ? 'mdi-restart' : ''"
:error="error = ((value < min) || ((value > max) && max !== null))"
:step="step"
:min="min"
:max="max"
@@ -25,10 +25,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,11 +58,14 @@ 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, required: false , default: -1 }) readonly max!: number
@Prop({ type: Number, default: null }) readonly max!: number | null
@Prop({ type: Number, required: true , default: 0 }) readonly dec!: number
@Prop({ type: Number, required: true, default: 0 }) readonly target!: number
@Prop({ type: Number, required: true, default: 0 }) readonly defaultValue!: number
@@ -71,12 +88,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 === -1) ? 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 -8
View File
@@ -13,8 +13,8 @@
@click:append="resetLimit"
:label="label"
:suffix="unit"
:append-icon="this.value !== this.defaultValue ? 'mdi-restart' : ''"
:error="(this.value < this.min) || ((this.value > this.max) && this.max !== -1)"
:append-icon="value !== defaultValue ? 'mdi-restart' : ''"
:error="error = ((value < min) || ((value > max) && max !== null))"
:step="step"
:min="min"
:max="max"
@@ -25,10 +25,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,11 +58,14 @@ 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, required: false , default: -1 }) readonly max!: number
@Prop({ type: Number, default: null }) readonly max!: number | null
@Prop({ type: Number, required: true , default: 0 }) readonly dec!: number
@Prop({ type: Number, required: true, default: 0 }) readonly target!: number
@Prop({ type: Number, required: true, default: 0 }) readonly defaultValue!: number
@@ -71,12 +88,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 === -1) ? 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()
}
@@ -13,8 +13,8 @@
@click:append="resetLimit"
:label="label"
:suffix="unit"
:append-icon="this.value !== this.defaultValue ? 'mdi-restart' : ''"
:error="(this.value < this.min) || ((this.value > this.max) && this.max !== -1)"
:append-icon="value !== defaultValue ? 'mdi-restart' : ''"
:error="error = ((value < min) || ((value > max) && max !== null))"
:step="step"
:min="min"
:max="max"
@@ -25,10 +25,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,11 +58,14 @@ 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, required: false , default: -1 }) readonly max!: number
@Prop({ type: Number, default: null }) readonly max!: number | null
@Prop({ type: Number, required: true , default: 0 }) readonly dec!: number
@Prop({ type: Number, required: true, default: 0 }) readonly target!: number
@Prop({ type: Number, required: true, default: 0 }) readonly defaultValue!: number
@@ -72,13 +89,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
console.log(this.value)
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 === -1) ? 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()
}
+23 -7
View File
@@ -26,10 +26,13 @@
:items="items"
item-text="value"
type="number"
@change="setTemps"
attach
@keyup.enter="setTemps"
@keydown.tab="setTemps"
@change="changeValue"
@blur="onBlur"
hide-spin-buttons
></v-combobox>
>
</v-combobox>
</template>
<script lang="ts">
@@ -49,17 +52,30 @@ export default class ToolInput extends Mixins(BaseMixin) {
@Prop({ type: String, required: true }) readonly attributeName!: string
@Prop({ type: Array, default: [] }) items!: number[]
changeValue(newVal: any) {
if (typeof newVal === 'object') {
this.setTemps()
}
}
onBlur(event: any) {
if ('target' in event && event.target && 'value' in event.target) {
this.value = event.target.value ?? this.value
this.setTemps()
}
}
setTemps(): void {
if (typeof this.value === 'object') this.value = this.value.value ?? 0
if (this.value === '') this.value = 0
if (this.value === null) this.value = 0
if (this.value > this.max_temp) {
this.value = { value: this.target, text: this.target }
this.$toast.error('Temperature too high for '+this.name+'! (max: '+this.max_temp+')')
this.$toast.error(this.$t('Panels.ToolsPanel.TempTooHigh', { name: this.name, max: this.max_temp })+'')
} else if (this.value < this.min_temp && this.value != 0) {
this.value = { value: this.target, text: this.target }
this.$toast.error('Temperature too low for '+this.name+'! (min: '+this.min_temp+')')
} else {
this.$toast.error(this.$t('Panels.ToolsPanel.TempTooLow', { name: this.name, min: this.min_temp })+'')
} else if (this.target !== parseFloat(this.value)) {
const gcode = this.command+' '+this.attributeName+'='+this.name+' TARGET='+this.value
this.$store.dispatch('server/addEvent', { message: gcode, type: 'command' })
this.$socket.emit('printer.gcode.script', { script: gcode })
+5 -2
View File
@@ -41,7 +41,9 @@ export default class BaseMixin extends Vue {
}
get printer_state(): string {
return this.$store.state.printer.print_stats?.state ?? ''
const printer_state = this.$store.state.printer.print_stats?.state ?? ''
const timelapse_pause = this.$store.state.printer['gcode_macro TIMELAPSE_TAKE_FRAME']?.is_paused ?? false
return (printer_state === 'paused' && timelapse_pause) ? 'printing' : printer_state
}
get isMobile() {
@@ -61,7 +63,8 @@ export default class BaseMixin extends Vue {
}
get isTouchDevice() {
return (('ontouchstart' in window) || (navigator.maxTouchPoints > 0))
// ignore if browser reports maxTouchPoints === 256, can happen on Windows 10
return (('ontouchstart' in window) || (navigator.maxTouchPoints > 0 && navigator.maxTouchPoints !== 256))
}
get moonrakerComponents() {
+11
View File
@@ -15,6 +15,11 @@ export default class DashboardMixin extends BaseMixin {
return this.$store.getters['gui/macros/getAllMacrogroups'] ?? []
}
get webcams() {
return this.$store.getters['gui/webcams/getWebcams'] ?? []
}
get missingPanelsMobile() {
const panels = [
...this.$store.state.gui.dashboard.mobileLayout,
@@ -55,6 +60,7 @@ export default class DashboardMixin extends BaseMixin {
let allPanels = [...allDashboardPanels]
const missingPanels: any[] = []
// remove macros panel and add macrogroups panels if macroMode === expert
if (this.macroMode === 'expert') {
this.macrogroups.forEach((group: GuiMacrosStateMacrogroup) => {
allPanels.push('macrogroup_'+group.id)
@@ -63,6 +69,11 @@ export default class DashboardMixin extends BaseMixin {
allPanels = allPanels.filter((name) => name !== 'macros')
}
// remove webcam panel, if no webcam exists
if (this.webcams.length === 0) {
allPanels = allPanels.filter((name) => name !== 'webcam')
}
allPanels.forEach((panelname) => {
if (!panels.find((panel) => panel.name === panelname))
missingPanels.push({
@@ -153,9 +153,9 @@
</v-row>
<v-row no-gutters class="mt-3">
<v-col class="col-12">
<v-btn-toggle v-if="stepsReversed.length > 0" dense no-gutters style="flex-wrap: nowrap; width: 100%;" v-model="selectedCrossStep">
<v-btn dense class="btnMinWidthAuto flex-grow-1 px-0" v-for="steps of stepsReversed" :key="'all-'+steps">
<span class="body-2">{{ steps }}</span>
<v-btn-toggle v-if="stepsReversed.length > 0" dense no-gutters style="flex-wrap: nowrap; width: 100%;" v-model="selectedCrossStep" :key="'all-steps-'+stepsReversed.join('_')">
<v-btn dense class="btnMinWidthAuto flex-grow-1 px-0" v-for="step of stepsReversed" :key="'step-'+step">
<span class="body-2">{{ step }}</span>
</v-btn>
</v-btn-toggle>
<div class="font-weight-bold warning rounded pa-2" v-else>
@@ -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) {
+1 -1
View File
@@ -72,7 +72,7 @@
>
<div v-if="printer.socket.isConnected && currentCamId !== 'off' && currentWebcam" class="webcamContainer">
<template v-if="'service' in currentWebcam && currentWebcam.service === 'mjpegstreamer'">
<webcam-mjpegstreamer :cam-settings="currentWebcam"></webcam-mjpegstreamer>
<webcam-mjpegstreamer :cam-settings="currentWebcam" :show-fps="false"></webcam-mjpegstreamer>
</template>
<template v-if="'service' in currentWebcam && currentWebcam.service === 'mjpegstreamer-adaptive'">
<webcam-mjpegstreamer-adaptive :cam-settings="currentWebcam" :printer-url="printerUrl" :show-fps="false"></webcam-mjpegstreamer-adaptive>
+29 -12
View File
@@ -133,7 +133,7 @@
:search="search"
:custom-filter="advancedSearch"
mobile-breakpoint="0"
@pagination="refreshMetadata"
@current-items="refreshMetadata"
>
<template slot="items">
@@ -212,6 +212,9 @@
<td class="text-right" v-if="headers.find(header => header.value === 'modified').visible">{{ formatDate(item.modified) }}</td>
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'object_height').visible">{{ item.object_height ? item.object_height.toFixed(2)+' mm' : '--' }}</td>
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'layer_height').visible">{{ item.layer_height ? item.layer_height.toFixed(2)+' mm' : '--' }}</td>
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'nozzle_diameter').visible">{{ item.nozzle_diameter ? item.nozzle_diameter.toFixed(2)+' mm' : '--' }}</td>
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'filament_name').visible">{{ item.filament_name ? item.filament_name : '--' }}</td>
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'filament_type').visible">{{ item.filament_type ? item.filament_type : '--' }}</td>
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'filament_total').visible">{{ item.filament_total ? item.filament_total.toFixed()+' mm' : '--' }}</td>
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'filament_weight_total').visible">{{ item.filament_weight_total ? item.filament_weight_total.toFixed(2)+' g' : '--' }}</td>
<td class="text-no-wrap text-right" v-if="headers.find(header => header.value === 'estimated_time').visible">{{ formatPrintTime(item.estimated_time) }}</td>
@@ -470,7 +473,6 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
private search = ''
private selected = []
private hideHeaderColums = []
private currentPath = 'gcodes'
private dropzone = {
visibility: 'hidden',
opacity: 0,
@@ -563,6 +565,14 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
(value: string) => value.indexOf(' ') === -1 || 'Name contains spaces!'
]
get currentPath() {
return this.$store.state.gui.view.gcodefiles.currentPath
}
set currentPath(newVal) {
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.gcodefiles.currentPath', value: newVal })
}
get headers() {
const headers = [
{ text: '', value: '', align: 'left', configable: false, visible: true, filterable: false },
@@ -572,6 +582,9 @@ export default class GcodefilesPanel extends Mixins(BaseMixin) {
{ text: this.$t('Files.LastModified'), value: 'modified', align: 'right', configable: true, visible: true },
{ text: this.$t('Files.ObjectHeight'), value: 'object_height', align: 'right', configable: true, visible: true },
{ text: this.$t('Files.LayerHeight'), value: 'layer_height', align: 'right', configable: true, visible: true },
{ text: this.$t('Files.NozzleDiameter'), value: 'nozzle_diameter', align: 'right', configable: true, visible: true },
{ text: this.$t('Files.FilamentName'), value: 'filament_name', align: 'right', configable: true, visible: true },
{ text: this.$t('Files.FilamentType'), value: 'filament_type', align: 'right', configable: true, visible: true },
{ text: this.$t('Files.FilamentUsage'), value: 'filament_total', align: 'right', configable: true, visible: true },
{ text: this.$t('Files.FilamentWeight'), value: 'filament_weight_total', align: 'right', configable: true, visible: true },
{ text: this.$t('Files.PrintTime'), value: 'estimated_time', align: 'right', configable: true, visible: true },
@@ -891,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() {
@@ -912,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 ''
@@ -922,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 ''
@@ -1020,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
@@ -365,8 +365,6 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
private selected = []
private options = { }
private currentPage = 1
private currentPath = ''
private root = 'config'
private contextMenu: contextMenu = {
shown: false,
isDirectory: false,
@@ -580,6 +578,22 @@ export default class ConfigFilesPanel extends Mixins(BaseMixin) {
return this.$store.state.server.registered_directories.filter((dir: string) => !hiddenRootDirectories.includes(dir)).sort()
}
get root() {
return this.$store.state.gui.view.configfiles.rootPath
}
set root(newVal) {
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.configfiles.rootPath', value: newVal })
}
get currentPath() {
return this.$store.state.gui.view.configfiles.currentPath
}
set currentPath(newVal) {
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.configfiles.currentPath', value: newVal })
}
refreshFileList() {
this.$socket.emit('server.files.get_directory', { path: this.absolutePath.substring(1) }, { action: 'files/getDirectory' })
}
@@ -612,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
})
}
@@ -642,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,12 +3,14 @@
<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="-1"
:max="null"
:dec="2"
unit="mm"
attribute-name="RETRACT_LENGTH"
@@ -16,12 +18,14 @@
</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="-1"
:max="null"
:dec="0"
unit="mm/s"
attribute-name="RETRACT_SPEED"
@@ -31,12 +35,14 @@
<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="-1"
:max="null"
:dec="2"
unit="mm"
attribute-name="UNRETRACT_EXTRA_LENGTH"
@@ -44,12 +50,14 @@
</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="-1"
:max="null"
:dec="0"
unit="mm/s"
attribute-name="UNRETRACT_SPEED"
@@ -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,12 +3,14 @@
<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="-1"
:max="null"
:dec="0"
unit="mm/s"
attribute-name="VELOCITY"
@@ -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"
:max="-1"
:dec="0"
:hasSpinner="true"
:step="0.1"
:min="0.1"
:max="null"
:dec="1"
unit="mm/s"
attribute-name="SQUARE_CORNER_VELOCITY"
></motion-settings-input>
@@ -31,12 +34,14 @@
<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="-1"
:max="null"
:dec="0"
unit="mm/s²"
attribute-name="ACCEL"
@@ -44,12 +49,14 @@
</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="-1"
:max="null"
:dec="0"
unit="mm/s²"
attribute-name="ACCEL_TO_DECEL"
@@ -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,10 +24,11 @@
</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"
:step="0.001"
@@ -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
}
}
+13 -11
View File
@@ -376,13 +376,6 @@ export default class StatusPanel extends Mixins(BaseMixin) {
loadingName: 'statusPrintResume',
status: ['paused'],
click: this.btnResumeJob
}, {
text: this.$t('Panels.StatusPanel.ExcludeObject.ExcludeObject'),
color: 'warning',
icon: 'mdi-selection-remove',
loadingName: '',
status: this.printing_objects.length ? ['paused', 'printing'] : [],
click: this.btnExcludeObject
}, {
text: this.$t('Panels.StatusPanel.CancelPrint'),
color: 'error',
@@ -390,6 +383,13 @@ export default class StatusPanel extends Mixins(BaseMixin) {
loadingName: 'statusPrintCancel',
status: this.$store.state.gui.uiSettings.displayCancelPrint ? ['paused', 'printing'] : ['paused'],
click: this.btnCancelJob
}, {
text: this.$t('Panels.StatusPanel.ExcludeObject.ExcludeObject'),
color: 'warning',
icon: 'mdi-selection-remove',
loadingName: '',
status: this.printing_objects.length ? ['paused', 'printing'] : [],
click: this.btnExcludeObject
}, {
text: this.$t('Panels.StatusPanel.ClearPrintStats'),
color: 'primary',
@@ -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}`
}
}
}
@@ -39,7 +39,7 @@
<v-card-text>
<v-row>
<v-col class="col-12 py-2 d-flex align-center">
<span><b>{{ $t('Timelapse.CurrentPath') }}:</b> {{ this.currentPath !== 'timelapse' ? "/"+this.currentPath.substring(7) : "/" }}</span>
<span><b>{{ $t('Timelapse.CurrentPath') }}:</b> {{ this.currentPath !== 'timelapse' ? "/"+this.currentPath.substring(10) : "/" }}</span>
<v-spacer></v-spacer>
<template v-if="this.disk_usage !== null">
<v-tooltip top>
@@ -284,7 +284,6 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
}
private search = ''
private currentPath = 'timelapse'
private boolVideoDialog = false
private videoDialogFilename = ''
@@ -405,6 +404,14 @@ export default class TimelapseFilesPanel extends Mixins(BaseMixin) {
}) ?? []
}
get currentPath() {
return this.$store.state.gui.view.timelapse.currentPath
}
set currentPath(newVal) {
this.$store.dispatch('gui/saveSettingWithoutUpload', { name: 'view.timelapse.currentPath', value: newVal })
}
createDirectory() {
this.dialogCreateDirectory.name = ''
this.dialogCreateDirectory.show = true
@@ -436,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 ''
@@ -450,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
}
}
+1 -1
View File
@@ -98,7 +98,7 @@ export default class WebcamPanel extends Mixins(BaseMixin) {
get currentCamId(): string {
if (this.webcams.length === 1) return this.webcams[0].id ?? 'all'
let currentCamId = this.$store.state.gui.webcamSettings.currentCam[this.viewport ?? ''] ?? 'all'
let currentCamId = this.$store.state.gui.view.webcam.currentCam[this.viewport ?? ''] ?? 'all'
if (this.webcams.findIndex((webcam: GuiWebcamStateWebcam) => webcam.id === currentCamId) !== -1)
return currentCamId
else if (currentCamId !== undefined && this.webcams.length === 1)
+59 -48
View File
@@ -32,7 +32,7 @@
type="number"
suffix="mm/s"
hide-details="auto"
:rules="[v => v > 0 || 'Minimum speed is 1']"
:rules="[v => v > 0 || $t('Settings.ControlTab.ValueGreaterThan', {value: '0'})]"
outlined
dense
hide-spin-buttons
@@ -46,7 +46,7 @@
type="number"
suffix="mm/s"
hide-details="auto"
:rules="[v => v > 0 || 'Minimum speed is 1']"
:rules="[v => v > 0 || $t('Settings.ControlTab.ValueGreaterThan', {value: '0'})]"
outlined
dense
hide-spin-buttons
@@ -58,15 +58,15 @@
<v-combobox
v-model="stepsAll"
hide-selected
hide-details
hide-details="auto"
multiple
small-chips
:deletable-chips="true"
append-icon=""
type="number"
:rules="[
v => v.length > 0 || 'Minimum 1 value',
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 3 values.',
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
v => v.length <= 9 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '9'}),
]"
dense
outlined
@@ -80,16 +80,16 @@
<v-combobox
v-model="stepsCircleXY"
hide-selected
hide-details
hide-details="auto"
multiple
small-chips
:deletable-chips="true"
append-icon=""
type="number"
:rules="[
v => v.length > 0 || 'Minimum 1 value',
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 4 values.',
]"
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
v => v.length <= 4 || $t('Settings.ControlTab.MaximumValues', {maximum: '4'}),
]"
dense
outlined
hide-spin-buttons
@@ -100,16 +100,16 @@
<v-combobox
v-model="stepsCircleZ"
hide-selected
hide-details
hide-details="auto"
multiple
small-chips
:deletable-chips="true"
append-icon=""
type="number"
:rules="[
v => v.length > 0 || 'Minimum 1 value',
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 4 values.',
]"
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
v => v.length <= 4 || $t('Settings.ControlTab.MaximumValues', {maximum: '4'}),
]"
dense
outlined
hide-spin-buttons
@@ -122,16 +122,16 @@
<v-combobox
v-model="stepsXY"
hide-selected
hide-details
hide-details="auto"
multiple
small-chips
:deletable-chips="true"
append-icon=""
type="number"
:rules="[
v => v.length > 0 || 'Minimum 1 value',
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 3 values.',
]"
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
v => v.length <= 3 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '3'}),
]"
dense
outlined
hide-spin-buttons
@@ -142,16 +142,16 @@
<v-combobox
v-model="stepsZ"
hide-selected
hide-details
hide-details="auto"
multiple
small-chips
:deletable-chips="true"
append-icon=""
type="number"
:rules="[
v => v.length > 0 || 'Minimum 1 value',
v => v.length < 9 || 'For narrow screens it is recommended to enter max. 3 values.',
]"
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
v => v.length <= 3 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '3'}),
]"
dense
outlined
hide-spin-buttons
@@ -169,10 +169,10 @@
:deletable-chips="true"
append-icon=""
type="number"
:rules="[
v => v.length > 0 || 'Minimum 1 value',
v => v.length < 6 || 'For narrow screens it is recommended to enter max. 5 values.',
]"
:rules="[
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
v => v.length <= 5 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '5'}),
]"
dense
outlined
hide-spin-buttons
@@ -189,10 +189,10 @@
:deletable-chips="true"
append-icon=""
type="number"
:rules="[
v => v.length > 0 || 'Minimum 1 value',
v => v.length < 6 || 'For narrow screens it is recommended to enter max. 5 values.',
]"
:rules="[
v => v.length > 0 || $t('Settings.ControlTab.MinimumValues', {minimum: '1'}),
v => v.length <= 5 || $t('Settings.ControlTab.MaximumValuesVisibility', {maximum: '5'}),
]"
dense
outlined
hide-spin-buttons
@@ -291,8 +291,9 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
set stepsAll(newVal) {
const absSteps = []
for(const value of newVal) absSteps.push(Math.abs(value))
const steps = absSteps.filter(this.onlyUnique)
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsAll', value: absSteps })
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsAll', value: steps })
}
get stepsXY() {
@@ -300,11 +301,12 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
return steps.sort(function (a: number,b: number) { return b-a })
}
set stepsXY(steps) {
set stepsXY(newVal) {
const absSteps = []
for(const value of steps) absSteps.push(Math.abs(value))
for(const value of newVal) absSteps.push(Math.abs(value))
const steps = absSteps.filter(this.onlyUnique)
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsXY', value: absSteps })
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsXY', value: steps })
}
get stepsZ() {
@@ -312,11 +314,12 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
return steps.sort(function (a: number,b: number) { return b-a })
}
set stepsZ(steps) {
set stepsZ(newVal) {
const absSteps = []
for(const value of steps) absSteps.push(Math.abs(value))
for(const value of newVal) absSteps.push(Math.abs(value))
const steps = absSteps.filter(this.onlyUnique)
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsZ', value: absSteps })
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsZ', value: steps })
}
get stepsCircleXY() {
@@ -324,11 +327,12 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
return steps.sort(function (a: number,b: number) { return b-a })
}
set stepsCircleXY(steps) {
set stepsCircleXY(newVal) {
const absSteps = []
for(const value of steps) absSteps.push(Math.abs(value))
for(const value of newVal) absSteps.push(Math.abs(value))
const steps = absSteps.filter(this.onlyUnique)
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsCircleXY', value: absSteps })
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsCircleXY', value: steps })
}
get stepsCircleZ() {
@@ -336,11 +340,12 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
return steps.sort(function (a: number,b: number) { return b-a })
}
set stepsCircleZ(steps) {
set stepsCircleZ(newVal) {
const absSteps = []
for(const value of steps) absSteps.push(Math.abs(value))
for(const value of newVal) absSteps.push(Math.abs(value))
const steps = absSteps.filter(this.onlyUnique)
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsCircleZ', value: absSteps })
this.$store.dispatch('gui/saveSetting', { name: 'control.stepsCircleZ', value: steps })
}
get feedamountsE() {
@@ -348,11 +353,12 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
return steps.sort(function (a: number,b: number) { return b-a })
}
set feedamountsE(amounts) {
set feedamountsE(newVal) {
const absAmounts = []
for(const value of amounts) absAmounts.push(Math.abs(value))
for(const value of newVal) absAmounts.push(Math.abs(value))
const amounts = absAmounts.filter(this.onlyUnique)
this.$store.dispatch('gui/saveSetting', { name: 'control.extruder.feedamounts', value: absAmounts })
this.$store.dispatch('gui/saveSetting', { name: 'control.extruder.feedamounts', value: amounts })
}
get feedratesE() {
@@ -360,11 +366,12 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
return steps.sort(function (a: number,b: number) { return b-a })
}
set feedratesE(rates) {
set feedratesE(newVal) {
const absRates = []
for(const value of rates) absRates.push(Math.abs(value))
for(const value of newVal) absRates.push(Math.abs(value))
const rates = absRates.filter(this.onlyUnique)
this.$store.dispatch('gui/saveSetting', { name: 'control.extruder.feedrates', value: absRates })
this.$store.dispatch('gui/saveSetting', { name: 'control.extruder.feedrates', value: rates })
}
blurFeedrateXY() {
@@ -375,6 +382,10 @@ export default class SettingsControlTab extends Mixins(BaseMixin) {
if (!(this.feedrateZ > 0)) this.feedrateZ = 25
}
onlyUnique(value: any, index: any, self: any[]) {
return self.indexOf(value) === index
}
mounted() {
this.$refs.formControlExtruder.validate()
}
@@ -292,8 +292,8 @@ export default class SettingsPresetsTab extends Mixins(BaseMixin) {
}
if (this.form.id !== null) {
this.$store.dispatch('gui/presets/update', { id: this.form.id, values: preset} )
} else this.$store.dispatch('gui/presets/store', { values: preset} )
this.$store.dispatch('gui/presets/update', { id: this.form.id, values: preset } )
} else this.$store.dispatch('gui/presets/store', { values: preset } )
this.clearForm()
}
+3 -4
View File
@@ -8,9 +8,8 @@
.btn-collapsible i::before {
transition: transform 500ms;
}
.icon-rotate-180:before {
transform: rotate(180deg);
.icon-rotate-90:before {
transform: rotate(90deg);
}
</style>
@@ -55,7 +54,7 @@
class="btn-collapsible"
:ripple="true"
>
<v-icon :class="(!expand ? 'icon-rotate-180' : '')">mdi-chevron-down</v-icon>
<v-icon :class="(expand ? '' : 'icon-rotate-90')">mdi-chevron-down</v-icon>
</v-btn>
</v-toolbar-items>
</v-toolbar>
+9 -2
View File
@@ -17,13 +17,13 @@
<template>
<div v-observe-visibility="visibilityChanged" style="position: relative;">
<img ref="image" class="webcamImage" :style="webcamStyle" />
<span class="webcamFpsOutput">{{ $t('Panels.WebcamPanel.FPS')}}: {{ fpsOutput }}</span>
<span class="webcamFpsOutput" v-if="showFps">{{ $t('Panels.WebcamPanel.FPS')}}: {{ fpsOutput }}</span>
</div>
</template>
<script lang="ts">
import Component from 'vue-class-component'
import {Mixins, Prop} from 'vue-property-decorator'
import {Mixins, Prop, Watch} from 'vue-property-decorator'
import BaseMixin from '@/components/mixins/base'
const CONTENT_LENGTH = 'content-length'
@@ -44,6 +44,8 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
@Prop()
printerUrl: string | undefined
@Prop({ default: true }) showFps!: boolean
$refs!: {
canvas: HTMLCanvasElement,
image: HTMLImageElement,
@@ -189,5 +191,10 @@ export default class Mjpegstreamer extends Mixins(BaseMixin) {
this.stopStream()
this.startStream()
}
@Watch('url')
urlChanged() {
this.restartStream()
}
}
</script>
+92 -42
View File
@@ -10,27 +10,59 @@
"UploadOfFileSuccessful": "Upload af {file} udført",
"CannotUploadTheFile": "Kan ikke uploade filen!"
},
"Titles": {
"Error": "Fejl",
"Pause": "Pause",
"PrintingETA": "Print ETA",
"Printing": "Printer",
"Complete": "Færdig"
},
"TopCornerMenu": {
"KlipperControl": "Klipper Control",
"KlipperControl": "Klipper styring",
"KlipperRestart": "Genstart",
"KlipperFirmwareRestart": "Genstart alt",
"ServiceControl": "Service Control",
"PowerDevices": "Strøm enheder",
"KlipperFirmwareRestart": "Genstart firmware",
"ServiceControl": "Services",
"PowerDevices": "Strømstyring",
"HostControl": "Værtsstyring",
"Start": "Start",
"Stop": "Stop",
"Restart": "Genstart",
"Reboot": "Genstart",
"Shutdown": "Luk ned"
"Shutdown": "Luk ned",
"Cancel": "Annuller",
"ConfirmationDialog": {
"Title": {
"KlipperRestart": "Genstart Klipper",
"KlipperFirmwareRestart": "Genstart Klipper firmware",
"ServiceStart": "Start service",
"ServiceRestart": "Genstart service",
"ServiceStop": "Stop service",
"HostReboot": "Genstart vært",
"HostShutdown": "Luk vært ned"
},
"Description": {
"KlipperStop": "Hvis du stopper Klipper nu, vil det igangværende print fejle.",
"KlipperRestart": "Hvis du genstarter Klipper nu, vil det igangværende print fejle.",
"KlipperFirmwareRestart": "Hvis du genstarter Klipper firmware nu, vil det igangværende print fejle.",
"ServiceStart": "Hvis du starter denne service nu, er der stor risiko for at dit igangværende print vil fejle.",
"ServiceRestart": "Hvis du genstarter denne service nu, er der stor risiko for at dit igangværende print vil fejle.",
"ServiceStop": "Hvis du stopper denne service nu, er der stor risiko for at dit igangværende print vil fejle.",
"HostReboot": "Hvis du genstarter værten nu, vil det igangværende print fejle.",
"HostShutdown": "Hvis du lukker værten ned nu, vil det igangværende print fejle."
}
}
},
"UpdateDialog": {
"Updating": "Updaterer {software}...",
"UpdatingDone": "Updatering af {software} udført!",
"Updating": "Opdaterer {software}...",
"UpdatingDone": "Opdatering af {software} udført!",
"Recovering": "Gendanner {software}...",
"RecoveringDone": "Gendannelse af {software} udført!",
"Empty": "Tøm",
"Close": "Luk"
},
"ThrottledStates": {
"HeadlineCurrentFlags": "Lige nu varsel",
"HeadlinePreviouslyFlags": "Tidligere varsel",
"HeadlineCurrentFlags": "\"Lige nu\" varsel",
"HeadlinePreviouslyFlags": "\"Tidligere\" varsel",
"TitleUnderVoltageDetected": "Lav spænding opdaget",
"TitleFrequencyCapped": "Maks. frekvens formindsket",
"TitleCurrentlyThrottled": "Begrænset i øjeblikket",
@@ -77,7 +109,7 @@
"SelectPrinter": "Vælg printer",
"AddPrinter": "Tilføj Printer",
"EditPrinter": "Rediger Printer",
"UpdatePrinter": "Updater Printer",
"UpdatePrinter": "Opdater Printer",
"ChangePrinter": "Skift Printer",
"HostnameRequired": "Værtsnavn er påkrævet",
"HostnameInvalid": "Ugyldigt værtsnavn/IP",
@@ -150,13 +182,14 @@
"DeleteDirectory": "Slet mappe",
"DeleteDirectoryQuestion": "Vil du slette mappen \"{name}\" og alt dens indhold?",
"Uploading": "Uploader",
"CurrentPath": "Du er her:",
"CurrentPath": "Du er her",
"Filesize": "Filstørrelse",
"LastModified": "Sidst ændret",
"ObjectHeight": "Total højde",
"LayerHeight": "Laghøjde",
"FilamentUsage": "Filament forbrug (m)",
"FilamentWeight": "Filament vægt (g)",
"Filament": "Filament",
"FilamentUsage": "Filament forbrug",
"FilamentWeight": "Filament vægt",
"PrintTime": "Printtid",
"Slicer": "Slicer",
"Downloading": "Downloader",
@@ -166,7 +199,10 @@
"SuccessfullyMoved": "{filename} flyttet.",
"SuccessfullyCreated": "{filename} oprettet.",
"SuccessfullyDeleted": "{filename} slettet.",
"View3D": "Vis i 3D"
"View3D": "Vis i 3D",
"NozzleDiameter": "Nozzle diameter",
"FilamentName": "Filament navn",
"FilamentType": "Filament type"
},
"JobQueue": {
"JobQueue": "Jobkø",
@@ -195,7 +231,7 @@
"Calibrate": "Kalibrer",
"TitleCalibrate": "Kalibrer nyt Bed Mesh",
"NoBedMeshHasBeenLoadedYet": "Intet Bed Mesh indlæst.",
"Probed": "Reel",
"Probed": "Målt",
"Mesh": "Mesh",
"Flat": "Fladt",
"Wireframe": "Wireframe",
@@ -264,7 +300,7 @@
"Slicer": "Slicer",
"SlicerVersion": "Slicer Version",
"HistoryFilamentUsage": "Filament",
"HistoryPrinttimeAVG": "Print",
"HistoryPrinttimeAVG": "Antal print",
"ShowStatusName": "Vis \"{name}\" ({count})"
},
"Timelapse": {
@@ -273,7 +309,7 @@
"CreateNewDirectory": "Ny mappe",
"RefreshCurrentDirectory": "Opdater mappe",
"Empty": "Ingen færdige Timelapse filer fundet.",
"CurrentPath": "Du er her:",
"CurrentPath": "Du er her",
"FreeDisk": "Ledig plads",
"Used": "Brugt",
"Free": "Ledig",
@@ -362,7 +398,7 @@
"KlipperWarningsPanel": {
"KlipperWarnings": "Klipper advarsler",
"DownloadLog": "Download log",
"DeprecatedOption": "Funktionen \"{option}\" i sehtion \"{section}\" er forældet.",
"DeprecatedOption": "Funktionen \"{option}\" i sektion \"{section}\" er forældet.",
"DeprecatedValue": "Værdien \"{value}\" i muligheden \"{option}\" i sektion \"{section}\" er forældet."
},
"MachineSettingsPanel": {
@@ -372,6 +408,7 @@
"Velocity": "Hastighed (Feedrate)",
"Acceleration": "Acceleration",
"Deceleration": "Deceleration",
"MaxAccelToDecel": "Maks. accel. til decel.",
"SquareCornerVelocity": "Hastighed for 90° hjørne"
},
"PressureAdvanceSettings": {
@@ -403,8 +440,8 @@
},
"PrintsettingsPanel": {
"Headline": "Print indstillinger",
"SpeedFactor": "Hastigheds faktor",
"ExtrusionFactor": "Ekstrusions factor"
"SpeedFactor": "Hastighed",
"ExtrusionFactor": "Ekstrudering"
},
"MiscellaneousPanel": {
"Headline": "Diverse",
@@ -485,7 +522,9 @@
"Target": "Indstillet temperatur",
"Power": "PWM-power",
"Speed": "PWM-hastighed"
}
},
"TempTooLow": "Temperaturen er for lav for {name}! (min: {min})",
"TempTooHigh": "Temperaturen er for høj for {name}! (max: {max})"
},
"WebcamPanel": {
"Headline": "Webcam",
@@ -514,7 +553,7 @@
"SetupCurrentList": "Indstil visning",
"HiddenFiles": "Skjulte filer",
"HideBackupFiles": "Skjul backupfiler",
"CurrentPath": "Du er her:",
"CurrentPath": "Du er her",
"Files": "Filer",
"FreeDisk": "Ledig plads",
"Used": "Brugt",
@@ -550,14 +589,14 @@
"EndstopInfo": "Klik på \"Sync\"-knappen nederst til højre for at opdatere Endstop status."
},
"LogfilesPanel": {
"Logfiles": "Logfiles"
"Logfiles": "Logfiler"
},
"UpdatePanel": {
"UpdateManager": "Updaterings Manager",
"CheckForUpdates": "Tjek for updateringer",
"UpdateManager": "Opdateringsmanager",
"CheckForUpdates": "Tjek for opdateringer",
"System": "System",
"PackagesCanBeUpgraded": "Packages kan opgraderes",
"OSPackages": "OS-Packages",
"PackagesCanBeUpgraded": "Pakker kan opgraderes",
"OSPackages": "OS-Pakker",
"Commits": "Forpligtelse",
"UpToDate": "up-to-date",
"Detached": "Løsrevet",
@@ -585,7 +624,8 @@
"Memory": "Hukommelse",
"Constants": "Konstanter",
"LastStats": "Seneste data",
"HostDetails": "Værtsdetaljer"
"HostDetails": "Værtsdetaljer",
"Distro": "Distro"
}
},
"Settings": {
@@ -604,15 +644,18 @@
"FactoryReset": "Komplet nulstilling",
"FactoryDialog": "Vælg venligst de sektioner du ønsker at nulstille:",
"Reset": "Nulstil",
"DbGeneral": "Generelt",
"DbPresets": "Forudinstillinger",
"DbGcodehistry": "G-Code Historik",
"DbMacrogroups": "Makrogrupper",
"DbRemoteprinters": "Fjernprintere",
"DbConsoleHistory": "Terminal Historik",
"DbView": "Vis indstillinger",
"DbHistoryJobs": "Jobhistorik",
"DbHistoryTotals": "Totalhistorik",
"DbWebcams": "Webcams",
"DbTimelapseSettings": "Timelapse indstillinger"
"DbTimelapseSettings": "Timelapse indstillinger",
"MoonrakerDb": "Moonraker DB",
"Backup": "Backup",
"BackupDialog": "Vælg de sektioner du ønsker at lave backup af:",
"Restore": "Gendan",
"CannotReadJson": "Kan ikke læse backup-fil",
"RestoreDialog": "Vælg de sektioner du ønsker at gendanne fra backup:"
},
"WebcamsTab": {
"Webcams": "Webcams",
@@ -622,13 +665,13 @@
"SaveWebcam": "Gem Webcam",
"UpdateWebcam": "Opdater Webcam",
"IconPrinter": "Printer",
"IconNozzle": "Nozzle",
"IconNozzle": "Dyse",
"IconBed": "Bed",
"IconCam": "Cam",
"IconCam": "Kamera",
"IconFilament": "Filament",
"IconDoor": "Door",
"IconDoor": "Dør",
"IconMcu": "MCU",
"IconHot": "Hot",
"IconHot": "Bål",
"Mjpegstreamer": "MJPEG-Streamer",
"MjpegstreamerAdaptive": "Adaptiv MJPEG-Streamer (eksperimental)",
"Uv4lMjpeg": "UV4L-MJPEG",
@@ -671,6 +714,8 @@
"PosYDescription": "Parkeringspostion Y (absolut)",
"PosDZ": "Position Z",
"PosDZDescription": "Parkeringspostion Z (relativ)",
"FwRetract": "Firmware Retract",
"FwRetractDescription": "Brug firmware retraction i timelapse makroen",
"TravelSpeed": "Travel-hastighed",
"TravelSpeedDescription": "Travel-hastighed til og fra parkeringsposition",
"RetractSpeed": "Retract hastighed",
@@ -682,7 +727,7 @@
"UnretractDistance": "Unretract distance",
"UnretractDistanceDescription": "Længden af unretracts.",
"ConstantRateFactor": "Constant Rate Faktor",
"ConstantRateFactorDescription": "Konfigurerer Kvalitet / Filstørrelse af den renderede video. Kan justeres mellem 0–51, Hvor 0 er tabsfri, 23 er standard og 51 er værste kvalitet (mindste filstørrelse). En lavere værdi giver højere kvalitet, og et \"normalt\" område er 17-28. 17 eller 18 kan betragtes som visuelt tabsfrit.",
"ConstantRateFactorDescription": "Konfigurerer Kvalitet / Filstørrelse af den renderede video. Kan justeres mellem 0-51, Hvor 0 er tabsfri, 23 er standard og 51 er værste kvalitet (mindste filstørrelse). En lavere værdi giver højere kvalitet, og et \"normalt\" område er 17-28. 17 eller 18 kan betragtes som visuelt tabsfrit.",
"OutputFramerate": "Output Framerate",
"OutputFramerateDescription": "Definerer framerate i videoen. Bemærk: Dette ignoreres hvis \"variable_fps\" er aktiveret",
"Pixelformat": "Pixelformat",
@@ -720,9 +765,10 @@
"Macros": "Macroer",
"NOMacros": "Ingen macroer fundet...",
"General": "Generelt",
"Management": "Management",
"Management": "Håndtering",
"Simple": "Simpel",
"Expert": "Ekspert",
"Group": "Gruppe",
"NoGroups": "Ingen grupper fundet...",
"Macrogroups": "Grupper",
"EditGroup": "Edit Gruppe",
@@ -766,12 +812,16 @@
"MoveDistancesXYInMm": "Distance XY i mm",
"MoveDistancesZInMm": "Distance Z i mm",
"MoveDistancesEInMm": "Distance E i mm",
"SpeedEInMms": "Hastighed E i mm/s"
"SpeedEInMms": "Hastighed E i mm/s",
"ValueGreaterThan": "Værdi større end",
"MinimumValues": "Minimumsværdier",
"MaximumValues": "Maksimumværdier",
"MaximumValuesVisibility": "Vis maksimumværdier"
},
"ConsoleTab": {
"Console": "Terminal",
"Direction": "Retning",
"DirectionTable": "Sidste handling øvert",
"DirectionTable": "Sidste handling øverst",
"DirectionShell": "Sidste handling nederst",
"Height": "Højde",
"HideTemperatures": "Skjul temperaturer",
+30 -14
View File
@@ -2,6 +2,13 @@
"title": "Deutsch",
"App": {
"Printers": "Drucker",
"Titles": {
"Error": "FEHLER",
"Pause": "Druck pausiert",
"Printing": "{percent}% Drucken - {filename}",
"PrintingETA": "{percent}% Drucken - ETA: {eta} - {filename}",
"Complete": "Fertiggestellt - {filename}"
},
"TopBar": {
"SAVE_CONFIG": "SAVE CONFIG",
"UploadPrint": "Hochladen & Drucken",
@@ -27,21 +34,21 @@
"Title": {
"KlipperRestart": "Klipper Neustart",
"KlipperFirmwareRestart": "Klipper Firmware Neustart",
"ServiceStart": "Service Start",
"ServiceRestart": "Service Neustart",
"ServiceStop": "Service Stop",
"ServiceStart": "Dienst Start",
"ServiceRestart": "Dienst Neustart",
"ServiceStop": "Dienst Stop",
"HostReboot": "Host Neustart",
"HostShutdown": "Host Herunterfahren"
},
"Description": {
"KlipperStop": "Wenn du Klipper jetzt stoppst, wird der momentane Druck fehlschlagen.",
"KlipperRestart": "Wenn du Klipper jetzt neustartest, wird der momentane Druck fehlschlagen.",
"KlipperFirmwareRestart": "Wenn du die Klipper Firmware jetzt neustartest, wird der momentane Druck fehlschlagen.",
"ServiceStart": "Wenn du diesen Service jetzt startest, riskierst du höchstwahrscheinlich einen Fehlschlag des momentanen Druckauftrags.",
"ServiceRestart": "Wenn du diesen Service jetzt neustartest, riskierst du höchstwahrscheinlich einen Fehlschlag des momentanen Druckauftrags.",
"ServiceStop": "Wenn du diesen Service jetzt stoppst, riskierst du höchstwahrscheinlich einen Fehlschlag des momentanen Druckauftrags.",
"HostReboot": "Wenn du den Host jetzt neustartest, wird der momentane Druck fehlschlagen.",
"HostShutdown": "Wenn du den Host jetzt herunterfährst, wird der momentane Druck fehlschlagen."
"KlipperStop": "Ein Stopp von Klipper wird zum Abbruch des aktuellen Druckauftrags führen!",
"KlipperRestart": "Ein Neustart von Klipper wird zum Abbruch des aktuellen Druckauftrags führen!",
"KlipperFirmwareRestart": "Ein Neustart der Klipper Firmware wird zum Abbruch des aktuellen Druckauftrags führen!",
"ServiceStart": "Ein Start dieses Dienstes kann zum Abbruch des aktuellen Druckauftrags führen!",
"ServiceRestart": "Ein Neustart dieses Dienstes kann zum Abbruch des aktuellen Druckauftrags führen!",
"ServiceStop": "Ein Stopp dieses Dienstes kann zum Abbruch des aktuellen Druckauftrags führen!",
"HostReboot": "Ein Neustart des Hosts wird zum Abbruch des aktuellen Druckauftrags führen!",
"HostShutdown": "Ein Herunterfahren des Hosts wird zum Abbruch des aktuellen Druckauftrags führen!"
}
}
},
@@ -180,7 +187,10 @@
"LastModified": "Zuletzt geändert",
"ObjectHeight": "Objekthöhe",
"LayerHeight": "Schichthöhe",
"NozzleDiameter": "Düsendurchmesser",
"Filament": "Filament",
"FilamentName": "Filament Name",
"FilamentType": "Filament Typ",
"FilamentUsage": "Filamentverbrauch",
"FilamentWeight": "Filamentgewicht",
"PrintTime": "Druckdauer",
@@ -200,7 +210,7 @@
"AllJobs": "Alle Aufträge",
"Empty": "Leer",
"Delete": "Löschen",
"Resume": "Fortsetzen",
"Start": "Start",
"Pause": "Pause"
},
"Console": {
@@ -511,7 +521,9 @@
"Target": "Zieltemperatur",
"Power": "PWM-Leistung",
"Speed": "PWM-Geschwindigkeit"
}
},
"TempTooLow": "Temperature von {name} zu niedrig! (min: {min})",
"TempTooHigh": "Temperature von {name} zu hoch! (max: {max})"
},
"WebcamPanel": {
"Headline": "Webcam",
@@ -799,7 +811,11 @@
"MoveDistancesXYInMm": "Verfahrwege XY in mm",
"MoveDistancesZInMm": "Verfahrwege Z in mm",
"MoveDistancesEInMm": "Verfahrwege E in mm",
"SpeedEInMms": "Geschw. E in mm/s"
"SpeedEInMms": "Geschw. E in mm/s",
"MinimumValues": "Minimum: {minimum} Eintrag",
"MaximumValues": "Maximum: {maximum} Einträge",
"MaximumValuesVisibility": "Maximal {maximum} Einträge für beste Darstellung",
"ValueGreaterThan": "Wert muss größer als {value} sein"
},
"ConsoleTab": {
"Console": "Konsole",
+33 -17
View File
@@ -2,6 +2,13 @@
"title": "English",
"App": {
"Printers": "Printers",
"Titles": {
"Error": "ERROR",
"Pause": "Pause Print",
"Printing": "{percent}% Printing - {filename}",
"PrintingETA": "{percent}% Printing - ETA: {eta} - {filename}",
"Complete": "Complete - {filename}"
},
"TopBar": {
"SAVE_CONFIG": "SAVE CONFIG",
"UploadPrint": "Upload & Print",
@@ -25,23 +32,23 @@
"Cancel": "Cancel",
"ConfirmationDialog": {
"Title": {
"KlipperRestart": "Klipper restart",
"KlipperFirmwareRestart": "Klipper firmware restart",
"ServiceStart": "Service start",
"ServiceRestart": "Service restart",
"ServiceStop": "Service stop",
"HostReboot": "Host reboot",
"HostShutdown": "Host shutdown"
"KlipperRestart": "Klipper Restart",
"KlipperFirmwareRestart": "Klipper Firmware Restart",
"ServiceStart": "Service Start",
"ServiceRestart": "Service Restart",
"ServiceStop": "Service Stop",
"HostReboot": "Host Reboot",
"HostShutdown": "Host Shutdown"
},
"Description": {
"KlipperStop": "If you stop Klipper now, the current print will fail.",
"KlipperRestart": "If you restart Klipper now, the current print will fail.",
"KlipperFirmwareRestart": "If you restart the Klipper firmware now, the current print will fail.",
"ServiceStart": "If you start this service now, you are very likely risking a failure of your ongoing print job.",
"ServiceRestart": "If you restart this service now, you are very likely risking a failure of your ongoing print job.",
"ServiceStop": "If you stop this service now, you are very likely risking a failure of your ongoing print job.",
"HostReboot": "If you reboot the host now, the current print will fail.",
"HostShutdown": "If you shutdown the host now, the current print will fail."
"KlipperStop": "Stopping Klipper will cause the current print to fail!",
"KlipperRestart": "Restarting Klipper will cause the current print to fail!",
"KlipperFirmwareRestart": "Restarting the Klipper Firmware will cause the current print to fail!",
"ServiceStart": "Starting this service may cause the current print to fail!",
"ServiceRestart": "Restarting this service may cause the current print to fail!",
"ServiceStop": "Stopping this service may cause the current print to fail!",
"HostReboot": "Rebooting the Host will cause the current print to fail!",
"HostShutdown": "Shutting down the Host will cause the current print to fail!"
}
}
},
@@ -180,7 +187,10 @@
"LastModified": "Last modified",
"ObjectHeight": "Object Height",
"LayerHeight": "Layer Height",
"NozzleDiameter": "Nozzle Diameter",
"Filament": "Filament",
"FilamentName": "Filament Name",
"FilamentType": "Filament Type",
"FilamentUsage": "Filament Usage",
"FilamentWeight": "Filament Weight",
"PrintTime": "Print Time",
@@ -511,7 +521,9 @@
"Target": "target temperature",
"Power": "PWM-power",
"Speed": "PWM-speed"
}
},
"TempTooLow": "Temperature too low for {name}! (min: {min})",
"TempTooHigh": "Temperature too high for {name}! (max: {max})"
},
"WebcamPanel": {
"Headline": "Webcam",
@@ -799,7 +811,11 @@
"MoveDistancesXYInMm": "Move distances XY in mm",
"MoveDistancesZInMm": "Move distances Z in mm",
"MoveDistancesEInMm": "Move distances E in mm",
"SpeedEInMms": "Speed E in mm/s"
"SpeedEInMms": "Speed E in mm/s",
"MinimumValues": "Minimum values: {minimum}",
"MaximumValues": "Maximum values: {maximum}",
"MaximumValuesVisibility": "Maximum of {maximum} values is recommended for best visibilty",
"ValueGreaterThan": "Value has to be greater than {value}"
},
"ConsoleTab": {
"Console": "Console",
+83 -18
View File
@@ -17,7 +17,32 @@
"HostControl": "Controalr Host",
"Reboot": "Reiniciar",
"Shutdown": "Apagar",
"ServiceControl": "Control del Servico"
"ServiceControl": "Control del Servico",
"Cancel": "Cancelar",
"Restart": "Reiniciar",
"Start": "Iniciar",
"Stop": "Parar",
"ConfirmationDialog": {
"Description": {
"HostReboot": "Si reinicia el host ahora, la impresion actual fallara",
"HostShutdown": "Si apaga el host ahora, la impresion actual fallara",
"KlipperFirmwareRestart": "Si reinicia el firmware de Klipper ahora, la impresion actual fallara",
"KlipperRestart": "Si reinicia Klipper ahora, la impresion actual fallara",
"KlipperStop": "Si para Klipper ahora, la impresion actual fallara",
"ServiceRestart": "Si reinicia el servicio ahora, probablemente corra riesgo de faalar su trabajo de impresion en curso",
"ServiceStart": "Si inicia este servicio ahora, probablemente corra riesgo de faalar su trabajo de impresion en curso",
"ServiceStop": "Si para este servicio ahora, probablemente corra riesgo de faalar su trabajo de impresion en curso"
},
"Title": {
"HostReboot": "Reiniciar host",
"HostShutdown": "Apagar Host",
"KlipperFirmwareRestart": "Reiniciar firmware de Klipper",
"KlipperRestart": "Reiniciar Klipper",
"ServiceRestart": "Reiniciar Servicio",
"ServiceStart": "Iniciar Servicio",
"ServiceStop": "Parar servicio"
}
}
},
"UpdateDialog": {
"Updating": "Actualizando {software}...",
@@ -46,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": {
@@ -97,7 +129,8 @@
"DontSave": "No guardar",
"UnsavedChanges": "Cambios sin guardar",
"UnsavedChangesMessage": "Quiere guardar los cambios al archivo {filename}?",
"UnsavedChangesSubMessage": "Sus cambios se perderan si no los guarda. Puede desactivar este menssaje en la configuracion del editor "
"UnsavedChangesSubMessage": "Sus cambios se perderan si no los guarda. Puede desactivar este menssaje en la configuracion del editor ",
"FileReadOnly": "Solo lectura"
},
"Files": {
"GCodeFiles": "Archivos G-Code",
@@ -151,7 +184,11 @@
"AddToQueue": "Agregar a la cola",
"Filament": "Filamento",
"StartPrint": "Iniciar impresion",
"View3D": "Vista 3D"
"View3D": "Vista 3D",
"WrongFileUploaded": "Subida denegada para {filename}. Formato de archivo erroneo",
"FilamentName": "Nombre del filamento",
"FilamentType": "Tipo del filamento",
"NozzleDiameter": "Diametro del pico"
},
"Console": {
"SetupConsole": "Confiurar Consola",
@@ -262,7 +299,8 @@
"FeedAmountIn": "Cantidad en",
"FeedrateIn": "Velocidad en",
"Retract": "Retraer",
"Extrude": "Extruir"
"Extrude": "Extruir",
"HotendTooCold": "Hotend temp. por debajo de"
},
"MacrosPanel": {
"Headline": "Macros",
@@ -377,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",
@@ -420,10 +460,16 @@
"Headline": "Configuracion Impresora",
"MotionSettings": {
"Acceleration": "Aceleracion",
"Deceleration": "Desaceleracion",
"Motion": "Movimiento",
"SquareCornerVelocity": "Velocidad angulo recto",
"Velocity": "Velocidad"
"Velocity": "Velocidad",
"MaxAccelToDecel": "Max Accel. to Decel."
},
"PressureAdvanceSettings": {
"Advance": "Avance",
"Extruder": "Extrusor",
"PressureAdvance": "Avance de presion",
"SmoothTime": "Smooth Time"
}
}
},
@@ -504,7 +550,8 @@
"Memory": "Mem",
"Constants": "Constantes",
"LastStats": "Ultimas estadisticas",
"HostDetails": "Detalles del host"
"HostDetails": "Detalles del host",
"Distro": "Distribucion"
}
},
"Settings": {
@@ -520,16 +567,20 @@
"CalcEstimateTimeDescription": "Si se selecciona muchos un promedio sera calculado",
"CalcEtaTimeDescription": "Si se selecciona muchos un promedio sera calculado",
"CalcEtaTime": "Calculo de ETA",
"DbGeneral": "General",
"DbHistoryJobs": "Historial de trabajos",
"DbHistoryTotals": "Trabajos totales",
"DbMacrogroups": "Gupos de Macros",
"DbPresets": "Pre-configuraciones",
"DbRemoteprinters": "Impresoras remotas",
"DbTimelapseSettings": "Configuracion Timelapse",
"DbWebcams": "Camaras Web",
"FactoryDialog": "Elija las secciones que quiere reiniciar",
"Reset": "Reiniciar"
"Reset": "Reiniciar",
"Backup": "Backup",
"BackupDialog": "Elija todas las secciones a las que quiere hacer backup",
"CannotReadJson": "No se puede leer/analizar el archivo de backup",
"DbConsoleHistory": "Historial de consola",
"DbView": "Configuraciones de Vista",
"MoonrakerDb": "Moonraker DB",
"Restore": "Restore",
"RestoreDialog": "Elija las secciones que quiere restaurar"
},
"DashboardTab": {
"Dashboard": "Panel",
@@ -572,7 +623,8 @@
"Status": "Estado",
"Success": "Exito",
"UnknownGroup": "Grupo desconocido",
"Warning": "Alerta"
"Warning": "Alerta",
"Group": "Grupo"
},
"ControlTab": {
"Control": "Controlar",
@@ -589,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",
@@ -607,7 +663,8 @@
"AddFilter": "agregar filtro",
"EntryStyle": "Estilo",
"EntryStyleCompact": "Compacto",
"EntryStyleDefault": "Predeterminado"
"EntryStyleDefault": "Predeterminado",
"HideTimelapse": "Ocultar timelapse"
},
"PresetsTab": {
"PreheatPresets": "Precalentamiento",
@@ -705,7 +762,15 @@
"RetractDistanceDescription": "El largo del filamento que el extrusor retrae",
"RetractSpeedDescription": "Velocidad con que el extrusor retrae el filamento",
"UnretractDistanceDescription": "El largo del filamenteto que el extrusor vuelve a extruir despues de la retraccion",
"UnretractSpeedDescription": "Velocidad con la que el extrusor vuelve a extruir despues de la retraccion"
"UnretractSpeedDescription": "Velocidad con la que el extrusor vuelve a extruir despues de la retraccion",
"FwRetract": "Retraccion de firmware",
"FwRetractDescription": "Use la retraccion de firmware en la macro de timelapse",
"StreamDelayCompensation": "Compensación de retraso de stream",
"StreamDelayCompensationDescription": "Retraso de captura de cuadro",
"ParkTimeDescription": "Agregue tiempo de inactividad adicional al apartar.",
"ParkTime": "Park Time",
"VariableFpsMinDescription": "",
"VariableFpsMaxDescription": ""
},
"UiSettingsTab": {
"BoolBigThumbnail": "Miniatura grande",
@@ -805,7 +870,7 @@
"JobQueue": "Cola de tareas",
"Jobs": "Tareas",
"Pause": "Pasusar",
"Resume": "Reanudar"
"Start": "Iniciar"
},
"PowerDeviceChangeDialog": {
"AreYouSure": "Esta seguro?",
+73 -24
View File
@@ -1,4 +1,5 @@
{
"_last_update:": "09.01.2022",
"title": "Français",
"App": {
"Printers": "Imprimantes",
@@ -18,7 +19,32 @@
"PowerDevices": "Modules d'alimentation",
"Reboot": "Redémarrage",
"Shutdown": "Arrêt",
"ServiceControl": "Contrôle des services"
"ServiceControl": "Contrôle des services",
"Cancel": "Annuler",
"ConfirmationDialog": {
"Description": {
"HostReboot": "Si vous redémarez le \"host\" maintenant, votre impression sera annulée.",
"HostShutdown": "Si vous éteignez le \"host\" maintenant, votre impression sera annulée.",
"KlipperFirmwareRestart": "Si vous redémarrez le firmware Klipper maintenant, votre impression sera annulée.",
"KlipperRestart": "Si vous redémarrez Klipper maintenant, votre impression sera annulée.",
"KlipperStop": "Si vous arrêtez Klipper maintenant, votre impression sera annulée.",
"ServiceRestart": "Si vous redémarrez ce service maintenant, il y a de fortes chances que votre impression sera annulée.",
"ServiceStart": "Si vous démarrez ce service maintenant, il y a de fortes chances que votre impression sera annulée.",
"ServiceStop": "Si vous arrêtez ce service maintenant, il y a de fortes chances que votre impression sera annulée."
},
"Title": {
"HostReboot": "Redémarrer \"host\"",
"HostShutdown": "Eteindre \"host\"",
"KlipperFirmwareRestart": "Redémarrer firmware Klipper",
"KlipperRestart": "Redémarrer Klipper",
"ServiceRestart": "Redémarrer ce service",
"ServiceStart": "Démarrer ce service",
"ServiceStop": "Arrêter ce service"
}
},
"Restart": "Redémarrer",
"Start": "Démarrer",
"Stop": "Arrêter"
},
"ThrottledStates": {
"DescriptionUnderVoltageDetected": "rPI alimentation inférieure à 4.65V",
@@ -47,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": {
@@ -130,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",
@@ -351,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",
@@ -392,10 +430,10 @@
"MachineSettingsPanel": {
"MotionSettings": {
"Acceleration": "Accélération",
"Deceleration": "Décélération",
"SquareCornerVelocity": "Vitesse des angles droits",
"Velocity": "Vitesse",
"Motion": "Déplacements"
"Motion": "Déplacements",
"MaxAccelToDecel": "Décélération maximum"
},
"Headline": "Réglages machine",
"FirmwareRetractionSettings": {
@@ -449,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": {
@@ -461,17 +503,20 @@
"CalcEstimateTimeDescription": "En cas de séléction multiple, une moyenne est calculée",
"CalcEtaTime": "Calcul du TEA",
"CalcEstimateTime": "Calcul du temps estimé",
"DbGeneral": "Général",
"DbHistoryJobs": "Historique des travaux",
"DbHistoryTotals": "Historique totaux",
"DbMacrogroups": "Groupe de macros",
"DbPresets": "Réglages",
"DbRemoteprinters": "Imprimantes distantes",
"DbWebcams": "Caméras",
"FactoryDialog": "Choisissez les sections à réinitialiser",
"Reset": "réinitalisation",
"DbTimelapseSettings": "Accéléré",
"DbGcodehistry": "Historique G-Code"
"Backup": "Sauvegarde",
"BackupDialog": "Choisissez les sections que vous désirez sauvegarder:",
"CannotReadJson": "Lecture/interprétation du fichier de sauvegarde impossible.",
"DbConsoleHistory": "Historique des commandes de console",
"DbView": "Réglages de visualisation",
"MoonrakerDb": "Base de données Moonraker",
"Restore": "Restauration",
"RestoreDialog": "Choisissez les sections que vous désirez restaurer:"
},
"InterfaceSettings": "Réglages interface",
"MacrosTab": {
@@ -507,7 +552,8 @@
"Status": "Status",
"Success": "réussi",
"UnknownGroup": "Groupe inconnu",
"Warning": "attention"
"Warning": "attention",
"Group": "Groupe"
},
"DashboardTab": {
"Dashboard": "Tab. de bord",
@@ -631,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",
@@ -661,23 +707,25 @@
"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",
"VariableFpsMin": "IPS variable min",
"duplicatelastframe": "Multiplie la dernière image",
"duplicatelastframeDescription": "Multiplie n fois la dernière image de la vidéo.",
"VariableFpsMinDescription": "Nombre minimum d'IPS en mode variable.",
"VariableFpsMaxDescription": "Nombre maximum d'IPS en mode variable.",
"RetractSpeedDescription": "Vitesse de rétractation du filament avant parking.",
"RetractDistanceDescription": "Distance de rétractation du filament avant parking.",
"UnretractDistanceDescription": "Distance d'extrusion du filament après parking et avant reprise d'impression.",
"UnretractSpeedDescription": "Vitesse d'extrusion du filament après parking et avant reprise d'impression.",
"ParkTime": "Temps de parking",
"ParkTimeDescription": "Ajoute un temps aditionnel en position de parking",
"StreamDelayCompensation": "Dlai de compensation du flux",
"StreamDelayCompensationDescription": "Délai avant capture d'une image du flux."
"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)",
"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": {
@@ -741,7 +789,8 @@
"Memory": "Mémoire",
"Os": "OS",
"SystemLoad": "Charge Système",
"Version": "Version"
"Version": "Version",
"Distro": "Distribution"
},
"UpdatePanel": {
"CheckForUpdates": "Contrôle de disponibilité de mises à jour",
@@ -824,7 +873,7 @@
},
"Timelapse": {
"AllFiles": "Tous",
"Autorender": "Affichage automatique",
"Autorender": "Calcul automatique",
"Cancel": "Annuler",
"Create": "Créer",
"CreateNewDirectory": "nouveau dossier",
@@ -855,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",
@@ -864,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é",
+905 -843
View File
File diff suppressed because it is too large. Load diff
+54 -13
View File
@@ -32,12 +32,37 @@
"TopCornerMenu": {
"HostControl": "Controllo dell'host",
"KlipperControl": "Controllo di Klipper",
"KlipperFirmwareRestart": "Riavvio del FIRMWARE",
"KlipperFirmwareRestart": "Riavvia firmware",
"KlipperRestart": "Riavvia",
"PowerDevices": "Dispositivi",
"Reboot": "Riavvio",
"Shutdown": "Arresta",
"ServiceControl": "Controllo Servizi"
"ServiceControl": "Controllo Servizi",
"Cancel": "Cancella",
"Restart": "Riavvia",
"Start": "Avvia",
"Stop": "Ferma",
"ConfirmationDialog": {
"Description": {
"HostReboot": "Se riavvii l'host ora, la stampa corrente fallirà.",
"HostShutdown": "Se spegni l'host ora, la stampa corrente fallirà.",
"KlipperFirmwareRestart": "Se riavvii il firmware di Klipper ora, la stampa corrente fallirà.",
"KlipperRestart": "Se riavvii Klipper ora, la stampa corrente fallirà.",
"KlipperStop": "Se arresti Klipper ora, la stampa corrente fallirà.",
"ServiceRestart": "Se riavvii questo servizio ora, rischi molto probabilmente un fallimento della tua attuale stampa.",
"ServiceStart": "Se avvii questo servizio ora, rischi molto probabilmente un fallimento della tua attuale stampa.",
"ServiceStop": "Se fermi questo servizio ora, rischi molto probabilmente un fallimento della tua attuale stampa."
},
"Title": {
"HostReboot": "Riavvia host",
"HostShutdown": "Arresto host",
"KlipperFirmwareRestart": "Riavvia firmware di klipper",
"KlipperRestart": "Riavvia klipper",
"ServiceRestart": "Riavvia servizio",
"ServiceStart": "Avvia servizio",
"ServiceStop": "Ferma servizio"
}
}
},
"UpdateDialog": {
"Close": "Chiudi",
@@ -131,7 +156,8 @@
"AddToQueue": "Aggiungi alla coda",
"Filament": "Filamento",
"StartPrint": "Avvia stampa",
"View3D": "Vedi 3D"
"View3D": "Vedi 3D",
"WrongFileUploaded": "Il caricamento è stato rifiutato per {filename}. Formato file sbagliato!"
},
"Heightmap": {
"Abort": "interrompi",
@@ -269,7 +295,8 @@
"Memory": "Memoria",
"Os": "SO",
"SystemLoad": "Carichi di Sistema",
"Version": "Versione"
"Version": "Versione",
"Distro": "Distro"
},
"UpdatePanel": {
"CheckForUpdates": "Verifica aggiornamenti",
@@ -478,7 +505,14 @@
"Deceleration": "Decelerazione",
"Motion": "Movimento",
"SquareCornerVelocity": "Velocità Angolo Retto",
"Velocity": "Velocità"
"Velocity": "Velocità",
"MaxAccelToDecel": "Max Accel. a Decel."
},
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Estrusore",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Smooth Time"
}
}
},
@@ -567,16 +601,20 @@
"CalcEstimateTimeDescription": "Se più di uno è selezionato, sarà calcolata la media",
"CalcEtaTime": "Calcolo ETA",
"CalcEtaTimeDescription": "Se più di uno è selezionato, sarà calcolata la media",
"DbGeneral": "Generale",
"DbHistoryJobs": "Cronologia Lavori",
"DbHistoryTotals": "Cronologia Totali",
"DbMacrogroups": "Macrogruppi",
"DbPresets": "Preset",
"DbRemoteprinters": "Stampantiremote",
"DbWebcams": "Webcam",
"FactoryDialog": "Seleziona tutte le sezioni che vuoi reimpostare:",
"Reset": "reimposta",
"DbTimelapseSettings": "Impostazioni Timelapse"
"DbTimelapseSettings": "Impostazioni Timelapse",
"Backup": "Backup",
"BackupDialog": "Selezione tutte le sezioni per cui vuoi creare un backup:",
"CannotReadJson": "Impossibile leggere il file di backup.",
"DbConsoleHistory": "Cronologia Console",
"DbView": "Vedi Impostazioni ",
"MoonrakerDb": "Moonraker DB",
"Restore": "Ripristina",
"RestoreDialog": "Seleziona tutte le sezioni che vuoi ripristinare:"
},
"InterfaceSettings": "Impostazioni dell'Interfaccia",
"MacrosTab": {
@@ -612,7 +650,8 @@
"Status": "Stato",
"Success": "successo",
"UnknownGroup": "Gruppo Sconosciuto",
"Warning": "attenzione"
"Warning": "attenzione",
"Group": "Gruppo"
},
"PresetsTab": {
"AddPreset": "aggiungi preset",
@@ -714,7 +753,9 @@
"ParkTime": "Tempo Parcheggio",
"ParkTimeDescription": "Aggiungi tempo extra durante il parcheggio.",
"StreamDelayCompensation": "Compensazione Ritardo Stream",
"StreamDelayCompensationDescription": "Ritarda cattura frame"
"StreamDelayCompensationDescription": "Ritarda cattura frame",
"FwRetract": "Retrazione FW",
"FwRetractDescription": "Usa la retrazione firmware nella macro timelapse"
},
"UiSettingsTab": {
"BoolBigThumbnail": "Grande anteprima",
@@ -814,7 +855,7 @@
"JobQueue": "Coda dei lavori",
"Jobs": "Lavori",
"Pause": "Pausa",
"Resume": "Riprendi"
"Start": "Avvia"
},
"PowerDeviceChangeDialog": {
"AreYouSure": "Sei sicuro?",
+78 -15
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",
@@ -30,14 +37,39 @@
"Uploading": "Uploaden"
},
"TopCornerMenu": {
"Cancel": "Annuleer",
"ConfirmationDialog": {
"Description": {
"HostReboot": "Wanneer je nu de host reboot, zal de huidige print mislukken.",
"HostShutdown": "Wanneer je nu de host afsluit, zal de huidige print mislukken.",
"KlipperFirmwareRestart": "Wanneer je nu de Klipper firmware herstart, zal de huidige print mislukken.",
"KlipperRestart": "Wanneer je nu Klipper herstart, zal de huidige print mislukken.",
"KlipperStop": "Wanneer je nu Klipper stopt, zal de huidige print mislukken.",
"ServiceRestart": "Wanneer je nu deze service herstart, is de kans groot dat de huidige print zal mislukken.",
"ServiceStart": "Wanneer je nu deze service start, is de kans groot dat de huidige print zal mislukken.",
"ServiceStop": "Wanneer je nu deze service stopt, is de kans groot dat de huidige print zal mislukken."
},
"Title": {
"HostReboot": "Host reboot",
"HostShutdown": "Host afsluiten",
"KlipperFirmwareRestart": "Klipper firmware herstarten",
"KlipperRestart": "Klipper herstarten",
"ServiceRestart": "Service herstarten",
"ServiceStart": "Service starten",
"ServiceStop": "Service stoppen"
}
},
"HostControl": "Host Beheer",
"KlipperControl": "Klipper Beheer",
"KlipperFirmwareRestart": "FIRMWARE herstart",
"KlipperRestart": "Herstart",
"PowerDevices": "Power Apparaten",
"Reboot": "Opnieuw opstarten",
"Restart": "Herstart",
"ServiceControl": "Services Beheer",
"Shutdown": "Afsluiten"
"Shutdown": "Afsluiten",
"Start": "Start",
"Stop": "Stop"
},
"UpdateDialog": {
"Close": "Sluiten",
@@ -69,6 +101,7 @@
"DontSave": "Sla niet op",
"Downloading": "Downloaden",
"FailedSave": "{filename} kon niet worden geupload!",
"FileReadOnly": "alleen-lezen",
"Minimap": "Toon minimap",
"SaveClose": "Bewaar & sluiten",
"SaveRestart": "Bewaar & herstart",
@@ -101,6 +134,8 @@
"EditFile": "Bewerk bestand",
"Empty": "Leeg",
"Filament": "Filament",
"FilamentName": "Filamentnaam",
"FilamentType": "Filament Type",
"FilamentUsage": "Filamentgebruik",
"FilamentWeight": "Filament Gewicht",
"Files": "Bestanden",
@@ -113,6 +148,7 @@
"LayerHeight": "Laaghoogte",
"Name": "Naam",
"NewDirectory": "Nieuwe map",
"NozzleDiameter": "Nozzle Diameter",
"ObjectHeight": "Objecthoogte",
"Preheat": "Voorverwarmen",
"PrintStart": "Start print",
@@ -136,7 +172,8 @@
"UploadNewGcode": "Upload nieuwe G-Code",
"Uploading": "Uploaden",
"Used": "Gebruikt",
"View3D": "Bekijk in 3D"
"View3D": "Bekijk in 3D",
"WrongFileUploaded": "Upload is gewijgerd voor {filename}. Verkeerd bestandsformaat!"
},
"GCodeViewer": {
"ClearLoadedFile": "Leeg",
@@ -252,7 +289,7 @@
"JobQueue": "Job wachtrij",
"Jobs": "Jobs",
"Pause": "Pauze",
"Resume": "Hervatten"
"Start": "Start"
},
"Machine": {
"ConfigFilesPanel": {
@@ -301,6 +338,7 @@
"SystemPanel": {
"Awake": "Wakker",
"Constants": "Constanten",
"Distro": "Distributie",
"Frequency": "Freq",
"HostDetails": "Host details",
"LastStats": "Laatste statistieken",
@@ -344,6 +382,7 @@
"FeedrateIn": "Feedsnelheid in",
"Headline": "Bediening",
"Home": "Home",
"HotendTooCold": "Hotend temp. lager dan",
"InvertX": "Inverteer X",
"InvertY": "Inverteer Y",
"InvertZ": "Inverteer Z",
@@ -393,9 +432,16 @@
"MotionSettings": {
"Acceleration": "Acceleratie",
"Deceleration": "Vertraging",
"MaxAccelToDecel": "Max Accel. naar Decel.",
"Motion": "Beweging",
"SquareCornerVelocity": "Hoeksnelheid (SCV)",
"Velocity": "Snelheid"
},
"PressureAdvanceSettings": {
"Advance": "Advance",
"Extruder": "Extruder",
"PressureAdvance": "Pressure Advance",
"SmoothTime": "Smooth Time"
}
},
"MacrosPanel": {
@@ -518,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"
@@ -601,6 +649,7 @@
"EntryStyleDefault": "standaard",
"Height": "Hoogte",
"HideTemperatures": "Verberg temperaturen",
"HideTimelapse": "Verberg Timelapse",
"Name": "Naam",
"Regex": "Regex",
"StoreButton": "Sla filter op",
@@ -614,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",
@@ -621,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",
@@ -649,24 +702,28 @@
"ShowAxes": "Toon Assen"
},
"GeneralTab": {
"Backup": "Backup",
"BackupDialog": "Selecteer alle secties waarvan je een backup wilt maken:",
"CalcEstimateTime": "Bereken geschatte tijd",
"CalcEstimateTimeDescription": "Als meerdere geselecteerd zijn, wordt het gemiddelde berekend",
"CalcEtaTime": "ETA berekening",
"CalcEtaTimeDescription": "Als meerdere geselecteerd zijn, wordt het gemiddelde berekend",
"DbGeneral": "Algemeen",
"CannotReadJson": "Kan het backup bestand niet lezen/verwerken. ",
"DbConsoleHistory": "Console Geschiedenis",
"DbHistoryJobs": "Geschiedenis Jobs",
"DbHistoryTotals": "Geschiedenis Totalen",
"DbMacrogroups": "Macro groepen",
"DbPresets": "Voorinstellingen",
"DbRemoteprinters": "Printers op afstand",
"DbTimelapseSettings": "Timelapse Instellingen",
"DbView": "Weergaveinstellingen",
"DbWebcams": "Webcams",
"FactoryDialog": "Selecteer de secties die je wil resetten:",
"FactoryReset": "Herstel naar fabrieksinstellingen",
"General": "Algemeen",
"Language": "Taal",
"MoonrakerDb": "Moonraker DB",
"PrinterName": "Printer naam",
"Reset": "reset"
"Reset": "reset",
"Restore": "Herstellen",
"RestoreDialog": "Kies alle secties die je wil herstellen:"
},
"InterfaceSettings": "Interface Instellingen",
"MacrosTab": {
@@ -738,6 +795,8 @@
"EnabledDescription": "Indien uitgeschakeld, worden gcode macros genegeerd en autorender overgeslagen.",
"Extraoutputparams": "Extraoutputparams",
"ExtraoutputparamsDescription": "Definieert extra parameters voor FFMPEG. Note: Alles wat hier wordt toegevoegd zal de rotatie instelling ongedaan maken",
"FwRetract": "Firmware Retractie",
"FwRetractDescription": "Gebruik firmware retractie in de timelapse macro",
"GcodeVerbose": "GcodeVerbose",
"GcodeVerboseDescription": "Indien ingeschakeld, kunnen Gcode macros informatie in de console tonen",
"General": "Algemeen",
@@ -747,6 +806,8 @@
"ModeDescription": "Kies tussen Layermacro en Hyperlapse (tijd gebaseerde) modus",
"OutputFramerate": "Uitvoer Framerate",
"OutputFramerateDescription": "Definieert de framerate van de video. Note: dit wordt genegeerd wanneer variable_fps is ingeschakeld",
"ParkTime": "Parkeerduur",
"ParkTimeDescription": "Voeg extra tijd toe bij het parkeren.",
"Parkhead": "Parkhead",
"ParkheadDescription": "Indien ingeschakeld, wordt de printkop geparkeerd voor een foto te nemen.",
"Parkpos": "Parkeer postitie",
@@ -763,11 +824,13 @@
"PreviewImageDescription": "Sla een voorbeeld afbeelding op met dezelfde naam als de video",
"RenderingOptions": "Rendering opties",
"RetractDistance": "Retractie Afstand",
"RetractDistanceDescription": "",
"RetractDistanceDescription": "De lengte filament die de extruder terugtrekt.",
"RetractSpeed": "Retractie Snelheid",
"RetractSpeedDescription": "",
"RetractSpeedDescription": "Snelheid waarmee de extruder het filament terugtrekt.",
"SaveFrames": "Sla frames op",
"SaveFramesDescription": "Sla de frames op in een zip-bestand voor externe rendering",
"StreamDelayCompensation": "Stream Delay Compensatie",
"StreamDelayCompensationDescription": "Vertraag de beeldopname.",
"Targetlength": "Doel lengte",
"TargetlengthDescription": "De beoogde lengte wanneer variabele FPS is ingeschakeld",
"TimeFormatCode": "Tijd Format Code",
@@ -775,10 +838,10 @@
"Timelapse": "Timelapse",
"TravelSpeed": "Bewegingssnelheid",
"TravelSpeedDescription": "Bewegingssnelheid tijdens het bewegen van en naar de parkeerpositie",
"UnretractDistance": "",
"UnretractDistanceDescription": "",
"UnretractSpeed": "",
"UnretractSpeedDescription": "",
"UnretractDistance": "Deretactie lengte",
"UnretractDistanceDescription": "De lengte van het filament dat de extruder terug voert na een retractie.",
"UnretractSpeed": "Untretract Snelheid",
"UnretractSpeedDescription": "De snelheid waarmee het filament teruggevoerd wordt door de extruder na een retractie.",
"VariableFps": "Variabele FPS",
"VariableFpsDescription": "Indien ingeschakeld, wordt de framerate van de video berekend op basis van de beoogde lengte",
"VariableFpsMax": "Variabele FPS max",
+81 -17
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": {
@@ -480,16 +532,20 @@
"CalcEstimateTimeDescription": "В случае множественного выбора рассчитывается среднее значение",
"CalcEtaTime": "Расчет расчетного времени прибытия",
"CalcEtaTimeDescription": "В случае множественного выбора рассчитывается среднее значение",
"DbGeneral": "Общий",
"DbHistoryTotals": "Общий счетчик истории",
"DbMacrogroups": "Макрогруппы",
"DbPresets": "Предустановки",
"DbRemoteprinters": "Удаленный принтер",
"DbTimelapseSettings": "Настройки временного интервала",
"DbWebcams": "Веб-камеры",
"FactoryDialog": "Пожалуйста, выберите все разделы, которые вы хотите сбросить:",
"Reset": "сброс",
"DbHistoryJobs": "История печати"
"DbHistoryJobs": "История печати",
"Backup": "Резервная копия",
"BackupDialog": "Пожалуйста, выберите все разделы, для которых вы хотите создать резервную копию:",
"CannotReadJson": "Невозможно прочитать/разобрать файл резервной копии.",
"DbConsoleHistory": "История консоли",
"DbView": "Просмотр настроек",
"MoonrakerDb": "Moonraker DB",
"Restore": "Восстановить",
"RestoreDialog": "Пожалуйста, выберите все разделы, которые вы хотите восстановить:"
},
"InterfaceSettings": "Настройки интерфейса",
"MacrosTab": {
@@ -634,7 +690,13 @@
"UnretractDistance": "Расстояние расцепления",
"UnretractDistanceDescription": "Длина нити, которую экструдер продвигает после обратного рывка.",
"VariableFpsMinDescription": "Минимальное количество IPS в переменном режиме.",
"VariableFpsMaxDescription": "Максимальное количество IPS в переменном режиме."
"VariableFpsMaxDescription": "Максимальное количество IPS в переменном режиме.",
"FwRetract": "Отступление от прошивки",
"FwRetractDescription": "Использование ресайза прошивки в макросъемке таймлапса",
"ParkTime": "Продолжительность парка",
"ParkTimeDescription": "Увеличение продолжительности парка",
"StreamDelayCompensation": "Компенсация задержки потока",
"StreamDelayCompensationDescription": "Задержка захвата изображения"
},
"UiSettingsTab": {
"BoolBigThumbnail": "Большие эскизы",
@@ -757,7 +819,8 @@
"Memory": "Память",
"Os": "OS",
"SystemLoad": "Нагрузки на систему",
"Version": "Версия"
"Version": "Версия",
"Distro": "Распространение"
},
"UpdatePanel": {
"CheckForUpdates": "Проверьте наличие обновлений",
@@ -779,7 +842,8 @@
"CommittedDaysAgo": "Отправлено {days} назад",
"CommittedHoursAgo": "Отправлено {hours} назад",
"CommittedOnDate": "подана {date}",
"CommittedYesterday": "представленный вчера"
"CommittedYesterday": "представленный вчера",
"UpdateAll": "Обновление всех компонентов"
}
},
"SelectPrinterDialog": {
@@ -863,7 +927,7 @@
"JobQueue": "Очередь на работу",
"Jobs": "Заказы",
"Pause": "Pause",
"Resume": "Продолжить"
"Start": "Начало"
},
"EmergencyStopDialog": {
"AreYouSure": "Вы уверены?",
-4
View File
@@ -563,10 +563,6 @@
"FactoryReset": "恢復設定",
"FactoryDialog": "請選擇您要重置的所有部分:",
"Reset": "重置",
"DbGeneral": "一般",
"DbPresets": "預設",
"DbMacrogroups": "巨集組",
"DbRemoteprinters": "遠端印表機",
"DbHistoryJobs": "歷史工作",
"DbHistoryTotals": "歷史總計",
"DbWebcams": "網路攝影機"
-5
View File
@@ -172,7 +172,6 @@
"AllJobs": "所有的任务",
"Empty": "空",
"Delete": "删除",
"Resume": "恢复",
"Pause": "暂停"
},
"Console": {
@@ -592,10 +591,6 @@
"FactoryReset": "恢复出厂设置",
"FactoryDialog": "选择你想要回复出厂值的部分:",
"Reset": "重启",
"DbGeneral": "通用",
"DbPresets": "预设",
"DbMacrogroups": "小组",
"DbRemoteprinters": "远程打印机",
"DbHistoryJobs": "工作历史",
"DbHistoryTotals": "总历史",
"DbWebcams": "网络摄像头",
+2 -2
View File
@@ -1,9 +1,9 @@
<template>
<v-row>
<v-col :class="showJobQueue ? 'col-8' : 'col-12'">
<v-col :class="(showJobQueue ? 'col-12 col-md-8 pt-0 pt-md-3 order-1 order-md-0' : 'col-12')">
<gcodefiles-panel></gcodefiles-panel>
</v-col>
<v-col v-if="showJobQueue" class="col-4">
<v-col v-if="showJobQueue" class="col-12 col-md-4 pb-0 pb-sm-3 order-0 order-md-1">
<jobqueue-panel></jobqueue-panel>
</v-col>
</v-row>
+32 -12
View File
@@ -1,5 +1,7 @@
<style scoped>
.rename-profile {
text-transform: none;
}
</style>
<template>
@@ -8,23 +10,23 @@
<v-col class="col-12 col-md-8 pb-0">
<panel card-class="heightmap-map-panel" :title="$t('Heightmap.Heightmap')" icon="mdi-grid">
<template v-slot:buttons-title>
<v-btn text tile color="primary" class="ml-1 d-none d-sm-inline-flex" v-if="bed_mesh" @click="openRenameProfile()">{{ bed_mesh ? bed_mesh.profile_name : "" }}</v-btn>
<v-btn text tile color="primary" class="ml-1 d-none d-sm-inline-flex 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" @click="openRenameProfile()">{{ bed_mesh ? bed_mesh.profile_name : "" }}</v-btn>
<v-btn icon tile class="d-none d-sm-flex" @click="homePrinter" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')" :ripple="true"><v-icon>mdi-home</v-icon></v-btn>
<v-btn text tile class="d-none d-sm-flex" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="bed_mesh" :title="$t('Heightmap.TitleClear')">{{ $t('Heightmap.Clear') }}</v-btn>
<v-btn text tile color="primary" class="d-sm-none" v-if="meshLoaded" @click="openRenameProfile()">{{ bed_mesh ? bed_mesh.profile_name : "" }}</v-btn>
<v-btn icon tile class="d-none d-sm-flex" @click="homePrinter" :color="homedAxes.includes('xyz') ? 'primary' : 'warning'" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')" :ripple="true"><v-icon>mdi-home</v-icon></v-btn>
<v-btn text tile class="d-none d-sm-flex" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="meshLoaded" :title="$t('Heightmap.TitleClear')">{{ $t('Heightmap.Clear') }}</v-btn>
<v-btn text tile class="d-none d-sm-flex" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="printerIsPrinting" :title="$t('Heightmap.TitleCalibrate')">{{ $t('Heightmap.Calibrate') }}</v-btn>
</template>
<v-card-text class="d-sm-none text-center pb-0">
<v-item-group tile class="v-btn-toggle" name="controllers">
<v-btn text small class="px-2 minwidth-0" color="primary" @click="homePrinter" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')"><v-icon small>mdi-home</v-icon></v-btn>
<v-btn text small class="px-2 minwidth-0" :color="homedAxes.includes('xyz') ? 'primary' : 'warning'" @click="homePrinter" :loading="loadings.includes('homeAll')" :title="$t('Heightmap.TitleHomeAll')"><v-icon :color="homedAxes.includes('xyz') ? 'primary' : 'warning'" small>mdi-home</v-icon></v-btn>
<v-btn text small class="px-2 minwidth-0" color="primary" @click="clearBedMesh" :loading="loadings.includes('bedMeshClear')" v-if="bed_mesh" :title="$t('Heightmap.TitleClear')">{{ $t('Heightmap.Clear') }}</v-btn>
<v-btn text small class="px-2 minwidth-0" color="primary" @click="calibrateDialog = true" :loading="loadings.includes('bedMeshCalibrate')" :disabled="printerIsPrinting" :title="$t('Heightmap.TitleCalibrate')">{{ $t('Heightmap.Calibrate') }}</v-btn>
</v-item-group>
</v-card-text>
<template v-if="!(bed_mesh)">
<v-card-text>
<template v-if="!(meshLoaded)">
<v-card-text class="text-center py-3 font-italic">
{{ $t('Heightmap.NoBedMeshHasBeenLoadedYet') }}
</v-card-text>
</template>
@@ -66,7 +68,7 @@
</panel>
</v-col>
<v-col class="col-12 col-md-4">
<panel :title="$t('Heightmap.CurrentMesh.Headline')" v-if="bed_mesh !== null && bed_mesh.profile_name !== ''" card-class="heightmap-current-mesh-panel" icon="mdi-information" :collapsible="true" class="mt-0">
<panel :title="$t('Heightmap.CurrentMesh.Headline')" v-if="meshLoaded" card-class="heightmap-current-mesh-panel" icon="mdi-information" :collapsible="true" class="mt-0">
<v-card-text class="py-3 px-0">
<v-row class="px-3">
<v-col>{{ $t('Heightmap.CurrentMesh.Name') }}</v-col>
@@ -184,6 +186,7 @@
<script lang="ts">
import {Component, Mixins, Watch} from 'vue-property-decorator'
import BaseMixin from '@/components/mixins/base'
import ControlMixin from '@/components/mixins/control'
import { createComponent } from 'echarts-for-vue'
import * as echarts from 'echarts'
@@ -211,7 +214,7 @@ interface HeightmapSerie {
ECharts: createComponent({ echarts }),
}
})
export default class PageHeightmap extends Mixins(BaseMixin) {
export default class PageHeightmap extends Mixins(BaseMixin, ControlMixin) {
$refs!: {
// eslint-disable-next-line
@@ -224,6 +227,7 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
private removeDialog = false
private calibrateDialog = false
private newName = ''
private oldName = ''
private heightmapScale = 0.5
private probedOpacity = 1
@@ -726,6 +730,14 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
}
}
get meshLoaded() {
if(this.bed_mesh !== null) {
return this.bed_mesh.profile_name !== ''
} else {
return false
}
}
tooltipFormatter(data: any): string {
const outputArray: string[] = []
outputArray.push('<b>'+data.seriesName+'</b>')
@@ -744,6 +756,7 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
openRenameProfile(): void {
this.newName = this.bed_mesh?.profile_name ?? ''
this.oldName = this.bed_mesh.profile_name
this.renameDialog = true
setTimeout(() => {
@@ -753,8 +766,15 @@ export default class PageHeightmap extends Mixins(BaseMixin) {
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 {
+5 -3
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'
+1
View File
@@ -19,6 +19,7 @@ export const mutations: MutationTree<EditorState> = {
},
updateLoader(state, payload) {
window.console.log(payload)
Vue.set(state, 'loaderProgress', payload)
},
+9
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) {
+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
}
+20 -10
View File
@@ -2,6 +2,7 @@ import { GetterTree } from 'vuex'
import {RootState, RootStateDependency} from '@/store/types'
import semver from 'semver'
import {minKlipperVersion, minMoonrakerVersion} from '@/store/variables'
import i18n from '@/plugins/i18n'
// eslint-disable-next-line
export const getters: GetterTree<RootState, any> = {
@@ -10,24 +11,33 @@ export const getters: GetterTree<RootState, any> = {
},
getTitle: (state, getters) => {
if (state.socket?.isConnected) {
if (state.server?.klippy_state !== 'ready') return 'ERROR'
else if (state.printer?.print_stats?.state === 'paused') return 'Pause Print'
else if (state.printer?.print_stats?.state === 'printing') {
if (state.socket?.isConnected && state.printer) {
let printer_state = state.printer?.print_stats?.state ?? ''
if (state.printer['gcode_macro TIMELAPSE_TAKE_FRAME']?.is_paused && printer_state === 'paused')
printer_state = 'printing'
if (state.server?.klippy_state !== 'ready') return i18n.t('App.Titles.Error')
else if (printer_state === 'paused') return i18n.t('App.Titles.Pause')
else if (printer_state === 'printing') {
const eta = getters['printer/getEstimatedTimeETA']
let output = (getters['printer/getPrintPercent'] * 100).toFixed(0)+'% Printing'
if (eta) {
const date = new Date(eta)
const h = date.getHours() >= 10 ? date.getHours() : '0'+date.getHours()
const m = date.getMinutes() >= 10 ? date.getMinutes() : '0'+date.getMinutes()
const diff = eta - new Date().getTime()
output += ' - ETA: '+h+':'+m+((diff > 60*60*24*1000) ? '+'+(diff / (60*60*24*1000)).toFixed() : '')
}
output += ' - '+state.printer.print_stats?.filename
return output
} else if (state.printer?.print_stats?.state === 'complete') return 'Complete - '+state.printer.print_stats.filename
return i18n.t('App.Titles.PrintingETA', {
percent: (getters['printer/getPrintPercent'] * 100).toFixed(0),
filename: state.printer.print_stats?.filename,
eta: h+':'+m+((diff > 60*60*24*1000) ? '+'+(diff / (60*60*24*1000)).toFixed() : '')
})
} else return i18n.t('App.Titles.Printing', {
percent: (getters['printer/getPrintPercent'] * 100).toFixed(0),
filename: state.printer.print_stats?.filename,
})
} else if (state.printer?.print_stats?.state === 'complete') return i18n.t('App.Titles.Complete', { filename: state.printer.print_stats.filename })
return state.gui?.general.printername ?? state.printer?.hostname ?? 'Mainsail'
}
+31 -4
View File
@@ -20,12 +20,35 @@ export const actions: ActionTree<GuiState, RootState> = {
Vue.$socket.emit('server.database.get_item', { namespace: 'mainsail' }, { action: 'gui/initStore'})
},
initStore({ commit, dispatch, rootState }, payload) {
async initStore({ commit, dispatch, rootGetters, rootState }, payload) {
const baseUrl = rootGetters['socket/getUrl'] + '/server/database/item'
const mainsailUrl = baseUrl + '?namespace=mainsail'
if ('remoteprinters' in payload.value) {
if (!rootState.socket?.remoteMode) dispatch('remoteprinters/initStore', payload.value.remoteprinters.printers)
delete payload.value.remoteprinters
}
//update cooldownGcode from V2.0.1 to V2.1.0
if ('cooldownGcode' in payload.value) {
window.console.debug('update cooldownGcode to new namespace')
dispatch('saveSetting', { name: 'presets.cooldownGcode', value: payload.value.cooldownGcode })
await fetch(mainsailUrl+'&key=cooldownGcode', { method: 'DELETE' })
delete payload.value.cooldownGcode
}
//update presets from V2.0.1 to V2.1.0
if ('presets' in payload.value && Array.isArray(payload.value.presets)) {
window.console.debug('update presets to new namespace')
payload.value.presets.forEach((preset: any) => {
dispatch('presets/store', { values: preset })
})
delete payload.value.presets
}
commit('setData', payload.value)
},
@@ -94,6 +117,10 @@ export const actions: ActionTree<GuiState, RootState> = {
Vue.$socket.emit('server.database.post_item', { namespace: 'mainsail', key: payload.name, value: payload.value })
},
saveSettingWithoutUpload({ commit }, payload) {
commit('saveSetting', payload)
},
updateSettings(_, payload) {
const keyName = payload.keyName
let newState = payload.newVal
@@ -110,7 +137,7 @@ export const actions: ActionTree<GuiState, RootState> = {
setGcodefilesMetadata({ commit, dispatch, state }, data) {
commit('setGcodefilesMetadata', data)
dispatch('updateSettings', {
keyName: 'gcodefiles',
keyName: 'view.gcodefiles',
newVal: state.view.gcodefiles
})
},
@@ -118,7 +145,7 @@ export const actions: ActionTree<GuiState, RootState> = {
setGcodefilesShowHiddenFiles({ commit, dispatch, state }, data) {
commit('setGcodefilesShowHiddenFiles', data)
dispatch('updateSettings', {
keyName: 'gcodefiles',
keyName: 'view.gcodefiles',
newVal: state.view.gcodefiles
})
},
@@ -126,7 +153,7 @@ export const actions: ActionTree<GuiState, RootState> = {
setCurrentWebcam({ commit, dispatch, state }, payload) {
commit('setCurrentWebcam', payload)
dispatch('updateSettings', {
keyName: 'webcamSettings.currentCam',
keyName: 'view.webcam.currentCam',
newVal: state.view.webcam.currentCam
})
},
+12 -8
View File
@@ -101,16 +101,16 @@ export const getDefaultState = (): GuiState => {
confirmUnsavedChanges: true
},
gcodeViewer: {
extruderColors : ['#00FFFFFF','#FF00FFFF','#FFFF00FF','#000000FF','#FFFFFFFF'],
gridColor : '#0000FF',
backgroundColor : '#000000',
extruderColors : ['#E76F51FF','#F4A261FF','#E9C46AFF','#2A9D8FFF','#264653FF'],
gridColor : '#B3B3B3',
backgroundColor : '#121212',
colorMode : 2,
showAxes : true,
minFeed : 20,
maxFeed : 100,
minFeedColor : '#0000FF',
maxFeedColor : '#FF0000',
progressColor : '#FFFFFF',
minFeedColor : '#2196f3',
maxFeedColor : '#D41216',
progressColor : '#FFFFFFB2',
showCursor: true,
showTravelMoves: false,
showObjectSelection: false,
@@ -143,7 +143,9 @@ export const getDefaultState = (): GuiState => {
sortBy: 'filename',
sortDesc: false,
showHiddenFiles: false,
hideBackupFiles: false
hideBackupFiles: false,
currentPath: '',
rootPath: 'config'
},
gcodefiles: {
countPerPage: 10,
@@ -151,7 +153,8 @@ export const getDefaultState = (): GuiState => {
sortDesc: true,
showHiddenFiles: false,
showPrintedFiles: true,
hideMetadataColums: []
hideMetadataColums: [],
currentPath: 'gcodes'
},
heightmap: {
probed: true,
@@ -193,6 +196,7 @@ export const getDefaultState = (): GuiState => {
sortBy: 'modified',
sortDesc: true,
showHiddenFiles: false,
currentPath: 'timelapse'
},
webcam: {
currentCam: {
+23 -16
View File
@@ -11,9 +11,11 @@ export const getters: GetterTree<GuiPresetsState, any> = {
getPresets:(state) => {
const presets: GuiPresetsStatePreset[] = []
Object.keys(state.presets).forEach((id: string) => {
presets.push({...state.presets[id], id})
})
if ('presets' in state) {
Object.keys(state.presets).forEach((id: string) => {
presets.push({...state.presets[id], id})
})
}
return caseInsensitiveSort(presets, 'name')
},
@@ -21,27 +23,32 @@ export const getters: GetterTree<GuiPresetsState, any> = {
getPresetsFromHeater: state => (payload: { name: string }) => {
interface preset {
value: number
text: string
}
const output: preset[] = []
output.push({
value: 0
value: 0,
text: '0 °C'
})
Object.keys(state.presets).forEach((id: string) => {
const preset = state.presets[id]
if ('presets' in state) {
Object.keys(state.presets).forEach((id: string) => {
const preset = state.presets[id]
if (
payload.name in preset.values &&
preset.values[payload.name].bool &&
output.findIndex((entry: preset) => entry.value === preset.values[payload.name].value) === -1
) {
output.push({
value: preset.values[payload.name].value,
})
}
})
if (
payload.name in preset.values &&
preset.values[payload.name].bool &&
output.findIndex((entry: preset) => entry.value === preset.values[payload.name].value) === -1
) {
output.push({
value: preset.values[payload.name].value,
text: preset.values[payload.name].value + ' °C'
})
}
})
}
return output.sort((a: preset,b: preset) => {
if (a.value > b.value) return -1
+4
View File
@@ -93,6 +93,8 @@ export interface GuiState {
sortDesc: boolean
showHiddenFiles: boolean
hideBackupFiles: boolean
currentPath: string
rootPath: string
}
gcodefiles: {
countPerPage: number
@@ -101,6 +103,7 @@ export interface GuiState {
showHiddenFiles: boolean
showPrintedFiles: boolean
hideMetadataColums: string[]
currentPath: string
}
heightmap: {
probed: boolean
@@ -131,6 +134,7 @@ export interface GuiState {
sortBy: string
sortDesc: boolean
showHiddenFiles: boolean
currentPath: string
}
webcam: {
currentCam: {
-1
View File
@@ -35,7 +35,6 @@ export const actions: ActionTree<PrinterState, RootState> = {
initSubscripts(_, payload) {
let subscripts = {}
const blocklist = [
'gcode_macro',
'menu',
]
+5
View File
@@ -10,7 +10,12 @@ export const mutations: MutationTree<ServerState> = {
Object.assign(state, getDefaultState())
},
setKlippyConnected(state) {
Vue.set(state, 'klippy_connected', true)
},
setKlippyDisconnected(state) {
Vue.set(state, 'klippy_connected', false)
Vue.set(state, 'klippy_state', 'disconnected')
Vue.set(state, 'klippy_message', 'Disconnected...')
},
+1
View File
@@ -52,6 +52,7 @@ 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
+3
View File
@@ -73,8 +73,11 @@ export const checkKlipperConfigModules = [
*/
export const allowedMetadata = [
'estimated_time',
'filament_name',
'filament_type',
'filament_total',
'filament_weight_total',
'nozzle_diameter',
'first_layer_bed_temp',
'first_layer_extr_temp',
'first_layer_height',