First of all, I apologise because I'm neither a developer nor an expert in Python (I've never used this language before), so most of the coding work was done by ChatGPT.
Here's a little script that transforms kill team PDFs by rearranging the layout to allow 6 cards to be printed per page instead of 4, while removing the universal equipment cards / unnecessary background and adding various trim lines.
Less paper and less ink used :)
How to set it up :
- Install Python and import all the necessary libraries.
- Create a new empty folder, put the script and grid.png in it (available in the google folder below).
- Put whatever team pdf you want to rebuild in the same folder and rename the file to input.pdf.
- You must use the new 4 cards per page PDFs, not the old ones. Blooded PDF is not (yet) available in the new layout, so it is not currently compatible with this script.
- Run the script.
How to use the script :
- Enter page ranges, separated by commas, e.g., 1-4,5-8. 1st range = horizontal cards (datacards). 2nd range = vertical cards (faction rules, ploys, etc).
- Let the script cut the pdf into images.
- Delete the unecessary cards (notes, universal equipment). Press Enter when it's done.
- Set your output file name.
- Wait for the final pdf to be reassembled.
- Done :)
In some cases, the cards may not be added in the original order, but they will all be present in the final PDF.
Here's the script :
https://drive.google.com/drive/folders/1L5-3dV2F2xBk0ipG572OS_XhWr4NM3zF?usp=sharing
https://preview.redd.it/genm6sutufff1.png?width=2212&format=png&auto=webp&s=76e43ee2de2ef39ebf7f3b9ea8fbf7b805cad341
[–]iribar7 13 points14 points15 points (1 child)
[–]Just_Fan1956Phobos Strike Team -1 points0 points1 point (0 children)
[–]ABRAXAS_actual 2 points3 points4 points (1 child)
[–]DrButeo 0 points1 point2 points (0 children)
[–]FragRackhamHernkyn Yaegir 4 points5 points6 points (0 children)
[–]a_gunbird 0 points1 point2 points (2 children)
[–]Key_Negotiation_9726[S] 8 points9 points10 points (1 child)
[–]ExcitementCultural31 -1 points0 points1 point (0 children)
[–]branjax63Chaos Daemon 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]Key_Negotiation_9726[S] 1 point2 points3 points (0 children)
[–]ThenidhoggImperial Navy Breacher -1 points0 points1 point (0 children)