v2.4.3 fixes for D2S gcode import

This commit is contained in:
Sandy Noble 2017-06-25 17:22:29 +01:00
parent c545545f19
commit f32f22abae
1 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ import java.lang.reflect.Method;
int majorVersionNo = 2;
int minorVersionNo = 4;
int buildNo = 2;
int buildNo = 3;
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
ControlP5 cp5;
@ -1330,7 +1330,7 @@ RShape loadShapeFromGCodeFile(String filename) {
boolean reportStatus = true;
while ((line = reader.readLine ()) != null) {
lineNo++;
println("Line: " + line);
// println("Line: " + line);
if (reportStatus) {
float percent = ((float)lineNo / (float)countLines) * 100.0;
@ -1354,7 +1354,7 @@ RShape loadShapeFromGCodeFile(String filename) {
println(e.toString());
continue;
}
println("Ins: " + ins);
// println("Ins: " + ins);
Integer code = Math.round(ins.get("G"));
Float z = ins.get("Z");