I do not have much experience with Gerber fies, but I accidentally noticed a lot of (weird?) repetition in the coordinates in a gerber file. Is this normal?
Oops: After a bit of fiddling I noticed that the file with the repeated coordinates was not made by KiCad, but by opening a KiCad.gbr file in gEDA’s Gerbv, and then saving it again. The purple coordinates all are the same text string:
For reference, it is from the file:
The original file it is copied from is:
I found it strange that the file saved by Gerbv was smaller, even though it had a large number of redundant “G01” codes.
When lining stuff up a bit, I noticed however that gEDA’s Gerbv truncates the last 2 digits of coordinates.
gEDA’s Gerbv also has alternating “D01*” and “D02” codes, while the KiCad file only has “D01”. Both files do however have almost the same number of lines.
I added 3 spaces in front of the part made by KiCad, but it’s from a different section.
gEDA’s Gerbv also saved the file in mill while KiCad used metric.
Headers of the files compared in Meld:
I have no idea if this would be worth pursueing in any way, or is just normal.