0
0
mirror of https://github.com/Doodle3D/doodle3d-connect.git synced 2024-12-25 18:13:48 +01:00

hack to support Ultimaker 2+

This commit is contained in:
Rick Companje 2017-11-13 17:14:57 +01:00
parent 3a9688a915
commit 46a0437f89

View File

@ -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"]