← Back to team overview

kicad-developers team mailing list archive

Re: Deleting layers.


Hi Wayne,

I'll back you on this decision.
It's more than once cost both time and money, to say nothing of frustration to multiple users.

Personally, I've not been caught with sending a board to production in this state, but I certainly have run into the problem and caught it during routing (Obviously non connected pins that don't DRC)

If a layer is deleted, it's deleted, there simply shouldn't be any leftovers of any description. A clear warning that this is happening and confirmation dialog is really all that is needed, especially if that dialog explicitly lists the layers that are being removed.

On 27/09/17 22:08, Wayne Stambaugh wrote:
This bug[1] has reared it's ugly head again so I am going to fix it once
and for all before the stable 5 release.  We cannot continue storing
objects on deleted layers in the board file which cause the DRC to pass
connection tests when in reality there are failures.  I don't really
have the time so you should assume that this is going push back the
release.  It probably should be backported to the stable release but
given the code deviations, I don't see that happening unless someone
else feels motivated to do so.  I looked at the existing code and it's
not going to be a trivial fix.  I do not intend to do anything fancy
such as give the user the option to merge objects from deleted layers to
other layers.  I'm going to keep it simple by just warning the user and
removing all objects from the removed layers.  This includes non-copper
layers as well.  I don't see how keeping objects on layers that don't
exist in the board is valid.  I'm not really asking for comments but if
you have any suggestions outside what I have presented I am willing to
entertain them.

[1]: https://bugs.launchpad.net/kicad/+bug/893950

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

David Godfrey
SB Tech Services
mb: +61 437 286 200 <tel:+61437286200>

Follow ups