mirror of
https://github.com/euphy/polargraphcontroller
synced 2025-01-09 19:55:16 +01:00
v2.4.3 fixes for D2S gcode import
This commit is contained in:
parent
c545545f19
commit
f32f22abae
@ -58,7 +58,7 @@ import java.lang.reflect.Method;
|
|||||||
|
|
||||||
int majorVersionNo = 2;
|
int majorVersionNo = 2;
|
||||||
int minorVersionNo = 4;
|
int minorVersionNo = 4;
|
||||||
int buildNo = 2;
|
int buildNo = 3;
|
||||||
|
|
||||||
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
|
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
|
||||||
ControlP5 cp5;
|
ControlP5 cp5;
|
||||||
@ -1330,7 +1330,7 @@ RShape loadShapeFromGCodeFile(String filename) {
|
|||||||
boolean reportStatus = true;
|
boolean reportStatus = true;
|
||||||
while ((line = reader.readLine ()) != null) {
|
while ((line = reader.readLine ()) != null) {
|
||||||
lineNo++;
|
lineNo++;
|
||||||
println("Line: " + line);
|
// println("Line: " + line);
|
||||||
|
|
||||||
if (reportStatus) {
|
if (reportStatus) {
|
||||||
float percent = ((float)lineNo / (float)countLines) * 100.0;
|
float percent = ((float)lineNo / (float)countLines) * 100.0;
|
||||||
@ -1354,7 +1354,7 @@ RShape loadShapeFromGCodeFile(String filename) {
|
|||||||
println(e.toString());
|
println(e.toString());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
println("Ins: " + ins);
|
// println("Ins: " + ins);
|
||||||
Integer code = Math.round(ins.get("G"));
|
Integer code = Math.round(ins.get("G"));
|
||||||
|
|
||||||
Float z = ins.get("Z");
|
Float z = ins.get("Z");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user