kicad/pcbnew/pcb_io/altium
John Beard 60cba81a2e Altium import: Handle 110-byte subrecord5 in Pad6 parser
This appears to happen in some very old (Protel 3.0.0?)
library files.

The example given in issue #16514 always has 0 in the last 4 bytes.
It's not clear exactly what these bytes do, if anything, so
just skip them and assume the holerotation is 0. If it's not 0,
error out - at that point it might be possible to determine what
the value means.

This appears to correctly import the file provided in the issue.
As the license on that file is unclear, we probably can't just
add it as a unit test and it's rather tricky to special up a
binary file test-case for it.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/16514
2024-01-10 00:21:20 +00:00
..
CMakeLists.txt
altium_parser.ksy
altium_parser_pcb.cpp Altium import: Handle 110-byte subrecord5 in Pad6 parser 2024-01-10 00:21:20 +00:00
altium_parser_pcb.h
altium_pcb.cpp Altium Importer: do not stop import when an item looks bad (happens in old files) 2024-01-07 13:10:59 +01:00
altium_pcb.h
altium_rule_transformer.cpp
altium_rule_transformer.h
pcb_io_altium_circuit_maker.cpp Push PCB_IOs to use the base progress reporter instead of per-function 2023-12-27 17:06:23 +00:00
pcb_io_altium_circuit_maker.h Push PCB_IOs to use the base progress reporter instead of per-function 2023-12-27 17:06:23 +00:00
pcb_io_altium_circuit_studio.cpp Push PCB_IOs to use the base progress reporter instead of per-function 2023-12-27 17:06:23 +00:00
pcb_io_altium_circuit_studio.h Push PCB_IOs to use the base progress reporter instead of per-function 2023-12-27 17:06:23 +00:00
pcb_io_altium_designer.cpp Push PCB_IOs to use the base progress reporter instead of per-function 2023-12-27 17:06:23 +00:00
pcb_io_altium_designer.h Push PCB_IOs to use the base progress reporter instead of per-function 2023-12-27 17:06:23 +00:00
pcb_io_solidworks.cpp Push PCB_IOs to use the base progress reporter instead of per-function 2023-12-27 17:06:23 +00:00
pcb_io_solidworks.h Push PCB_IOs to use the base progress reporter instead of per-function 2023-12-27 17:06:23 +00:00