Repository navigation
fix: handle project backport failures from issue #3 attachment
Test and fix project conversion using the sample attachment from issue #3.
- support project-level conversion paths that previously failed with trailing tokens
- copy .kicad_dru only for target versions with matching design-rule support
- clear embedded worksheet page-layout refs for KiCad 6/7/8 project compatibility
- fix KiCad 6 schematic downgrade syntax for fill colors, root drawings, sheet props, and pin UUIDs
- fix KiCad 4/5 legacy project, schematic cache library, multiline text, and symbol DEF references
- preserve PCB footprint attr dnp syntax during upgrades
- update format-differences documentation and localized translations
Add optional zstd support for embedded 3D backports
Extract KiCad embedded 3D model resources to project-local 3D/ outputs and
rewrite kicad-embed:// model references for older targets. Add optional zstd
build controls and fallback warnings when zstd is disabled.
The vendored zstd decompression code is sourced from the official Facebook zstd
project:
https://github.com/facebook/zstd
Improved and tested with the KiCad 10.99 embedded-3D sample provided by
danielchisholm.
zstd support is optional at build time. Use -Zstd auto|on|off with build.ps1 or --zstd auto|on|off / ZSTD=... with build.sh.
auto enables vendored zstd when src/third_party/zstd exists, on requires it, and off builds without it. The scripts define KICAD_BACKPORT_WITH_ZSTD as 1 or 0 for conditional compilation.
With zstd enabled, embedded KiCad 3D models are extracted to 3D/ and referenced via ${KIPRJMOD}/3D/.... Without zstd, they cannot be decompressed; the converter warns and removes unsupported embedded model references.