From c2d6c2274ee294d28eed0ca6b71133d1547ea507 Mon Sep 17 00:00:00 2001 From: Wouter R Date: Fri, 22 Nov 2013 18:01:53 +0100 Subject: [PATCH] Default makerbot printer type to replicator 2. --- js_src/gcodeGenerating.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js_src/gcodeGenerating.js b/js_src/gcodeGenerating.js index d992600..7002d78 100644 --- a/js_src/gcodeGenerating.js +++ b/js_src/gcodeGenerating.js @@ -296,6 +296,7 @@ function subsituteVariables(gcode) { switch (printerType) { case "makerbot_replicator2": printerType = "r2x"; break; //FIXME: this should be r2, with a separate type for r2x case "makerbot_thingomatic": printerType = "t6"; break; + default: printerType = "r2"; break; } gcode = gcode.replace(/{printingTemp}/gi ,temperature);