Skip to content
README.md 894 B
Newer Older
Martin Panter's avatar
Martin Panter committed
# Altium schematic reader #

Martin Panter's avatar
Martin Panter committed
This is a Python script that can
parse Altium schematic (\*.SchDoc) files, convert them
Martin Panter's avatar
Martin Panter committed
to SVG images, or display them in a window. It is incomplete and there are
probably many schematic elements and settings that it does not (yet)
understand.

Martin Panter's avatar
Martin Panter committed
The schematic file format has been documented somewhat in [format.md]
Martin Panter's avatar
Martin Panter committed
(format.md).

## Dependencies ##

* Python 3, from <https://www.python.org/>
* The OleFileIO library. Either version 0.30 of the OleFileIO_PL fork, from
    <http://www.decalage.info/python/olefileio>, or version 2.4 of the Pillow
Martin Panter's avatar
Martin Panter committed
    fork, from <http://python-pillow.github.io/>. The PL fork would be
    simpler to install, but Pillow is probably more widely used.
Martin Panter's avatar
Martin Panter committed

## Usage ##

Conversion to SVG:

```shell
python3 altium.py schematic.SchDoc > output.svg
```

Display in a window:

```shell
python3 altium.py --renderer tk schematic.SchDoc
```