Installation
Installation
Download and installation
Following steps assume a bash shell (including git-bash).
Clone repository
1. Clone repository
git clone --recursive https://github.com/williamyang98/gerber2ems.git
2. Change directory to repository location
cd gerber2ems
Install openEMS and gerberv
Windows
Download binaries
./vendor/download.sh
Linux
- Install openEMS for linux.
- Install gerbv for linux.
Setup Python virtual environment
Only python 3.10 and 3.11 are supported by openEMS.
1. Create virtual environment
python -m venv venv
2. Activate virtual environment
source ./venv/Scripts/activate
3. Add openEMS and gerbv binaries to path (windows only)
source ./vendor/update_path.sh
Install gerber2ems inside environment
1. Install gerber2ems
pip install -e .
2. Check if gerber2ems is installed
gerber2ems -h
Windows
Warning
To fix missing DLL errors make sure to add openEMS binaries to the path.
source ./vendor/update_path.sh
Linux
Follow the openEMS installation instructions for the python interface here.
After use shut down Python environment
deactivate