Build print PDF
How it works
- Capture — fetch stratagems from Wahapedia once; saves card PNGs to
data/stratagem-sources/<slug>/ - Build — assemble those saved cards into one US Letter PDF (2×N grid, 2.5″ × 3.5″ per card)
After capture, the web app builds PDFs instantly with no Wahapedia access. Commit the source folder to share with others.
Custom detachment
Requires the local dev server (npm run stratagem-sleeves:ui) for Wahapedia capture.
Print settings
- Paper: US Letter
- Scale: 100% / Actual size (not “Fit to page”)
- Enable background graphics
- Cut along the gaps between cards, then sleeve
Command line
One-time capture from Wahapedia:
npm run stratagem-sleeves -- --preset tyranids-crusher-stampede --capture
Rebuild print PDF from saved cards (fast, offline):
npm run stratagem-sleeves -- --preset tyranids-crusher-stampede --build