fix drill NaN emit, up/over re-plunge speeds
This commit is contained in:
parent
d5b50f5d25
commit
0c50236dc1
2 changed files with 12 additions and 5 deletions
|
|
@ -274,6 +274,9 @@ export function cam_export(print, online) {
|
|||
dist = Math.sqrt(dx * dx + dy * dy + dz * dz),
|
||||
newFeed = feed && feed !== pos.f;
|
||||
|
||||
// catch NaN in debugging
|
||||
// if (nl.length === 0 || nl[0] === undefined)
|
||||
// console.log(out, nl.length, ...nl);
|
||||
|
||||
// drop dup points (all deltas are 0)
|
||||
if (!arc && !(dx || dy || dz || da)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue