Addition to support gcode without Z codes

This commit is contained in:
Sandy Noble 2018-10-28 15:18:33 +00:00 committed by GitHub
parent 8e263852ee
commit 995db8a8a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -322,6 +322,9 @@ RShape loadShapeFromGCodeFile(String filename) {
drawLine = false;
}
}
else { // if there is no Z axis, assume it's always on
// drawLine = true; // this isn't always safe!
}
Float x = ins.get("X");
Float y = ins.get("Y");