Compare commits

...
335 Commits
Author SHA1 Message Date
Stefan Dej 9dffb3079e update moonraker update docs to new updater
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-28 00:06:52 +01:00
Stefan Dej dc0fb853bc Merge pull request #217 from freasy/feature/dynamic_speed_slider
dynamic dwc style speed slider
2021-02-27 23:27:40 +01:00
Eike Ahmels 91dc42e47e reverted and removed the right debug stuff 2021-02-27 23:24:56 +01:00
Eike Ahmels 402ea9f1cd removed debug stuff, default settings is always complete 2021-02-27 23:21:57 +01:00
Stefan Dej d6c73ce012 Merge pull request #216 from lixxbox/patch-4
docs: add different message styles
2021-02-27 23:04:52 +01:00
Eike Ahmels becef8f1ea default dynamic debounce down to 250 2021-02-27 23:04:41 +01:00
Eike Ahmels f4656c7150 added props for dynamic sliding 2021-02-27 23:01:35 +01:00
Eike Ahmels 79b529eb1e Merge remote-tracking branch 'origin/feature/dynamic_speed_slider' into feature/dynamic_speed_slider 2021-02-27 22:57:05 +01:00
Eike Ahmels 16efdc6042 fixed processing new max on reload 2021-02-27 22:55:51 +01:00
Eike Ahmels 36a29eb629 only speed slider is dynamic, removed console.log 2021-02-27 22:42:17 +01:00
Eike Ahmels 07094a52dd removed secondary version, not scaling min, only max 2021-02-27 22:38:42 +01:00
Eike Ahmels 5363322681 correct math rounding and clamping 2021-02-27 18:07:07 +01:00
Eike Ahmels 48403d09cc new dynamic slider example 2021-02-27 17:55:36 +01:00
lixxbox 80ded1b9ff docs: add different message styles
add styles for 
success (green), info (blue), warning (orange), alert (red) messages.
2021-02-27 14:36:15 +01:00
Stefan Dej c4ccfce216 Merge remote-tracking branch 'origin/master' 2021-02-27 01:01:55 +01:00
Stefan Dej f2ea6c039f feature: commit dialog for upgradeable components
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-27 01:01:47 +01:00
Eike Ahmels 1a18af1569 added docker npm-build stuff, fixed loading icon on non dynamic slider 2021-02-26 09:04:23 +01:00
Eike Ahmels d953cab29c new dynamic range on tool slider 2021-02-26 08:52:55 +01:00
Stefan Dej 222bd60d9e Merge pull request #214 from lixxbox/patch-3
docs: theme warning fix
2021-02-25 21:45:40 +01:00
lixxbox 85bd5279f5 docs: theme warning fix 2021-02-25 21:37:03 +01:00
Stefan Dej a0d21f6664 Merge pull request #213 from lixxbox/patch-2
fix typo
2021-02-25 21:04:33 +01:00
lixxbox 8b7756aea7 fix typo 2021-02-25 20:25:49 +01:00
Stefan Dej fe1f659c51 fix layout of docs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-24 23:29:45 +01:00
Stefan Dej c2eeabe165 fix layout
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-24 23:12:29 +01:00
Stefan Dej fbdacef932 cleanup adaptive mjpeg-streamer functions
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-24 22:41:08 +01:00
Stefan Dej c22d0c2040 Merge pull request #206 from freasy/master
new docker-compose
2021-02-24 22:38:04 +01:00
Eike Ahmels c63fd161c2 and again 2021-02-24 22:26:20 +01:00
Eike Ahmels eac1d69cf7 reverted package-lock 2021-02-24 22:21:31 +01:00
Eike Ahmels 01df98b8ec merged upstream master 2021-02-24 22:11:46 +01:00
Stefan Dej fa01bfac39 Revert "Delete package-lock.json"
This reverts commit 8bce2467a0.
2021-02-24 22:06:43 +01:00
Stefan Dej 8bce2467a0 Delete package-lock.json 2021-02-24 20:59:51 +01:00
Eike Ahmels 626d76e852 updated development documentations, added comments to api Dockerfile 2021-02-24 10:29:54 +01:00
Eike Ahmels 0895026c02 removed fan_misc changes from this pr 2021-02-24 10:19:57 +01:00
Eike Ahmels 0b2d17d633 added example for restarting npm run serve 2021-02-24 09:35:02 +01:00
Eike Ahmels be821f913d added port to documentation 2021-02-23 10:09:19 +01:00
dewi-ny-je baa4d9b416 Added infor about presets gcode
Specified that gcode is executed after the temperatures are set.
2021-02-23 00:19:26 +01:00
Stefan Dej 2be28ab463 cleanup adaptive mjpeg-streamer functions
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 23:26:00 +01:00
Rejdukien cbd9d6ea75 Cleanup and change from switch to select element
Signed-off-by: Rejdukien <Rejdukien@users.noreply.github.com>
2021-02-22 22:50:08 +01:00
Rejdukien b204373dd9 Change from websockets to regular pull-based approach 2021-02-22 22:50:08 +01:00
Rejdukien 5b2dad6c32 PyImageStreamer websocket support 2021-02-22 22:50:08 +01:00
Stefan Dej 14195daa5a optimize dataset color and chart hover
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 22:19:43 +01:00
Stefan Dej 389c162878 feature: save last setting of ExtruderPanel.vue in .mainsail.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 20:34:02 +01:00
Stefan Dej 1217927fae redesign color points in temperature panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 19:50:13 +01:00
Stefan Dej 306d510719 fix axis label in tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 19:48:55 +01:00
Stefan Dej a3d4497577 hide color color col in temperatures panel if the chart is hidden
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 19:37:16 +01:00
Eike Ahmels 46728ded75 added .theme for docker env to gitignore 2021-02-22 15:03:41 +01:00
Eike Ahmels 7c07db946d fix composer with two containers now, added documentation and more docker/run commands 2021-02-22 14:52:09 +01:00
Eike Ahmels a167a14f12 new docs for development docker and standalone 2021-02-22 11:04:42 +01:00
Eike Ahmels 9a84111fb3 removed console.log 2021-02-22 10:34:16 +01:00
Eike Ahmels 81541d33f7 new respect off_below and max_power for fans 2021-02-22 10:33:12 +01:00
Eike Ahmels 7e471ab995 fix default config for beeing able to "print" with simulavr 2021-02-22 10:02:30 +01:00
Eike Ahmels 7b1ff60adc new docker-compose 2021-02-22 09:11:02 +01:00
Stefan Dej c00da9bae3 bugfix: display cura thumbnail on dashboard status panel
add cura thumbnail in docs

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-22 00:24:26 +01:00
Stefan Dej a2fae98f28 change default tmepchart update dataset interval
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej cb6706415e bugfix: chart rendering disabled when the chart is hidden
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej e872c3e975 tempchart: add units to y axis
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej be52358121 push version number to 1.3.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 2db574effd feature: add configable chart rendering intervals
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 0128831423 bugfix: disable rendering of tempchart, when dashboard is not focused
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej ab79857fbe fix autoscale maxTemp of tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 93f71e1f18 bugfix: fix loading values of .mainsail.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 184d2430c4 update heightmap lib
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej a37eb272ac fix responsive options in tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 7e48b08f81 feature: customizeable tempchart length (moonraker: temperature_store_size)
bugfix: autoscale chart (ignore hidden series)

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej d1d84953a1 fix responsive issue with the tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 502b5ac7c1 bugfix: addition sensors cannot be hide from heaters & temperature_fan in temperatures list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej d8dff1affa test heightmap with echarts.js
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej 6aa99bc75f finishing temp chart with echarts.js
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-21 22:44:27 +01:00
Stefan Dej ac24c8a47a Merge remote-tracking branch 'origin/master' 2021-02-20 21:37:12 +01:00
Stefan Dej 8ccd018c21 update quicktips > additional-sensors: rpi_temperature to temperature_host
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-20 21:37:00 +01:00
FrYakaTKoP 2634b37755 docs: custom.css slight reformat
Signed-off-by: Christoph Frei fryakatkop@gmail.com
2021-02-14 00:15:42 +01:00
FrYakaTKoP aaf50a403d docs: add custom.css example
Signed-off-by: Christoph Frei fryakatkop@gmail.com
2021-02-14 00:15:42 +01:00
FrYakaTKoP 5f06da45cf docs: update manager config in manual setup
new updatemanager config style in manual setup

