altium: extend documentation so we can parse Altium *.PcbLib files in the future

This commit is contained in:
Thomas Pointhuber 2022-01-05 20:07:42 +01:00
parent 8d5eba7649
commit 05e7f59550
1 changed files with 19 additions and 0 deletions

View File

@ -12,12 +12,31 @@ meta:
encoding: ISO8859-1 encoding: ISO8859-1
seq: seq:
# Only relevant for *.PcbLib files
# - id: name
# type: name
- id: record - id: record
type: record type: record
repeat: eos repeat: eos
# https://github.com/thesourcerer8/altium2kicad/blob/master/convertpcb.pl#L1291 # https://github.com/thesourcerer8/altium2kicad/blob/master/convertpcb.pl#L1291
types: types:
name:
seq:
- id: sub1_len
type: u4
- id: data
type: name_sub1
size: sub1_len
name_sub1:
seq:
- id: name_len
type: u1
- id: name
size: name_len
type: str
record: record:
seq: seq:
- id: recordtype - id: recordtype