← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fix for 3D model offset

 

On 11/28/2017 10:40 AM, Kevin Cozens wrote:
> On 2017-11-27 02:48 AM, jp charras wrote:
>> I am thinking the "offset" should be written in footprint (and board)
>> files *only* if it is not 0,0,0
>>
>> With this patch, all footprint files will be incompatible with stable
>> version, due to a not used
>> (most of time) parameter.
>> Moreover footprint files have no version identification.
> 
> If a patch is going to be introduced that will break compatibility with
> the stable version this sounds like a good time to add file version
> information to the footprint files.
> 

This is a far bigger change than you realize.  If a header (the section
that would contain the version information) is added to footprint files,
this will create a major change in the board file format as well.  It
may also complicate the footprint parsing and formatting code.  As of
right now, the code for parsing and formatting footprints in board files
is the same as the footprint library parser and formatter.  That is why
there is no header information in the footprint files.  I would prefer
to take my time and think this through rather than just get something
done to meet a release schedule.


References