From 46a0437f89f274ac1683e2a1929448f51a88f194 Mon Sep 17 00:00:00 2001 From: Rick Companje Date: Mon, 13 Nov 2017 17:14:57 +0100 Subject: [PATCH] hack to support Ultimaker 2+ --- js/PrintPage.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/PrintPage.js b/js/PrintPage.js index 761cb24..f52c389 100644 --- a/js/PrintPage.js +++ b/js/PrintPage.js @@ -186,6 +186,11 @@ _configAPI.loadAll(function(successData) { _wifiboxSettings = successData; + //hack to support Ultimaker 2+. actual fix would be to add Ultimaker 2+ to WiFi-Box firmware. + if (_slicerSettings.printer.type==="ultimaker2_plus") { + _slicerSettings.printer.type = "ultimaker2"; + } + var data = { slicerPrinterType: _slicerSettings.printer.type, wifiboxPrinterType: _wifiboxSettings["printer.type"]