Compare commits

..
502 Commits
Author SHA1 Message Date
Stefan Dej 6ea4caf28d bugfix margin in SelectPrinterDialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 16:38:43 +01:00
Stefan Dej cc20cf4128 update versionnumber
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 16:26:33 +01:00
Stefan Dej 27a3c17ec8 fix alternativ d-pad selector
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 16:19:02 +01:00
Stefan Dej 55ae82e4cf bugfix: check version and remote_version to be valid in update manager
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 16:18:09 +01:00
Stefan Dej e864356f26 bugfix: only switch to relative mode when the printer is in absolute mode, when moving with the control buttons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 15:09:25 +01:00
Stefan Dej 30875ffb5d update remote printers to moonraker DB
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 15:01:12 +01:00
Stefan Dej a966c41561 bugfix: editing cooldown gcode
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 14:21:50 +01:00
Stefan Dej 9325e9d93a display invert z option only with alternative controls
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 14:07:12 +01:00
Stefan Dej 437f459b94 bugfix: disable dataset on hover
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 00:41:01 +01:00
Stefan Dej 0430eee826 cleanup debug outputs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-09 00:00:45 +01:00
Stefan Dej 0825d85000 feature: add option to enable cancel_print button permanently
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 23:54:20 +01:00
Stefan Dej 42c353df20 bugfix: decrement / increment buttons in MiscellaneousSlider
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 21:11:40 +01:00
Stefan Dej 78549ef587 combine control and extruder panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 21:06:48 +01:00
Stefan Dej f16d80745a bugfix: update cooldown preset > type in variable name
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 15:53:20 +01:00
Stefan Dej 70903ae3cf bugfix: upgrade notification with semver check
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 13:36:35 +01:00
Stefan Dej 309fc4eee2 bugfix: migration .mainsail.json to moonraker db
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 13:22:47 +01:00
Stefan Dej fed5956500 feature: add .nc to valid gcode extensions
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 11:43:13 +01:00
Stefan Dej cfaae9831e bugfix for older moonraker versions without owner in the update object
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 01:00:33 +01:00
Stefan Dej 526c1800f2 fix margin/padding issues after vuetify update
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 00:43:26 +01:00
Stefan Dej 2bf8f8e8e2 feature: add info icon to clickable update logs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 00:33:12 +01:00
Stefan Dej 7750a897e2 finish to move from mainsail.json to moonraker db
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 00:22:10 +01:00
Stefan Dej 80c53494f9 first tests with the moonraker database
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-08 00:22:10 +01:00
Stefan Dej 4ee0f4bd46 Merge pull request #220 from freasy/feature/controll_cross
Control pad for movement
2021-03-08 00:13:23 +01:00
Eike Ahmels 6d90d320d8 all same icons! 2021-03-06 22:06:01 +01:00
Stefan Dej b1345d09fa add moonraker octoprint_combat and add cura fileupload in docs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-05 12:40:47 +01:00
Eike Ahmels b0ebc2eee1 switched icon for macro panel, fixing merge bug 2021-03-05 09:37:43 +01:00
Eike Ahmels 9856f5d4db Merge remote-tracking branch 'upstream/master' into feature/controll_cross 2021-03-05 09:06:59 +01:00
Eike Ahmels 00574006b3 smaller and narrower 2021-03-05 09:06:47 +01:00
Stefan Dej 1854c04d7a feature: display power/speed axis in tempchart only with a enabled dataset
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-05 00:04:48 +01:00
Stefan Dej ab6e0c07dc feature: display bed_mesh variance and make profile name clickable
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-04 23:33:51 +01:00
Stefan Dej 3850d6773a fix margins in micellaneous and tempchart tooltip
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-04 22:45:23 +01:00
Stefan Dej e22a88d397 bugfix: fan slider off_below
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-04 22:35:11 +01:00
eliteSCHW31N 08b783c160 Update README.md 2021-03-04 20:53:31 +01:00
eliteSCHW31N a9d82f547d remove default background, add transparent background 2021-03-04 20:53:31 +01:00
eliteSCHW31N b009aa17ed update Readme 2021-03-04 20:53:31 +01:00
eliteSCHW31N 50767fdd44 add custom wallpaper 2021-03-04 20:53:31 +01:00
Eike Ahmels f203cfed0e added direct setting for control pad 2021-03-04 10:13:11 +01:00
Eike Ahmels 4ed0ec9c52 new control pad card headers, correct view/hide logic 2021-03-04 09:27:57 +01:00
Eike Ahmels ad56a0e223 Merge remote-tracking branch 'upstream/master' into feature/controll_cross 2021-03-04 08:20:42 +01:00
Stefan Dej dd3ef0f81f Merge pull request #210 from freasy/feature/misc_fan_values
Feature/misc fan values
2021-03-04 08:11:18 +01:00
Eike Ahmels 54205d940a Merge remote-tracking branch 'upstream/master' into feature/misc_fan_values 2021-03-04 08:05:51 +01:00
Eike Ahmels 893a903ce7 new game pad style 2021-03-04 07:59:06 +01:00
Stefan Dej 68b1863ca1 bugfix: set default values of printer limits
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-03 21:40:05 +01:00
Stefan Dej ba6700b80c bugfix: update panel invalid version number
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-03 20:59:55 +01:00
Eike Ahmels a861e74183 new first beta of control pad 2021-03-03 20:36:17 +01:00
Eike Ahmels 0ba6455513 hardcore safari longpress fix 2021-03-03 20:30:20 +01:00
Eike Ahmels b0ae84e54c apple/android/desktop fix 2021-03-03 20:30:20 +01:00
Eike Ahmels 64f62c575e fix for android/pc 2021-03-03 20:30:20 +01:00
Eike Ahmels 7eaf8a492a removed longpress non mobile stuff, added debounce time for longpress 2021-03-03 20:30:20 +01:00
Eike Ahmels 281385bf41 fixed default click action 2021-03-03 20:30:20 +01:00
Eike Ahmels 40cc81077f fixed default right click behaviour 2021-03-03 20:30:20 +01:00
Eike Ahmels ba7454da11 another try to fix position on safari 2021-03-03 20:30:20 +01:00
Eike Ahmels be12d53c0e fixed position for context menu (safari), removed fileselection on longpress 2021-03-03 20:30:20 +01:00
Eike Ahmels b84fc03c91 apply fix position (clientX, clientY), fixed mobile main context action 2021-03-03 20:30:20 +01:00
Eike Ahmels 1736a5163b fix longpress not working on settings files 2021-03-03 20:30:20 +01:00
Eike Ahmels d470d42b6d new longpress on files 2021-03-03 20:30:20 +01:00
Stefan Dej 5fc2d5c775 move fan rpm to current column
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-03 20:25:59 +01:00
Stefan Dej 29869b47e3 bugfix: include speed_factor in requested_speed in the StatusPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-01 22:06:03 +01:00
Stefan Dej 3c7dc54bea feature: add tacho value to miscellaneous fans and temperature_fans
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-03-01 22:01:57 +01:00
Stefan Dej b51eae1740 upload new screenshot
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-28 22:59:30 +01:00
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 e2125f3c0d changed slider style so value at 0 is again default color 2021-02-24 08:28:34 +01:00
Eike Ahmels 12a89c93a9 fixed scaling, always 100% max, internal scaling to "correct" klipper value 2021-02-23 22:51:34 +01:00
Eike Ahmels b8e7bab442 fixed for klipper parsed settings object 2021-02-23 19:06:31 +01:00
Eike Ahmels be821f913d added port to documentation 2021-02-23 10:09:19 +01:00
Eike Ahmels 8047b7703c new fan config is accounting for off_below and max_power 2021-02-23 09:13:41 +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
Stefan Dej 01da938a79 update update.md to v0.2.3
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-15 21:25:12 +02:00
Stefan Dej b27390133a feature: read version from package.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-15 21:09:49 +02:00
Stefan Dej 231ef16da1 bugfix: save_config_pending rename
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-13 22:41:34 +02:00
Stefan Dej 906e738151 bugfix: dynamic favicon error of pwa
feature: display klippy_disconnected status
feature: load gcode_store on startup

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-13 22:38:48 +02:00
meteyou 4b6bcd7ad4 Merge pull request #101 from meteyou/add-license
Create LICENSE
2020-10-10 14:40:44 +02:00
meteyou 959869b64f Create LICENSE 2020-10-10 14:40:19 +02:00
Stefan Dej fe19bddb54 Merge remote-tracking branch 'origin/master' 2020-10-09 23:56:30 +02:00
Stefan Dej 59db2ca55b bugfix: remove old cancel print commands / default parameters
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-09 23:56:17 +02:00
meteyou 1691a2cbfe Merge pull request #94 from cadriel/master
refactor: docs move upstreams and common vars to independent conf
2020-10-05 21:29:22 +02:00
Craig Bassett 257b792aee refactor: docs move upstreams and common vars to independent conf 2020-10-05 10:05:16 -05:00
Stefan Dej 1457f86764 bugfix: remove comment in same line as a config
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-04 23:43:56 +02:00
Stefan Dej 3670d4cc63 bugfix: add heater_generic to tools (fix #87)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-04 23:42:15 +02:00
meteyou d397ccf804 Merge pull request #70 from cadriel/feature/static-app-bar
feature: ensures app bar doesn't scroll off page
2020-10-04 18:38:41 +02:00
Stefan Dej 1b3636864d bugfix: startscreen from PWA settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-04 18:36:49 +02:00
meteyou ce8608f7db Merge pull request #84 from translucentfocus/InitialPWASupport
Feature: Initial PWA Support (Service workers disabled)
2020-10-04 18:01:13 +02:00
Stefan Dej 0b276168b9 add description for gzip and pi zero
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-10-04 17:48:53 +02:00
meteyou ea5f61761b Merge pull request #83 from translucentfocus/patch-1
Enhancement: Add enabling Gzip for mainsail nginx config
2020-10-04 17:44:51 +02:00
meteyou 260be4ae24 Merge pull request #91 from th33xitus/work-docs
Update installation.md
2020-10-04 13:29:09 +02:00
th33xitus 0b14108a6a Update installation.md
Adding a note to make users aware that the IP in the example configuration must be replaced with a valid IP from their own local network.
2020-10-04 12:01:50 +02:00
translucentfocus 7442908405 Initial PWA Support & favicons moved to /img/icons
Inital Commit

Favicon file path fixes & use relative pathing
2020-09-27 22:22:18 -05:00
translucentfocus bb50aa690d Gzip config for mainsail 2020-09-27 21:17:58 -05:00
Stefan Dej facd18543e bugfix: install unzip on a non raspberry pi os image (fix #85)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-28 00:12:25 +02:00
Stefan Dej c3e3c6e567 bugfix: hide klipper version in footer on smarthphone
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-28 00:06:55 +02:00
Stefan Dej 0977cb39c6 feature: SAVE_CONFIG button, if klipper needs a "SAVE_CONFIG"
bugfix: temp chart bug after loosing connection (fix #82)
bugfix: clear mainsail store after klipper restart
bugfix: heater min/max temp input field

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-28 00:00:17 +02:00
Stefan Dej e2273ecfaf bugfix: hide power plugin error message
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-26 00:22:03 +02:00
Stefan Dej a011510098 bugfix: move gui.json from virtual_sdcard directory to config directory
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-25 22:26:51 +02:00
Stefan Dej 08a106d945 bugfix: extruder amounts and feedrates in a array
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-23 22:25:08 +02:00
Stefan Dej e6c19065b9 bugfix: navipoint webcam and nginx redirect use the same url (fix #81)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-23 21:14:11 +02:00
Stefan Dej c9e0278b26 Merge remote-tracking branch 'origin/master' 2020-09-21 00:04:42 +02:00
Stefan Dej 8220642774 bugfix: replace underline of macro name (only first underline replaced)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-20 23:48:56 +02:00
meteyou c48f8321d5 Update bug_report.md
fixed line breaks
2020-09-20 19:59:14 +02:00
meteyou 789c1d2a5b Update bug_report.md
wrap test
2020-09-20 19:53:45 +02:00
meteyou 294d21e47c Update bug_report.md
typo fix
2020-09-20 19:48:25 +02:00
meteyou d235c434f4 Merge pull request #72 from kageurufu/ssl-support
Support mainsail through an SSL proxy
2020-09-19 23:11:12 +02:00
meteyou ce8df80d1c Merge pull request #71 from yanfali/safe-default-helper
Small helper function for DRY code
2020-09-19 23:09:02 +02:00
Stefan Dej 0672caa6fd Merge remote-tracking branch 'origin/master' 2020-09-19 23:04:25 +02:00
Stefan Dej bc0d1ed6df update install doc with link zu macros and update macros.md
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-19 22:59:28 +02:00
meteyou 676fdaede5 Update issue templates 2020-09-19 21:00:36 +02:00
Stefan Dej 75d742acbe bugfix: hide temps in tempchart (fixed #61)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-19 14:39:15 +02:00
Franklyn c386375e53 Support mainsail through an SSL proxy
I like to run all my web services proxied through a single
 internet-accessible server, secured through SSL and authenticated
 against a single proxy server (nginx, in my case)

I found that mainsail hardcoded ws:// and many http:// addresses, so
 I've updated them to detect ws:// vs ws:///, and just use the protocol
 agnostic // prefix, which then sends the request over the same protocol
 the page is loaded under, either http or https.

Now i've got a nice SSL secured but publicly accessible URL for remote
 printer monitoring
2020-09-15 07:40:00 +01:00
meteyou 98f7ceebd7 Merge pull request #65 from yanfali/share-sorting-function
Share the sort function in getters between functions
2020-09-15 08:18:24 +02:00
Yan-Fa Li c14f9d8deb Small helper function for DRY code
Adds small helper function, to avoid repeating pattern.
2020-09-14 13:17:28 -07:00
Craig Bassett 8aef278a03 feature: ensures app bar doesn't scroll off page
Added benefit of the emergency stop button being always available.
2020-09-14 14:32:37 -05:00
Yan-Fa Li bd938a5d02 Share the sort function in getters between functions
- factor out sort into a named function and share it among common
   callers
 - add a suggested .editorconfig to avoid changing indents and line
   endings
 - add a suggested .pretterrc which honors original formatting as much
   as possible
2020-09-14 09:47:27 -07:00
Stefan Dej 76a93ccb45 feature: add slicer version in g-codes files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-14 00:29:19 +02:00
meteyou 5a20f9dcad Merge pull request #69 from translucentfocus/master
Separated some words
2020-09-13 23:05:44 +02:00
translucentfocus 5fed21320f Add spacing 2020-09-13 14:18:25 -05:00
translucentfocus 8d620ba522 Add spacing 2020-09-13 14:17:28 -05:00
meteyou 9074d28d9f Merge pull request #38 from Birkemosen/PowerControl
Initial development of Power Control Panel
2020-09-12 23:24:41 +02:00
meteyou a60603e360 Merge pull request #67 from kageurufu/disable-autocomplete
Disable browser autocomplete in console
2020-09-12 23:23:11 +02:00
meteyou b216ead36d Merge pull request #64 from cadriel/feature/webcam_flip
feature: allows flipping the webcam horizontally and vertically
2020-09-12 22:33:16 +02:00
Franklyn 330e78828d Disable browser autocomplete in console
This stops chrome from breaking the cnonsole history feature
2020-09-12 18:36:56 +01:00
Craig Bassett b0b25839ca feature: allows flipping the webcam horizontally and vertically 2020-09-11 14:14:24 -05:00
Stefan Dej 5caaf20ee1 Merge remote-tracking branch 'origin/master' 2020-09-10 22:16:50 +02:00
Stefan Dej afb62ca393 credits upload
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-10 22:16:32 +02:00
meteyou c971e80074 Merge pull request #58 from kageurufu/fix-encoded-filenames
Use encodeURI instead of encodeURIComponent for paths+filename
2020-09-06 22:53:26 +02:00
Franklyn f53cd00cc1 Use encodeURI for paths
Moonraker expects file paths to use un-escaped file paths,
 such as gcodes/some%20file.gcode, but encodeURIComponent
 will always escape the slash. Using encodeURI here will not.
2020-09-06 20:36:24 +01:00
Birkemosen 59efbfa369 Update to latest moonraker api changes 2020-09-06 21:31:17 +02:00
Birkemosen b314e57bfc Update from upstream 2020-09-06 21:16:11 +02:00
Stefan Dej 458444f03a bugfix: delete files with % in filename (fix #55)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-06 00:31:04 +02:00
Stefan Dej 2c093913e8 bugfix: extrude buttons min_extrude_temp dynamic
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-04 23:49:15 +02:00
Stefan Dej c81c491577 update versionnumber
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-03 22:32:33 +02:00
Stefan Dej 5cbed10d44 feature: add "edit file" in context menu of configfiles
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-03 22:07:15 +02:00
Stefan Dej 958358d483 update docs for v0.2.2
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-03 21:40:42 +02:00
Stefan Dej ddc2ab477f Update websocket reqeusts for moonraker update from 03-09-2020
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-03 21:28:47 +02:00
Stefan Dej f351268745 bugfix: Files.vue context menu "print start" -> wrong action
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-03 21:03:24 +02:00
Stefan Dej 25a7e8a33b bugfix: check websocket before send requests
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-02 23:57:37 +02:00
Stefan Dej 8b8f3cf939 feature: switch to meta data notifiy
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-02 23:57:05 +02:00
meteyou 3440d486df Merge pull request #53 from th33xitus/patch-extrude_retract_gcode
bugfix: remove M120/M121 from extrude/retract command
2020-09-02 11:18:57 +02:00
th33xitus 693fcae49a bugfix: remove unnecessary M120/M121
Removes the unnecessary M120 and M121 g-codes when sending an extrude or retract command via the Extrude/Retract button via the Dashboard
2020-09-02 11:06:51 +02:00
Birkemosen c99d4bea7e Change hiding of PowerControlPanel to Dashboard.vue. Update power buttons state from moonraker response. 2020-09-02 10:08:03 +02:00
Stefan Dej ac01dce620 bugfix: fix gcode thumbnail on dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-02 00:10:34 +02:00
Stefan Dej d3c3113c43 bugfix: show status if no thumbnail exists
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-02 00:02:31 +02:00
Stefan Dej ae30257ee1 update docs to v0.2.1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 23:56:10 +02:00
Stefan Dej b5add6f919 bugfix: sticky toolbar in config editor
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 23:48:09 +02:00
Stefan Dej 90b3419552 increment version number
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 23:30:29 +02:00
Stefan Dej 0100eaad5d bugfix: configfile save button and scrollbar overlap
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 23:29:14 +02:00
Stefan Dej 825d65be9d bugfix: expand min/max in heightmap is lower -1 or higher 1
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 23:05:29 +02:00
Stefan Dej 38a0c8f441 bugfix: settings panel system -> responsive view
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 22:50:09 +02:00
Stefan Dej ad6ae1128b feature: show gcode thumbnail in StatusPanel.vue while printing
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 22:45:12 +02:00
Stefan Dej 6094c4f9bd bugfix: show favicon if print process == 100%
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 22:44:23 +02:00
Stefan Dej 65a4e40d39 bugfix: SettingsSystemPanel remove margin top when klipper != ready
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 20:53:37 +02:00
Stefan Dej 39f3cfe824 bugfix: ZOffsetPanel.vue current offset
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 20:42:13 +02:00
Stefan Dej 84c9040e2a bugfix: print pause button reset loading status
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 20:22:47 +02:00
Stefan Dej 890a3e3332 bugfix: min_extrude_temp from config file (extrude/retract buttons on dashboard)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 20:19:53 +02:00
Stefan Dej 16b6ed6000 bugfix: min_extrude_temp from config file (extrude/retract buttons on dashboard)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 19:32:21 +02:00
Birkemosen 2efc961eeb Fix missing upstream update 2020-09-01 13:13:47 +02:00
Birkemosen 70c259bd22 Merge remote-tracking branch 'upstream/master' into PowerControl 2020-09-01 13:00:22 +02:00
Stefan Dej d6eb97ffe1 update guides to 0.2.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-09-01 00:04:31 +02:00
Stefan Dej fb10211b52 typo heart.png
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-31 23:35:14 +02:00
Stefan Dej 753efc5104 bugfix: format error onload temperature sensor
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-31 23:34:37 +02:00
Stefan Dej 543af7032e insert version number
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-31 23:18:23 +02:00
Stefan Dej 0e21d865b7 bugfix: update heightmap to new klipper/moonraker version
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-31 22:06:43 +02:00
Stefan Dej 601dd07f85 bugfix: typo mooonraker to moonraker
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-31 19:21:25 +02:00
Stefan Dej f06ce3e430 bugfix: load metadata after fileupload
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-31 17:54:12 +02:00
Stefan Dej 1f5f1749fc bugfix: deactivate debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-31 16:26:08 +02:00
Stefan Dej a40701d611 bugfix: macros interface settings -> list all macros
bugfix: margin between dashboard panels

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-30 23:36:38 +02:00
Stefan Dej c0472dfb30 Update all klipper/moonraker communication to Moonraker 'August 16 2020' Version. The Klippy state is more definied and should work better now. This work is not finished!
feature: display print complete with time and filament used + reprint button

bugfix: Fix issue #48. Tempchart need to many load
bugfix: Fix issue #46. Print time > 1 day (was a moonraker bug) + format time to "1d 1h" and not "25h"
bugfix: Fix issue #39. Mainsail title will show filename
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-30 14:58:26 +02:00
Birkemosen 3607a2f6f9 Remove autoformat from js files. 2020-08-17 12:45:24 +02:00
Birkemosen 03610868d1 Revert autoformatting 2020-08-17 12:26:58 +02:00
Stefan Dej f6873bda85 bugfix: toolSlider extend only by machine limits
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-16 21:51:02 +02:00
Stefan Dej bec378d2a0 Update installation.md
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-15 03:38:04 +02:00
Stefan Dej f2a5d1d8ee Update update-0.1.x.md
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-08-15 01:56:17 +02:00
221 changed files with 35126 additions and 6318 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']
+22
View File
@@ -0,0 +1,22 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**Describe the bug:**\
A clear and concise description of what the bug is.
**Expected behavior:**\
A clear and concise description of what you expected to happen.
**Screenshots:**\
If applicable, add screenshots to help explain your problem.
**Logfiles:**\
Please upload your Logfiles here or upload them to [pastebin.com](http://pastebin.com) and paste your log links here.
- klippy.log
- moonraker.log
+20
View File
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[FR]"
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
+20
View File
@@ -0,0 +1,20 @@
node_modules
.DS_Store
design
*.log
packages/test
dist
temp
.vuerc
.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
+674
View File
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
+13 -2
View File
@@ -2,6 +2,17 @@
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 & Docs
* [Vue.js](https://vuejs.org/): The Progressive JavaScript Framework
* [Vuetify](https://vuetifyjs.com/): Material Design Component Framework for Vue.js
Massive thanks to the whole [Voron Design](http://vorondesign.com/) community. Without them such a project would not be possible.
+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 -8
View File
@@ -1,8 +1 @@
# Overview
- [Installation](installation.md)
- [Update from 0.1.x to latest](update-0.1.x.md)
- [Update from 0.0.x to 0.1.x](update-0.0.x.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: 66 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

Binary file not shown.

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: 336 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: 617 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)
-261
View File
@@ -1,261 +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
```
## 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`. 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"
```
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
All other configuration is sent to the server via Klippy, thus it is done
in printer.cfg. 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
```
Restart klipper (sudo service klipper restart`) and check your klippy.log if klipper is starting correct again.
When klipper is running, 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 file with:
```
sudo nano /etc/nginx/sites-available/mainsail
```
and fill it with the following content:
```
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}
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;
}
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;
#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.1.3/mainsail-beta-0.1.3.zip && unzip mainsail.zip && rm mainsail.zip
```
Now it should be possible to open the interface: `http://<printer-ip>/`.
### 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.
-45
View File
@@ -1,45 +0,0 @@
# Useful macros for Moonraker/Mainsail
These macros are important for pause/resume/cancel.
```
[pause_resume]
[gcode_macro CANCEL_PRINT]
rename_existing: BASE_CANCEL_PRINT
default_parameter_X: 230
default_parameter_Y: 230
default_parameter_Z: 10
gcode:
M104 S0
M140 S0
M141 S0
M106 S0
CLEAR_PAUSE
SDCARD_RESET_FILE
BASE_CANCEL_PRINT
[gcode_macro PAUSE]
rename_existing: BASE_PAUSE
default_parameter_X: 230
default_parameter_Y: 230
default_parameter_Z: 10
gcode:
SAVE_GCODE_STATE NAME=PAUSE_state
BASE_PAUSE
G91
G1 E-1.7 F2100
G1 Z{Z}
G90
G1 X{X} Y{Y} F6000
G91
[gcode_macro RESUME]
rename_existing: BASE_RESUME
gcode:
G91
G1 E1.7 F2100
G91
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
BASE_RESUME
```
+89
View File
@@ -0,0 +1,89 @@
---
layout: default
title: Necessary Configuration
nav_order: 5
has_children: false
permalink: /necessary-configuration
---
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
```
### 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
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
```
```yaml
[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
```
```yaml
[gcode_macro CANCEL_PRINT]
rename_existing: BASE_CANCEL_PRINT
gcode:
TURN_OFF_HEATERS
CLEAR_PAUSE
SDCARD_RESET_FILE
BASE_CANCEL_PRINT
```
## 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:
#before the original gcode
BED_MESH_CLEAR
QUAD_GANTRY_LEVEL
G1 X125 Y125 Z5 F6000
#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)
+35
View File
@@ -0,0 +1,35 @@
---
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 API. To enable octoprint api compatibility,
add the following to your `moonraker.conf and restart Moonraker.
```
[octoprint_compat]
```
### PrusaSlicer/SuperSlicer (prior to v2.3.0)
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.
### Cura with OctoPrint-Connect
Install the OctoPrint-Connection plugin via Marketplace. In `Settings > Printer > Manage Printers...`
you can find the Button `Connect OctoPrint`. Add your printer and type anything in the `API Key` field.
![screenshot](../assets/img/additional/FileUpload-Cura-4.8.png)
+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)
-47
View File
@@ -1,47 +0,0 @@
# Update from 0.0.x to 0.1.x
Between 0.0.x and 0.1.x was a big rebuild of Moonraker. Thats the reason for the separate guide.
## Change Klipper branch
```
cd ~/klipper
git fetch arksine
git checkout arksine/dev-moonraker-testing
```
## Install new Moonraker branch
```
cd ~
git clone https://github.com/Arksine/moonraker.git
```
we have to remove the old moonraker service and install the new version:
```
cd ~/moonraker/scripts
./uninstall-moonraker.sh
./install-moonraker.sh
```
Finally, we have to change the `printer.cfg`. The section `\[api_server\]` is now called `\[moonraker\]`.
## Update the nginx configuration
The nginx configuration (`/etc/nginx/sites-available/mainsail`) will need the following additional section:
```
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;
}
```
Restart nginx with `sudo service nginx restart`
## Update static files from Mainsail
```
rm -R ~/mainsail/*
cd ~/mainsail
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.1.2/mainsail-beta-0.1.2.zip && unzip mainsail.zip && rm mainsail.zip
```
-58
View File
@@ -1,58 +0,0 @@
# Update from 0.1.x to latest
Updates after 0.1.x are easier than 0.0.x to 0.1.x.
## Update Moonraker
```
cd ~/moonraker
git pull
sudo service moonraker restart
```
create a new file ~/moonraker.conf
```
[server]
host: 0.0.0.0
config_path: ~/klipper_config
[authorization]
enabled: true
trusted_clients:
192.168.0.0/24
```
## Update Klipper
```
cd ~/klipper
git fetch
git checkout origin/master
```
### Move klipper config files to the subdirectory
create the new subdirectory and move `printer.cfg` in `~/klipper_config`:
```
mkdir ~/klipper_config/
mv ~/printer.cfg ~/klipper_config/
```
move also included klipper config files to this directory.
### Change Klipper default printer.cfg location
edit file `/etc/default/klipper` and change `/home/pi/printer.cfg`to `/home/pi/klipper_config/printer.cfg`.
### Modify printer.cfg
now you have to remove the `[moonraker]` section from `~/klipper_config/printer.cfg` and check if there are the following sections in it:
```
[virtual_sdcard]
path: ~/sdcard
[pause_resume]
[display_status]
```
and rename `RESET_SD` in your cancel print macro to `SDCARD_RESET_FILE`.
## Update static files from Mainsail
```
rm -R ~/mainsail/*
cd ~/mainsail
wget -q -O mainsail.zip https://github.com/meteyou/mainsail/releases/download/v0.1.2/mainsail-beta-0.1.2.zip && unzip mainsail.zip && rm mainsail.zip
```
+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 }
+21307 -2560
View File
File diff suppressed because it is too large. Load diff
+34 -26
View File
@@ -1,46 +1,54 @@
{
"name": "kwc",
"version": "0.1.0",
"name": "mainsail",
"version": "1.4.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": "^7.3.4",
"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.5",
"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-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 -5
View File
@@ -1,6 +1,3 @@
{
"socket": {
"hostname": "kossel.local",
"port": 80
}
}
}
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

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