← Back to team overview

kicad-developers team mailing list archive

PCB forward compatibility

 

The addition of (diff_pair_gap) and (diff_pair_width) has made it such
that NO PCBs made with 'master' builds can now be loaded in the 4.0
branch. Would a patch be accepted to do one of the following, to be
added to the 4.0 branch to ease future conversion from 4 to 5?

1. Fully backport saving diff pair dimensions to v4, but only write them
   to the file if they already existed in it at load. This way, v4
   writes files compatible with older v4 by default, but if editing a
   v5 file will not lose the data.

or:
2. Specifically ignore these options on load, since dropping them
   doesn't actually lose any PCB objects.

or:
3. Update the version number checker code I wrote before to have both
   Warnings and Errors, using Warnings when ignoring the unknown object
   and loading the board anyway will not lead to "important" data loss.
   Add these attributes to a list of unknown objects that generate
   Warnings.

I'm partial to #3. I'd be partial to #1 if I had more time on my hands,
but I'm not sure how much work it would be to backport. I can look into
doing it, but might have to fall back on #3.

-- 
Chris


Follow ups