diff --git a/README.md b/README.md index 357bc359..9d7a058a 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,13 @@ KlipperScreen is a touchscreen GUI that interfaces with [Klipper](https://github [Click here to access the documentation.](https://klipperscreen.readthedocs.io/en/latest/) -Screenshots are included in the documentation. ### Inspiration KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that will natively work with [Klipper](https://github.com/kevinOConnor/klipper) and [Moonraker](https://github.com/arksine/moonraker). -![Main Menu](docs/img/main_panel.png) + +![Main Menu](docs/img/panels/main_panel.png) + + +[More Screenshots](https://klipperscreen.readthedocs.io/en/latest/panels/) diff --git a/docs/changelog.md b/docs/Changelog.md similarity index 65% rename from docs/changelog.md rename to docs/Changelog.md index 40e97b42..0b3398e6 100644 --- a/docs/changelog.md +++ b/docs/Changelog.md @@ -2,12 +2,12 @@ Breaking changes will be listed here. -#### 2022 01 09 +#### [2022 01 11](https://github.com/jordanruthe/KlipperScreen/commit/8a8c6c064cc6d097b1b34a5c42b4001367e545a6) * The Preheat panel has been deprecated in favor of an all in one Temperature panel Remove preheat panel from your Klipperscreen.conf or replace the occurrences of preheat with temperature -#### 2021 05 20 +#### [2021 05 20](https://github.com/jordanruthe/KlipperScreen/commit/8a8c6c064cc6d097b1b34a5c42b4001367e545a6) * Default configuration is not merged if a user configuration is set for a specific option For instance, if `menu __main` is user defined, the main menu will not have any defaults. diff --git a/docs/panels.md b/docs/Panels.md similarity index 67% rename from docs/panels.md rename to docs/Panels.md index 899610f5..769950b7 100644 --- a/docs/panels.md +++ b/docs/Panels.md @@ -1,15 +1,15 @@ # Panels ### Main Menu -![Main Menu](img/main_panel.png) +![Main Menu](img/panels/main_panel.png) ### Job Status -![Job Status](img/job_status.png) +![Job Status](img/panels/job_status.png) ### Bed Level type: bed_level -![Bed Level](img/bed_level.png) +![Bed Level](img/panels/bed_level.png) The bed level panel has the ability to have preset locations from Klipper. Please see documentation on the following Klipper Sections: @@ -26,74 +26,74 @@ panel. ### Bed Mesh type: bed_mesh theme:material-dark -![Bed Mesh](img/bed_mesh.png) +![Bed Mesh](img/panels/bed_mesh.png) ### Extrude type: extrude theme:material-dark -![Extrude](img/extrude.png) +![Extrude](img/panels/extrude.png) ### Fan type: fan -![Fan](img/fan.png) +![Fan](img/panels/fan.png) ### Fine Tune type: fine_tune theme:custom -![Fine Tune Panel](img/fine_tune.png) +![Fine Tune Panel](img/panels/fine_tune.png) ### Gcode Macros type: gcode_macros theme: material-darker -![Gcode Macros Panel](img/gcode_macros.png) +![Gcode Macros Panel](img/panels/gcode_macros.png) ### Menu type: menu -![Menu Panel](img/menu.png) +![Menu Panel](img/panels/menu.png) ### Move type: move -![Move Panel](img/move.png) +![Move Panel](img/panels/move.png) ### Network type: network -![Network Panel](img/network.png) +![Network Panel](img/panels/network.png) ### Power type: power -![Power](img/power.png) +![Power](img/panels/power.png) ### Print type: print -![Print Panel](img/print.png) +![Print Panel](img/panels/print.png) ### Settings type: settings theme:colorized -![Settings](img/settings.png) +![Settings](img/panels/settings.png) ### System type: system -![System Panel](img/system.png) +![System Panel](img/panels/system.png) ### Temperature type: temperature theme:custom -![Temperature](img/temperature.png) +![Temperature](img/panels/temperature.png) ### Z Calibrate type: zcalibrate -![Z Calibrate](img/zcalibrate.png) +![Z Calibrate](img/panels/zcalibrate.png) ### Limits type: limits theme: material-dark -![Limits](img/limits.png) +![Limits](img/panels/limits.png) diff --git a/docs/Quicktips.md b/docs/Quicktips.md index b3d1fe4b..e774da18 100644 --- a/docs/Quicktips.md +++ b/docs/Quicktips.md @@ -1,11 +1,10 @@ # Quicktips quick tips, without much explanation -### Hide macros, outputs or fans -As you probably already noticed, you can show and hide the gcode macros in the interface settings, but there is more… - -Did you know, that you can also hide gcode macros by prefixing the name with an underscore? +## Hide macros, outputs or fans +As you probably already noticed, you can show and hide the gcode macros in the interface settings, +but you can also hide gcode macros by prefixing the name with an underscore. ``` [gcode_macro MY_AWESOME_GCODE] @@ -29,3 +28,47 @@ Lets hide a temperature_fan: fan1 will show in the interface, but _fan2 will be hidden. + +## Thumbnails +KlipperScreen can display thumbnails in the file browser and as previews in the print status. + + +![Job Status](img/panels/job_status.png) + + +* [PrusaSlicer](#PrusaSlicer) +* [SuperSlicer](#SuperSlicer) +* [Cura](#Cura) +* [ideaMaker](#ideaMaker) + +### PrusaSlicer +In “Expert” mode PrusaSlicer has an option in the “Printer Settings” tab to activate previews. +Under General / Firmware. + + +![PrusaSlicer](img/quicktips/PrusaSlicer-thumbnails.png) + + +### SuperSlicer +In “Expert” mode SuperSlicer has some very convenient options in the “Printer Settings” tab to activate and customize the previews. + + +![SuperSlicer](img/quicktips/SuperSlicer-thumbnails.png) + + +### Cura +The Cura plugin [“Cura2Moonraker”](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin) is required for this. + + +![Cura](img/quicktips/Cura-thumbnails.png) + + +### ideaMaker +To enable thumbnails, open the Advanced tab in the printer settings, enable the GCode Thumbnails for Octoprint and Mainsail option and enter your prefered square format image size in the Resolution fields (e.g. 400 X 400). It’s necessary that the thumbnail width and height resolution is equal. + + +![IdeaMaker4](img/quicktips/IdeaMaker-thumbnails.png) + + +## Supported Macros +[Macros](macros.md) diff --git a/docs/Theming.md b/docs/Theming.md index 6d873d20..a5379d28 100644 --- a/docs/Theming.md +++ b/docs/Theming.md @@ -29,5 +29,5 @@ window { background-image: url("/home/pi/mainsail/img/background.svg");} button {background-color: rgba(0,0,0,0); border-radius:2em;} ``` -![Custom theme example with background](img/theme_example.png) +![Custom theme example with background](img/theming/theme_example.png) diff --git a/docs/Troubleshooting.md b/docs/Troubleshooting.md index dc8f4d22..06ff89e7 100644 --- a/docs/Troubleshooting.md +++ b/docs/Troubleshooting.md @@ -4,12 +4,12 @@ This page will have common problems and common solutions to those problems. ## First Steps -The first step to troubleshooting any problem is getting the cause of the error. KlipperScreen log output will occur -in two places. Check for the file `/tmp/KlipperScreen.log` and look at the contents by running -`cat /tmp/KlipperScreen.log` or grabbing the file over WinSCP or another scp program. +The first step to troubleshooting any problem is getting the cause of the error. +Check for the file `/tmp/KlipperScreen.log` and look at the contents by running +`cat /tmp/KlipperScreen.log` or grab the file over WinSCP or another sftp program. -If that file is non-existent, there is a problem in KlipperScreen starting up. To get the error output in this case, -run `journalctl -xe -u KlipperScreen`. +If that file is non-existent, run `journalctl -xe -u KlipperScreen` and check `/var/log/Xorg.0.log` +where you can find issues with the X server. ## Common Errors @@ -51,13 +51,10 @@ the proper drivers. ### Touch not working on debian Bullseye Some dsi screens have issues where touch doesn't work with debian bullseye, the current fix -(at least until upstream is fixed) consist in editing `/boot/config.txt` and changing: +(at least until upstream is fixed) consist in runnig `raspi-config`> go to Advanced > GL Driver +select G2 and reboot. -`dtoverlay=vc4-kms-v3d` +![config](img/troubleshooting/gldriver.png) -to: - -`dtoverlay=vc4-fkms-v3d` - -and reboot. That should make the touch work, if your screen is rotated 180 degrees, then you may need to adjust +That should make the touch work, if your screen is rotated 180 degrees, then you may need to adjust [the touch rotation](Hardware.md) as described in the Hardware page. diff --git a/docs/img/bed_level.png b/docs/img/bed_level.png deleted file mode 100644 index 7b720c20..00000000 Binary files a/docs/img/bed_level.png and /dev/null differ diff --git a/docs/img/fan.png b/docs/img/fan.png deleted file mode 100644 index 4c3d564d..00000000 Binary files a/docs/img/fan.png and /dev/null differ diff --git a/docs/img/gcode_macros.png b/docs/img/gcode_macros.png deleted file mode 100644 index 1cdd515e..00000000 Binary files a/docs/img/gcode_macros.png and /dev/null differ diff --git a/docs/img/job_status.png b/docs/img/job_status.png deleted file mode 100644 index 77423c69..00000000 Binary files a/docs/img/job_status.png and /dev/null differ diff --git a/docs/img/limits.png b/docs/img/limits.png deleted file mode 100644 index 8326bc9a..00000000 Binary files a/docs/img/limits.png and /dev/null differ diff --git a/docs/img/main_panel.png b/docs/img/main_panel.png deleted file mode 100644 index 7ee69d0d..00000000 Binary files a/docs/img/main_panel.png and /dev/null differ diff --git a/docs/img/menu.png b/docs/img/menu.png deleted file mode 100644 index 4182bca4..00000000 Binary files a/docs/img/menu.png and /dev/null differ diff --git a/docs/img/move.png b/docs/img/move.png deleted file mode 100644 index 68d4a053..00000000 Binary files a/docs/img/move.png and /dev/null differ diff --git a/docs/img/panels/bed_level.png b/docs/img/panels/bed_level.png new file mode 100644 index 00000000..1fe56b68 Binary files /dev/null and b/docs/img/panels/bed_level.png differ diff --git a/docs/img/bed_mesh.png b/docs/img/panels/bed_mesh.png similarity index 95% rename from docs/img/bed_mesh.png rename to docs/img/panels/bed_mesh.png index 565f8aae..b7766a96 100644 Binary files a/docs/img/bed_mesh.png and b/docs/img/panels/bed_mesh.png differ diff --git a/docs/img/extrude.png b/docs/img/panels/extrude.png similarity index 99% rename from docs/img/extrude.png rename to docs/img/panels/extrude.png index d344db5c..ee1ea6ab 100644 Binary files a/docs/img/extrude.png and b/docs/img/panels/extrude.png differ diff --git a/docs/img/panels/fan.png b/docs/img/panels/fan.png new file mode 100644 index 00000000..aa029676 Binary files /dev/null and b/docs/img/panels/fan.png differ diff --git a/docs/img/fine_tune.png b/docs/img/panels/fine_tune.png similarity index 98% rename from docs/img/fine_tune.png rename to docs/img/panels/fine_tune.png index 5ab5e446..be235966 100644 Binary files a/docs/img/fine_tune.png and b/docs/img/panels/fine_tune.png differ diff --git a/docs/img/panels/gcode_macros.png b/docs/img/panels/gcode_macros.png new file mode 100644 index 00000000..21c0679e Binary files /dev/null and b/docs/img/panels/gcode_macros.png differ diff --git a/docs/img/panels/job_status.png b/docs/img/panels/job_status.png new file mode 100644 index 00000000..defd4b89 Binary files /dev/null and b/docs/img/panels/job_status.png differ diff --git a/docs/img/panels/limits.png b/docs/img/panels/limits.png new file mode 100644 index 00000000..dc50ea23 Binary files /dev/null and b/docs/img/panels/limits.png differ diff --git a/docs/img/panels/main_panel.png b/docs/img/panels/main_panel.png new file mode 100644 index 00000000..d5c61071 Binary files /dev/null and b/docs/img/panels/main_panel.png differ diff --git a/docs/img/panels/menu.png b/docs/img/panels/menu.png new file mode 100644 index 00000000..1e46d462 Binary files /dev/null and b/docs/img/panels/menu.png differ diff --git a/docs/img/panels/move.png b/docs/img/panels/move.png new file mode 100644 index 00000000..7b884a5b Binary files /dev/null and b/docs/img/panels/move.png differ diff --git a/docs/img/network.png b/docs/img/panels/network.png similarity index 100% rename from docs/img/network.png rename to docs/img/panels/network.png diff --git a/docs/img/panels/power.png b/docs/img/panels/power.png new file mode 100644 index 00000000..135cded4 Binary files /dev/null and b/docs/img/panels/power.png differ diff --git a/docs/img/print.png b/docs/img/panels/print.png similarity index 99% rename from docs/img/print.png rename to docs/img/panels/print.png index fa24dbeb..05e20dc9 100644 Binary files a/docs/img/print.png and b/docs/img/panels/print.png differ diff --git a/docs/img/settings.png b/docs/img/panels/settings.png similarity index 99% rename from docs/img/settings.png rename to docs/img/panels/settings.png index 4a5b6f82..1ca07c44 100644 Binary files a/docs/img/settings.png and b/docs/img/panels/settings.png differ diff --git a/docs/img/panels/system.png b/docs/img/panels/system.png new file mode 100644 index 00000000..654b8616 Binary files /dev/null and b/docs/img/panels/system.png differ diff --git a/docs/img/temperature.png b/docs/img/panels/temperature.png similarity index 100% rename from docs/img/temperature.png rename to docs/img/panels/temperature.png diff --git a/docs/img/panels/zcalibrate.png b/docs/img/panels/zcalibrate.png new file mode 100644 index 00000000..b9eca108 Binary files /dev/null and b/docs/img/panels/zcalibrate.png differ diff --git a/docs/img/power.png b/docs/img/power.png deleted file mode 100644 index 78b09fa5..00000000 Binary files a/docs/img/power.png and /dev/null differ diff --git a/docs/img/quicktips/Cura-thumbnails.png b/docs/img/quicktips/Cura-thumbnails.png new file mode 100644 index 00000000..74740f3e Binary files /dev/null and b/docs/img/quicktips/Cura-thumbnails.png differ diff --git a/docs/img/quicktips/IdeaMaker-thumbnails.png b/docs/img/quicktips/IdeaMaker-thumbnails.png new file mode 100644 index 00000000..70e68502 Binary files /dev/null and b/docs/img/quicktips/IdeaMaker-thumbnails.png differ diff --git a/docs/img/quicktips/PrusaSlicer-thumbnails.png b/docs/img/quicktips/PrusaSlicer-thumbnails.png new file mode 100644 index 00000000..9e470c92 Binary files /dev/null and b/docs/img/quicktips/PrusaSlicer-thumbnails.png differ diff --git a/docs/img/quicktips/SuperSlicer-thumbnails.png b/docs/img/quicktips/SuperSlicer-thumbnails.png new file mode 100644 index 00000000..50d758f6 Binary files /dev/null and b/docs/img/quicktips/SuperSlicer-thumbnails.png differ diff --git a/docs/img/system.png b/docs/img/system.png deleted file mode 100644 index 1d3f3c72..00000000 Binary files a/docs/img/system.png and /dev/null differ diff --git a/docs/img/theme_example.png b/docs/img/theming/theme_example.png similarity index 99% rename from docs/img/theme_example.png rename to docs/img/theming/theme_example.png index b6e544c2..72fcc1b8 100644 Binary files a/docs/img/theme_example.png and b/docs/img/theming/theme_example.png differ diff --git a/docs/img/troubleshooting/gldriver.png b/docs/img/troubleshooting/gldriver.png new file mode 100644 index 00000000..1e15b519 Binary files /dev/null and b/docs/img/troubleshooting/gldriver.png differ diff --git a/docs/img/zcalibrate.png b/docs/img/zcalibrate.png deleted file mode 100644 index 2873116d..00000000 Binary files a/docs/img/zcalibrate.png and /dev/null differ diff --git a/docs/index.md b/docs/index.md index cd910489..ae782487 100644 --- a/docs/index.md +++ b/docs/index.md @@ -12,15 +12,13 @@ A physical touchscreen is not strictly required, for example you may install a r Main Menu -![Main Menu](img/main_panel.png) +![Main Menu](img/panels/main_panel.png) Job Status -![Job Status](img/job_status.png) +![Job Status](img/panels/job_status.png) [More](panels.md) -### Supported Macros -[More](macros.md) ### Inspiration KlipperScreen was inspired by [OctoScreen](https://github.com/Z-Bolt/OctoScreen/) and the need for a touchscreen GUI that diff --git a/docs/macros.md b/docs/macros.md index bb892f64..abadf0c9 100644 --- a/docs/macros.md +++ b/docs/macros.md @@ -1,10 +1,9 @@ # Supported Macros -Klipperscreen supports gcode_macros in various panels. ## Extrude Panel ### LOAD_FILAMENT / UNLOAD_FILAMENT -Load and Unload Filament macro is used in the Extrude-Panel if it is available. +Load and Unload Filament macros are used in the Extrude-Panel if it is available. The selected speed is transferred to this macro. The following example macros show how this can be used in the macro. @@ -42,3 +41,16 @@ gcode: M300 M300 ``` + +``` +[gcode_macro UNLOAD_FILAMENT] +gcode: + {% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity %} + G91 + M300 # beep + G92 E0 + G1 E{speed} F300 # purge + G1 E-420 F{max_velocity} + M300 + M300 +``` diff --git a/mkdocs.yml b/mkdocs.yml index f60567c1..d0b36f16 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -3,10 +3,12 @@ nav: - Hardware.md - Installation.md - Configuration.md + - Quicktips.md - Theming.md - Troubleshooting.md - - changelog.md - - panels.md + - Translations.md + - Changelog.md + - Panels.md - Contact.md theme: readthedocs repo_url: https://github.com/jordanruthe/KlipperScreen/