codec issues with float32. fix gcode parsing when layer hints missing
This commit is contained in:
parent
006823d870
commit
0611709c58
4 changed files with 58 additions and 20 deletions
|
|
@ -178,8 +178,9 @@
|
|||
// non-move in a new plane means burp out
|
||||
// the old sequence and start a new one
|
||||
if (seq.Z != pos.Z) {
|
||||
const nh = (defh || pos.Z - seq.Z);
|
||||
seq = [];
|
||||
seq.height = height = (defh || pos.Z - seq.Z);
|
||||
seq.height = height = nh;
|
||||
if (fdm) dz = -height / 2;
|
||||
output.push(seq);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue