abetusk/gbr2ngc

`2-13-3_A_drill_file.gbr` not rendering properly

Closed this issue · 1 comments

It looks like 5 of the drill holes in the tests/Gerber_File_Format_Examples/2-13-3_A_drill_file.gbr file are not rendering properly. There aren't any un-implemented in the Gerber file so this is a bug.

Issue was if the read in position's number of digits was less than the decimal count and there was no integral digits to parse, would incorrectly put the decimal before the last digit read (the most significant digit). For the lines in the file, this had the effect of multiplying those positions by ten which is why they looked so off.

Parsing is corrected and the issue is fixed.