diff --git a/src/components/panels/ControlPanel.vue b/src/components/panels/ControlPanel.vue
index 613ffea6..c60bbc5a 100644
--- a/src/components/panels/ControlPanel.vue
+++ b/src/components/panels/ControlPanel.vue
@@ -13,39 +13,39 @@
- mdi-chevron-leftX-100
- mdi-chevron-leftX-10
- mdi-chevron-leftX-1
+ mdi-chevron-leftX-100
+ mdi-chevron-leftX-10
+ mdi-chevron-leftX-1
- X+1mdi-chevron-right
- X+10mdi-chevron-right
- X+100mdi-chevron-right
+ X+1mdi-chevron-right
+ X+10mdi-chevron-right
+ X+100mdi-chevron-right
- mdi-chevron-leftY-100
- mdi-chevron-leftY-10
- mdi-chevron-leftY-1
+ mdi-chevron-leftZ-100
+ mdi-chevron-leftY-10
+ mdi-chevron-leftY-1
- Y+1mdi-chevron-right
- Y+10mdi-chevron-right
- Y+100mdi-chevron-right
+ Y+1mdi-chevron-right
+ Y+10mdi-chevron-right
+ Y+100mdi-chevron-right
- mdi-chevron-leftZ-25
- mdi-chevron-leftZ-1
- mdi-chevron-leftZ-0.1
+ mdi-chevron-leftZ-25
+ mdi-chevron-leftZ-1
+ mdi-chevron-leftZ-0.1
- Z+0.1mdi-chevron-right
- Z+1mdi-chevron-right
- Z+25mdi-chevron-right
+ Z+0.1mdi-chevron-right
+ Z+1mdi-chevron-right
+ Z+25mdi-chevron-right
diff --git a/src/components/panels/ExtruderPanel.vue b/src/components/panels/ExtruderPanel.vue
new file mode 100644
index 00000000..0896320a
--- /dev/null
+++ b/src/components/panels/ExtruderPanel.vue
@@ -0,0 +1,97 @@
+
+
+
+
+
+
+ Feed amount in mm:
+
+ 100
+ 50
+ 20
+ 10
+ 5
+ 1
+
+
+
+ Feedrate in mm/s:
+
+ 60
+ 30
+ 15
+ 5
+ 1
+
+
+
+
+
+ mdi-arrow-up-bold Retract
+ mdi-arrow-down-bold Detract
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/panels/index.js b/src/components/panels/index.js
index 08aebe46..f1c2a0be 100644
--- a/src/components/panels/index.js
+++ b/src/components/panels/index.js
@@ -4,6 +4,7 @@ import StatusPanel from './StatusPanel.vue'
import ToolsPanel from './ToolsPanel.vue'
import TempchartPanel from './TempchartPanel.vue'
import ControlPanel from "./ControlPanel";
+import ExtruderPanel from "./ExtruderPanel";
import Peripherie from "./PeripheriePanel";
import WebcamPanel from "./WebcamPanel";
import MiniconsolePanel from "./MiniconsolePanel";
@@ -13,6 +14,7 @@ Vue.component('status-panel', StatusPanel);
Vue.component('tools-panel', ToolsPanel);
Vue.component('tempchart-panel', TempchartPanel);
Vue.component('control-panel', ControlPanel);
+Vue.component('extruder-panel', ExtruderPanel);
Vue.component('peripherie-panel', Peripherie);
Vue.component('webcam-panel', WebcamPanel);
Vue.component('miniconsole-panel', MiniconsolePanel);
diff --git a/src/pages/Dashboard.vue b/src/pages/Dashboard.vue
index 4aa8671a..22ea5ac9 100644
--- a/src/pages/Dashboard.vue
+++ b/src/pages/Dashboard.vue
@@ -4,6 +4,7 @@
+
diff --git a/src/pages/Files.vue b/src/pages/Files.vue
index c252fd71..0a7c2d6b 100644
--- a/src/pages/Files.vue
+++ b/src/pages/Files.vue
@@ -51,7 +51,7 @@
mdi-refresh Refresh
- mdi-uploadUpload
+ mdi-uploadUpload
1 && nameSplit[0] === "bed_mesh" && nameSplit[1] !== undefined) {
+ window.console.log(nameSplit);
+ window.console.log(value);
profiles.push({
name: nameSplit[1],
data: value
@@ -243,5 +245,25 @@ export default {
showDashboardWebcam: state => {
return (state.webcam.url !== "" && state.gui.dashboard.boolWebcam);
+ },
+
+ getCurrentExtruder: state => {
+ let extruder = {
+ name: "",
+ status: null,
+ config: null,
+ };
+ let extruderName = state.printer.toolhead.extruder;
+ extruder.name = extruderName;
+
+ if (state.config[extruderName]) {
+ extruder.config = state.config[extruderName];
+ }
+
+ if (state.printer[extruderName]) {
+ extruder.status = state.printer[extruderName];
+ }
+
+ return extruder;
}
}
\ No newline at end of file
diff --git a/src/store/index.js b/src/store/index.js
index 075ce9c8..f2cdea55 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -57,6 +57,7 @@ export default new Vuex.Store({
toolhead: {
position: [],
homed_axes: [],
+ extruder: "",
status: "",
print_time: 0,
printing_time: 0,