Giter Site home page Giter Site logo

gloomhaven-character-boxes's Introduction

Gloomhaven Character 3D printables

Download the models on Printables:

This is a collection of tools for generating some 3D models for 3D printing organizers for gloomhaven. The code is set up so that you can generate the items with any of the various gloomhaven class icons (or really, any arbitrary SVG.)

Dependencies

In order to run this code, you need the following installed on your computer:

  • OpenSCAD
  • GNU Make (Optional, should be installed by default on Linux, try here for windows.)

Building

To build all of the official classes (Gloomhaven, Forgotten Circles, Jaws of the Lion), just open a terminal in this directory and run make. To make those classes plus all of the custom classes, run make all.

You can also run make {target} to build a different set of classes, eg:

  • make GH makes Gloomhaven classes
  • make FC makes just the diviner
  • make JOTL makes the Jaws of the Lion classes
  • make custom makes all of the custom classes
  • Run with a class name (make 01_Brute, make C_Artificer) to make just that class.

Building without make

You can build all of the scad files just using openscad. For the most part, parameters that can be tweaked are at the top of the files. Each model that uses the character icons has a variable called icon_file that you can change to different values for the different classes. You can do this manually, or at the command line by running (for example):

openscad source/scad/characterbox_icon.scad -D icon_file="\"../../icons/02_Tinkerer.svg\"" -o tinkerer_icon.stl

Note that the paths for icon_file are always relative to the scad file.

Adding more classes/Using your own Icons

To generate all the files for another class, you need to add an svg file with the class's icon to the resources/icons folder. The svg file needs to be the right size: the icon should be centered on a 100mmx100mm canvas. It's useful to add a 100mm diameter circle to help see what it will look like on the circular pieces:

just be sure to delete the circle before using the file, or openscad will import the circle on top of the icon. Inkscape is useful for editing svg files.

You can build a class with an icon like this using OpenSCAD with the steps above. To make the class available to build with make, add it to one of the classes lists (classes_gh, classes_custom, etc.) in Makefile.

Spoilers

There's a bit more in this repo that's been obfusticated because it spoils some in-game secrets. If you know what you're looking for, check the readme in the spoilers directory.

gloomhaven-character-boxes's People

Stargazers

Gregor Majcen avatar Niklas Näslund avatar Garrison avatar

Watchers

Zack Yancey avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.