Skip to content

Harmonise layer export with KiCad

This simplifies and harmonises the layer export with the KiCad file writer.

Remove an old quirk of the format which is no longer used by KiCad.

The logic isn't exactly the same as the KiCad one as it isn't done as a LSET-like data structure, but this means it's mostly compatible now, which reduces diffs vs kicad-cli.

Also use more layer sets constants when obvious.

Merge request reports