kicad-developers team mailing list archive
Mailing list archive
Re: [PATCH] Option to subtract soldermask from silkscreen in gerber output
I tested the output with gerbview and gerbv. In gerbv everything's ok.
Now that I checked again with gerbview the negative layer kind of
works. However, since negative layers in gerbview are taken care of by
drawing them in background color, the negative stuff will be
"subtracted" from all layers below the negative layer. Fixing this
probably requires that the drawing of a layer is first done onto a
temporary device context/bitmap and blitting the result to the main
window. I can take a look at this. Anyways, the default value of
subtractMaskFromSilk can be changed to false.
By the way, there's still a problem with the function header in
plot_common.h. The third patch I submitted is correct, I think.
On Tue, Dec 7, 2010 at 12:48 AM, Dick Hollenbeck <dick@xxxxxxxxxxx> wrote:
> On 12/06/2010 04:20 PM, Dick Hollenbeck wrote:
>>> Board manufacturers typically do not print silkscreen on areas without
>>> soldermask. Nevertheless, it would be nice to have proper gerbers to
>>> begin with, i.e., gerbers with no silkscreen in soldermaskless areas.
>>> Of course, most of the problem can be taken care of by drawing the
>>> footprints properly. However, sometimes the silkscreen of one
>>> footprint ends up on the pads of another one (think components under a
>>> so-dimm card, for example). The attached patch adds an option to
>>> subtract the soldermask from the silkscreen when doing gerber output.
>> Committed in version 2644.
>> Fixed in version 2645.
>> Fixes: function header, space above single line comments, expandable
>> dialog box problems.
> Did you test the gerber output with gerbview?
> I am not sure that gerbview can display a file created with the negative
> If it cannot, I think we should reverse the default setting that you
> chose, or I would ask you to see if you can patch gerbview. I think it
> would be bad for pcbnew to generate a gerber that gerbview cannot display.
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp