For convenience when using this to visualize cuts of wooden boards for DIY-projects.

apt install gcc pkg-config libcairo2-dev python3-dev
poetry install
poetry run main.py  # Output in out.pdf/out.json