4f9eb9ec600ed775aa1507d41e2de66af247047d
Blockminers Printer
Render printable Blockminers cards and boards from the source assets in data/.
This project was written with AI assistance and reviewed/iterated by the project maintainer.
Requirements
Python 3.10 or newer and Pillow are required.
python3 -m pip install Pillow
Usage
Run the interactive builder:
python3 build_printable.py
Run with defaults:
python3 build_printable.py --yes
The final PDF is written to print/. Temporary rendered images are written to print/temp/.
Supported Flags
--yes: use default settings without interactive prompts.--dpi {300,600}: set output resolution. Default:300.--paper {a3,a4,legal,letter,tabloid}: choose paper size. Default:a3.--card-size SIZE: choose card size. Usebridge,mini-euro,poker,tarot, or a custom size like70.0x120.0in millimeters. Default:poker.--margin MM: set page margin in millimeters. Default:10.--crop: crop black borders from cards. Default: off.--no-gamma: disable print-brightening gamma correction. Default: gamma correction on.--render-only: render card and board PNGs, but skip page PNGs and PDF creation. Default: off.--output NAME: write the PDF asprint/NAME;.pdfis added if missing. Default filename:blockminers_printable.pdf.--rent-raised N: printNcopies ofRent raisedand matching backs. Default:3.--keep-temp: keepprint/temp/after PDF creation. Default: delete temp files after PDF creation.--starter-colors {separate,same}: use separate starter badge colors or one repeated color per starter deck. Default:separate.
Use --help to see the same options from the command line.
Languages
Python
100%