Signed-off-by:  Christoph Frei <fryakatkop@gmail.com>
2021-02-13 03:09:23 +01:00
Stefan Dej 33bc3673ae bugfix: refresh metadata on refresh directory
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-11 20:42:40 +01:00
Stefan Dej 74f104f1a4 push version number
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-09 22:55:15 +01:00
Stefan Dej 9ccc3f69a3 last fixes for control panel customizing
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-09 22:23:20 +01:00
Stefan Dej 0d2f9bd8d8 bugfix: fix order in console from preset
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-08 22:25:23 +01:00
Stefan Dej 28aa03a55f remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 23:19:22 +01:00
Stefan Dej d891ec0800 bugfix: only allow positiv values in control and extruder settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 23:00:53 +01:00
Stefan Dej 767a9403fd bugfix: editing existing preset doesn't work after add another heater (fix #182)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 22:33:48 +01:00
Stefan Dej 6fb8d16143 bugfix: colorpicker return object instead of string (fix #193)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 22:16:10 +01:00
Stefan Dej 0cffe5f235 disable debug output, fixed typo
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 21:50:02 +01:00
Stefan Dej f634872297 bugfix: save only hex values of chart colors
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 21:50:02 +01:00
Stefan Dej 91014a7349 feature: hide additional sensors in temp list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 21:50:02 +01:00
Stefan Dej 850eecd600 add speed in chart tooltip
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 21:50:02 +01:00
Stefan Dej fff66f0c3b feature: hide additional sensors
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 21:50:02 +01:00
Stefan Dej 3749b76162 feature: add customize feedrate & feed distances to ExtruderPanel.vue (fix #158)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 21:36:46 +01:00
Stefan Dej 88ac7a5cae feature: add customize feedrate for ControlPanel.vue (fix #49)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 03:26:06 +01:00
Stefan Dej eb123ffc01 feature: add preheat function in gcode files context menu
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 02:42:43 +01:00
Stefan Dej 411087434c feature: add disk usage to gcode-files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-07 00:58:40 +01:00
Stefan Dej 8db37259e1 feature: add update notification
feature: display branch if not master in UpdatePanel.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-06 23:57:54 +01:00
Stefan Dej 3a03d93fef bugfix: add vertical divider for better "button feeling"
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-06 22:23:48 +01:00
Stefan Dej 42071ae422 feature: process notify_klippy_shutdown from moonraker
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-06 21:56:57 +01:00
Stefan Dej aeb6ae1ec9 feature: disable power devices with attribute "locked_while_printing" in moonraker while printing
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-06 21:39:04 +01:00
Stefan Dej 837f6641d0 bugfix: esp32 cam or ustreamer link fix bypassCache append (fixed #185)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-06 02:20:08 +01:00
Stefan Dej 7a139d68c5 bugfix: remove ":" in ConnectingDialog.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-04 21:45:54 +01:00
lixxbox 24bfb8bc58 hotfix: mainsail docs logo
I accidentally removed the logo from the config during the recent commit.
2021-02-04 12:29:06 +01:00
Stefan Dej 390bb40c69 fix some docs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-03 21:05:10 +01:00
lixxbox 84470463fe remove duplicates 2021-02-03 20:51:50 +01:00
lixxbox f9c989793c adding quicktips and some minor changes to the docs 2021-02-03 20:51:50 +01:00
Stefan Dej b0044f3d2b push version number
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:57:25 +01:00
Stefan Dej e2e496c31e bugfix: update metadata by override gcode file
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:56:06 +01:00
Stefan Dej 8363932ae9 bugfix: fixed tooltip css
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:23:44 +01:00
Stefan Dej f958027671 feature: add additional sensor support in temperature panel (bme280...)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:23:44 +01:00
Stefan Dej 4b678468ab bugfix: duplicate preset entries in tools combobox
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:23:44 +01:00
Stefan Dej 9090c60038 feature: add hover marker in tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:23:44 +01:00
Stefan Dej 35955d4899 feature: add combobox for target temp with preset values
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:23:44 +01:00
Stefan Dej 4a58f0c3e2 feature: add zoom in tempchart
feature: add combine tooltip in tempchart

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:23:44 +01:00
Stefan Dej 4003166000 feature: save chart settings in mainsail.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:23:44 +01:00
Stefan Dej 9888d796bd add power to tempHistory
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:23:44 +01:00
Stefan Dej 8a8587786a feature: add autoscale tempchart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-31 01:23:44 +01:00
Stefan Dej 64c6790d3a bugfix: miscellaneous sorting (pwm entries before non pwm)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-30 02:33:29 +01:00
Stefan Dej 28998090e6 bugfix: block upload by drag&drop gcode upload during a print (fixed #163)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-30 02:19:06 +01:00
Stefan Dej 87e1ccb384 bugfix: duplicate event history
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-30 02:09:59 +01:00
Stefan Dej e5469b47ca bugfix: allow .ufp and show thumbnails
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-27 21:03:44 +01:00
Stefan Dej a72af00c0a push version number to v1.0.2
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 21:45:54 +01:00
Stefan Dej 576f3ee4fa bugfix: thumbnails in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 21:40:14 +01:00
Stefan Dej 2ee53b26bb push version number
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 18:02:18 +01:00
Stefan Dej 414a05bf7b bugfix: fixed updateManager order
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 17:05:39 +01:00
Stefan Dej bb83dcda11 type in MinSettingsPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 15:47:32 +01:00
Stefan Dej 4f34b63fc0 bugfix: fixed problem with older moonraker version (registered_directories)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 15:44:26 +01:00
Stefan Dej ae058ca2d0 bugfix: fix undefined dir in filetree
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 15:01:24 +01:00
Stefan Dej 53e394eddd bugfix: hide docs in ConfigFilesPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 15:00:34 +01:00
Stefan Dej 25221ca6cb feature: redesign MoonrakerFailedPluginsPanel.vue and MinSettingsPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 14:57:58 +01:00
Stefan Dej e7999d5577 bugfix: load thumbnails between 32-64px in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-24 14:57:20 +01:00
Rufo Sanchez 9545fc76bb Reduce CPU utilization of progress circle
The value of the math progress circle winds up calculating progress to
an incredibly fine degree, which causes hundreds of updates and
recalculations. Changing the progress circle to round to the closest
percentage greatly reduces the number of updates, dropping the browser's
CPU usage by 10-20%.
2021-01-24 00:15:45 +01:00
Stefan Dej 3e0607fc9b bugfix: load thumbnails between 32-64px in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 23:51:37 +01:00
Stefan Dej f6eb37928b bugfix: fix margins in edit preset dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 23:17:42 +01:00
Stefan Dej e16694eae8 bugfix: firefox > edit presets > checkbox and input remove linebreak
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 23:12:30 +01:00
Stefan Dej d786d88348 bugfix: add warning when saving a empty preset
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 23:05:58 +01:00
Stefan Dej bce06f0e1b bugfix: fixed duplicate printers after browser sleep
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 19:53:25 +01:00
Stefan Dej 294f48124f bugfix: add close/exit button in SelectPrinterDialog.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 19:29:46 +01:00
Stefan Dej cc77c47d54 type in WebcamPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 19:25:40 +01:00
Stefan Dej 6a0f19926e refresh webcam little code cleanup
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 19:25:13 +01:00
Samori Gorse 45198d7d93 feat(refresh-webcam): Refresh webcam view on focus
Computers with agressive power management policies
tend to stop the webcam feed after getting to sleep.

This forces the webcam feed to be restarted on focus.
2021-01-23 18:57:57 +01:00
Stefan Dej 54c78e2735 bugfix: add heater change gcode in event list (console history)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 01:39:11 +01:00
Stefan Dej 659504f77e feature: restart moonraker if you click SAVE & RESTART of moonraker.conf
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 01:36:29 +01:00
Stefan Dej e81ba35909 update config editor topbar buttons responsive
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 01:30:16 +01:00
Stefan Dej feb9579ae1 update updateManager for multiclient support (https://github.com/Arksine/moonraker/pull/63)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-23 00:53:24 +01:00
Stefan Dej 35013e755c feature: add registered_directories in server init process
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-20 21:56:45 +01:00
Stefan Dej 4b5f03b886 bugfix: download config files (issue with url build)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-20 20:04:25 +01:00
Stefan Dej 7dc16da940 bugfix: add SelectPrinterDialog.vue hostname rule (http: && https: is invalid)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-20 20:00:43 +01:00
Stefan Dej 08bd7440a9 bugfix: add remotePrinter hostname rule (http: && https: is invalid)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-20 19:23:25 +01:00
Stefan Dej 2e0ba91e50 bugfix: change restart icons in KlippyStatePanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-20 19:16:23 +01:00
Stefan Dej ca79e3b63e bugfix: convertNamein preset panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-20 01:06:38 +01:00
Stefan Dej 9429e11645 push version number to 1.0.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-19 23:55:05 +01:00
Stefan Dej 7b90c32b96 bugfix: type in printer select dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-19 23:54:50 +01:00
Stefan Dej f2809d304c feater: add remotemode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-19 23:10:43 +01:00
Stefan Dej 1d86c22126 rename peripherie to miscellaneous
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-19 23:08:09 +01:00
Stefan Dej d767f50bbb feature: convert heater, fan & sensor names
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-19 23:08:09 +01:00
Stefan Dej a6c4dd75f1 bugfix: fixed favicon glitches
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-19 23:08:09 +01:00
Stefan Dej bd44c5608a bugfix: change colors and put lines in the front of the temp chart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-19 23:08:09 +01:00
Stefan Dej 97012256f6 bugfix: disable preset button during a print
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-19 23:08:09 +01:00
Stefan Dej 5ee8e69d81 Update CNAME 2021-01-19 22:59:36 +01:00
Stefan Dej d05fa70832 bugfix: disable update button during print in UpdatePanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-19 20:26:40 +01:00
Stefan Dej edf1507359 bugfix: fix nginx config
bugfix: disable upload limit in nginx config
bugfix: disable cache for index.html

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-18 23:27:20 +01:00
Stefan Dej bb831cd22f bugfix: add unit to requested_speed
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-18 20:54:52 +01:00
Stefan Dej 423d2eaa88 bugfix: layer_count to 0 until the print starts
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-18 20:53:33 +01:00
Stefan Dej 92679b001a bugfix: unknown attribute in farm printer getter
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-18 20:23:02 +01:00
Stefan Dej 21c01b0de7 bugfix: favicon wrong url
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-18 20:20:39 +01:00
Stefan Dej 0ae1b32a56 bugfix: dashboard status panel and farm printer panel -> different eta time
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-18 00:14:32 +01:00
Stefan Dej 7cda0f7058 feature: add custom gcode to presets
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-17 23:00:37 +01:00
Stefan Dej fe246393ea feature: add HomeAll (G28) button in Heightmap.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-17 23:00:37 +01:00
Stefan Dej a512743038 bugfix: topbar SAVE_CONFIG button doesnt work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-17 23:00:37 +01:00
ace 645084700d simplify nginx config in setup documentation 2021-01-17 19:55:32 +01:00
Stefan Dej b784b3f277 bugfix: reload for klippy state message
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-17 01:51:52 +01:00
Stefan Dej c5999221bc feature: add preheat & cooldown function in ToolsPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-17 01:32:26 +01:00
Stefan Dej d1cb7f2def bugfix: StatusPanel.vue text no warp
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-16 19:46:59 +01:00
Stefan Dej 6927ce6038 bugfix: save config without restart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-16 17:50:19 +01:00
Stefan Dej 4579129a4f feature: upload & start button in topbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-16 02:25:34 +01:00
Stefan Dej 5fd89c2600 bugfix: gcode_position unknown fixed in StatusPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-16 02:25:16 +01:00
Stefan Dej 354f6e9250 feature: close top corner menu after all functions except power devices
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-16 01:44:15 +01:00
Stefan Dej 9e6e8c1290 bugfix: change sync icon to restart icon in top corner menu
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-16 01:37:22 +01:00
Stefan Dej 7164dd7c3c feature: add klipper config references link in editor
feature: add save & restart button in editor

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-16 01:36:42 +01:00
Stefan Dej b38b052004 feature: add requested speed to StatusPanel.vue during print
feature: add ETA to StatusPanel.vue
feature: add current & max layer to StatusPanel.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-16 01:26:40 +01:00
Stefan Dej ff366ee966 bugfix: ControlPanel.vue padding top during a print
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-15 22:03:59 +01:00
Stefan Dej dc1a7dfe03 bugfix: console autocomplete -> fixed addEvent attributes
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-15 21:35:10 +01:00
Stefan Dej d2d5d3da0c bugfix: delete margin top klipper state panel
bugfix: peripherie pwm state true (check value)

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-15 00:39:03 +01:00
Stefan Dej 03322739d5 update packages
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-15 00:24:56 +01:00
Stefan Dej 31b4d4cb3d feature: display reprint & clear print button in print_state error
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-15 00:24:32 +01:00
Stefan Dej d2d8546bc9 bugfix: uppercase every first letter in peripherie names
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-14 23:35:29 +01:00
Stefan Dej 93c952cabb feature: add clear print stats button in complete state
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-14 00:32:24 +01:00
Stefan Dej 02f9f9a1d4 feature: add output_pin to PeripheriePanel.vue (fan panel before)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-14 00:25:32 +01:00
Stefan Dej e3607c8f3d feature: add detached state in update manager
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-13 00:21:48 +01:00
Stefan Dej 2b08e34ba7 feature: show klipper & moonraker branch on hover
feature: disable update buttons during a print

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-12 23:44:30 +01:00
Stefan Dej 747722ec2c feature: hide mainsail in the update manager in remoteMode
bugfix: fixed padding bottom of the close button in the UpdateDialog.vue

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-12 23:13:06 +01:00
Stefan Dej 0befcea658 bugfix: clear new printer objects on reset
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-12 23:02:33 +01:00
Stefan Dej ff3cf167ad fixed addEvent commits
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-12 22:46:29 +01:00
Stefan Dej c8cff6d3d8 feature: add gcodeStore types (respond, command)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-12 21:46:17 +01:00
Stefan Dej 397d9b8a7c bugfix: tool input is empty -> klipper error unable to parse
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-12 00:46:24 +01:00
Stefan Dej 84f2b6a473 bugfix: switching printers in remoteMode change to single mode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-11 22:48:23 +01:00
Stefan Dej b6d20f20ee feature: moonraker failed_plugin output on dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-11 00:14:15 +01:00
Stefan Dej 13859d3832 feature: add moonraker update notifications
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-10 03:27:42 +01:00
Stefan Dej b88ebf38c7 fix package list tooltip width
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-10 02:55:53 +01:00
Stefan Dej 5831e43fba feature: add farm mode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-10 02:53:17 +01:00
Stefan Dej 21669f11f7 add discord invite link
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-09 20:38:18 +01:00
Stefan Dej 7b20b47d21 add .version file to build
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-09 19:46:31 +01:00
Stefan Dej 8d15e59e35 update manual setup guide and kiauh description
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-06 14:09:22 +01:00
Stefan Dej 8ee93d1c4a update virtual_sdcard path to gcode_files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-06 01:29:18 +01:00
Stefan Dej 0b23e512e6 update kiauh guides
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-06 00:54:29 +01:00
Stefan Dej 7ff060edff update mainsailOS and kiauh guides
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-06 00:46:07 +01:00
Stefan Dej 0bfc856606 update mainsailOS and kiauh guides
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-06 00:37:19 +01:00
Stefan Dej 3c78c5af58 add mainsailOS and kiauh guides
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-06 00:31:55 +01:00
Stefan Dej efbbbb0142 fixed typo & order of installation
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-04 20:41:11 +01:00
Stefan Dej d57f68b511 bugfix: only display 32x32 thumbnails in gcode files list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-03 03:48:58 +01:00
Stefan Dej 64f473e0c6 fixed typo "dashboard". thx Mak
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-02 17:29:09 +01:00
Stefan Dej a2863f2141 Create CNAME 2021-01-02 17:22:25 +01:00
Stefan Dej ef3b179339 update vuetify to 2.4.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-02 03:36:22 +01:00
Stefan Dej 2bceb2b24f update vuetify to 2.4.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-01-02 03:27:03 +01:00
Stefan Dej aaf934eaae push to v0.4.1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-31 01:41:22 +01:00
Stefan Dej e44e3bc540 feature: add multi file upload in gcode-files & config-files
feature: add upload status in config-files

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-31 01:37:58 +01:00
Stefan Dej 6856c9a99f bugfix: delete files with special chars in ConfigFilesPanel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-30 22:53:42 +01:00
Stefan Dej d74e38d0ba bugfix: delete files with special chars (fix #149)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-30 22:31:15 +01:00
Stefan Dej 4ec5ab0f53 change UpdateDialog to dark mode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-30 21:44:42 +01:00
Stefan Dej 8226c32bb3 exclude sourceMaps to build release
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-30 05:22:41 +01:00
Stefan Dej 99f963df26 feature: gcode files fileupload progress
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-30 04:32:14 +01:00
Stefan Dej 07072ce2a1 feature: add customizing favicons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-30 00:50:03 +01:00
Stefan Dej 983c5c9bda feature: add customizing sidebar logo
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-29 23:40:40 +01:00
Stefan Dej a8ea45d53c feature: add log during a update
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-29 23:20:14 +01:00
Stefan Dej 595e5bb4a0 upload customize guide
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-29 17:36:09 +01:00
Stefan Dej 2e7290210f upload customize guide
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-29 17:12:22 +01:00
Stefan Dej 9152934f9d update mainsail setup guide
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-28 23:59:49 +01:00
Stefan Dej 02eab15fe5 bugfix: first column width of gcode files & config files and centering the icons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-28 17:02:58 +01:00
Stefan Dej 8d12bac8c8 bugfix: update manager > update mainsail button show the wrong state
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-27 22:02:22 +01:00
Stefan Dej 64b65454b8 update guide & package.json to V0.4.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-27 21:38:49 +01:00
Stefan Dej daa4fd82a0 make top corner menu smaller
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-27 21:35:00 +01:00
Stefan Dej 9a58f58245 update default gui settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-27 19:53:19 +01:00
Stefan Dej f51e8fafcc bugfix: move files in gcode files. error/success message don't work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-27 19:19:20 +01:00
Stefan Dej 5697792504 feature: update manager -> add loading to sync button
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-27 01:20:03 +01:00
Stefan Dej 583aa2b64b feature: restart services (moonraker, klipper)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-27 01:15:53 +01:00
Stefan Dej 72f82504e9 bugfix: tempchart doestn't work after FW_RESTART
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-27 00:30:36 +01:00
Stefan Dej 2323278b8e code cleanup
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-26 23:50:15 +01:00
Stefan Dej 3c217e1161 feature: hide temperature output in console and add custom filters
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-26 23:36:09 +01:00
Stefan Dej 6f4f33f1a6 bugfix: filament runout sensor new design / rework
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-26 21:32:15 +01:00
Stefan Dej 339dda6455 feature: update manager for klipper, moonraker, mainsail & os packages
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-26 21:15:37 +01:00
Stefan Dej 974b7aab28 bugfix: miniconsole col width
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-26 00:25:46 +01:00
Stefan Dej 15cb4232e7 feature: colorize console output & input
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-16 01:15:01 +01:00
Stefan Dej bca27fadb7 bugfix: loading buttons after a error/timeout
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-16 00:00:06 +01:00
Stefan Dej 8aa6338057 bugfix: mobile view in heightmap (not finished)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-15 22:22:35 +01:00
Stefan Dej 8ae2e6defd bugfix: save hidden columns in g-code files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-15 21:43:32 +01:00
Stefan Dej dc4f4f250f update install guide
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-14 22:16:04 +01:00
Stefan Dej d36ba49f1f Merge remote-tracking branch 'origin/master' 2020-12-14 00:11:31 +01:00
Stefan Dej b4e311277a bugfix: console responsive select & datetime
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-14 00:11:18 +01:00
Stefan Dej 1274b73470 Update FUNDING.yml 2020-12-13 21:27:07 +01:00
Stefan Dej e40a76f085 fixed update-guide
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-11 20:51:51 +01:00
Stefan Dej 58427f5bc3 typo update-guide
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-10 22:28:50 +01:00
Stefan Dej 3bc1c58fed update update-guide
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-10 22:25:59 +01:00
Stefan Dej c3b442c43f feature: disable save_config during a print
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-10 00:52:06 +01:00
Stefan Dej 131a917171 feature: tool panel > temperature_sensor > tooltip on mouseover (min/max)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-10 00:08:57 +01:00
Stefan Dej 664ed54cd0 feature: display PWM value in heater list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-09 23:54:43 +01:00
Stefan Dej ea932e85f0 feature: variable max temp from temp chart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-09 23:54:13 +01:00
Stefan Dej 8ee22269e2 bugfix: show controls in paused state, reorder panels dashbaord
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-09 23:51:56 +01:00
Stefan Dej 35112e2ca0 bugfix: hide macros with _ prefix on dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-09 21:34:34 +01:00
Stefan Dej b0a3d49cc0 bugfix: col width in klippy-state disconnected
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-09 21:25:13 +01:00
Stefan Dej 57ca568bbe feature: move power switches to top corner navi
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-09 00:43:31 +01:00
Stefan Dej d1401d321a feature/bugfix: rework heightmap (add scale option, modify workflow)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-09 00:38:30 +01:00
Stefan Dej b1e2c280e5 bugfix: startup without running klipper instance
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-08 23:13:36 +01:00
Stefan Dej 7200cfac68 feature: update of the heightmap
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-07 00:03:53 +01:00
Stefan Dej ac0f570ec2 feature: custom sidebar background image & custom css
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 21:54:03 +01:00
Stefan Dej 53049b79a6 feature: hide hidden files in config files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 16:56:51 +01:00
Stefan Dej caead858fe bugfix: console doesnt work with new loadings store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 15:57:03 +01:00
Stefan Dej 0bb53fdde7 bugfix: change gui.json to .mainsail.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 15:45:55 +01:00
Stefan Dej 3747682538 Create FUNDING.yml 2020-12-05 04:30:00 +01:00
Stefan Dej 20e748cfce bugfix: responsive correction for config files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 04:04:24 +01:00
Stefan Dej 940f3bd400 code cleanup
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 04:01:13 +01:00
Stefan Dej c192cc2f2d feature: customizable sidebar background
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 03:50:39 +01:00
Stefan Dej 1b632c2cca feature: Console Dashboard -> input field
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-05 01:55:51 +01:00
Stefan Dej f5d8913133 bugfix: fix responive pagination in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-04 21:35:08 +01:00
Stefan Dej fab7de1ba7 cleanup dependencies
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-04 21:13:39 +01:00
Stefan Dej 6c519bfb29 bugfix: responsive fix in gcode-files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-04 21:12:23 +01:00
Stefan Dej a41ad9aa64 bugfix: fixes last bugs of new temp chart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-04 19:48:04 +01:00
Stefan Dej 5c6e5db9c4 first implementation of canvasjs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-04 19:48:04 +01:00
Stefan Dej 59a6a8476c delete not used files from canvas
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-04 19:48:04 +01:00
Stefan Dej 76e0518446 first test with canvasjs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-04 19:48:04 +01:00
Stefan Dej 587f54d228 bugfix: min_extrude_temp extruder control fallback
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-12-04 01:01:14 +01:00
translucentfocus eaa8288875 Optimized Imgs / Scaled & Repositioned Maskables 2020-11-28 13:11:45 +01:00
Stefan Dej 50ea376736 update download link mainsail
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-28 03:32:15 +01:00
Stefan Dej 460714e775 update links
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-28 02:40:38 +01:00
Stefan Dej b668fb6b48 typos docs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-28 02:34:32 +01:00
Stefan Dej 8f11d50915 update docs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-28 02:31:38 +01:00
lixxbox d13642cfd2 renamed: docs/about.md -> docs/about.md.draft
modified:   docs/index.md
2020-11-27 23:28:52 +01:00
lixxbox 94858b9340 new file: docs/_config.yml
new file:   docs/_sass/color_schemes/mainsail-dark.scss
	new file:   docs/_sass/color_schemes/mainsail.scss
	new file:   docs/about.md
	new file:   docs/additional-support/index.md
	new file:   docs/additional-support/shares.md.draft
	new file:   docs/additional-support/slicer-upload.md
	new file:   docs/additional-support/thumbnails.md
	new file:   docs/additional-support/webcam.md.draft
	new file:   docs/assets/img/additional/FileUpload-PrusaSlicer-2.2.0.png
	new file:   docs/assets/img/additional/PrusaSlicer-thumbnails.png
	new file:   docs/assets/img/additional/SuperSlicer-thumbnails.png
	new file:   docs/assets/img/additional/large-preview.png
	new file:   docs/assets/img/logo-mainsail-light.png
	renamed:    docs/images/logo-mainsail.png -> docs/assets/img/logo-mainsail.png
	new file:   docs/assets/img/logo.png
	new file:   docs/assets/img/logo.svg
	new file:   docs/assets/img/screenshot.png
	deleted:    docs/images/screenshot-dashboard.png
	deleted:    docs/images/screenshot-gcode-thumbnail.png
	deleted:    docs/images/superslicer-upload.png
	new file:   docs/index.md
	new file:   docs/necessary-cfg.md
	new file:   docs/setup-guide/index.md
	new file:   docs/setup-guide/klipper.md
	new file:   docs/setup-guide/mainsail.md
	new file:   docs/setup-guide/moonraker.md
	new file:   docs/setup-guide/operating-system.md
2020-11-27 23:28:52 +01:00
Stefan Dej 605c6ee05e bugfix: PWA maskable icons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-27 22:21:20 +01:00
Stefan Dej 31667347f9 bugfix: temperature_sensor target temp in chart
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-27 20:00:04 +01:00
Stefan Dej 99529defb8 bugfix: change printer name
bugfix: favicon percent icon

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-27 18:48:37 +01:00
Stefan Dej 188bce0aa4 bugfixes
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-26 23:00:27 +01:00
Stefan Dej 98f50790c0 bugfixes: missing config update to vuex models, ControlPanel.vue buttons equal width, ConfigFilesPanel.vue default path
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-22 20:02:17 +01:00
meteyou 1e2c2d15e6 voron clean & update favicon, icons & pwa
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-22 01:35:27 +01:00
meteyou cb602518f0 feature: redesign panel headers
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-21 22:52:54 +01:00
meteyou 8f363ec1c1 feature: dynamic temperature-sensor icons + header minimize from temperature panel
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-21 18:20:58 +01:00
meteyou f26aff2085 feature: update PowerControlPanel.vue > new moonraker version of power plugin
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-21 17:30:28 +01:00
meteyou fcae508d19 bugfix: update to smaller header
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-21 16:51:53 +01:00
meteyou d9b5486346 bugfix: update to smaller header
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-21 16:49:27 +01:00
meteyou a333b8afa6 bugfix: upload new navi background
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-21 10:37:18 +01:00
meteyou 672c6b3f32 bugfix: background color on scroll
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-21 10:13:41 +01:00
meteyou ebaab6324d feature: save countPerPage from gcode files & config files in gui.json
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-20 20:28:21 +01:00
meteyou 6c01fc04f8 bugfix: fixed updaten heaters in ToolPanel
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-20 20:27:21 +01:00
meteyou 7756362a58 bugfix: fixed toastr bg colors and font
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-20 20:26:37 +01:00
meteyou 601d49fc4e bugfix: reprogramming button loadings
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-20 00:47:58 +01:00
meteyou 7b2d257db3 optimize console view
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-19 22:41:06 +01:00
meteyou 3fd3862bc5 renew dashboard sizes
feature: new estimated times

Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-19 22:14:39 +01:00
meteyou e9179e5bcd feature: new estimate time calculation
move getters to printer/getters

Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-19 00:29:59 +01:00
meteyou f068a2ef21 update packages
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-18 22:17:28 +01:00
meteyou 6da293b494 feature: debug .env.development.local.example for moonraker connection
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-18 21:21:43 +01:00
meteyou fe385d1558 bugfix: dashboard > tempchart
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-18 11:05:39 +01:00
meteyou d4785c0b27 bugfix: dashbaord > print settings > steps +/- buttons
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-18 11:04:38 +01:00
meteyou 894ef6912b bugfix: dashboard > MiniconsolePanel.vue > empty message line-height
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-18 09:15:34 +01:00
meteyou 3997c8b3a1 bugfix: machine limits -> max 0 on startup
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-17 22:22:48 +01:00
meteyou 5a4dfb492b bugfix: save gcodefiles settings
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-17 20:47:54 +01:00
meteyou 49c79c9eae bugfix: tool input number buttons hidden
bugfix: UFP thumbnail (only 300px)
bugfix: moonraker > websocket subscription
bugfix: miniconsole > different line baseline
bugfix: new metadata push > redirect to current file
feature: show/hide colums in gcode-files
feature: show/hide hidden files/dir
feature: display missing config sections
feature: display klippy-state in settings > machinies

Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-17 00:35:59 +01:00
meteyou 2bcf08e5ab typo: wikipedia -> wiki
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-13 21:17:08 +01:00
meteyou ce6843cf49 feature: Missing config panel on Dashboard.vue
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-09 23:17:52 +01:00
meteyou cf7cb122d1 move docs to github wiki
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-09 20:42:46 +01:00
meteyou a56050ca1c move docs to github wiki
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-09 20:41:48 +01:00
meteyou 39fdb75a96 move docs to github wiki
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-09 20:40:39 +01:00
meteyou f6687a944d feature: show klippy state panel in settings > machine & rename SystemPanel.vue to LogfilesPanel.vue.
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-08 21:56:44 +01:00
meteyou c513a7ca51 bugfix: print metadata by direct upload & print form slicer
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-08 21:28:13 +01:00
meteyou 616f84edbe feature: show/hide columns in G-Code-Files
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-08 18:29:31 +01:00
meteyou fefabb1ef7 delete error toasts
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-08 00:33:38 +01:00
meteyou 189fd3ddd7 update update.md for moonraker dep.
Signed-off-by: meteyou <meteyou@gmail.com>
2020-11-07 23:22:26 +01:00
Leonard Freimuth e796b27145 Update App.vue 2020-11-05 21:31:41 +01:00
Stefan Dej ac32eca665 fix mini console
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-27 23:27:12 +01:00
Stefan Dej f94402b94b update version number, installation.md, update.md to 0.2.6
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-27 23:06:48 +01:00
Stefan Dej 91f2e9b6d8 feature: modify dashboard console for more message space
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-27 23:05:42 +01:00
Stefan Dej 0f955fbeb4 bugfix: machine-limits expander
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-27 22:44:11 +01:00
Randell L Hodges 6282356ddd clear fileupload after uploading 2020-10-27 19:50:27 +01:00
Randell L Hodges 9057bea653 Modified times now come as unix times 2020-10-27 19:45:21 +01:00
Stefan Dej d19bf2ee05 Update update.md and installation.md
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-25 00:21:46 +02:00
Stefan Dej f35cf70301 feature: rework the StatusPanel.vue
feature: add Sys Commands to the topbar

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-24 23:14:34 +02:00
meteyou 27308e44ab Merge pull request #108 from randellhodges/handle-gcode-response
handle gcode_store data format changes from moonraker
2020-10-24 16:10:56 +02:00
Randell L Hodges 0a5b664ded removed backwards handling of gcode_store 2020-10-24 09:07:40 -05:00
Randell L Hodges ece599595b handle gcode_store data format changes from moonraker 2020-10-24 08:52:41 -05:00
Stefan Dej c8f847ccc8 bugfix: generic heater in tool panel dont work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-18 15:48:24 +02:00
Stefan Dej ca1fd5d04e update update.md for MainsailOS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-17 13:38:20 +02:00
Stefan Dej 470a7633c5 bugfix: fix typo for gpio power devices
update update.md to 0.2.4

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-16 22:58:37 +02:00
218 changed files with 32656 additions and 6350 deletions

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
# hostname or ip from the moonraker instance
VUE_APP_HOSTNAME=printer.local
# port from the moonraker instance
VUE_APP_PORT=7125
# reconnect interval in ms
VUE_APP_RECONNECT_INTERVAL=5000
+12
View File
@@ -0,0 +1,12 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: meteyou
open_collective: # Replace with a single Open Collective username
ko_fi: mainsail
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
+8
View File
@@ -9,4 +9,12 @@ temp
.version
.versions
.changelog
.idea
package-lock.json
*.local
docker/gcode
docker/logs
docker/config/*.cfg
docker/config/*.conf
docker/config/.mainsail.json
docker/config/.theme
+5 -3
View File
@@ -2,14 +2,16 @@
Mainsail is a lightweight & responsive web interface for the [Klipper](https://github.com/KevinOConnor/klipper)
3D printer firmware. It communicates with the [Moonraker (Klipper-API)](https://github.com/arksine/moonraker) from [Arksine](https://github.com/arksine).
![screenshot-dashboard](docs/images/screenshot-dashboard.png)
![screenshot-dashboard](docs/assets/img/screenshot.png)
To begin using Mainsail start by [installing](docs/installation.md) it or read the [documentation](docs/README.md) for more informations.
To begin using Mainsail start by [installing](https://meteyou.github.io/mainsail/setup/) it or read the [pages](https://meteyou.github.io/mainsail/) for more informations.
For support join our discord server -> [https://discord.gg/skWTwTD](https://discord.gg/skWTwTD)
## Credit, sources and inspiration
* [Kevin O'Connor](https://github.com/KevinOConnor) for the awesome 3D printer firmware [Klipper](https://github.com/KevinOConnor/klipper)
* [Eric Callahan (arksine)](https://github.com/Arksine) for [Moonraker (Klipper API)](https://github.com/Arksine/moonraker). Without Moonraker, Mainsail would not be possible.
* [lixxbox](https://github.com/lixxbox) for the Mainsail logo
* [lixxbox](https://github.com/lixxbox) for the Mainsail logo & Docs
* [Vue.js](https://vuejs.org/): The Progressive JavaScript Framework
* [Vuetify](https://vuetifyjs.com/): Material Design Component Framework for Vue.js
+33
View File
@@ -0,0 +1,33 @@
version: "3.8"
services:
api:
build:
context: ./docker
dockerfile: api/Dockerfile
image: mainsail-stack-api/1
volumes:
- ./docker/config:/home/node/printer_config
- ./docker/logs:/tmp/logs
- ./docker/gcode:/home/node/gcode
container_name: ${APP_NAME}-stack-api
ports:
- 7125:7125
networks:
- dev_net
application:
build:
context: ./docker
dockerfile: Dockerfile
image: mainsail-stack-npm/1
volumes:
- ./:/home/node/mainsail
container_name: ${APP_NAME}-stack-npm
ports:
- 8080:8080
depends_on:
- api
networks:
- dev_net
networks:
dev_net:
driver: bridge
+15
View File
@@ -0,0 +1,15 @@
FROM node:buster AS base
EXPOSE 8080
RUN apt-get update
RUN apt-get install -y zip
COPY start-npm /usr/local/bin/start-npm
RUN chmod +x /usr/local/bin/start-npm
USER node
WORKDIR /home/node/mainsail
ENTRYPOINT ["start-npm"]
+66
View File
@@ -0,0 +1,66 @@
FROM debian:buster AS base
RUN groupadd --force -g 1000 node
RUN useradd -ms /bin/bash --no-user-group -g 1000 -u 1000 node
RUN apt-get update
RUN apt-get install -y sudo wget cmake swig git virtualenv python-dev libffi-dev build-essential libncurses-dev libusb-dev avrdude gcc-avr binutils-avr avr-libc dfu-util libnewlib-arm-none-eabi gcc-arm-none-eabi binutils-arm-none-eabi libusb-1.0
RUN mkdir /src
WORKDIR /src
RUN wget http://download.savannah.nongnu.org/releases/simulavr/libsim_1.1.0_amd64.deb
RUN apt install /src/libsim_1.1.0_amd64.deb
#prebuild files for simulavr, not needed currently, because we just build the python lib later
#RUN wget http://download.savannah.nongnu.org/releases/simulavr/simulavr_1.1.0_amd64.deb
#RUN apt install /src/simulavr_1.1.0_amd64.deb
#RUN wget http://download.savannah.nongnu.org/releases/simulavr/python3-simulavr_1.1.0_amd64.deb
#RUN apt install /src/python3-simulavr_1.1.0_amd64.deb
RUN cat /etc/passwd
RUN echo 'node ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/node && \
chown node:node -R ./
#if systemd is installed, we need to backup the current systemctl command
#RUN mv /bin/systemctl /bin/systemctl.bak
RUN ln -s /bin/true /bin/systemctl
USER node
WORKDIR /home/node
RUN git clone https://github.com/KevinOConnor/klipper
WORKDIR /home/node/klipper
COPY api/simulavr.config /home/node/klipper/.config
RUN make
RUN cp /home/node/klipper/out/klipper.elf /home/node/klipper/simulavr.elf
RUN rm /home/node/klipper/.config
COPY api/linux.config /home/node/klipper/.config
RUN make clean
RUN make
RUN chmod +x /home/node/klipper/scripts/install-debian.sh
RUN /home/node/klipper/scripts/install-debian.sh
WORKDIR /home/node
RUN git clone https://github.com/Arksine/moonraker
WORKDIR /home/node/moonraker
RUN sed -E 's/check_klipper\(\)/check_klipper() { return 0; }\nold()/' /home/node/moonraker/scripts/install-moonraker.sh > /home/node/moonraker/scripts/install-moonraker2.sh
RUN chmod +x /home/node/moonraker/scripts/install-moonraker2.sh
RUN /home/node/moonraker/scripts/install-moonraker2.sh
RUN sudo rm -f /bin/systemctl
#restore backed up systemctl command
#RUN sudo mv /bin/systemctl.bak /bin/systemctl
WORKDIR /home/node/
RUN git clone https://git.savannah.nongnu.org/git/simulavr.git
WORKDIR /home/node/simulavr
RUN make python
RUN make build
USER root
COPY api/run-api /usr/local/bin/run-api
RUN chmod +x /usr/local/bin/run-api
USER node
ENTRYPOINT ["run-api"]
+25
View File
@@ -0,0 +1,25 @@
CONFIG_LOW_LEVEL_OPTIONS=y
# CONFIG_MACH_AVR is not set
# CONFIG_MACH_ATSAM is not set
# CONFIG_MACH_ATSAMD is not set
# CONFIG_MACH_LPC176X is not set
# CONFIG_MACH_STM32 is not set
# CONFIG_MACH_PRU is not set
CONFIG_MACH_LINUX=y
# CONFIG_MACH_SIMU is not set
CONFIG_STEP_DELAY=2
CONFIG_BOARD_DIRECTORY="linux"
CONFIG_CLOCK_FREQ=50000000
CONFIG_LINUX_SELECT=y
CONFIG_USB_VENDOR_ID=0x1d50
CONFIG_USB_DEVICE_ID=0x614e
CONFIG_USB_SERIAL_NUMBER="12345"
# CONFIG_CUSTOM_STEP_DELAY is not set
CONFIG_INITIAL_PINS=""
CONFIG_HAVE_GPIO=y
CONFIG_HAVE_GPIO_ADC=y
CONFIG_HAVE_GPIO_SPI=y
CONFIG_HAVE_GPIO_I2C=y
CONFIG_HAVE_GPIO_HARD_PWM=y
CONFIG_HAVE_GPIO_BITBANGING=y
CONFIG_INLINE_STEPPER_HACK=y
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
PYTHONPATH="/home/node/simulavr/build/pysimulavr/" /home/node/klipper/scripts/avrsim.py -m atmega644 -s 20000000 -b 250000 /home/node/klipper/simulavr.elf &
/home/node/klippy-env/bin/python /home/node/klipper/klippy/klippy.py /home/node/printer_config/printer.cfg -l /tmp/logs/klippy.log -a /tmp/klippy_uds &
/home/node/moonraker-env/bin/python /home/node/moonraker/moonraker/moonraker.py -l /tmp/logs/moonraker.log -c /home/node/printer_config/moonraker.conf &
echo "Starting ..." >> /tmp/logs/klippy.log
tail -f /tmp/logs/klippy.log
+50
View File
@@ -0,0 +1,50 @@
CONFIG_LOW_LEVEL_OPTIONS=y
CONFIG_MACH_AVR=y
# CONFIG_MACH_ATSAM is not set
# CONFIG_MACH_ATSAMD is not set
# CONFIG_MACH_LPC176X is not set
# CONFIG_MACH_STM32 is not set
# CONFIG_MACH_PRU is not set
# CONFIG_MACH_LINUX is not set
# CONFIG_MACH_SIMU is not set
CONFIG_AVR_SELECT=y
CONFIG_STEP_DELAY=-1
CONFIG_BOARD_DIRECTORY="avr"
# CONFIG_MACH_atmega2560 is not set
# CONFIG_MACH_atmega1280 is not set
# CONFIG_MACH_at90usb1286 is not set
# CONFIG_MACH_at90usb646 is not set
# CONFIG_MACH_atmega32u4 is not set
# CONFIG_MACH_atmega1284p is not set
CONFIG_MACH_atmega644p=y
# CONFIG_MACH_atmega328p is not set
# CONFIG_MACH_atmega328 is not set
# CONFIG_MACH_atmega168 is not set
CONFIG_MCU="atmega644p"
CONFIG_AVRDUDE_PROTOCOL="arduino"
# CONFIG_AVR_FREQ_16000000 is not set
CONFIG_AVR_FREQ_20000000=y
# CONFIG_AVR_FREQ_8000000 is not set
CONFIG_CLOCK_FREQ=20000000
CONFIG_AVR_CLKPR=-1
CONFIG_AVR_STACK_SIZE=256
CONFIG_AVR_WATCHDOG=y
CONFIG_SERIAL=y
CONFIG_AVR_SERIAL_UART0=y
# CONFIG_AVR_SERIAL_UART1 is not set
CONFIG_SERIAL_PORT=0
CONFIG_SIMULAVR=y
CONFIG_SERIAL_BAUD=250000
CONFIG_USB_VENDOR_ID=0x1d50
CONFIG_USB_DEVICE_ID=0x614e
CONFIG_USB_SERIAL_NUMBER="12345"
# CONFIG_CUSTOM_STEP_DELAY is not set
CONFIG_INITIAL_PINS=""
CONFIG_HAVE_GPIO=y
CONFIG_HAVE_GPIO_ADC=y
CONFIG_HAVE_GPIO_SPI=y
CONFIG_HAVE_GPIO_I2C=y
CONFIG_HAVE_GPIO_HARD_PWM=y
CONFIG_HAVE_GPIO_BITBANGING=y
CONFIG_HAVE_STRICT_TIMING=y
CONFIG_INLINE_STEPPER_HACK=y
+14
View File
@@ -0,0 +1,14 @@
# moonraker.conf
[server]
host: 0.0.0.0
port: 7125
enable_debug_logging: True
config_path: /home/node/printer_config/
[authorization]
enabled: True
trusted_clients:
0.0.0.0/0
cors_domains:
*
+179
View File
@@ -0,0 +1,179 @@
[virtual_sdcard]
path: ~/gcode
[pause_resume]
[display_status]
[mcu]
serial: /tmp/pseudoserial
pin_map: arduino
baud: 250000
[stepper_x]
step_pin: PD7
dir_pin: !PC5
enable_pin: !PD6
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC2
position_endstop: 0
position_max: 235
homing_speed: 50
homing_retract_dist: 0
[stepper_y]
step_pin: PC6
dir_pin: !PC7
enable_pin: !PD6
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC3
position_endstop: 0
position_max: 235
homing_speed: 50
homing_retract_dist: 0
[stepper_z]
step_pin: PB3
dir_pin: PB2
enable_pin: !PA5
microsteps: 16
rotation_distance: 8
endstop_pin: ^PC4
position_endstop: 0.0
position_max: 250
homing_retract_dist: 0
[extruder]
max_extrude_only_distance: 100.0
step_pin: PB1
dir_pin: !PB0
enable_pin: !PD6
microsteps: 16
rotation_distance: 33.683
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PD5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA7
control: watermark
min_temp: 0
max_temp: 250
min_extrude_temp: 50
[heater_bed]
heater_pin: PD4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PA6
control: watermark
min_temp: 0
max_temp: 130
[fan]
pin: PB4
[heater_fan nozzle_fan]
pin: PB5
off_below: 0.0
shutdown_speed: 1.0
max_power: 1.0
[controller_fan mcu_fan]
pin: PB6
off_below: 0.2
shutdown_speed: 1.0
max_power: 1.0
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
#[display]
#lcd_type: st7920
#cs_pin: PA3
#sclk_pin: PA1
#sid_pin: PC1
#encoder_pins: ^PD2, ^PD3
#click_pin: ^!PC0
# The print bed can move so far to the front, that the nozzle can reach the
# plastic cover of the print bed heater cable (only when the bed is moved by
# hand). By homing the Y axis before the X axis, it is ensured the nozzle will
# not melt through the plastic part.
# BEWARE: You will lose the ability to home axes individually. The printer will
# always home all axes for every G28 command.
#[homing_override]
#gcode:
# G28 Y0
# G28 X0
# G28 Z0
[gcode_macro PAUSE]
rename_existing: BASE_PAUSE
default_parameter_X: 230 #edit to your park position
default_parameter_Y: 230 #edit to your park position
default_parameter_Z: 10 #edit to your park position
default_parameter_E: 1 #edit to your retract length
gcode:
SAVE_GCODE_STATE NAME=PAUSE_state
BASE_PAUSE
G91
G1 E-{E} F2100
G1 Z{Z}
G90
G1 X{X} Y{Y} F6000
[gcode_macro RESUME]
rename_existing: BASE_RESUME
default_parameter_E: 1 #edit to your retract length
gcode:
G91
G1 E{E} F2100
G90
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
BASE_RESUME
[gcode_macro CANCEL_PRINT]
rename_existing: BASE_CANCEL_PRINT
gcode:
TURN_OFF_HEATERS
CLEAR_PAUSE
SDCARD_RESET_FILE
BASE_CANCEL_PRINT
[gcode_macro START_PRINT]
default_parameter_BED_TEMP: 103.3
default_parameter_EXTRUDER_TEMP: 103.3
gcode:
# Start bed heating
M140 S103.3
# Use absolute coordinates
G90
# Reset the G-Code Z offset (adjust Z offset if needed)
SET_GCODE_OFFSET Z=0.0
# Home the printer
G28
# Move the nozzle near the bed
G1 Z5 F3000
# Move the nozzle very close to the bed
G1 Z0.15 F300
# Wait for bed to reach temperature
M190 S103.3
# Set and wait for nozzle to reach temperature
M109 S103.3
[gcode_macro END_PRINT]
gcode:
# Turn off bed, extruder, and fan
M140 S0
M104 S0
M106 S0
# Move nozzle away from print while retracting
G91
G1 X-2 Y-2 E-3 F300
# Raise nozzle by 10mm
G1 Z10 F3000
G90
# Disable steppers
M84
Executable
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
export APP_NAME=mainsail
if [ $# -gt 0 ]; then
if [ "$1" == "restart" ]; then
docker-compose restart "$2"
elif [ "$1" == "bash" ]; then
docker exec -it "$APP_NAME-stack-$2" bash
elif [ "$1" == "npm-build" ]; then
docker exec "$APP_NAME-stack-npm" npm run build
else
docker-compose "$@"
fi
else
docker-compose ps
fi
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env bash
if [ ! -d 'node_modules' ]; then
npm ci
fi
npm run serve
+1
View File
@@ -0,0 +1 @@
docs.mainsail.xyz
+1 -7
View File
@@ -1,7 +1 @@
# Overview
- [Installation](installation.md)
- [Update](update.md)
- [Macros](macros.md)
- [Slicer upload](slicer-upload.md)
- [Gcode thumbnails (PrusaSlicer & SuperSlicer only)](gcode-thumbnails.md)
Welcome to the Mainsail documentation. The [index](http://meteyou.github.io/mainsail) of the docs is here.
+15
View File
@@ -0,0 +1,15 @@
title: "Mainsail"
tagline: A web interface for Klipper
description: Mainsail is a lightweight & responsive web interface for the Klipper 3D printer firmware. It communicates with Moonraker (Klipper-API) from Arksine.
logo: "/assets/img/logo-mainsail.png"
# theme: just-the-docs
remote_theme: pmarsceill/just-the-docs
color_scheme: "mainsail"
search_enabled: true
defaults:
-
scope:
path: "" # an empty string here means all files in the project
values:
image: assets/img/rtfm.png
@@ -0,0 +1,17 @@
$body-background-color: darken($grey-dk-300, 3%);
$sidebar-color: $grey-dk-300;
$border-color: $grey-dk-200;
$body-text-color: $grey-lt-300;
$body-heading-color: $grey-lt-000;
$nav-child-link-color: $grey-dk-000;
$search-result-preview-color: $grey-dk-000;
$link-color: $red-300;
$btn-primary-color: $blue-200;
$base-button-color: $grey-dk-250;
$code-background-color: $grey-dk-250;
$search-background-color: $grey-dk-250;
$table-background-color: $grey-dk-250;
$feedback-color: darken($sidebar-color, 3%);
+49
View File
@@ -0,0 +1,49 @@
$link-color: $red-300;
.success {
margin: 32px 0px;
padding: 25px;
position: relative;
border-radius: 3px;
width: 100%;
display: block;
background-color: #f5f6fa;
border-left: 4px solid;
border-color: rgb(38, 203, 124);
}
.info {
margin: 32px 0px;
padding: 25px;
position: relative;
border-radius: 3px;
width: 100%;
display: block;
background-color: #f5f6fa;
border-left: 4px solid;
border-color: rgb(56, 132, 255);
}
.warning {
margin: 32px 0px;
padding: 25px;
position: relative;
border-radius: 3px;
width: 100%;
display: block;
background-color: #f5f6fa;
border-left: 4px solid;
border-color: rgb(247, 125, 5);
}
.alert {
margin: 32px 0px;
padding: 25px;
position: relative;
border-radius: 3px;
width: 100%;
display: block;
background-color: #f5f6fa;
border-left: 4px solid;
border-color: rgb(255, 70, 66);
}
+10
View File
@@ -0,0 +1,10 @@
---
layout: default
title: About
nav_order: 100
has_children: false
permalink: /about
---
# About Mainsail
trollolol
+44
View File
@@ -0,0 +1,44 @@
---
layout: default
title: Samba shares
parent: Additional Support
nav_order: 1
permalink: /additional/shares
---
## Samba shares
``sudo apt-get update``
``sudo apt-get install samba samba-common-bin``
> _passwort setzen - wird der schritt benötigt?_
``sudo smbpasswd -a pi​``
``sudo chmod -R 777 /home/pi/klipper_config``
``sudo chmod -R 777 /home/pi/sdcard``
``sudo nano /etc/samba/smb.conf``
```ini
[klipper_config]
comment = klipper config
path = /home/pi/klipper_config
writeable = Yes
only guest = Yes
create mask = 0777
directory mask = 0777
browseable = Yes
public = yes
[virtual_sdcard]
comment = virtual sdcard
path = /home/pi/sdcard
writeable = yes
only guest = yes
create mask = 0777
directory mask = 0777
browseable = yes
public = yes
```
``sudo service smbd restart``
+7
View File
@@ -0,0 +1,7 @@
---
layout: default
title: Webcam
parent: Additional Support
nav_order: 1
permalink: /additional/webcam
---
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

File renamed without changes.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

+27
View File
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generator: Adobe Illustrator 25.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 599.38 523.11" style="enable-background:new 0 0 599.38 523.11;" xml:space="preserve">
<style type="text/css">
.st0{fill:#E30613;stroke:#009640;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;}
.st1{fill:#D41216;}
.st2{fill:#D41216;stroke:#009640;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;}
.st3{fill:none;stroke:#009640;stroke-width:0;stroke-linecap:round;stroke-linejoin:round;}
.st4{display:none;}
.st5{display:inline;fill:#E73D26;}
.st6{display:inline;fill:none;}
</style>
<g id="Ebene_2">
<g>
<path class="st0" d="M382.29,142.98"/>
<path class="st1" d="M382.29,142.98L132.98,522.82L0,522.68L344.3,0l0,0C352.18,49.06,365.2,97.68,382.29,142.98"/>
<path class="st2" d="M413.28,213.54L208.5,522.92l132.94,0.19l135.03-206.33l0,0C452.69,284.29,431.53,249.77,413.28,213.54 L413.28,213.54"/>
<path class="st3" d="M599.38,447.69"/>
<path class="st3" d="M518.6,369.16"/>
<path class="st1" d="M599.38,447.69l-49.25,75.42L417,522.82l101.6-153.67l0,0C543.48,397.35,570.49,423.61,599.38,447.69 L599.38,447.69z"/>
</g>
</g>
<g id="Ebene_1" class="st4">
<path class="st5" d="M-45.42,426.29c0.34,0.34,97.62,1.14,107.04,0.94c0.94-0.07,1.75-0.74,2.29-2.08 c0.47-1.14,1.08-2.02,1.41-2.02s0.61-0.34,0.61-0.67c0-0.81,2.76-4.91,3.56-5.24c0.27-0.13,0.47-0.61,0.47-1.08 c0-0.74,0.61-1.61,3.29-4.84c0.34-0.47,0.47-1.01,0.27-1.21c-0.27-0.2-0.07-0.4,0.34-0.4c0.47,0,0.81-0.47,0.81-1.01 c0-0.47,0.47-1.21,1.08-1.55c0.61-0.34,1.08-0.87,1.08-1.21c0.07-0.54,3.09-5.58,3.9-6.32c0.2-0.2,0.94-1.41,1.61-2.69 c0.74-1.28,1.48-2.49,1.68-2.69c0.61-0.54,3.43-4.64,3.43-4.98c0-0.2,1.95-3.23,4.37-6.72s4.37-6.66,4.37-7.06 c0-0.34,0.2-0.74,0.54-0.87c0.54-0.27,3.5-4.37,3.5-4.91c0-0.2,0.34-0.74,0.74-1.21c0.34-0.47,2.22-3.23,4.17-6.19 c1.88-2.96,3.56-5.51,3.83-5.71c0.2-0.2,0.74-1.14,1.28-2.15c0.54-1.01,1.48-2.49,2.22-3.16c0.67-0.74,1.21-1.55,1.21-1.68 c0-0.61,12.98-20.17,13.65-20.64c0.34-0.2,0.47-0.61,0.34-0.81c-0.07-0.27,0.27-1.01,0.87-1.68c0.61-0.67,1.61-2.22,2.35-3.36 c0.67-1.21,1.48-2.15,1.82-2.15c0.27,0,0.4-0.27,0.13-0.61c-0.2-0.34,0.07-1.01,0.54-1.55c1.48-1.48,5.18-7.13,5.18-7.87 c0-0.4,0.34-0.74,0.67-0.74c0.4,0,0.67-0.47,0.67-1.01c0-0.54,0.34-1.01,0.67-1.01c0.4,0,0.67-0.4,0.67-0.94 c0-0.54,0.27-1.08,0.54-1.21c0.27-0.13,1.28-1.41,2.15-2.89c0.87-1.48,1.88-3.03,2.15-3.36c1.01-1.21,9.28-13.92,9.28-14.19 c0-0.34,4.24-6.45,5.18-7.46c0.4-0.47,1.01-1.48,1.21-2.22c0.2-0.74,0.67-1.34,1.01-1.34c0.27,0,0.67-0.54,0.94-1.21 c0.4-1.14,1.82-3.56,2.49-4.17c0.2-0.2,2.15-3.16,4.37-6.66c2.15-3.43,4.5-6.86,5.11-7.53c0.67-0.74,1.08-1.28,0.87-1.28 c-0.2,0,0.74-1.48,2.02-3.36c1.28-1.82,2.35-3.63,2.35-4.03c0-0.34,0.2-0.67,0.54-0.67c0.27,0,1.21-1.34,2.15-3.03 c0.94-1.68,1.88-3.03,2.15-3.03c0.34,0,0.54-0.4,0.54-0.87c0-0.54,0.61-1.48,1.34-2.15c0.74-0.67,1.34-1.61,1.34-2.15 c0-0.47,0.34-0.87,0.67-0.87c0.4,0,0.67-0.34,0.67-0.67c0-0.74,3.16-5.85,4.5-7.26c0.4-0.4,1.01-1.41,1.21-2.15 s0.67-1.34,0.94-1.34c0.34,0,0.94-0.87,1.41-2.02c0.47-1.14,1.08-2.02,1.34-2.02c0.27,0,0.87-0.87,1.34-2.02 c0.47-1.14,1.08-2.02,1.34-2.02c0.27,0,0.87-0.94,1.34-2.02c0.47-1.14,1.14-2.02,1.48-2.02s0.4-0.34,0.2-0.67 c-0.2-0.4-0.2-0.67,0.13-0.67c0.27,0,1.41-1.55,2.55-3.36c1.08-1.88,2.22-3.36,2.55-3.36c0.27,0,0.4-0.27,0.2-0.61 c-0.2-0.27,0.2-1.08,0.94-1.75c0.74-0.67,1.34-1.55,1.34-1.95c0-0.4,0.74-1.61,1.68-2.62c0.94-1.01,1.55-1.82,1.41-1.82 c-0.34,0,8.87-14.19,10.35-15.93c0.34-0.47,0.67-1.14,0.67-1.55c0-0.34,0.34-0.67,0.67-0.67c0.4,0,0.67-0.47,0.67-1.01 s0.34-1.01,0.67-1.01c0.4,0,0.67-0.34,0.67-0.67c0-0.4,1.08-2.22,2.35-4.03s2.35-3.5,2.35-3.7s0.61-1.01,1.34-1.82 c0.74-0.81,1.34-1.88,1.34-2.35s0.34-0.87,0.74-0.87c0.34,0,0.54-0.27,0.34-0.54c-0.2-0.34,0.27-0.94,0.94-1.48 c0.67-0.54,1.14-1.14,1.01-1.34c-0.2-0.27,0.27-1.01,1.01-1.68c0.74-0.67,1.34-1.48,1.34-1.75c0-0.27,2.35-4.1,5.24-8.47 c2.96-4.37,8.27-12.51,11.9-18.02c3.63-5.58,6.93-10.29,7.33-10.56c0.4-0.27,0.47-0.54,0.13-0.54c-0.34,0-0.13-0.54,0.4-1.21 c1.01-1.21,1.08-1.75,0.2-3.83c-2.89-6.93-5.04-12.77-5.04-13.51c0-0.54-0.27-0.94-0.67-0.94c-0.34,0-0.61-0.2-0.54-0.54 c0.2-0.87-1.75-6.52-2.42-6.99c-0.4-0.27-0.47-0.67-0.2-0.94s0.2-0.81-0.13-1.21c-0.47-0.67-3.97-10.62-4.37-12.71 c-0.13-0.47-0.4-1.34-0.61-2.02c-0.27-0.61-0.67-1.68-0.94-2.35c-0.2-0.61-0.47-1.61-0.61-2.15c-0.27-1.34-1.61-5.98-2.42-8.14 c-0.34-0.94-0.67-2.35-0.74-3.16c-0.07-0.81-0.27-1.48-0.47-1.48c-0.27,0-0.47-0.4-0.54-0.87c0-0.4-0.2-1.41-0.4-2.15 c-0.2-0.74-1.01-3.9-1.68-7.06c-0.74-3.16-1.34-5.78-1.41-5.92c-0.13-0.07-0.2-0.34-0.27-0.67c-0.34-1.34-1.28-5.92-1.41-6.52 c-0.07-0.4-0.2-0.81-0.27-1.01c-0.2-0.4-0.54-2.22-0.94-5.38c-0.2-1.28-0.54-2.82-0.74-3.43c-0.27-0.61-0.4-1.34-0.34-1.68 c0.07-0.34,0-0.74-0.07-0.94c-0.27-0.67-0.67-3.09-0.94-5.38c-0.13-1.28-0.34-2.35-0.4-2.35c-0.13,0-0.61-3.36-0.74-5.92 c-0.07-1.01-0.4-2.02-0.74-2.22s-0.27-0.81,0.13-1.28c1.48-1.75-0.54-1.61-2.08,0.2l0,0c-0.87,1.01-2.22,2.96-2.96,4.37 c-0.74,1.48-1.95,3.29-2.69,4.1c-0.74,0.81-1.95,2.62-2.69,4.03c-0.74,1.34-1.82,3.03-2.42,3.63c-0.54,0.61-1.61,2.22-2.35,3.5 c-1.48,2.69-1.68,2.96-3.97,5.78c-0.94,1.21-1.68,2.35-1.68,2.55c0,0.47-6.66,10.56-7.33,11.16c-0.2,0.2-1.01,1.41-1.68,2.69 c-0.74,1.28-1.48,2.49-1.68,2.69c-0.47,0.4-8.27,12.03-8.81,13.11 M294.17,171.07c-0.74,1.14-1.82,2.76-2.35,3.56 c-0.54,0.81-1.68,2.55-2.49,3.83c-1.88,2.82-2.22,3.36-5.58,8.2c-1.48,2.15-2.69,4.03-2.69,4.24s-0.34,0.67-0.74,1.14 c-0.34,0.47-4.24,6.25-8.67,12.91c-4.37,6.66-8.27,12.44-8.67,12.91c-0.4,0.47-0.74,0.94-0.74,1.14c0,0.61-4.3,6.79-4.84,6.99 c-0.27,0.13-0.54,0.67-0.54,1.21s-0.34,0.94-0.74,0.94c-0.34,0-0.54,0.27-0.34,0.61c0.27,0.34,0.2,0.74-0.07,0.87 c-0.81,0.34-4.91,6.39-4.91,7.19c0,0.34-0.54,1.01-1.14,1.34c-0.67,0.4-0.94,0.74-0.67,0.74s-0.07,0.67-0.87,1.48 c-0.74,0.81-1.34,1.88-1.34,2.35s-0.2,0.87-0.47,0.87c-0.34,0-1.41,1.55-2.55,3.43c-1.08,1.88-2.29,3.77-2.69,4.24 c-1.34,1.61-3.7,5.04-3.7,5.45c0,0.27-0.4,0.87-0.81,1.34c-1.95,2.15-2.49,2.89-2.22,3.16c0.13,0.13-0.47,1.14-1.34,2.15 c-0.94,1.08-1.68,2.15-1.68,2.42s-0.61,1.14-1.34,2.02s-1.34,1.95-1.34,2.49s-0.27,0.81-0.61,0.61c-0.34-0.2-0.81,0.34-1.01,1.28 cLine truncated
<line class="st6" x1="108.71" y1="523.11" x2="108.7" y2="523.11"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 KiB

+54
View File
@@ -0,0 +1,54 @@
---
layout: default
title: Custom CSS
parent: Customizing
nav_order: 99
permalink: /customizing/custom-css
---
## Custom-CSS
The custom.css file allows you to customize the appearance of Mainsail
without the need of rebuilding it. All you need to do is to place a file
named "custom.css" into the configuration directory ".theme" and define
your css rules in there.
![file-screenshot](../assets/img/customizing/screenshot-custom-css.png "custom.css file")
![example result](../assets/img/customizing/screenshot-custom-css-example-result.png "custom.css result")
### How to CSS
You need to be familiar with the CSS (**C**ascading **S**tyle **S**heets) syntax.
There are many resources to learn CSS online, for example:
- https://www.w3schools.com/css/default.asp
#### find the Element selector (example based on Chrome Browser)
Use your browser's built-in developer tools to find the right selector of the element you want to add your own flair to.
Open the developer tools:
right click anywhere on the page and select "inspect" (or F12 on the keyboard)
![open dev-tools](../assets/img/customizing/screenshot-custom-css-inspect.png "open dev-tools")
1. Activate the "inspector"
2. Select the desired element
3. Find the selector
4. Use the style editor and fiddle arround
![find element](../assets/img/customizing/screenshot-custom-css-find-element.png "find the right element")
![fiddle](../assets/img/customizing/screenshot-custom-css-fiddle.png "fiddle")
When you have achieved your desired appearance copy the full "section" including selector and curly braces
![fiddle 2](../assets/img/customizing/screenshot-custom-css-fiddle-2.png "fiddle 2")
Then copy it to the "custom.css" file (you can keep everything or only what you have added)
![example](../assets/img/customizing/screenshot-custom-css-example.png "custom.css example")
NOTE: After saving, your browser may need a uncached reload to show the change (https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache#Bypassing_cache)
+15
View File
@@ -0,0 +1,15 @@
---
layout: default
title: Favicons
parent: Customizing
nav_order: 3
permalink: /customizing/favicons
---
## Custom favicon
Upload the images with the name "favicon-16x16.png" and "favicon-32x32.png"
to the .theme folder. Allowed extension is only .png. The "favicon-32x32.png"
is required. The "favicon-16x16.png" is optional. Maybe a hard refresh is
necessary (CTRL+SHIFT+F5 on windows or CMD+SHIFT+R on mac).
![screenshot](../assets/img/customizing/screenshot-favicons.png)
+22
View File
@@ -0,0 +1,22 @@
---
layout: default
title: Customizing
nav_order: 6
has_children: true
permalink: /customizing
---
# Customizing
Feel free to customize Mainsail to your preferences. At the moment there
are not many possibilities, but i will expand them continuously. If some features
are not yet listed below, please create a FR (feature request) on Github.
### currently supported functions
- [change sidebar logo](sidebar.md)
- [change sidebar background](sidebar.md)
- [change favicon](favicon.md)
- [upload custom.css](custom-css.md)
### coming soon
- change primary color (all blue buttons atm)
+16
View File
@@ -0,0 +1,16 @@
---
layout: default
title: Prepare
parent: Customizing
nav_order: 1
permalink: /customizing/prepare
---
## Prepare theme
To prepare mainsail to use themes, you only have to create the ".theme" directory. Go into
"Settings" > "Machine" and check if you have enabled "Hidden files". Then you can create a
directory with the name ".theme". Important is the "." on the beginning. All further customizing
files, will be placed in this directory.
![screenshot](../assets/img/customizing/screenshot-display-hidden-files.png)
+22
View File
@@ -0,0 +1,22 @@
---
layout: default
title: Sidebar
parent: Customizing
nav_order: 2
permalink: /customizing/sidebar
---
## Sidebar customizing
### Change sidebar logo
Upload an image with the name "sidebar-logo" to the .theme folder.
Allowed file extensions for the image are: .svg, .jpg, .png and .gif.
![screenshot](../assets/img/customizing/screenshot-sidebar-logo.png)
### Change sidebar background image
Upload an image with the name "sidebar-background" to the .theme folder.
Allowed file extensions for the image are: .jpg, .png and .gif. The
recommended image size is 300x1000px.
![screenshot](../assets/img/customizing/screenshot-sidebar-background.png)
+46
View File
@@ -0,0 +1,46 @@
---
layout: default
title: Docker
parent: Development
has_children: false
permalink: /development/docker
description: >-
Setup docker and docker-compose for quick full stack mainsail development with simulavr without any real printer
---
# {{ page.title }}
{{ page.description }}
## Setup
Install docker and docker-compose on your desired machine.
### Debian/Ubuntu
```shell
sudo apt install docker docker-compose
```
### Mac
https://docs.docker.com/docker-for-mac/install/
### Windows
https://docs.docker.com/docker-for-windows/install/
## Start
1. Look into the docker/config folder. Copy the ".example" without the "example ending".
2. Edit the configs to your likings. They are inital setup for a minimal setup environment with simulavr.
3. In the root directory of mainsail run
```shell
docker/run up
```
## Development
### Commands
```shell
docker/run ps # showing running containers
docker/run restart <api/npm> # restarting container
# api: restarting complete api container with simulavr/moonraker/klipper services,
# npm: restarting nodejs container with running 'npm run serve'
docker/run bash <api/npm> # spawning bash shell inside container
```
Restarting the api container will happen a lot, because simulavr WILL crash a lot! Timings within simulavr are not precise and klipper will bug alot about that.
## Todo
1. The current implementation of simulavr/moonraker/klipper is kinda naiv, because docker wont run with systemd.
I will fix that in later versions of the docker container, so you can restart specific containers and omit simulavr and bind a real connected printer for example.
+11
View File
@@ -0,0 +1,11 @@
---
layout: default
title: Development
nav_order: 15
has_children: true
permalink: /development
description: development guide
---
# {{ page.title }}
{{ page.description }}
+43
View File
@@ -0,0 +1,43 @@
---
layout: default
title: Standalone
parent: Development
has_children: false
permalink: /development/standalone
description: >-
Setup the project and start developing with your local printer(s)
---
# {{ page.title }}
{{ page.description }}
## Setup
Make a copy of the '.env.development.local.example' and omit the .example.
In the new file edit it to refect your desired printer:
```dotenv
VUE_APP_HOSTNAME=192.168.0.15 #for your printer with moonraker running on 192.168.0.15
```
In moonraker you need to add your local ip at the cors_domains:
```yaml
cors_domains:
http://<your local ip>:<local port>
```
access the local running dev environment with `http://<your local ip>:<local port>`.
### Nodejs Environment >= v15.9.0
Linux
```shell
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -
```
Debian/Ubuntu
```shell
sudo apt-get install -y nodejs
```
For other package-managers look here:
https://nodejs.org/en/download/package-manager/
## Start
```shell
npm install # only once and if you updated/installed packages
npm run serve # starting current build with hot module reloading
```
-11
View File
@@ -1,11 +0,0 @@
# Gcode-thumbnails with PrusaSlicer and SuperSlicer
Mainsail can display these thumbnails in the gcode filemanager. To enable the thumbnails,
open your slicer (PrusaSlicer or SuperSlicer) click on `Help > Show Configuration Folder`
and then inside the `printers` sub-folder you’ll find your printer profiles.
Open your desired printer profile in your favorite text editor and find the `thumbnails =`
section and add the resolutions `32x32,400x300`. Save the file and restart your slicer.
Now you should see a preview in the filemanager and if you will start a new job.
![Screenshot gcode thumbnail](images/screenshot-gcode-thumbnail.png)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 734 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 31 KiB

+23
View File
@@ -0,0 +1,23 @@
---
layout: default
title: Welcome
nav_order: 1
has_children: false
---
# Welcome to the Mainsail docs!
Mainsail is a lightweight & responsive web interface for the Klipper 3D printer firmware. It communicates with Moonraker (Klipper-API) from Arksine.
[Setup Guide](/setup){: .btn}
[Release Notes](https://github.com/meteyou/mainsail/releases){: .btn}{:target="_blank"}
For support join us on Discord, or open an issue on Github.
[Discord](https://discord.gg/skWTwTD){: .btn}{:target="_blank"}
[Github](https://github.com/meteyou/mainsail){: .btn}{:target="_blank"}
## Screenshots
![Dashboard](assets/img/screenshot.png)
-294
View File
@@ -1,294 +0,0 @@
# Installation
This document provides a guide on how to install Moonraker & Mainsail on a Raspberry
Pi running Raspian/Rasperry Pi OS. Other SBCs and/or linux distributions
may work, however they may need a custom install script.
**Please don't use a octopi image!!!**
## Installing operation system image
It's recommend to use a clean Raspberry Pi OS 32-bit Lite (previosly called Raspbian)
image. You can download it [here](https://downloads.raspberrypi.org/raspios_lite_armhf_latest).
More information about the installtion of Raspberry Pi OS are
[here](https://www.raspberrypi.org/documentation/installation/installing-images/).
**If you have finished the installation and connected via ssh, you can continue.**
## Install Requirements
```
sudo apt update && sudo apt upgrade
sudo apt install git dfu-util unzip
```
## Install Klipper
In this step, we install klipper.
```
cd ~
git clone https://github.com/KevinOConnor/klipper
cd ~/klipper
./scripts/install-octopi.sh
```
After you install Klipper with its dependencies you have to change the location
of the `printer.cfg` and add the UDS. This is definied in the `/etc/default/klipper` file.
To edit this file type:
```
sudo nano /etc/default/klipper
```
and then change:
```
KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer.cfg -l /tmp/klippy.log"
```
to:
```
KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/klipper_config/printer.cfg -l /tmp/klippy.log -a /tmp/klippy_uds"
```
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
At least you have to create the config and the virtual_sdcard directory with:
```
mkdir ~/klipper_config
mkdir ~/sdcard
```
and copy your `printer.cfg` in the `~/klipper_config` directory and restart klipper with
`sudo service klipper restart`. Please check the `klippy.log`, if Klipper starts
correctly and then continue the guide.
and check if you have following lines in your `printer.cfg`:
```
[virtual_sdcard]
path: ~/sdcard
[pause_resume]
[display_status]
```
## Install Moonraker (API)
You can now install the Moonraker application:
```
cd ~
git clone https://github.com/Arksine/moonraker.git
```
Finally, run Moonraker's install script:
```
cd ~/moonraker/scripts
./install-moonraker.sh
```
When the script completes it should start both Moonraker and Klipper. In
`klippy.log` you should find the following entry:\
`Moonraker: server connection detected`
### Configure Moonraker
A basic configuration that authorizes clients on a range
from 192.168.1.1 - 192.168.1.254 is as follows.
Create the configfile with `nano ~/moonraker.conf` and add the following lines:
```
[server]
host: 0.0.0.0
config_path: ~/klipper_config
[authorization]
enabled: true
trusted_clients:
192.168.1.0/24
```
Note that the above configuration can differ! Make sure you determine your local IP and replace the IP from the example configuration above with the one from your own network.
Restart Moonraker (`sudo service moonraker restart`) and open the url `http://<printer-ip>:7125/printer/info` in your browser.
If you see a content like this
```
{"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)"}}
```
your API is working!
For more informations about the Moonraker installation or configuration
look at the Repository from Arksine:
[Moonraker Repository install Documentation](https://github.com/Arksine/moonraker/blob/master/docs/installation.md)
## Install Mainsail (webinterface)
### Install webserver & reverse proxy (nginx)
nginx is important to mount all components on port 80 and host the static files from Mainsail.
To install nginx you only need to execute:
```
sudo apt install nginx
```
now we create the config files with:
```
sudo touch /etc/nginx/sites-available/mainsail
sudo touch /etc/nginx/conf.d/upstreams.conf
sudo touch /etc/nginx/conf.d/common_vars.conf
```
Each file can be filled with the following content:
`sudo nano /etc/nginx/conf.d/upstreams.conf`
```
# /etc/nginx/conf.d/upstreams.conf
upstream apiserver {
#edit your api port here
ip_hash;
server 127.0.0.1:7125;
}
upstream mjpgstreamer {
#edit your webcam port here
ip_hash;
server 127.0.0.1:8081;
}
```
`sudo nano /etc/nginx/conf.d/common_vars.conf`
```
# /etc/nginx/conf.d/common_vars.conf
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
```
`sudo nano /etc/nginx/sites-available/mainsail`
```
# /etc/nginx/sites-available/mainsail
server {
listen 80 default_server;
listen [::]:80 default_server;
access_log /var/log/nginx/mainsail-access.log;
error_log /var/log/nginx/mainsail-error.log;
#disable this section on smaller hardware like a pi zero
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_proxied expired no-cache no-store private auth;
gzip_comp_level 4;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/json application/xml;
#web_path from mainsail static files
root /home/pi/mainsail;
index index.html;
server_name _;
#max upload size for gcodes
client_max_body_size 200M;
location / {
try_files $uri $uri/ /index.html;
}
location /printer {
proxy_pass http://apiserver/printer;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
}
location /api {
proxy_pass http://apiserver/api;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
}
location /access {
proxy_pass http://apiserver/access;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
}
location /websocket {
proxy_pass http://apiserver/websocket;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 86400;
}
location /machine {
proxy_pass http://apiserver/machine;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
}
location /server {
proxy_pass http://apiserver/server;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
}
location /webcam/ {
proxy_pass http://mjpgstreamer/;
}
}
```
Create directory for static files and active nginx config:
```
mkdir ~/mainsail
sudo rm /etc/nginx/sites-enabled/default
sudo ln -s /etc/nginx/sites-available/mainsail /etc/nginx/sites-enabled/
sudo service nginx restart
```
Now you can check again the API if it works with the reverse proxy.
Open the url `http://<printer-ip>/printer/info` in your browser. if you see a content like this:
```
{"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-479-gd586fb06", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}
```
Now we can install Mainsail (static httpdocs).
### Install httpdocs
Now you can download the current mainsail static data
```
cd ~/mainsail
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.2.2/mainsail-beta-0.2.2.zip && unzip mainsail.zip && rm mainsail.zip
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
### Important macros
if you want to get the full experience with mainsail and klipper virtual_sdcard print,
you should use these macros, or use them as templates for your own.
[Link to the macros doc](macros.md)
### Change the Hostname (optional)
to use the hostname instate of the ip, you can install the avahi-daemon:
```
sudo apt install avahi-daemon
```
and you can config your hostname:
```
sudo raspi-config
```
in 2 Network Options > N1 Hostname you can edit your hostname of your raspberry pi.
After a reboot you can use `http://<hostname>.local/` to open the webinterface.
+42 -8
View File
@@ -1,10 +1,38 @@
# Useful macros for Moonraker/Mainsail
---
layout: default
title: Necessary Configuration
nav_order: 5
has_children: false
permalink: /necessary-configuration
---
## pause / resume / cancel
Mainsail requires a minimum configuration to function properly. It should give you a warning at startup if the required parts are not found in your configuration.
## Required configuration
### virtual_sdcard
This allows gcode file uploads.
```yaml
[virtual_sdcard]
path: ~/gcode_files
```
#is required to load the pause_resume module in klipper
[pause_resume]
### display_status
This is required for messages in your status panel, if you don't have a `[display]` in your configuration.
```yaml
[display_status]
```
### pause / resume / cancel
This enables pause / resume in mainsail.
```yaml
[pause_resume]
```
## Macros
### for pause /resume / cancel functionality
These should be modified to your own needs.
```yaml
[gcode_macro PAUSE]
rename_existing: BASE_PAUSE
default_parameter_X: 230 #edit to your park position
@@ -19,7 +47,9 @@ gcode:
G1 Z{Z}
G90
G1 X{X} Y{Y} F6000
```
```yaml
[gcode_macro RESUME]
rename_existing: BASE_RESUME
default_parameter_E: 1 #edit to your retract length
@@ -29,7 +59,9 @@ gcode:
G90
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
BASE_RESUME
```
```yaml
[gcode_macro CANCEL_PRINT]
rename_existing: BASE_CANCEL_PRINT
gcode:
@@ -39,9 +71,11 @@ gcode:
BASE_CANCEL_PRINT
```
## customize klipper default commands
for example, if you want to adjust the BED_MESH_CALIBRATE command, which will execute under "heightmap > calibrate".
```
## Optional
### customize klipper default commands
for example, if you want to adjust the `BED_MESH_CALIBRATE` command, which you can run from "heightmap > calibrate".
```yaml
[gcode_macro BED_MESH_CALIBRATE]
rename_existing: BASE_BED_MESH_CALIBRATE
gcode:
@@ -52,4 +86,4 @@ gcode:
#the original gcode
BASE_BED_MESH_CALIBRATE
#after the original gcode
```
```
+37
View File
@@ -0,0 +1,37 @@
---
layout: default
title: Additional Sensors
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..
---
# {{ page.title }}
{{ page.description }}
## Raspberry Pi temperature sensor
Append the following section to your printer.cfg:
```yaml
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: 10
max_temp: 100
```
## ATSAM, ATAMD, and STM32 temperature sensor
Append the following section to your printer.cfg:
```yaml
[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
```
For more information on this topic and how to add additional sensors, please refer to [Klipper documentation](https://www.klipper3d.org/Config_Reference.html#builtin-micro-controller-temperature-sensor){:target="_blank"}.
{: .info}
+26
View File
@@ -0,0 +1,26 @@
---
layout: default
title: Console Shortcuts
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.
---
# {{ page.title }}
{{ page.description }}
## Help command
Issue a `HELP` command to get a list of possible 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.
![](../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.
+20
View File
@@ -0,0 +1,20 @@
---
layout: default
title: Disable Octoprint LCD menu
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.
---
# {{ page.title }}
{{ page.description }}
## Modify printer.cfg
Just add the following entry to your printer.cfg:
```yaml
[menu __main __octoprint]
type: disabled
```
@@ -0,0 +1,34 @@
---
layout: default
title: Hide macros, outputs or fans
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...
---
# {{ page.title }}
{{ page.description }}
Did you know, that you can also hide gcode macros by prefixing the name with an underscore?
```yaml
[gcode_macro MY_AWESOME_GCODE]
gcode:
_MY_HELPER_CODE
```
```yaml
[gcode_macro _MY_HELPER_CODE]
gcode:
M300
```
`MY_AWESOME_GCODE` appears in your interface settings, `_MY_HELPER_CODE` 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.**
{: .info}
+11
View File
@@ -0,0 +1,11 @@
---
layout: default
title: Quicktips
nav_order: 10
has_children: true
permalink: /quicktips
description: quick tips, without much explanation
---
# {{ page.title }}
{{ page.description }}
+31
View File
@@ -0,0 +1,31 @@
---
layout: default
title: Presets
parent: Quicktips
has_children: false
permalink: /quicktips/presets
description: >-
Mainsail supports so-called presets. They are often used for preheat & cooldown, but also execute normal gcode.
---
# {{ page.title }}
{{ page.description }}
## Setup
In Mainsails interface settings you will find a section called "Preheat Presets". There you can set your presets via "ADD PRESET" and the following dialog.
### 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.
![](../assets/img/quicktips/presets/preheat.png)
### Further Examples
#### Z-Offset
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.
![](../assets/img/quicktips/presets/gcodeoffset.png)
+23
View File
@@ -0,0 +1,23 @@
---
layout: default
title: Slicer Upload
parent: Quicktips
permalink: /quicktips/slicer-upload
description: >-
It is possible to upload G-Code from your slicer and have it start printing.
---
# {{ page.title }}
{{ page.description }}
Moonraker has compatibility with Octoprint's legacy file upload API.
### PrusaSlicer/SuperSlicer (prior to v2.3.0)
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.
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.
+42
View File
@@ -0,0 +1,42 @@
---
layout: default
title: Thumbnails
parent: Quicktips
permalink: /quicktips/thumbnails
description: >-
Mainsail can display thumbnails in the file browser and as previews in the print status.
---
# {{ page.title }}
{{ page.description }}
![preview](../assets/img/additional/large-preview.png)
### PrusaSlicer (since v2.3.0)
In "Expert" mode PrusaSlicer has an option in the "Printer Settings" tab to activate previews.
Under `General / Firmware`, enter `32x32,400x300` as "G-code thumbnails".
![PrusaSlicer](../assets/img/additional/PrusaSlicer2.3.0-thumbnails.png)
### SuperSlicer (since v2.2.54.0)
In "Expert" mode SuperSlicer has some very convenient options in the "Printer Settings" tab to activate and customize the previews.
![SuperSlicer](../assets/img/additional/SuperSlicer-thumbnails.png)
### PrusaSlicer/SuperSlicer
To enable thumbnails, click on `Help > Show Configuration Folder` and navigate to your printer profiles inside the `printer` folder.
Open your printer profile in a text editor and find `thumbnails =` and add the resolutions `32x32,400x300`. Save the file and restart your Slicer.
![PrusaSlicer](../assets/img/additional/PrusaSlicer-thumbnails.png)
From now on the gcode files contain thumbnails displayed by mainsail.
### Cura
The Cura plugin "Cura2Moonraker" is required for this. You can find this plugin and a install guide
here: [https://github.com/emtrax-ltd/Cura2MoonrakerPlugin](https://github.com/emtrax-ltd/Cura2MoonrakerPlugin)
![Cura](../assets/img/additional/Cura-thumbnails.png)
+33
View File
@@ -0,0 +1,33 @@
---
layout: default
title: Update Manager
parent: Quicktips
has_children: false
permalink: /quicktips/update-manager
description: >-
Perform updates of Mainsail, Klipper, Moonraker and your system from within Mainsail.
---
# {{ page.title }}
{{ page.description }}
## Moonraker.conf
Add the following section to your printers moonraker.conf:
```yaml
[update_manager]
[update_manager client mainsail]
type: web
repo: meteyou/mainsail
path: ~/mainsail
```
Once you have restarted the moonraker service, the Update Manager will appear in Mainsails 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"}.
{: .info}
+14
View File
@@ -0,0 +1,14 @@
---
layout: default
title: Remote Mode
nav_order: 4
has_children: false
permalink: /remotemode
description: >-
description in progress
---
# {{ page.title }}
{{ page.description }}
The description will follow soon.
+14
View File
@@ -0,0 +1,14 @@
---
layout: default
title: Setup Guides
nav_order: 2
has_children: true
permalink: /setup/
has_toc: false
---
# Setup Guides
There are different ways to install Mainsail.
- [MainsailOS (recommend)](mainsail-os.md)
- [Kiauh (Klipper Install And Update Helper)](kiauh.md)
- [Manual Setup](manual-setup/index.md)
+14
View File
@@ -0,0 +1,14 @@
---
layout: default
title: Kiauh Guide
parent: Setup Guides
nav_order: 2
has_children: false
permalink: /setup/kiauh
---
# Installing Mainsail with Kiauh
Kiauh is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail and various
other extensions easily and comfortably.
For more informations and get to the guide click [here](https://github.com/th33xitus/kiauh).
+27
View File
@@ -0,0 +1,27 @@
---
layout: default
title: MainsailOS Guide
parent: Setup Guides
nav_order: 1
has_children: false
permalink: /setup/mainsail-os
---
# Installing Mainsail with MainsailOS
The recommended way to install Mainsail on a Raspberry Pi is to use [MainsailOS](https://github.com/raymondh2/MainsailOS),
a pre-packaged disk image. If you are building a custom configuration, you may need to skip
these instructions and install Mainsail [manually](manual-setup/index.md).
1. Download the latest mainsailOS [Release](https://github.com/raymondh2/MainsailOS/releases)
2. Unzip the .img file from your download.
3. Use [BalenaEtcher](https://www.balena.io/etcher/) to write the .img on to an 8GB, or larger SDcard. *THIS WILL DESTROY ALL DATA ON YOUR CARD*.
_note: It is a good idea to use a premium SDcard from a reputable manufacturer such as Sandisk, Kingston or Samsung. Low end cards will often fail quickly when used in this application_
4. If you will be using wifi, edit the file `mainsailos-wpa-supplicant.txt` with your Wifi information. If you are having trouble seeing this file on the sdcard, try removing it and re-inserting it into your card reader.
5. Make sure that your MCU(s) is connected to your pi, If you will be using wired networking, also make sure your ethernet cable is connected.
5. Insert the SDcard into your Pi, and power on the Pi.
6. Find your pi on the network, and ssh into it, (Using PuTTY on Windows or the terminal on MacOS)
* If your network supports bonjour, the pi should show up as `mainsailos.local`
* If your network automatically assigns DNS hostnames, it may simply show up as `mainsailos`
* Failing these two options, you may need to check your router's DHCP server, and find out what IP address as been assigned to the device.
+9
View File
@@ -0,0 +1,9 @@
---
layout: default
title: Manual Setup Guide
parent: Setup Guides
nav_order: 3
has_children: true
permalink: /setup/manual-setup
---
This is a guide to setting up Klipper, Moonraker & Mainsail on a Raspberry Pi with Raspberry Pi OS. Other SBCs and/or Linux distributions might work, but may require a customized installation script or configs.
+64
View File
@@ -0,0 +1,64 @@
---
layout: default
title: Klipper
parent: Manual Setup Guide
grand_parent: Setup Guides
nav_order: 3
permalink: /setup/manual-setup/klipper
---
## Klipper
### Installation
The following commands will clone Klipper to an appropriate directory in HOME and run the setup script.
```bash
cd ~
git clone https://github.com/KevinOConnor/klipper
cd ~/klipper
./scripts/install-octopi.sh
```
### Configuration
After Klipper is installed, you will need to change the default location of the printer.cfg and add the UDS (unix domain socket). This is defined in the file `/etc/default/klipper`
To edit this file type:
```bash
sudo nano /etc/default/klipper
```
find the following line:
```
KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/printer.cfg -l /tmp/klippy.log"
```
and change the config location to `/home/pi/klipper_config/printer.cfg` and add `-a /tmp/klippy_uds` to define UDS.
```
KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/klipper_config/printer.cfg -l /tmp/klippy.log -a /tmp/klippy_uds"
```
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
You have to create the directories for your klipper configuration and the virtual_sdcard directory:
```bash
mkdir ~/klipper_config
mkdir ~/gcode_files
```
Move your printer.cfg to ~/klipper_config and check if the following entries are present in the config.
```ini
[virtual_sdcard]
# for gcode upload
path: ~/gcode_files
[display_status]
# for display messages in status panel
[pause_resume]
# for pause/resume functionality.
# Mainsail needs gcode macros for `PAUSE`, `RESUME` and `CANCEL_PRINT` to make the buttons work.
```
> ℹ️ **These entries are very important.**
For the full functionality of mainsail, you should also define gcode macros for `PAUSE`, `RESUME` and `CANCEL_PRINT`. You'll find further information in [this](../../necessary-cfg.md){: target="_blank"} document.
After your config is in place, restart klipper with `sudo service klipper restart`. Check the `/tmp/klippy.log` for errors, if Klipper starts correctly you can continue the guide.
---
[< previous step](operating-system.md){: .btn } [next step >](moonraker.md){: .btn}
+175
View File
@@ -0,0 +1,175 @@
---
layout: default
title: Mainsail
parent: Manual Setup Guide
grand_parent: Setup Guides
nav_order: 5
permalink: /setup/manual-setup/mainsail
---
## Mainsail
### Install webserver & reverse proxy (nginx)
nginx is important to mount all components on port 80 and host the static files from Mainsail. To install nginx you only need to execute:
`sudo apt install nginx`
now we create the config files with:
```
sudo touch /etc/nginx/sites-available/mainsail
sudo touch /etc/nginx/conf.d/upstreams.conf
sudo touch /etc/nginx/conf.d/common_vars.conf
```
Each file can be filled with the following content:
`sudo nano /etc/nginx/conf.d/upstreams.conf`
```
# /etc/nginx/conf.d/upstreams.conf
upstream apiserver {
#if you need to change your api port, edit it here
ip_hash;
server 127.0.0.1:7125;
}
upstream mjpgstreamer {
#if you need to change your webcam port, edit it here
ip_hash;
server 127.0.0.1:8080;
}
```
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
`sudo nano /etc/nginx/conf.d/common_vars.conf`
```
# /etc/nginx/conf.d/common_vars.conf
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
```
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
`sudo nano /etc/nginx/sites-available/mainsail`
```
# /etc/nginx/sites-available/mainsail
server {
listen 80 default_server;
listen [::]:80 default_server;
access_log /var/log/nginx/mainsail-access.log;
error_log /var/log/nginx/mainsail-error.log;
#disable this section on smaller hardware like a pi zero
gzip on;
gzip_vary on;
gzip_proxied any;
gzip_proxied expired no-cache no-store private auth;
gzip_comp_level 4;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/json application/xml;
#web_path from mainsail static files
root /home/pi/mainsail;
index index.html;
server_name _;
#disable max upload size
client_max_body_size 0;
location / {
try_files $uri $uri/ /index.html;
}
location = /index.html {
add_header Cache-Control "no-store, no-cache, must-revalidate";
}
location /websocket {
proxy_pass http://apiserver/websocket;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 86400;
}
location ~ ^/(printer|api|access|machine|server)/ {
proxy_pass http://apiserver$request_uri;
proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Scheme $scheme;
}
location /webcam/ {
proxy_pass http://mjpgstreamer/;
}
}
```
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
Create directory for static files and active nginx config:
```
mkdir ~/mainsail
sudo rm /etc/nginx/sites-enabled/default
sudo ln -s /etc/nginx/sites-available/mainsail /etc/nginx/sites-enabled/
sudo service nginx restart
```
Now you can check again the API if it works with the reverse proxy. Open the url http://\<printer-ip\>/printer/info in your browser. if you see a content like this:
```
{"result": {"hostname": "voron250", "error_detected": false, "version": "v0.8.0-479-gd586fb06", "is_ready": true, "message": "Printer is ready", "cpu": "4 core ARMv7 Processor rev 4 (v7l)"}}
```
Now we can install Mainsail (static httpdocs).
### Install httpdocs
Now you can download the current mainsail static data
```
cd ~/mainsail
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/latest/download/mainsail.zip && unzip mainsail.zip && rm mainsail.zip
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
### Important macros
if you want to get the full experience with mainsail and klipper virtual_sdcard print, you should use these macros, or use them as templates for your own.
[Macro Link](../../necessary-cfg.md){: .btn target="_blank"}
### Change the Hostname (optional)
to use the hostname instate of the ip, you can install the avahi-daemon:
`sudo apt install avahi-daemon`
and you can config your hostname:
`sudo raspi-config`
in 2 Network Options > N1 Hostname you can edit your hostname of your raspberry pi. After a reboot you can use http://\<hostname\>.local/ to open the webinterface.
---
[< previous step](moonraker.md){: .btn }
@@ -0,0 +1,86 @@
---
layout: default
title: Moonraker
parent: Manual Setup Guide
grand_parent: Setup Guides
nav_order: 4
permalink: /setup/manual-setup/moonraker
---
## Moonraker
Moonraker is a web server that exposes APIs which lets Mainsail interact with Klipper.
### Installation
Clone Moonraker into your HOME directory:
```bash
cd ~
git clone https://github.com/Arksine/moonraker.git
```
Run Moonrakers install script:
```bash
cd ~/moonraker/scripts
./install-moonraker.sh -c /home/pi/klipper_config/moonraker.conf
```
### Configuration
> ⚠️ **Please pay attention to the following steps!**
Misconfigured trusted_clients are a very common source of failure.
For Moonraker you'll need to create a separate config file.
`nano ~/klipper_config/moonraker.conf`
Insert the following part and modify `trusted_clients` according to arksines description below.
Also consider further IP ranges, e.g. when connecting via VPN. To determine your local ip `ip a` and `ifconfig -a` are common ways to do so on Linux and `ipconfig` on Windows.
> ℹ️ **This is a very basic config**
For more options and detailed explanations you should follow [arksines instructions](https://github.com/Arksine/moonraker/blob/master/docs/installation.md).
```
[server]
host: 0.0.0.0
config_path: ~/klipper_config
[authorization]
enabled: true
trusted_clients:
192.168.1.0/24
2a02:810d:9340:33f6::/64
[update_manager]
[update_manager client mainsail]
type: web
repo: meteyou/mainsail
path: ~/mainsail
```
> 🔥 **trusted_clients - read carefully** 🔥
A list of newline separated ip addresses and/or ip ranges that are
trusted. Trusted clients are given full access to the API. Both IPv4
and IPv6 addresses and ranges are supported. Ranges must be expressed
in CIDR notation (see http://ip.sb/cidr for more info).
For example, an entry of 192.168.1.0/24 will authorize IPs in the range of 192.168.1.1 -
192.168.1.254. Note that when specifying IPv4 ranges the last segment
of the ip address must be 0. The default is no clients or ranges are
trusted.
Save the file with `CTRL+O` and close the editor with `CTRL+X`.
Restart Moonraker
```bash
sudo service moonraker restart
```
Open the following url with your printers IP in your browser
```
http://<printer-ip>:7125/printer/info
```
If everything has been set up successfully, a message like this should appear:
```
{"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)"}}
```
---
[< previous step](klipper.md){: .btn } [next step >](mainsail.md){: .btn }
@@ -0,0 +1,31 @@
---
layout: default
title: Operating System
parent: Manual Setup Guide
grand_parent: Setup Guides
nav_order: 2
permalink: /setup/manual-setup/operating-systen
---
## Operation System
> ⚠️ **Please don't use an OctoPi image!**
It can cause unforeseeable events, like rips in the space-time continuum. So be aware!
It is recommended to use a clean Raspberry Pi OS 32-bit Lite image (previously called Raspbian). You can download it [here](https://downloads.raspberrypi.org/raspios_lite_armhf_latest){:target="_blank"}.
For more information about installing Raspberry Pi OS click [here](https://www.raspberrypi.org/documentation/installation/installing-images/){:target="_blank"}. Don't forget to enable ssh.
Once you have finished the installation and are connected via ssh, you can continue.
### Requirements
```bash
sudo apt update && sudo apt upgrade
sudo apt install git dfu-util unzip
```
> ⚠️ **Moonraker requires Python 3.7 or greater,** verify that your distribution's Python 3 packages meet this requirement.
```
python3 --version
```
---
[< table of contents](index.md){: .btn } [next step >](klipper.md){: .btn }
-7
View File
@@ -1,7 +0,0 @@
# Upload Gcodes from your Slicer
You can upload your gcode-files from your slicer. Moonraker simulate the octoprint-upload.
Just set the slicer to octoprint, enter the hostname or ip and fill in the API-Key field
with something.
![superslicer-upload](images/superslicer-upload.png)
+9
View File
@@ -0,0 +1,9 @@
---
layout: default
title: Update Guide
nav_order: 3
has_children: true
permalink: /update/
---
This is a guide to update up Klipper, Moonraker & Mainsail on your Raspberry Pi.
+23
View File
@@ -0,0 +1,23 @@
---
layout: default
title: Klipper
parent: Update Guide
nav_order: 2
permalink: /update/klipper
---
## Klipper
### Update from Repository
```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.
### 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).
---
[< table of contents](index.md){: .btn } [next step >](moonraker.md){: .btn}
+25
View File
@@ -0,0 +1,25 @@
---
layout: default
title: Mainsail
parent: Update Guide
nav_order: 4
permalink: /update/mainsail
---
## Mainsail
```bash
cd ~/mainsail
rm -R ./*
wget -q -O mainsail.zip https://github.com/meteyou/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`.
```
mv ~/sdcard/gui.json ~/klipper_config/
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
---
[< previous step](moonraker.md){: .btn }
+50
View File
@@ -0,0 +1,50 @@
---
layout: default
title: Moonraker
parent: Update Guide
nav_order: 3
permalink: /update/moonraker
---
## Moonraker
```bash
cd ~/moonraker
git pull
```
Restart Moonraker (`sudo service moonraker restart`) and open the url `http://<printer-ip>:7125/printer/info` in your browser.
If you see a content like this
```
{"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:
```
[update_manager]
[update_manager client mainsail]
type: web
repo: meteyou/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:
```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`.
### Update Moonraker dependence
This is only nessasary, if you see missing modules in the moonraker log.
```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).
---
[< previous step](klipper.md){: .btn } [next step >](mainsail.md){: .btn }
-47
View File
@@ -1,47 +0,0 @@
# Update Mainsail
## Update Klipper
```
cd ~/klipper
git fetch
git checkout origin/master
```
Please check the location of the `~/klipper_config/printer.cfg` and the UDS (`-a /tmp/klippy_uds`) in the `/etc/default/klipper` file. This
should look like:
```
KLIPPY_ARGS="/home/pi/klipper/klippy/klippy.py /home/pi/klipper_config/printer.cfg -l /tmp/klippy.log -a /tmp/klippy_uds"
```
If you have to change the location of `printer.cfg` in `/etc/default/klipper`
please create the directory `~/klipper_config` and move your config files in this directory.
Restart Klipper (`sudo service klipper restart`) and check the `klippy.log`, if Klipper starts
correctly and then continue the guide.
## Update Moonraker (API)
```
cd ~/moonraker
git fetch
git checkout origin/master
```
Restart Moonraker (`sudo service moonraker restart`) and open the url `http://<printer-ip>:7125/printer/info` in your browser.
If you see a content like this
```
{"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)"}}
```
## Update Mainsail (webinterface)
```
cd ~/mainsail
rm -R ./*
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.2.3/mainsail-beta-0.2.3.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.
```
mv ~/sdcard/gui.json ~/klipper_config/
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
+20805 -2639
View File
File diff suppressed because it is too large. Load diff
+33 -26
View File
@@ -1,47 +1,54 @@
{
"name": "mainsail",
"version": "0.2.3",
"version": "1.3.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint"
"build": "vue-cli-service build && npm run build.zip",
"lint": "vue-cli-service lint",
"build.zip": "cd ./dist && zip -r mainsail.zip ./ && cd .."
},
"dependencies": {
"axios": "^0.19.2",
"chart.js": "^2.9.3",
"core-js": "^3.6.5",
"axios": "^0.21.1",
"core-js": "^3.8.2",
"echarts": "^5.0.2",
"echarts-gl": "^2.0.1",
"object-assign-deep": "^0.4.0",
"prismjs": "^1.21.0",
"vue": "^2.6.11",
"vue-chartjs": "^3.5.0",
"plotly.js": "^1.58.4",
"prismjs": "^1.23.0",
"semver": "^5.7.1",
"vue": "^2.6.12",
"vue-context": "^6.0.0",
"vue-github-api": "^0.1.7",
"vue-headful": "^2.1.0",
"vue-observe-visibility": "^1.0.0",
"vue-plotly": "^1.1.0",
"vue-prism-editor": "^1.2.0",
"vue-prism-editor": "^1.2.2",
"vue-resource": "^1.5.1",
"vue-simple-upload": "^0.1.6",
"vue-toast-notification": "^0.5.0",
"vuetify": "^2.3.8",
"vuex": "^3.5.1"
"vue-toast-notification": "^0.6.0",
"vuetify": "^2.4.2",
"vuex": "^3.6.2"
},
"devDependencies": {
"@mdi/font": "^5.5.55",
"@vue/cli-plugin-babel": "^4.5.3",
"@mdi/font": "^5.8.55",
"@vue/cli-plugin-babel": "^4.5.10",
"@vue/cli-plugin-eslint": "^4.5.3",
"@vue/cli-plugin-pwa": "^4.5.6",
"@vue/cli-service": "^4.5.3",
"@vue/cli-plugin-pwa": "^4.5.10",
"@vue/cli-service": "^4.5.10",
"babel-eslint": "^10.1.0",
"css-loader": "^4.2.1",
"eslint": "^7.6.0",
"eslint-plugin-vue": "^6.2.2",
"sass": "^1.26.10",
"sass-loader": "^9.0.3",
"css-loader": "^5.0.1",
"eslint": "^7.17.0",
"eslint-plugin-vue": "^7.4.1",
"generate-file-webpack-plugin": "^1.0.1",
"sass": "^1.32.4",
"sass-loader": "^10.1.1",
"sw-precache-webpack-plugin": "^1.0.0",
"vue-cli-plugin-route": "0.0.7",
"vue-cli-plugin-vuetify": "^2.0.7",
"vue-router": "^3.4.3",
"vue-template-compiler": "^2.6.11",
"vuetify-loader": "^1.6.0"
"vue-cli-plugin-vuetify": "^2.0.9",
"vue-router": "^3.4.9",
"vue-template-compiler": "^2.6.12",
"vuetify-loader": "^1.7.2"
},
"eslintConfig": {
"root": true,
+2 -6
View File
@@ -1,7 +1,3 @@
{
"socket": {
"hostname": "voron250.local",
"port": 80,
"metadataRequestDelay": 2000
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Loaded 100 of 218 files, more files were not shown because too many files have changed in this diff. Show more