Skip to content

Commit

Permalink
added default menu config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkv committed Dec 19, 2019
1 parent 7e99554 commit 6c98fa4
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 3 deletions.
4 changes: 2 additions & 2 deletions default_menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{
"name": "Extrude",
"icon": "filament",
"panel": "extrude"
"panel": "extrude_multitool"
},
{
"name": "Fan",
Expand All @@ -44,7 +44,7 @@
{
"name": "Filament",
"icon": "filament",
"panel": "home"
"panel": "filament_multitool"
},
{
"name": "Configuration",
Expand Down
80 changes: 80 additions & 0 deletions docs/DefaultConfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# Default Menu Config

```
[
{
"name": "Home",
"icon": "home",
"panel": "home"
},
{
"name": "Actions",
"icon": "actions",
"panel": "menu",
"items": [
{
"name": "Move",
"icon": "move",
"panel": "move"
},
{
"name": "Extrude",
"icon": "filament",
"panel": "extrude_multitool"
},
{
"name": "Fan",
"icon": "fan",
"panel": "fan"
},
{
"name": "Temperature",
"icon": "heat-up",
"panel": "temperature"
},
{
"name": "Control",
"icon": "control",
"panel": "control"
},
{
"name": "ToolChanger",
"icon": "toolchanger",
"panel": "toolchanger"
}
]
},
{
"name": "Filament",
"icon": "filament",
"panel": "filament_multitool"
},
{
"name": "Configuration",
"icon": "control",
"panel": "menu",
"items": [
{
"name": "Bed Level",
"icon": "bed-level",
"panel": "bed-level"
},
{
"name": "ZOffsets",
"icon": "z-offset-increase",
"panel": "nozzle-calibration"
},
{
"name": "Network",
"icon": "network",
"panel": "network"
},
{
"name": "System",
"icon": "info",
"panel": "system"
}
]
}
]
```
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Available panels

You can define your own menu structure using [Z-Bolt-OctoScreen](https://github.com/Z-Bolt/OctoPrint-Z-Bolt-OctoScreen). Plugin uses JSON format for menu configuration. Here is a default config. Below is a list of available menu items.
You can define your own menu structure using [Z-Bolt-OctoScreen](https://github.com/Z-Bolt/OctoPrint-Z-Bolt-OctoScreen). Plugin uses JSON format for menu configuration. [Here is a default config](DefaultConfig.md). Below is a list of available menu items.

### Home
Config example:
Expand Down

0 comments on commit 6c98fa4

Please sign in to comment.