ID: | 3707 |
From: | pc...@cuvoodoo.info |
Date: | Fri, 24 Jan 2020 15:09:21 +0100 |
Subject: | Re: [pcb-rnd] reversed missing layer export warning |
in-reply-to: | 3705 from ge...@igor2.repo.hu |
replies: | 3708 from ge...@igor2.repo.hu |
On Thu, Jan 23, 2020 at 06:10:28AM +0100, gedau@igor2.repo.hu wrote: > As of r29239, I've fixed and documented both of these, please test and > ACK! ACK > Fix details: > > - I've separated the error message by reason: there is one for "no layer > group exists" (when your cam job says "export top silk" and there is no > top silk layer group at all) and another error message for the case when > layer groups were there but empty (no objects drawn on them) > > - you can get only one of the two warnings; if layer groups were missing, > you won't get an extra warning for not having objects > > - note: if your outfile is built of 2 or more layer groups, the group > missing warning will be emitted only if none of the groups exist; e.g. if > you have a rule that exports all top layer groups in top.png, you won't > get a warning for a missing top silk, you get a warning only if none of > the addressed top layer groups existed. In other words: the "layer group > missing" warning means absolutely nothing existed of what you wanted to > export in that file, while if you are merging multiple groups into an > outfile it is accepted as normal case if a few groups are missing as long > as at least one exists > > - I've separated the warning suppress keywords for them; they are called > okempty-group and okempty-content, respectively > > - I've kept the original okempty keyword too, in a compatible manner: it > is a shorthand that enables both okempty-group and okempty-content, so > using that you won't see any warning about these I tested okempty, okempty-group, and okempty-content. they work like described. thanks a lot for the upgrade. should the CAM rules be updated accordingly? I would mark *-copper as okempty-group, and *-silk/paste as okempty-content (or even just okempty). board without silk (replaced with marking on copper) and paste (THT only) are not unusual. no mask is unusual though.
Reply subtree:
3707 Re: [pcb-rnd] reversed missing layer export warning from pc...@cuvoodoo.info
3708 Re: [pcb-rnd] reversed missing layer export warning from ge...@igor2.repo.hu
3734 Re: [pcb-rnd] reversed missing layer export warning from pc...@cuvoodoo.info
3738 Re: [pcb-rnd] reversed missing layer export warning from ge...@igor2.repo.hu