Add more detail to README.md and add more extraneous altium files to ignore

master
Aaron Goldstein 2020-04-15 13:00:29 -07:00
parent 6044a89d72
commit 57d366345c
2 changed files with 16 additions and 3 deletions

1
.gitignore vendored
View File

@ -52,5 +52,6 @@ Temporary Items
/Altium_Schematic_Parser.egg-info/ /Altium_Schematic_Parser.egg-info/
**/__Previews **/__Previews
**/Status Report.Txt **/Status Report.Txt
*.OutJob
*.SchDoc.Zip *.SchDoc.Zip
*.OutJob.Zip *.OutJob.Zip

View File

@ -13,13 +13,25 @@ Converts Altium .SchDoc files into json
## schdoc file format ## schdoc file format
Record ids: Record ids:
* 1: a part, type identified by either "LIBREFERENCE" or "DESIGNITEMID" * 1: a part, type identified by either "LIBREFERENCE" or "DESIGNITEMID"
* 2: a pin on a part * 2: a pin on a part, with types indicated by "ELECTRICAL"
* 4: "Passive"
* 7: "Power"
* 4: a "Annotation", which appears to just be a text box for referential purposes
* 6: a "drawing" I think... "Xn"/"Yn" are values of where a line should be drawn * 6: a "drawing" I think... "Xn"/"Yn" are values of where a line should be drawn
* 17: a "Power Port", used commonly as GND or VCC, identified by "TEXT", "LOCATION.X", "LOCATION.Y",
and a symbol denoted by "STYLE"
* 25: a "Net Label", which is similar to a "Power Port" in giving net designation to a wire,
but doesn't come with a symbol (aka STYLE)
* 27: a "Wire", aka connecting line used to determine net associations
* 34: a designator? * 34: a designator?
* 41: text associated with a part - lots of different types indicated by "NAME" * 41: text associated with an "OWNERPARTID" - lots of different types indicated by "NAME"
* PinUniqueId: I suspect a unique id for the associated pin * PinUniqueId: I suspect a unique id for the associated pin
* Fitted: ...wat? * Fitted: ...wat?
* Comment: self explanatory * Comment: self explanatory
* 44: a container of "models" aka record 45's - see below * 44: a container of "models" aka record 45's - see below
* 45: appears to be a reference to which "model" a particular part can be represented by. Since this is just a * 45: appears to be a reference to which "model" a particular part can be represented by. Since this is just a
possible model, the one actually selected for a given part will have the "ISCURRENT" flag set to "T" possible model, the one actually selected for a given part will have the "ISCURRENT" flag set to "T"
## Net Association
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.