Michael-F-Bryan / gcodes

A basic C# gcode parser and interpreter
https://michael-f-bryan.github.io/gcodes/
MIT License
31 stars 9 forks source link

Ignore consecutive line numbers #2

Closed Michael-F-Bryan closed 6 years ago

Michael-F-Bryan commented 6 years ago

Some gcode files still add line numbers even if the rest of the line is blank. If we see consecutive line numbers, ignore all but the most recent.

  N59   G99
  N60   
  N61   G98 C4
  N62   G99
  N63   
  N64   G98 C5