Lower number of lines to send per gcode part to 500, this should fix failure to convert to x3g code for Makerbots (which took about 8 seconds while ajax timeouts are 5 seconds).

Bump version to 0.9.1.
This commit is contained in:
Wouter R 2013-11-22 16:51:26 +01:00
parent fe9c2cc5ea
commit ea2d50fd60
4 changed files with 74 additions and 72 deletions

View File

@ -4,7 +4,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME := doodle3d-client
PKG_VERSION := 0.9.0
PKG_VERSION := 0.9.1
PKG_RELEASE := 1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)

View File

@ -38,7 +38,7 @@ function Printer() {
this.sendPrintPartTimeoutTime = 5000;
this.gcode; // gcode to be printed
this.sendLength = 1500; // max amount of gcode lines per post (limited because WiFi box can't handle to much)
this.sendLength = 500; // max amount of gcode lines per post (limited because WiFi box can't handle to much)
this.retryDelay = 2000; // retry setTimout delay
this.retrySendPrintPartDelay; // retry setTimout instance

View File

@ -294,7 +294,7 @@ function subsituteVariables(gcode) {
var printerType = settings["printer.type"];
switch (printerType) {
case "makerbot_replicator2": printerType = "r2x"; break;
case "makerbot_replicator2": printerType = "r2x"; break; //FIXME: this should be r2, with a separate type for r2x
case "makerbot_thingomatic": printerType = "t6"; break;
}

View File

@ -150,6 +150,8 @@
<script src="../js_src/Progressbar.js"></script>
<script src="../js_src/Thermometer.js"></script>
<script src="../js_src/utils.js"></script>
<script src="../js_src/sketches.js"></script>
<script src="../js_src/Help.js"></script>
<script src="../js_src/sidebar.js"></script>
<script src="../js_src/Message.js"></script>
<script src="../js_src/main.js"></script>