Exporting footprint to library changes keepout zone
Description
In the board editor, when exporting the footprints used on the board to a local (Project specific library) library by using: file -> export -> Footprints to library... All of the libraries that have a keepout zone get modified. The keepout zone gets x-y shifted by some amount
Steps to reproduce
-
Create a schematic and a board with a part on it that has a keepout zone (such as the MDBT50Q-1MV2)
-
Update the PCB from schematic in the board editor so the footprint appears in the editor
-
Export the part to a new local library by using File -> Export -> Footprints to New Library..., then choose project and save the library (the same problem may also appear in global libraries, have not checked)
-
Press yes when the prompt asks to update footprints on the board to refer to the new library
-
Double-click the part and press Update Footprint from Library or Edit library Footprint to see the shifted keepout zone
KiCad Version
Application: KiCad PCB Editor x86_64 on x86_64
Version: 8.0.1, release build
Libraries:
wxWidgets 3.2.4
FreeType 2.13.2
HarfBuzz 8.3.0
FontConfig 2.15.0
libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.51.0
Platform: macOS Ventura Version 13.6.3 (Build 22G436), 64 bit, Little endian, wxMac
Build Info:
Date: Mar 14 2024 14:07:38
wxWidgets: 3.2.4 (wchar_t,wx containers)
Boost: 1.84.0
OCC: 7.7.2
Curl: 7.87.0
ngspice: 42
Compiler: Clang 14.0.3 with C++ ABI 1002
Build settings: