eagleUp on WINE
How to setup CadSoft's EAGLE, Trimble's SketchUp and Jerome Lamy's eagleUp (which relies heavily on ImageMagick) to play nicely together under WINE on Linux:
Test Environment
This setup was tested on Linux 4.0.5 with WINE 1.7.45, EAGLE 7.2.0, SketchUp 2015, ImageMagick 6.9.1-6-Q8-x86-static and eagleUp 4.5.
eagleUp 4.5 Modification
eagleUp 4.5 suffers from a minor bug, which prevents it to import the actual layout of your PCB into SketchUp under WINE. The bugfix is simple and also works on native Windows:
- Download eagleUp 4.5 and unpack the archive.
- Unzipping the file eagleUp_import.rbz under "Sketchup Plugin" results in the following directory structure:
eagleUp ├── demo files │ ├── demo3d.brd │ └── demo3d.sch ├── Eagle ULP │ └── eagleUp_export.ulp └── Sketchup Plugin ├── eagleUp_import │ └── eagleUp_import.rb ├── eagleUp_import_loader.rb └── eagleUp_import.rbz
%x[#{line.chomp}] # change of system input/output syntax
[Sketchup Plugin]$ zip -r eagleUp_import.rbz eagleUp_import \
eagleUp_import_loader.rb
OR simply download my ready-made-file with some small additional fixes:
eagleUp_import.rbz
804f7e05f0dbd3d8b49c6080d801216aacb2f36f134fe82f61c635e0ac91aca3 (SHA256)
Setup Procedure
- Create a fresh 32bit wine prefix
- Run EAGLE setup
- Run ImageMagick setup
- Copy eagleUp_export.ulp and models to the appropriate directories in your wine prefix as described in eagleUp Installation instructions
- Run Sketchup setup (includes .NET)
- Modify winecfg
- Set Windows Version: Windows 7
- Add native library override: *msvcrt.dll
- Launch SketchUp and add the extension eagleUp_import.rbz
- Launch EAGLE, load the eagleUp demo board and run eagleUp_export.ulp
- Follow eagleUp Installation instructions for Initial Setup and configure the paths of the ulp according to your setup
- Test export from EAGLE and import into SketchUp
Errata
Export of an animation as h264/mp4 encoded video file does not work. Use raw/avi or webm instead.