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.git2. Change directory to repository location
cd gerber2emsInstall openEMS and gerberv
Windows
Download binaries
./vendor/download.shLinux
- 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 venv2. Activate virtual environment
source ./venv/Scripts/activate3. Add openEMS and gerbv binaries to path (windows only)
source ./vendor/update_path.shInstall gerber2ems inside environment
1. Install gerber2ems
pip install -e .2. Check if gerber2ems is installed
gerber2ems -hWindows
Warning
To fix missing DLL errors make sure to add openEMS binaries to the path.
source ./vendor/update_path.shLinux
Follow the openEMS installation instructions for the python interface here.
After use shut down Python environment
deactivate