0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 09:17:56 +01:00

Default makerbot printer type to replicator 2.

This commit is contained in:
Wouter R 2013-11-22 18:01:53 +01:00
parent ea2d50fd60
commit c2d6c2274e

View File

@ -296,6 +296,7 @@ function subsituteVariables(gcode) {
switch (printerType) { switch (printerType) {
case "makerbot_replicator2": printerType = "r2x"; break; //FIXME: this should be r2, with a separate type for r2x case "makerbot_replicator2": printerType = "r2x"; break; //FIXME: this should be r2, with a separate type for r2x
case "makerbot_thingomatic": printerType = "t6"; break; case "makerbot_thingomatic": printerType = "t6"; break;
default: printerType = "r2"; break;
} }
gcode = gcode.replace(/{printingTemp}/gi ,temperature); gcode = gcode.replace(/{printingTemp}/gi ,temperature);