This project demonstrate the usage of the HARFANG 3D API in Python with the Poppy Ergo Junior robot.
git clone https://github.com/harfang3d/python-digital-twin poppy
cd poppy/
curl https://www.harfang3d.com/releases/3.1.0/assetc-win-x64-3.1.0.zip --output assetc.zip
powershell -command "Expand-Archive assetc.zip assetc"
pip install -r requirements.txt
assetc\assetc.exe resources app/resources_compiled
cd app
python poppy_api_rest.py
git clone https://github.com/harfang3d/python-digital-twin poppy
cd poppy/
wget https://www.harfang3d.com/releases/3.1.0/assetc-ubuntu-x64-3.1.0.zip
unzip assetc-ubuntu-x64-3.1.0.zip -d assetc
wget https://www.harfang3d.com/releases/3.1.0/harfang-3.1.0-cp32-abi3-linux_x86_64.whl
python3 -m pip install harfang-3.1.0-cp32-abi3-linux_x86_64.whl
assetc/assetc resources app/resources_compiled
cd app
python3 poppy_api_rest.py
- To run the program, you can also open the project folder using Visual Studio Code and use the provided debug target.
- If you want to know more about HARFANG, please visit the official website.