Skip to main content

eagexp can export eagle partlist or image (2D/3D) of schematic or board.

Links:
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

  1. start Xvfb headless X server using pyvirtualdisplay

  2. redirect eagle display to Xvfb server by setting $DISPLAY variable.

  3. 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

Metadata

Release files for eagexp 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for eagexp 0.0.4
File Size Uploaded
eagexp-0.0.4.tar.gz 1.2 MB Details

Release files / eagexp-0.0.4.tar.gz

Download URL eagexp-0.0.4.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
4eba9a9b5dedb1309f7b9265d2bcf8bd2525a91c05d20394099c265de7f9f783
BLAKE2b-256 checksum
How to use checksums
e6c89a63fc93843be2ab14d61316be1af98852577ac345025a092c9263a6cf75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.3

2 release files

0.2.1

1 release file

0.2

1 release file

0.1.0

1 release file

This release

0.0.4 This release

1 release file

0.0.3

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page