The repository is opening up. Until it’s public, the GitHub links on this page may show “Page not found”. In the meantime, leave a comment on the MakerWorld or Thingiverse page and Isaac will see it.

Ways to help

Most of these need no code at all. A free GitHub account is enough, and you don’t need one to share a design.

Share a design

Lay one out in the designer and press Share. The link holds the whole design, so it works anywhere: a message, a forum, a printed QR code. If you think it belongs on the patterns page, send the link in a design idea.

Designs that only turn around their center, like pinwheels, can read as a swastika, so they don’t go into the presets. Mirrored and repeated designs do.

Print a set and send a photo

Pictures of real prints help other people choose colors and settings. Post one as a Make on MakerWorld or Thingiverse, or attach it to an issue with your printer, filament and settings. Say if anything went wrong; that’s the useful part.

Report a problem

A file that won’t slice, a lid that doesn’t fit the tray, a page that looks wrong on your phone. Tell us what you did, what happened and what you expected. A screenshot or a photo saves a lot of back and forth.

Improve the code

The site is plain HTML, CSS and JavaScript with no build step. Trays, lids and cube plates are made in your browser by print3d.js, and the lid’s artwork is laid out by lidart.js. Fixes, faster code and support for more slicers are all welcome as pull requests.

Add or remix a model

A tray for another size, a drawer to keep the cubes in, a cube with rounder edges, a lid of your own. Models from other people go in their own folder with your name on them. Read what makes a good model first, then send it with the model form or a pull request.

How it works on GitHub

GitHub is where the files live and where changes are talked over. It looks technical, but everything below works in a web browser.

Send something in with an issue

The easy way, and fine for models and photos too.

  1. Sign in to GitHub. An account is free.
  2. Go to the issues and press New issue.
  3. Choose a form: a problem, a design idea or a model. Fill it in.
  4. Drag your photos and files into the box. Put a model’s files in one zip, or link to where it’s already posted.
  5. Submit it. Someone will reply on the issue, and add your work to the project if it fits.

Make the change yourself with a pull request

For code, and for models you’d like to put in place yourself.

  1. Fork the repository. The Fork button makes your own copy on GitHub.
  2. Branch. In your copy, make a branch for this one change, named for what it does, such as tray-8x8.
  3. Change the files. On the website, edit a file with the pencil button, or upload files with Add file. On your own computer, clone your fork and run npm test before you send it.
  4. Open a pull request from your branch. The form asks what you changed and how you checked it.
  5. Someone reviews it, may ask for changes, and merges it. Your name stays on your commits.

Setup, conventions and the full rules for code are in CONTRIBUTING.md.

What goes where

Code, models and designs each have their own place in the repository.

site/ and workers/
The website: its pages, the designer and the box designer, and the two small scripts that serve it. The 3D files are made by site/js/print3d.js (trays, lids and plates) and site/js/lidart.js (the lid’s artwork).
tools/
Scripts that build the release files, such as build_models.py and build_print_files.mjs, and presets.mjs, where the preset designs are listed, best first for each size.
test/
The checks that npm test runs. A change to the code should keep them passing, and a new feature should add one.
models/ and artwork/
Isaac’s 7×7 set, its lid artwork and the pattern sheets, built from his working files. A change here usually starts as an issue.
community/models/
Models from everyone else, one folder each, such as community/models/drawer-7x7/. Each folder has a README.md with the author, license, print settings and a photo.
Designs
A design is its link or its tray code, such as 74-25. Send it in a design idea. If it becomes a preset, it’s added to tools/presets.mjs and the change credits you.

The license you send it under

What you send in goes out under the same license as the rest of its kind. You keep the copyright, your name stays on it, and everyone else gets the same rights you had.

When you commit, sign off with git commit -s. It adds a line with your name and email saying you have the right to send the work under these licenses, as set out in the Developer Certificate of Origin. The issue forms ask you to tick the same promise.

The sign-off shows the email your commits use. If you’d rather keep yours private, set Git to use the noreply address GitHub gives you.

The original toy from around 1930 is old enough to belong to everyone. These licenses cover the new work: the models, the drawings, the photos and the code.