A library for 3d particle packing generation with C++ backend and Python interface.
Make sure you have the following installed:
- Python 3.8+
- CMake 3.15+
- A C++17 compatible compiler (GCC, Clang, MSVC)
Clone the repository with submodules:
git clone --recursive https://github.com/mariocaballeroyus/pygrain.git
cd pygrainInstall the package (automatically builds the C++ extension):
pip install -e .Now you can import pygrain from anywhere!
