- create virtual environment in the current directory with
python -m venv envandsource env/bin/activate. - run
pip install -e .in this directory for an editable install
The code is structured into two parts:
- The first part in Stonepacker2D contains the functionalities for manipulating stones.
- The second part in Tests contains dataset and the main function to run the examples of stone packing task.
To run an example, go to the directory of the example and python run.py. Results (images of the constructed wall, sequence etc...) will be stored in the result subfolder.
| Name | Corresponding figures in paper | Description |
|---|---|---|
| Almeida | Figure 18, Figure 21, Figure B.30-B.32 | real stone shapes from irregular to regular |
| Bricks | Figure B.34 | rectangular shapes of fixed sizes |
| FFT-stones | Figures 26-27 | Stones shapes generated from a Fourier-based shape generator |
| Rubble stone walls | Figures B.33 | 92 real stone shapes |
| Thangavelu | Figures 22-25 | polygonal stones of different noise levels |

