Skip to main content

export eagle schematic or board to image or partlist

Project description

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
sudo apt-get install python-imaging

# optional for background processing
sudo apt-get install xvfb xserver-xephyr

sudo pip install eagexp

Uninstall

# as root
pip uninstall eagexp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eagexp-0.1.0.tar.gz (1.2 MB view details)

Uploaded Source

File details

Details for the file eagexp-0.1.0.tar.gz.

File metadata

  • Download URL: eagexp-0.1.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for eagexp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 968779d59ddb40068c8ab992abfe166220e99aaea1e8ec7d33ec1d5769ca5340
MD5 8dad1642b914fe7d521571c3f36f6d8a
BLAKE2b-256 0d19fb5cb8a5f1600c706cd7080bcc7f9b28fea26f6b842a36cbebe926ae2feb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page