eagexp 0.0.3
export eagle schematic or board to image or partlist
Latest Version: 0.0.4
eagexp can export eagle partlist or image (2D/3D) of schematic or board.
- Links:
- home: https://github.com/ponty/eagexp
- documentation: http://ponty.github.com/eagexp
- Features:
- written in python
- it can be used as library or as a command line program
- background processing (only if Xephyr, Xvfb and pyvirtualdisplay are installed)
- timeout
- 3D image export using Eagle3D and povray
- calculate airwires
- Known problems:
- slow: eagle is opened and closed for each export
- high DPI does not work (memory problem?)
- Python 3 is not supported
- export can be blocked by eagle -> timeout
- 3D image export has a lot of options which are not supported
Basic usage
>>> from eagexp import image, partlist >>> brd='~/.eagle/projects/examples/singlesided/singlesided.brd' >>> image.export_image(brd, 'brd.png', resolution=600) >>> print partlist.raw_partlist(brd)
How it works
- start Xvfb headless X server using pyvirtualdisplay
- redirect eagle display to Xvfb server by setting $DISPLAY variable.
- start eagle with EXPORT and QUIT commands
Installation
General
Ubuntu
sudo apt-get install eagle sudo apt-get install povray sudo apt-get install python-pip # optional for background processing sudo apt-get install xvfb xserver-xephyr sudo pip install eagexp
Uninstall
# as root pip uninstall eagexp
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| eagexp-0.0.3.tar.gz (md5) | Source | 2012-01-26 | 109KB | 153 | |
- Author: ponty
- Home Page: https://github.com/ponty/eagexp
- Keywords: eagle
- License: BSD
- Categories
- Package Index Owner: ponty
- DOAP record: eagexp-0.0.3.xml
