60cba81a2e
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
altium_parser.ksy | ||
altium_parser_pcb.cpp | ||
altium_parser_pcb.h | ||
altium_pcb.cpp | ||
altium_pcb.h | ||
altium_rule_transformer.cpp | ||
altium_rule_transformer.h | ||
pcb_io_altium_circuit_maker.cpp | ||
pcb_io_altium_circuit_maker.h | ||
pcb_io_altium_circuit_studio.cpp | ||
pcb_io_altium_circuit_studio.h | ||
pcb_io_altium_designer.cpp | ||
pcb_io_altium_designer.h | ||
pcb_io_solidworks.cpp | ||
pcb_io_solidworks.h |