Converts Altium .SchDoc files into json
olefile
git clone git@github.com:a3ng7n/Altium-Schematic-Parser.git cd Altium-Schematic-Parser pip install -e .
Full description
usage: parse.py [-h] [-o OUTPUT] [-f {all-list,all-hierarchy,parts-list,net-list}] input
Ex: to export all contents of altiumschematic.schdoc to jsonfile.json within path/to/:
python parse.py "path/to/altiumschematic.schdoc" -o "path/to/jsonfile.json"
NOTE: the default output formatting behavior (-f/--format) if not supplied is to show all contents retaining all hierarchy information
positional arguments:
input path/to/altiumschematic.schdoc file to parse
optional arguments:
-h, --help show this help message and exit
-o OUTPUT, --output OUTPUT
path/to/jsonfile.json file to output json to, otherwise prints to terminal
-f {all-list,all-hierarchy,parts-list,net-list}, --format {all-list,all-hierarchy,parts-list,net-list}
all-list: All records in a flattened list
all-hierarchy: All records in an owner/child "hierarchy"
parts-list: A listing of parts and their designators
net-list: A listing of nets between parts pins, referred to by their designators
Record ids:
Altium seems to have a very very very bizarre way of designating or determining the designation of what is a net, and what's connected to that net.