* feat: add moonraker job_queue module and create store module
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: add jobqueue panel in gcode files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: remove workaround (pause queue at adding the first element)
this function was added in mooonraker
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: prevent unnecessary database traffic
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
* fix: no lock on elements without a slider
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
* refactor: remove debug output in timelapse mutations
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: use readable stream for Mjpegstreamer.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: use real webcam components in settings preview
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: initial upload of timelapse support
- add navipoint timelapse
- show filelist of timelapse
- display status and add important settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: hide frame count if its zero
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add timelapse option to start print dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: block "print start" dialog, if printer is printing
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* chore: simplify getConsoleFilterRules getter
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add console filter for timelapse gcodes
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: hide timelapse gcodes in console
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* chore: update timelapse settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: start timelapse settings in settings menu
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add rest of the timelapse settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* timelapse: rearrange and add missing settings (#364)
* timelapse: rearrange and add missing settings
* timelapse: missing locals
* timelapse: fixed typos and added get/setter of missing settings
* timelapse: added missing settings getDefaultState
* feature: added more options to start print dialog (#366)
* feature: cleanup print start dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: order timelapse settings and add headlines
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add timelapse blocked settings functions (if config exists in configfile)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: make settings dialog bigger to display timelapse (last line of settings) complete
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: remove headline "camera settings" in timelapse settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: add missing settings and add setting descriptions (#397)
Note: "cameraOptions" are harcoded but should be taken from webcam config (more detail in the dev dc)
* refactor: update timelapse from develop
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: update timelapse file manager
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: uppercase settings doesn't work with moonraker confighelper (#399)
* fix: uppercase settings doesn't work with moonraker confighelper
* fix: uppercase settings doesn't work with moonraker confighelper
* fix: uppercase settings doesn't work with moonraker confighelper
* refactor: fix camera type in timelapse store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: fix merge from develop
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: list of available webcams in timelapse settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: check if console exist before checking customFilters for convert to new namespace
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: remove debug outputs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: add re-rendering option and add snackbar for rendering progress
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: display zip files in TimelapseFilesPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: video preview in timelapse
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: change icon for zip files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix(locale): add timelapse to en.json
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: add no status message in TL status panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: add en locale for print start button in files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Co-authored-by: FrY Sennberg <fryakatkop@gmail.com>
* refactor(appbar): change buttons to new design
* refactor(appbar): change height and add pritnername
* refactor: small sidebar
* refactor(vuetify): define parts of the mainsail theme and expose colors to css
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: ui settings add missing divider
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: add farm printer selection and menu to new top and sidebar, added icons to version-tooltip
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: make topbar buttons hideable via ui settings
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: move miniConsole buttons to toolbar and make'em collapsible
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: set matching colors for buttons on console page
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: use colornames from theme and set play/resume button to green
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: correct visibility of hide buttons on collapse
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* feature: add virtual tab button to console-input on touch devices
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: remove hide e-stop button setting
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: add reactivity to hide upload and print button functionality
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: move logo to topbar and clip menu under topbar
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: remove unused TheSidebarPrinterMenu
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* feature: create and add about component to sidebar ...no dialog on click yet
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: correct appearance of the close icon from interface settings dialog
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* Revert "fix: correct appearance of the close icon from interface settings dialog"
This reverts commit f66e29d4f2.
* refactor: close ui settings on ESC and change close icon to tile
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: change font style in wide sidebar and extend width of wide menu
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: change menu style ui-settings-entry to dropdown
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: correct variablenames in locales
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: re-do menuStyle setting implementation
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor(miniconsole): change collapse button to tile and remove empty cols and row in template
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: gui variables and button appearance in toolbars
* move some vars to configure gui appearance to variables.ts
* force buttons in bars to 100% height
* set icon button width to toolbar-heigth
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor(heightmap): add autofocus and close on ESC to dialogs
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor(throttledStates): bigger dropdownlist in favor of readability
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor(confFiles): change imageviewer topbar to darkcolor and move close button to left
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: camera-dropdown visability condition
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor(history): ad close on ESC on dialogs
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: button overhaul
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: correct navigation width and change variablenames
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: change more close buttons to tiles
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor(appbar): change buttons to new design
* refactor(appbar): change height and add pritnername
* refactor: small sidebar
* refactor(vuetify): define parts of the mainsail theme and expose colors to css
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: ui settings add missing divider
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: add farm printer selection and menu to new top and sidebar, added icons to version-tooltip
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: make topbar buttons hideable via ui settings
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: move miniConsole buttons to toolbar and make'em collapsible
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: set matching colors for buttons on console page
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: use colornames from theme and set play/resume button to green
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: correct visibility of hide buttons on collapse
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* feature: add virtual tab button to console-input on touch devices
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: remove hide e-stop button setting
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: add reactivity to hide upload and print button functionality
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: move logo to topbar and clip menu under topbar
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: remove unused TheSidebarPrinterMenu
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* feature: create and add about component to sidebar ...no dialog on click yet
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: correct appearance of the close icon from interface settings dialog
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* Revert "fix: correct appearance of the close icon from interface settings dialog"
This reverts commit f66e29d4f2.
* refactor: close ui settings on ESC and change close icon to tile
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: change font style in wide sidebar and extend width of wide menu
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: change menu style ui-settings-entry to dropdown
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: correct variablenames in locales
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: re-do menuStyle setting implementation
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor(appbar): change buttons to new design
* refactor(appbar): change height and add pritnername
* refactor: small sidebar
* refactor(vuetify): define parts of the mainsail theme and expose colors to css
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: ui settings add missing divider
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: add farm printer selection and menu to new top and sidebar, added icons to version-tooltip
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: make topbar buttons hideable via ui settings
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: move miniConsole buttons to toolbar and make'em collapsible
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: set matching colors for buttons on console page
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: use colornames from theme and set play/resume button to green
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: correct visibility of hide buttons on collapse
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* feature: add virtual tab button to console-input on touch devices
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: remove hide e-stop button setting
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: add reactivity to hide upload and print button functionality
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: move logo to topbar and clip menu under topbar
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* refactor: remove unused TheSidebarPrinterMenu
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* feature: create and add about component to sidebar ...no dialog on click yet
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* fix: correct appearance of the close icon from interface settings dialog
Signed-off-by: steadyjaw <martin.keilaus@gmail.com>
* Revert "fix: correct appearance of the close icon from interface settings dialog"
This reverts commit f66e29d4f2.
* refactor: create store for seperate webcam namespace
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: update settings webcam and webcam panel to new namespace / store modules
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: types in webcam namespace
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: hide webcam panel, if no webcam is in the db
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: remove debug output in settings webcam tab
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: margin between DependenciesPanel.vue and next panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
these bugfixes:
> Make sure any existing search text is selected when opening the search panel. Add search config option to not match case when search panel is opened (#4)
dialog on unsaved changes. This can be disabled
if the user wishes to do so.
Also allows the user to configure if the editor can be
closed by hitting the "ESC" key.
* feature: add multiple macro management settings (simple/expert)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: create and remove Macrogroups
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: edit function for macro groups
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: create/edit/delete macrogroups
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: init data in heightmap dont exist without bed_mesh
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* chore: extract macro params (#392)
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
* feat: finish macro management settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: macro management in dashboard settings and display panels
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: align of icons and text in settings dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: move gcode macros in seperate component
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: combine "show status lines" in edit macro groups
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: display macrogroups and macros in paused state
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: macro group rights and display errors
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: remove create macrogroup and just add new group without name
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: hide macrogroups when macromanagement is simple
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: change to Roboto-Mono font in console
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* chore: add robotoMono font
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: remove debug outputs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: update regex for extract params from macros
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: macro params regex update
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feat: hide params with '_' as first char
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: switch simple macros panel to macro-button component
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: fix padding of macro params dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* refactor: add tooltips to macro management icon buttons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: filter not existing macrogroups in panellist
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: delete layout position when deleting macrogroup
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Co-authored-by: Eike Ahmels <hui_buh-@gmx.net>
* Made service commands available through frontend
* image fix, grammar fix
* fixed suggestions bug, some cleanup from old editor, svg edge case
* FIX: save a file with special characters
* DOCU: new community theme, multi cam setup
* FIX: docker systemctl workaround
* fixed systemctl problem, added delay for simulavr
* chore, removed unused stuff
* bump
* fixed olds paths and changed base image for faster builds
This fixes a bug where the webcam panel is collapsible even when navigated to the webcam page where the panel should not be collapsible.
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
* feature: add 2D object map (testing)
* feature: 2D map for objects
* chore: update materialdesignicons
* feature: move exclude object map and list in a differnt dialog
* feature: add hover function to display hovered object in the map
* feature: colorize border of current object
* feature: click on object in map to cancel object
* feature: add mobile support for exclude object dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add 2D object map (testing)
* feature: 2D map for objects
* chore: update materialdesignicons
* feature: move exclude object map and list in a seperate dialog
* feature: add hover function to display hovered object in the map
* feature: colorize border of current object
* feature: click on object in map to cancel object
* feature: add mobile support for exclude object dialog
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add exclude objects on the dashboard
* chore: fix ts issues from status panel
* chore: update gcodeviewer to v2.1.12
* feature: add object selection to gcode viewer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add klipper warnings panel on the dashboard
klipper pr for warnings: KevinOConner/klipper#4659
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: display KlipperWarningsPanel.vue only when klipper is ready
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add deprecated_value message to translations
feature: add link to mainsail docs for each entry
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: fix icon size in download log button
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* image fix, grammar fix
* fixed suggestions bug, some cleanup from old editor, svg edge case
* FIX: save a file with special characters
* DOCU: new community theme, multi cam setup
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
* DOCU: changed some wordings and skipped terminal commands
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
* feature: gcodeviewer (#322)
* Initial implementation of GCode Viewer in Mainsail
* Revert files.vue
* Reupdate files.vue
* Fix router
* Add render quality and force line mode settings
* Cache off canvas
Dynamically create and cache the canvas element so it does not have to reload and to keep current item loaded. Saves time on reload. Will need to test when vue watches are applied.
* Loading progress indicator
* Turn off loading progress after changing render quality.
* Failed render check.
* Added a live tracking button
* Work on settings
* Hide the loading required button earlier
* Added more settings.
* min and max feed coloring settings
* Set ZClipPlane for WebGL1 viewers
* Bed and Delta
* Force line rendering is saved
Addressed an issue where watchers could try to fire on a viewer that is not initialized
* Move loading progress bar
* Multiple UI Updates
Add Progress Color setting and persistence
Add z clip control - enabled when not tracking
Move loading progress bar into canvas area
* Update to package 1.0.6
* Pulled latest
* Update to @sindarius/gcodeviewer 2.0.4
Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.
* Set tracking position to 0 when starting tracking.
* A timeout is needed to reset the visual
* Created forceRedraw to deal with a timing issue when starting tracking.
* Update to 2.0.6 package
* Revert "feature: gcodeviewer (#322)" (#341)
This reverts commit 673fd9f879.
Co-authored-by: Juan Rosario <pyroclasmx@yahoo.com>
Co-authored-by: Stefan Dej <meteyou@gmail.com>
* bugfix(printerfarm): fix store theme files in farm printer
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature(printerfarm): display dynamic mainsail-logo in printerfarm panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix(printerfarm): fix image/webcam height to 3:2 ratio
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix(printerfarm): disable webcam if printer is not connected
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix(printerfarm): change button to "reconnect" when printer is not connected
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix(controlpanel): align center for bar control buttons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* Initial implementation of GCode Viewer in Mainsail
* Revert files.vue
* Reupdate files.vue
* Fix router
* Add render quality and force line mode settings
* Cache off canvas
Dynamically create and cache the canvas element so it does not have to reload and to keep current item loaded. Saves time on reload. Will need to test when vue watches are applied.
* Loading progress indicator
* Turn off loading progress after changing render quality.
* Failed render check.
* Added a live tracking button
* Work on settings
* Hide the loading required button earlier
* Added more settings.
* min and max feed coloring settings
* Set ZClipPlane for WebGL1 viewers
* Bed and Delta
* Force line rendering is saved
Addressed an issue where watchers could try to fire on a viewer that is not initialized
* Move loading progress bar
* Multiple UI Updates
Add Progress Color setting and persistence
Add z clip control - enabled when not tracking
Move loading progress bar into canvas area
* Update to package 1.0.6
* Pulled latest
* Update to @sindarius/gcodeviewer 2.0.4
Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.
* Set tracking position to 0 when starting tracking.
* A timeout is needed to reset the visual
* Created forceRedraw to deal with a timing issue when starting tracking.
* Update to 2.0.6 package
Setting extruder colors directly was removed and instead has been replaced with configuring tools. This opens up the ability to set a nozzle size as well for tool changer type systems that could have multiple nozzle sizes.
* feature: split control panel in components and add circle control panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: remove css namespace of SVG
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add button for QGL and Z-Tilt
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* clear debug status
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix(ControlPanel): change - to en-dash for equal width of negative and positiv buttons in DWC-style ControlPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* hu json
updated hungarian translation, please check if all parameter is short enough.
thx
* locale(hu): remove unused keys
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* Update hu.json
Just fixed the title.
* locale(hu): move translation to the right location
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* locale(hu): move translation to the right location
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Co-authored-by: Stefan Dej <meteyou@gmail.com>
* Updated de.json to match latest locale layout
* Update de.json
reverted fixed names to englisch.
* Update de.json
removing comma from json object ends.
* Update de.json
additonal comma fix.
* Update de.json
Chart texts changed to old (v1.6) values
(GUI) Line breaking texts changed.
* Z-Offset Panel headline correction
Changed from Z-Tilt to Z-Offset
* Status Panel line break change
Change Speed text from "Geschwindigkeit" to "Tempo"
* minor text updates
Voreinstellungen --> presets
Z-Panel preset text change
* feature: add linux/bash like console style
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: fix not full console position
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: configable console height on dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: old variable name in MiniconsolePanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: console array cut on dashboard dont work with shell style
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* init test setup
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: ts typos
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: better tab system
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add touch support for drag&drop and split components
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add panel filter to each viewport
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: mjpegstreamerAdaptive dont start with a wront image url
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add i18n support for dashboard settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Dynamically create and cache the canvas element so it does not have to reload and to keep current item loaded. Saves time on reload. Will need to test when vue watches are applied.
* test new flow and velocity
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* test build for live speed & flow
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: fix ToolSlider.vue for printsettings and machine limits
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* remove debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* rework MachineLimits
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: live extruder, toolhead speed and position data in StatusPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* test vue-echarts and dataset>source instead of series>data
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix disposed state of chart & delete update interval of settings page
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* init TS migation & dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: dashbaord console
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add "disabled" status to the filament runout sensor on the dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix klipper restart process
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix status panel during a print
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert g-code files to typescript
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert history files to typescript
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert machine limits to typescript
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert update manager to typescript
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert endstops & logfiles to typescript
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix temp display in tools panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert machine > config files to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert select printer dialog to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert select printer menu to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert farm page to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix debug output of farm printer getters
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix import webcam streams in farm view
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* better handling when changing printers
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert heightmap to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert heightmap to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* Console QOL (#300)
* CHORE
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
* NEW: console ts refactor, linux autocomplete, gui helplist, multiline
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
* FIX: console autocomplete flood fix
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
* fix merged console
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fixed return of ConsoleTable.vue isCommand
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: add toast after creating file in ConfigFilesPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: file upload message
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add toolbar to files panels
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: disable scrollbars in TempChart.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: sidebar z-index and farm printer toolbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: sidebar & topbar z-index and farm printer toolbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* update toolbars in gcode-files and history
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: new settings dialog (#302)
* create settings dialog and integrate general, console, control, marcos, presets, webcams
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: renamed webcam gui state variable
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: temperature_fan chamber in farm printers dashboard
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: only display RPM in tools panel, when its available
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: reading empty remote printers list
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: loading additionalSensors in temp panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix: bed_mesh loading
rework heightmap settings
save heightmap settings in moonraker db
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add remote printers to settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix types
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add beforeDestroy to echarts
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add heightmap visualMap scaling and format tooltip
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: logo & primary color customizing
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* remove keep-alive in app.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* round tempchart data
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* normalize toolbar buttons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix series attributes & update echarts-gl
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix hostname in sidebar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* rework websocket loadings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix rework websocket loadings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* Fixes for console QOL PR (#301)
* FIX: command help dialog added
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
* FIX: console fixes
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
* rework events store
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: check customFilters if string or array
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: edit preset dont work (existing name check)
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: save webcam with index 0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: tool combobox input dont work
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: tooltip position & z-index
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* rework console
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix output name of filament sensor
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* store performance updates and StatusPanel.vue optimizing
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* console bugfixes
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix icon-rotate in temperatures panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add auto-grow to console input fields
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix dialog action button colors
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix refreshMetadata of gcocde files
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add multi fileupload to drag&drop upload
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* convert SystemPanel to TS
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add init and getters for system panels
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add init and getters for system panels
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* finish SystemPanel.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: raspberry throttled flags in topbar
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: fix type in TheThrottledStates.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add new editor (#307)
* init test
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* theme test
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: switch to codemirror editor
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: fix type in TheThrottledStates.vue
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* reformat flags output and deactivate debug output
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* add types to throttle states
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* display "dirty" in the board firmware version string
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix mini console array cut
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* delete old comment
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* fix config files on small devices
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: display macro description in settings tab
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* change settings icons
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* rename dashboard panel & change slider text in settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* responsive optimations for settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix throttled state flags filter
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* Code highlighting for codemirror (#309)
* init test
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* theme test
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: switch to codemirror editor
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* NEW: klipper_config editor theme
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
* NEW: code highlighting for codemirror
Signed-off-by: Eike Ahmels <eike.ahmels@tu-dortmund.de>
Co-authored-by: Stefan Dej <meteyou@gmail.com>
* feature: hide/show jobs with special print status
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* redesign console help modal
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: default state of sidebar was wrong on mobile devices
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: mobile view interface settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: optimize mobile view interface settings
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: block empty console commands
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* push version number
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add current / max flow in status panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* feature: add big gcode thumbnail to status panel
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: fix favicon and setting tab names
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* cleanup old editor
Signed-off-by: Stefan Dej <meteyou@gmail.com>
* bugfix: add redirect for updates from 1.6.0 to 2.0.0
Signed-off-by: Stefan Dej <meteyou@gmail.com>
Co-authored-by: Eike Ahmels <hui_buh-@gmx.net>
* Changed from Balena to RPI-Imager
Enhanced Docs accordingly
Signed-off-by: Stephan Wendel <me@stephanwe.de>
* Added 'include mainsail.cfg'
Fixed Typo
Signed-off-by: Stephan Wendel <me@stephanwe.de>
* Removed SSH Login, no need for that.
Fixed Typo
Signed-off-by: Stephan Wendel <me@stephanwe.de>
* Added some formatting
Signed-off-by: Stephan Wendel <me@stephanwe.de>
* add home and temp check
* add missing lines
* update description property
* get VELOCITY parameter if specified
* remove gcode state
save and restore of the gcode state is already part of the base macros
* docs: just a few stylesheet adjustments
modified: docs/_sass/color_schemes/mainsail.scss
new file: docs/assets/img/alert.svg
new file: docs/assets/img/info.svg
new file: docs/assets/img/success.svg
new file: docs/assets/img/warning.svg
* docs: escape gcodes, so that it can be rendered.
modified: necessary-cfg.md
* language from js to json and new de language
* added translation to controlpanel, added translations
* de translation
fixed typo "rename"
* updated de translation
* fixes
* removed de.old
* updated de translation
* updated de local + deleted empty keys
* Update hu.json
Adding missing components, fixing doubled names (english+hungarian leftovers).
This is ready for release. Other changes after 0.16 release and live test will be requested.
* 2021 04 11 after todays changes up to date
also deleted previous problems, corrected the langage marks place, deleted not needed lines
* language from js to json and new de language
* added translation to controlpanel, added translations
* de translation
fixed typo "rename"
* updated de translation
* fixes
* removed de.old
* updated de translation
new file: assets/img/preview/Clippy2k.gif
new file: assets/img/preview/Mainsail2k.png
new file: assets/img/preview/Merlin2k.png
new file: assets/img/preview/Wallpaper2k.png
new file: assets/img/preview/logo2k.png
new file: assets/img/preview/menu2k.gif
new file: preview.md
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
We are committed to making participation in this project a harassment-free experience for everyone, regardless of the level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
Hi! I'm really excited that you are interested in contributing to Mainsail. Before submitting your contribution, please make sure to take a moment and read through the following guidelines:
- [Code of Conduct](https://github.com/meteyou/mainsail/.github/CODE_OF_CONDUCT.md)
- Use [https://github.com/meteyou/mainsail/issues](https://github.com/meteyou/mainsail/issues) to create new issues.
## Pull Request Guidelines
- The `master` branch is just a snapshot of the latest stable release. All development should be done in dedicated branches. **Do not submit PRs against the `master` branch.**
- Checkout a topic branch from the relevant branch, e.g. `develop`, and merge back against that branch.
- It's OK to have multiple small commits as you work on the PR - GitHub will automatically squash it before merging.
- If adding a new feature:
- Provide a convincing reason to add this feature. Ideally, you should open a suggestion issue first and have it approved before working on it.
- If fixing bug:
- If you are resolving a special issue, add `(fix #xxxx[,#xxxx])` (#xxxx is the issue id) in your PR title for a better release log, e.g. `update entities encoding/decoding (fix #3899)`.
- Provide a detailed description of the bug in the PR. Live demo preferred.
- Add appropriate test coverage if applicable.
## Committing Changes
Commit messages should follow the [commit message convention](https://www.conventionalcommits.org/en/v1.0.0/) so that changelogs can be automatically generated.
## Financial Contribution
As a pure community-driven project without major corporate backing, we also welcome financial contributions via Patreon and OpenCollective.
- [Become a supporter on Patreon](https://patreon.com/meteyou)
- [One-time donation via Ko-Fi](https://ko-fi.com/mainsail)
## Credits
Thank you to all the people who have already contributed to Mainsail!
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).
Mainsail a lightweight & responsive web interface for [Klipper](https://github.com/KevinOConnor/klipper), the 3D printer firmware. It communicates with [Moonraker (Klipper-API)](https://github.com/arksine/moonraker) from [Arksine](https://github.com/arksine).
Mainsail is also available in remote mode on [http://my.mainsail.xyz](http://my.mainsail.xyz). Find out [more](https://docs.mainsail.xyz/setup#mymainsailxyz).
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.
## Features
- Optimized for desktops, tablets and mobile devices
- Supports multiple 3D printers (Printer Farm)
- Localization (i18n)
- File Manager (gcode and config files)
- File Editor (gcode and config files)
- Print History / Stats
- Temperature Presets (with custom gcode)
- Bed Mesh Leveling
- Multi-Webcam support
- Control power devices (relays, TPLink, Tasmota, ..)
- Customizable UI (logos, backgrounds & even custom css)
For support join our discord server -> [https://discord.gg/skWTwTD](https://discord.gg/skWTwTD)
## Get support & assistance
Do you need help or just want to talk? Join us on [Discord](https://discord.gg/skWTwTD). We have a very active community.
Have you found a bug? Then we would like you to create an [issue](https://github.com/meteyou/mainsail/issues).
## Support this project
The project is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support the project.
Mainsail x Voron Toolhead,Various toolhead images inside the theme folder can be renamed to 'sidebar-background.png',eriroh,Mainsail-x-Voron-Toolhead-Theme
Rat Rig (unofficial), includes various sidebar images which can be renamed to ‘sidebar-background.png’,Raabi91,ratrig-mainsail-theme
1
name
short_note
author
repo
2
Dracula
steadyjaw
dracula-mainsail-theme
3
Cyberpunk
Dario-Ciceri
cp2077-mainsail-theme
4
Mainsail x Voron Toolhead
Various toolhead images inside the theme folder can be renamed to 'sidebar-background.png'
eriroh
Mainsail-x-Voron-Toolhead-Theme
5
Rat Rig (unofficial)
includes various sidebar images which can be renamed to ‘sidebar-background.png’
**Mainsail requires a minimum configuration to function properly and will display a warning at startup if the required parts are not found in your configuration file(s).**
{: .warning}
The following configuration elements are mandatory and must be configured for Mainsail to operate:
The following configuration elements are optional, including making tweaks and alterations to Klipper's default commands:
* [Custom Commands](configuration#customisation)
## Virtual SD Card
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.
{% raw %}
```yaml
[gcode_macro PAUSE]
description:Pause the actual running print
rename_existing:PAUSE_BASE
gcode:
##### set defaults #####
{% set x = params.X|default(230) %} #edit to your park position
{% set y = params.Y|default(230) %} #edit to your park position
{% set z = params.Z|default(10)|float %}#edit to your park position
{% set e = params.E|default(1) %} #edit to your retract length
##### calculate save lift position #####
{% set max_z = printer.toolhead.axis_maximum.z|float %}
{% set act_z = printer.toolhead.position.z|float %}
{% set lift_z = z|abs %}
{% if act_z < (max_z - lift_z) %}
{% set z_safe = lift_z %}
{% else %}
{% set z_safe = max_z - act_z %}
{% endif %}
##### end of definitions #####
PAUSE_BASE
G91
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E-{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
{% if "xyz" in printer.toolhead.homed_axes %}
G1 Z{z_safe}
G90
G1 X{x} Y{y} F6000
{% else %}
{action_respond_info("Printer not homed")}
{% endif %}
```
```yaml
[gcode_macro RESUME]
description:Resume the actual running print
rename_existing:RESUME_BASE
gcode:
##### set defaults #####
{% set e = params.E|default(1) %}#edit to your retract length
#### get VELOCITY parameter if specified ####
{% if 'VELOCITY' in params|upper %}
{% set get_params = ('VELOCITY=' + params.VELOCITY) %}
{%else %}
{% set get_params = "" %}
{% endif %}
##### end of definitions #####
G91
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
RESUME_BASE {get_params}
```
```yaml
[gcode_macro CANCEL_PRINT]
description:Cancel the actual running print
rename_existing:CANCEL_PRINT_BASE
gcode:
TURN_OFF_HEATERS
CANCEL_PRINT_BASE
```
{% endraw %}
# Optional
## Customisation
Klipper has many canned/preset commands that are themselves just macros.
The default configuration of these may not suit your needs or preferences, (though they are usually a good place to start). It's possible to adjust these by including them in your config, along with whatever code you would like to run.
## Example
Adjusting the `BED_MESH_CALIBRATE` command (which can be run from the Sidebar > Heightmap > Calibrate.
We would like acknowledge the valuable contributions that many people and projects have made to Mainsail, particularly the:
- contributors, who help make Mainsail better
- testers, who help find bugs in Mainsail, so they can be quickly fixed
- supporters via patreon/ko-fi
..and of course the projects Mainsail is built on, especially [Klipper](https://github.com/KevinOConnor/klipper){:target="_blank"}, [Moonraker](https://github.com/Arksine/moonraker){:target="_blank"} and [MainsailOS](https://github.com/mainsail-crew/MainsailOS/){:target="_blank"}.
**THANK YOU for your continued support.**
- TOC
{:toc}
# Contributors
| contributor | link |
|:--------|:-----|
{% for contributor in site.data.contributors %}{% if contributor.login != "meteyou" and contributor.login != "dependabot[bot]" %}|{: style="width: 20px; vertical-align: bottom;"} **{{ contributor.login }}**|[{{ contributor.html_url }}]({{ contributor.html_url }}){:target="_blank"}|
We understand the need for data privacy and have designed Mainsail to operate in your browser’s cache locally.
The following table applies to Mainsail when installed locallaly, or accessed via [my.mainsail.xyz](http://my.mainsail.xyz).
| YES | NO |
| :--------------: | :---------------: |
| Store static files in browser storage (.html, .js, .css) | ‘Phone home’ |
| Communicate directly with your printer via the Moonraker API | Send/transfer any data externally |
## Will my data be safe if I use the hosted version?
Accessing [my.mainsail.xyz](http://my.mainsail.xyz) stores the .html, .js and .css files for Mainsail locally in the brower's storage in exactly the same way that an instance running on your local hardware would do. In reality, there is no functional difference (or concern) between accessing Mainsail from a privately or publicly hosted instance.
Parallel operation is also possible.
# Third party software
We do not modify third party packages or software, nor control their attitude to Data Privacy.
If you are concerned, please consider the privacy policies (or contacting the developer) of:
It is worth noting that Klipper, Moonraker and RaspberryOS are open source software and ( whilst this brings no guarantee of privacy and security) the source is available and open to peer review.
{: .info}
The Raspberry Foundation is a registered charity in the United Kingdom, with extensive Privacy and Safeguarding policies.
[Klipper Building and flashing the micro-controller](https://www.klipper3d.org/Installation.html#building-and-flashing-the-micro-controller){:target="_blank"}
## More detailed
Klipper consists of two parts:
The software on your host (e.g. Raspberry Pi) and the firmware on your microcontroller (MCU).
Under normal circumstances, Klipper (on your host) can simply be updated from Mainsail without any problems and everything will work as expected.
From time to time it happens that there are changes in Klipper that make it necessary to update all your MCUs. Assuming you have run a Klipper update and Klipper on your host now supports commands that your MCUs does not understand. Then you will get the above error message.
Fortunately, these kind of updates don't happen very often, but now it has happened to you. ;-)
In order to solve the problem, you need to update all your MCUs. We are talking about multiple MCUs here, as people tend to forget that they have multiple microcontrollers in use. One of these candidates is the "Linux MCU" that many people install on their Raspberry Pi to measure resonances with an adxl345.
Detailed information on how to update the firmware can be found in the Klipper Documentation linked above (under TL;DR).
As far as we know, work is in progress to let Klipper update the firmware on its own.
## Removal of `default_parameter_` for gcode macros.
In the past, default parameters for gcode macros were defined like so:
```yaml
[gcode_macro PRINT_START]
default_parameter_EXTRUDER:230
gcode:
...
```
This would define a macro called `PRINT_START` that can be called with an `EXTRUDER` parameter like so: `PRINT_START EXTRUDER=200`. If no value is passed for `EXTRUDER` the default value of 230 is used. This style of default parameters has been deprecated. Instead, define your macro like so:
{% raw %}
```yaml
[gcode_macro PRINT_START]
gcode:
{% set EXTRUDER_TEMP = params.EXTRUDER|default(230)|int %}
```
{% endraw %}
Take note of the following important aspects:
- Parameters passed to gcode macros are stored in the `params` object. So if your macro is called with `VALUE=50`, `params.VALUE` will contain the value 50. After the deprecation, only the `params` object will contain these values.
- Make sure to name your "set variable" something else as the name of the variable in the `params` object (see how I used `EXTRUDER_TEMP` for the "set variable" and `EXTRUDER` for the actual macro parameter above) to avoid confusion and possible parsing errors.
- If you want to pass a default, add `|default(<default value>)` to the end of the params variable (see above, where my default value is 10).
- To ensure that `EXTRUDER_TEMP` will have an integer value, add `|int` to the end of the command, to turn passed parameters (if they exist) and the default into an integer. Depending on what kind of parameter you're passing, there are `|int``|float``|bool` or `|string` converters available. Make sure that you convert to int if you want to compare the values in your gcode macro.
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
`step_distance` describes the distance covered by a certain axis with 1 stepper (micro-)step. The downside of this parameter (and one of the reasons for its removal, is that if one were to change the microstepping of a stepper, the step_distance changes as well. Klipper therefore removed the `step_distance` parameter in favor of `rotation_distance` and `full_steps_per_rotation`. These two parameters are unaffected by microstepping, and can be easily determined by inspecting the used hardware.
Perform the following steps to convert your config:
- comment out the old `step_distance` parameter
- add three new parameters:
-`full_steps_per_rotation` this is 400 for 0.9 degree stepper motors and 200 for 1.8 degree stepper motors.
-`rotation_distance` this can be determined either according to hardware, or by converting the old `step_distance` using math.
-`gear_ratio` can additionally be used to describe an axis that uses a reduction gear (like the Voron-2 Z axis)
- The easiest way to obtain the correct values for `rotation_distance` and `gear_ratio` is to check the official Voron printer github repositories. All example configs have been updated to include the correct values for the new parameters. Keep in mind that you'll still have to calibrate your extruder steps/mm if you choose to copy the values for the extruder. Instructions on how to convert and recalibrate the extruder values can be found [here](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#extruder).
- The formulas to convert `step_distance` to `rotation distance` can be found [here](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#obtaining-rotation_distance-from-steps_per_mm-or-step_distance)
- Guidance on how to inspect your hardware to determine your conversion distance can be found [here](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#obtaining-rotation_distance-by-inspecting-the-hardware). Make sure to also consider any reduction gearing, if applicable, by checking [this section](https://github.com/Klipper3d/klipper/blob/master/docs/Rotation_Distance.md#using-a-gear_ratio) as well.
- For every stepper, except your extruder, you should end up with even numbers (e.g. 40 instead of 39.9683).
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
For Voron printers, this is only relevant if you're running an arduino based controller board and use pins named similar to `ar19` etc. These pin declarations are no longer valid and need to be replaced with their hardware pin identifiers. To find the appropriate hardware pin identifier perform a google image search for your board plus `pinout`. E.g.:
There, find the pin you're trying to replace. The old pin maps use the digital number of the pin. For example, if your old pin was `ar10`, looking at the image you will find that the `D10` pin corresponds to `PB4`. Replace all pins in your config accordingly, and finally remove the `pin_map:` configuration parameter from your `mcu` section.
Alternatively, you can copy an appropriate `[board_pins]` block from [this location](https://github.com/Klipper3d/klipper/blob/master/config/sample-aliases.cfg) to your config. If you're using multiple arduinos, make sure to add the appropriate mcu to each block like so:
```yaml
[board_pins arduino-mega]
mcu:mcu
```
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
Remove any instances of `pid_integral_max` from your config.
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
The "NTC 100K beta 3950" temperature sensor is _deprecated_ and will be removed in the near future.
In order to solve the problem search in your config for `sensor_type: NTC 100K beta 3950` and replace it with `sensor_type: Generic 3950`.
Most users will find the "Generic 3950" temperature sensor more accurate. Anyway you can continue to use the older (typically less accurate) definition. Therefor define a custom thermistor with `temperature1: 25`, `resistance1: 100000`, and `beta: 3950`.
Replace `sensor_type: rpi_temperature` by `sensor_type: temperature_host` everywhere in your config.
The above description was provided by our community member [FHeilmann](https://github.com/FHeilmann){:target="_blank"} and we have his permission to publish it here. Thanks a lot!
Mainsail aims to make Klipper more accessible to end users through a lightweight, responsive web ui, centred around an intuitive and consistent design philsophy.
The project is primarily developed and maintained by meteyou. To keep the project going he invests his free time, almost every day. To motivate him (☕🍺😜) there are several ways to support the project.
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
# Required configuration
## virtual_sdcard
This allows gcode file uploads.
```yaml
[virtual_sdcard]
path:~/gcode_files
```
### display_status
## 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
## pause / resume / cancel
This enables pause / resume in mainsail.
```yaml
[pause_resume]
```
## Macros
### for pause /resume / cancel functionality
# Macros
## for pause /resume / cancel functionality
These should be modified to your own needs.
{% raw %}
```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
description:Pause the actual running print
rename_existing:PAUSE_BASE
gcode:
SAVE_GCODE_STATE NAME=PAUSE_state
BASE_PAUSE
##### set defaults #####
{% set x = params.X|default(230) %} #edit to your park position
{% set y = params.Y|default(230) %} #edit to your park position
{% set z = params.Z|default(10)|float %}#edit to your park position
{% set e = params.E|default(1) %} #edit to your retract length
##### calculate save lift position #####
{% set max_z = printer.toolhead.axis_maximum.z|float %}
{% set act_z = printer.toolhead.position.z|float %}
{% set lift_z = z|abs %}
{% if act_z < (max_z - lift_z) %}
{% set z_safe = lift_z %}
{% else %}
{% set z_safe = max_z - act_z %}
{% endif %}
##### end of definitions #####
PAUSE_BASE
G91
G1 E-{E} F2100
G1 Z{Z}
G90
G1 X{X} Y{Y} F6000
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E-{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
{% if "xyz" in printer.toolhead.homed_axes %}
G1 Z{z_safe}
G90
G1 X{x} Y{y} F6000
{% else %}
{action_respond_info("Printer not homed")}
{% endif %}
```
```yaml
[gcode_macro RESUME]
rename_existing:BASE_RESUME
default_parameter_E:1#edit to your retract length
description:Resume the actual running print
rename_existing:RESUME_BASE
gcode:
##### set defaults #####
{% set e = params.E|default(1) %}#edit to your retract length
#### get VELOCITY parameter if specified ####
{% if 'VELOCITY' in params|upper %}
{% set get_params = ('VELOCITY=' + params.VELOCITY) %}
{%else %}
{% set get_params = "" %}
{% endif %}
##### end of definitions #####
G91
G1 E{E} F2100
G90
RESTORE_GCODE_STATE NAME=PAUSE_state MOVE=1
BASE_RESUME
{% if printer.extruder.can_extrude|lower == 'true' %}
G1 E{e} F2100
{% else %}
{action_respond_info("Extruder not hot enough")}
{% endif %}
RESUME_BASE {get_params}
```
```yaml
[gcode_macro CANCEL_PRINT]
rename_existing:BASE_CANCEL_PRINT
description:Cancel the actual running print
rename_existing:CANCEL_PRINT_BASE
gcode:
TURN_OFF_HEATERS
CLEAR_PAUSE
SDCARD_RESET_FILE
BASE_CANCEL_PRINT
CANCEL_PRINT_BASE
```
{% endraw %}
## Optional
# Optional
### customize klipper default commands
## customize klipper default commands
for example, if you want to adjust the `BED_MESH_CALIBRATE` command, which you can run from "heightmap > calibrate".
We would like to give you a little sneak peak on the next big thing.
---
# Sneak Peak
Some users have asked which new features are planned for Mainsail 2.0. So we would like to give you a little sneak peak.
# Ground breaking changes
We have completely rethought the system of Mainsail and MainsailOS and will further bring the OS aspect to the focus. This will include a **complete design overhaul** to integrate **the all new help assistant**.
Due to the major changes we will probably jump directly to **Mainsail 2000** instead of 2.0.
Since Mainsail 1.5.0 it is possible to report and visualize print statistics. These contain various information such as print status, print duration, amount of filament used, etc.
This is not a complete guide with every single step in detail, but rather a recommendation of what to do and especially what not to do to get access to the printer from somewhere remote from your network.
{: .info}
You have to decide if you ..
- only want to have status messages on your smartphone
- or you need full remote access to Mainsail from everywhere
Of course, you can also use a combination of both.
## Status messages
For simple status messages there are a couple of additional tools that can be used:
- __discord:__ Mooncord is a bot that sends you status messages over discord.
These tools are installed on the local machine and send the status messages via the respective platforms. Thus, no access to your local network from outside is necessary.
For details, please refer to the projects instructions.
## Remote Access to Mainsail
<div class="alert">
What <b>not to do</b>:
<ul>
<li>Please do not open ports of Mainsail/Moonraker in your router to the rest of the world. There are plenty of reports of Octoprint installations being freely accessible on the Internet, with just as many reasons why this is not a good idea.</li>
<li>Use an external service provider (e.g. tailscale) to gain access to your home network.
<ul>
<li>Con: you give the control out of your hand</li>
</ul>
</li>
<li>Reverse Proxy</li>
</ul>
</div>
<div class="success">
<b>Recommendation</b> what you <b>should do</b>:
<ul>
<li>Set up your own secured VPN tunnel.
<ul>
<li>either in the router</li>
<li>or your Pi</li>
</ul>
</li>
</ul>
</div>
## Set up VPN
Several routers allow you to set up a VPN tunnel without much effort.
After you have entered the login data into e.g. your smartphone, you will have secure access to your entire network, including Mainsail.
If your router does not support this, you can also set up your own VPN, e.g. on your Pi.
Therefore you could use: [OpenVPN](https://openvpn.net/), [WireGuard](https://www.wireguard.com/) or [PiVPN](https://www.pivpn.io/)
To be able to reach your home network even with a non-static IP address, you should use a dynamic DNS service. This will forward a domain directly to your IP address. Often, these DynDNS services can also be set up directly in the router, so that the IP address gets automatically updated on a change.
Some free services: [DuckDNS](https://www.duckdns.org) or [FreeDNS ](https://freedns.afraid.org/)
__Notice__
The devices that dial in via the VPN tunnel are assigned to a different address range. This address range must be configured in moonraker under _trusted_clients_ and _cors_domains_. [https://moonraker.readthedocs.io/en/latest/configuration/#authorization](https://moonraker.readthedocs.io/en/latest/configuration/#authorization) <br/><br/>
For example:
__192.168.1__.x _// devices on your regular LAN_
__192.168.50__.x _// devices connected through your VPN tunnel_
A prebuilt image for your Raspberry Pi. Flash it and you are almost ready to go.
- [KIAUH](kiauh.md) - _Klipper Installation And Update Helper_
A script toolbox to install and keep Klipper, Moonraker and Mainsail up to date. It contains many additional features and is the way to go for multiprinter setups.
- [Manual Setup](manual-setup/index.md)
The rocky road. If you want to know how everything is set up by hand, you will get all the information here.
## Hosted
Setup [remote access](../quicktips/remote-access) without installing/configuring a web server!
{: .info}
A hosted instance of Mainsail can be found and used at [my.mainsail.xyz](http://my.mainsail.xyz), check out the [documentation](mainsail-hosted) for usage and configuration.
Kiauh is a tool that helps you install or upgrade Klipper, Moonraker, Mainsail and various
other extensions easily and comfortably.
[KIAUH](https://github.com/th33xitus/kiauh) is a handy 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).

For more information and get to the guide click [here](https://github.com/th33xitus/kiauh).
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).
# Installing MainsailOS
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*.
MainsailOS builds upon RaspberryOS-Lite by incorporating Klipper, Moonraker and Mainsail into one disc image, making them more accessible and quicker to setup than before.
_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_
Complex/custom configurations may be better suited to a [manual](manual-setup/index.md) installation of Mainsail.
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.
If you are familiar with the flashing process, then please use your preferred method as you normally would.
If however you are unfamiliar with the flashing process then we have documented two methods to flash MainsailOS to your SD card:
* [Raspberry Pi Imager](mainsailos/pi-imager) (cross-platform, easiest) <span class="label label-red">recommended</span>
This method requires manual setup for SSH and Wi-Fi.
{: .info}
This method is cross-platform and works with Windows, Linux and MacOS.
{: .info}
We **strongly** recommend you use a premium SD card from a reputable manufacturer such as Sandisk, Kingston or Samsung, using an "A1" (or better) grade SD card. \
\
Low end cards will often fail quickly when used in this application.
{: .warning}
**FLASHING WILL DESTROY ALL DATA ON YOUR SD CARD AND CANNOT BE REVERSED**
{: .alert}
____
# Preparation
Whilst this guide makes specific use of balenaEtcher it is entirely possible to use any flashing software of your choice and then follow the manual steps to enable SSH / network after.
* [Download](https://github.com/mainsail-crew/MainsailOS/releases) the latest MainsailOS release (don't unpack the zip; you don't need to).
* [Download](https://www.balena.io/etcher/) and install the latest balenaEtcher.
# Flashing MainsailOS
balenaEtcher appearance may vary depending on the host OS.
{: .info}
* When opening balenaEtcher you will be presented with the following:
You may need to safely remove (eject) the SD card and reinsert it for the /boot partition to show.
{: .info}
Before you move on, it is important to check SSH is enabled.
This is done by creating an empty file with no extension named 'SSH', or 'SSH.txt' in the /boot partition of the SD card. MainsailOS includes this file.
Loaded 100 of 461 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.