ModelInfo produces many NaN's #45

rkblackfire opened this Issue Aug 11, 2016 · 0 comments


None yet

1 participant


I think it is related to my Slicer (modified skeinforge by myriwell), because noone else reported such problems:

In every .gcode file ''all'' individual layer information are calculated ok (plausible values). But in Model Info most values are shown as NaN (not summed up correctly).

I ''fixed it'' (only better error handling - not really investigated the reason) with:
.in Worker.js
..line 162:
...- totalFilament+=cmds[j].extrusion;
...+ if(cmds[j].extrusion > 0) totalFilament+=cmds[j].extrusion;
..line 181:
...- printTime += printTimeAdd;
...+ if (printTimeAdd > 0) printTime += printTimeAdd;

Example .gcode can be found at: []

Thumbs Up! to the Project after all.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment