From c3fa844966fee10e5aebbacda7e362786a59d66c Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Thu, 5 Dec 2013 16:37:10 +0100 Subject: [PATCH] Added makerbot_replicator2x --- js_src/gcodeGenerating.js | 3 ++- www/settings.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/js_src/gcodeGenerating.js b/js_src/gcodeGenerating.js index 35eab62..08f7808 100644 --- a/js_src/gcodeGenerating.js +++ b/js_src/gcodeGenerating.js @@ -284,7 +284,8 @@ function subsituteVariables(gcode) { var printerType = settings["printer.type"]; switch (printerType) { - case "makerbot_replicator2": printerType = "r2x"; break; //FIXME: this should be r2, with a separate type for r2x + case "makerbot_replicator2": printerType = "r2"; break; + case "makerbot_replicator2x": printerType = "r2x"; break; case "makerbot_thingomatic": printerType = "t6"; break; case "makerbot_generic": printerType = "r2"; break; } diff --git a/www/settings.html b/www/settings.html index d738b77..0e5ba3a 100644 --- a/www/settings.html +++ b/www/settings.html @@ -20,6 +20,7 @@ +