I just migrated from Kicad 5.x to 7.0. For my entire long career I have always created gerbers where the “printed” areas are the mask openings. However, in Kicad 7.0 it appears that the mask gerbers are output as negative polarity without an option to change the polarity. (I can change the polarity by editing the gerber file with a text editor, but…)
Are manufacturers going to object to this format?
Why was this change made to KiCad?
Is there some way in KiCad to select the polarity of the Gerbers?
You are right - it is more subtle than that. My earlier files when examined with a text editor also say that they are “Negative”. For some reason my Viewmate Gerber viewer actually treats the new (V7.0) files as negative polarity. But it treats my old (V5.x) files as if they were positive polarity.
I have been using the Viewmate viewer for years with gerbers from various CAD software and the mask has always appeared as a positive.
Those are comments inserted using no-op G04 codes.
What happens if you generate Gerbers with X2 format selected. Maybe Viewmate must have X2? If you don’t have v5.1 around any more, you could try changing "G04 #@! " to “%” to simulate the X2 option selected. Oh, I think you also need to end those metadata lines with %.
It does seem that the selection of “X2” was the difference.
And I also edited the old file to format the comments with % and the viewer changed its treatment of the file to match the “New” file.
I guess this is a non-issue. I now wonder if Viewmate was displaying the old files with the incorrect polarity?
Thank you very much for your help - I am reassured.