schemen / monsterforge Goto Github PK
View Code? Open in Web Editor NEWThe Paper Miniature Creator
Home Page: https://forge.dice.quest
License: MIT License
The Paper Miniature Creator
Home Page: https://forge.dice.quest
License: MIT License
Check what the alternative is.
Code here:
monsterforge/paperminis/generate_minis.py
Line 276 in 8644b64
To improve the stability of Monsterforge and improve the coding experience, we need more tests written.
The minibuilder is critical to function, so we need to write tests for
Hi there, i have forgotten my password by all accounts and for some reason my password isnt in my password manager!
So i clicked the forgot password link, which emailed me a code, however the link doesnt work...
It doesnt seem to be a Web link!
http://monsterforge:8080/accounts/reset/MzAyMw/5lb-d6b986481967a8a33501/
Many printers cannot print borderless. This needs to be considered when createn a page.
Ideally, a variable in the print settings to adjust printborder size.
Currently, all minis are counted toward enumeration where it shouldn't.
Currently there is a minor focus on Dungeon & Dragons within the data structure.
To ensure broader reach, remove the D&D Specific things to make it RPG agnostic.
If you have to many creatures in a DDB encounter you run into an API error.
This is to improve the DDB Importer to handle encounters with any amount of monsters.
Create setting to set the base to 28mm instead of 25mm
I would like to write tests so Monsterforge can do some testing of it's functionality by itself without needing infrastructure and live testing to find out if there are bugs.
Thank you once again for the awesome tool. As I've stated in my previous issue, it has great potential for Wargaming. However, for rulesets that require specific base sizes, the options given in the current version of the tool are not quite enough. See page 9 here to see what I mean (Base
entry to the top right of each stat block).
My suggestion is, keep the current grid selection as the default mode for mini size selection, and have an option for an 'Advanced' mode, where you can fine tune the size by specifying exact measurements.
For those that want to run it themselfes in a non-production setting we need better setup instructions.
I just generated some minis (https://forge.dice.quest/bestiary/5030) to paper format A4 and the resulting document is 716.1 x 1019.5 mm large
First of all, thank you for the awesome tool. I know this is primarily intended for use with D&D, but it's also very useful in the context of Wargames. However, for certain units, it would be very useful to be able to give them rectangular bases, for example 1"x2", for things like cavalry or beasts.
Thank you once again
To improve the stability of Monsterforge and improve the coding experience, we need more tests written.
This issue is to create tests regarding the D&D Beyond Importer. It boils down to creating tests probing the django view.
Set everything up and click the print button. Used all the defaults in the form.
https://forge.dndbox.com/minis/bestiary/571/print/
csrfmiddlewaretoken: 3u3iKziBvz5avqHt9Lx9t6btTEH87YviB2sPtEyW7BmzLLkjwn2AAbSfb8jZr67y
csrfmiddlewaretoken: 3u3iKziBvz5avqHt9Lx9t6btTEH87YviB2sPtEyW7BmzLLkjwn2AAbSfb8jZr67y
paper_format: a4
grid_size: 24
base_shape: square
force_name: no_force
darken: 0
Internal Server Error: /minis/bestiary/2485/print/
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 113, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/local/lib/python3.9/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
return view_func(request, *args, **kwargs)
File "/app/paperminis/views.py", line 305, in bestiary_print
minis.build_all_and_zip()
File "/app/paperminis/generate_minis.py", line 99, in build_all_and_zip
mini = self.build_mini(creature)
File "/app/paperminis/generate_minis.py", line 251, in build_mini
unicode_font = ImageFont.truetype("./DejaVuSans.ttf", font_height)
File "/usr/local/lib/python3.9/site-packages/PIL/ImageFont.py", line 855, in truetype
return freetype(font)
File "/usr/local/lib/python3.9/site-packages/PIL/ImageFont.py", line 852, in freetype
return FreeTypeFont(font, size, index, encoding, layout_engine)
File "/usr/local/lib/python3.9/site-packages/PIL/ImageFont.py", line 211, in __init__
self.font = core.getfont(
OSError: cannot open resource
Give the option to add a second image that is used as the backside view for the mini. Ideally with options to flip it horizontically and vertically
Use Case: Heroforge makes it super easy to create a front- and a backside view
Having cut templates and corresponding printable sheets with registration marks would be a welcome addition.
Or, optionally, the ability to download each mini as a separate image so that we can create our own custom cut files.
This has been requested from Reddit to allow a more ink saving printing method.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.