Skip to content

About

3D-printable woven interlocking puzzle rings generated from ASCII weave diagrams

Resources

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Puzzle rings

3D-printable woven interlocking puzzle rings: three to six bands laced over and under each other into a full band, generated directly from a plain-text weave diagram.

Multiple puzzle ring designs are included. Each is computed from its weave diagram.

Output

<pattern>.stl        the whole ring, bands already interlinked — print this

e.g. marriage-and-engagement.stl.

Each ring prints as a single interlocked object in the solved state. Defaults have ~0.4 mm of clearance between neighbouring bands so they can move freely.

The designs

Each design is a single ASCII weave .txt — the front-face braid of the ring, with the bands running straight around the back. Build any of them with the generic ./build.sh <diagram.txt> (see Quick start); the band count and every dimension are derived from the diagram. They come in a traditional family and a few others.

The traditional family — the classic puzzle ring and its generalizations to other band counts. Removing bands in pairs (or, for odd counts, the symmetry) always leaves a smaller traditional ring inside.

  • Simple three-band (3 bands) — the traditional design generalized down to three bands; a design several people have discovered independently. Odd band count, so it has rotational symmetry.
  • Traditional four-band (4 bands) — the classic puzzle ring: nearly every puzzle ring made in the last few hundred years is this design, and the article argues it is probably the best possible four-band ring. It has a subtle asymmetry.
  • Fifth Sense (5 bands) — the five-band generalization. Odd count gives it rotational symmetry.
  • Sixth Sense (6 bands) — the six-band generalization, and an extremely hard puzzle: the author still has no fully reliable solution after solving it hundreds of times (there's a solve walkthrough below). Both outer bands hinge outward, then the next pair, so it wants to scramble very badly. Remove the outer pair, the middle pair, or the remaining two, and the other four bands form a traditional four-band ring.

Others

  • Weave Five (5 bands) — each band is linked to exactly two others, none to its immediate neighbours, and the orientation property holds for every band but the middle one.
  • Weave Six (6 bands) — each band goes over several bands then under several more, so even an interior band can swivel in place; the outer bands swivel out, then the next ones in, and the whole puzzle scrambles in a single big corkscrew motion.
  • Holistic four-band (4 bands) — the Holistic Ring. Each band is linked to two others and the orientation property holds for every band, yet no band hinges or swivels on its own: the puzzle can only scramble in one big holistic move, which is where the name comes from.
  • Marriage & Engagement (6 bands) — two separate puzzle-ring designs, a marriage band and an engagement band, interleaved into one ring.
  • Zack ring A challenging design where the bands loosen one at a time which both makes it challenging to solve and not come apart accidentally. The other designs mostly try to scramble as easily as possible.

Solving

A walkthrough of solving the Sixth Sense, one of the hardest of these puzzles: https://www.youtube.com/watch?v=kwhZJ7uXRPY

Background

The theory and history behind these designs are in "Novel Puzzle Rings" by Bram Cohen and M. Oskar van Deventer (Cubism For Fun #88, 2012); a PDF copy is included in docs/.

Quick start

One-time setup (creates the virtualenv and installs the dependencies):

python3 -m venv .venv
.venv/bin/pip install -r requirements.txt

Then build any ring by passing its weave diagram — this is all you run from now on:

./build.sh marriage-and-engagement.txt

It generates every band in parallel (into a temporary directory) and writes the assembled ring to <diagram>.stl. The script uses ./.venv/bin/python by default; to use a different interpreter that already has the dependencies, run PY=/path/to/python ./build.sh <diagram.txt>. Three environment variables (GAP, PUFF, FOOT) tune the clearances — see the header of genfull.py.

How it works

  1. Weave diagram — each design's .txt (e.g. marriage-and-engagement.txt) is an ASCII lattice. / is a diagonal strand; - and | mark the over/under crossings. weave_to_puzzle.py traces it into the band paths.
  2. Flat bands — for each band, genfull.py buffers the centreline into an outline, extrudes it, then subtracts the over/under chamfers and the same-level "tooth" cuts. The gap is built in from the start (every face inset by GAP/2 + PUFF), so there is no Minkowski erosion step.
  3. Puff — one morphological close (dilate 2·PUFF, erode PUFF) restores the size, rounds every edge — convex and interior — and sets the final gap.
  4. Bend & assemble — each band's tails are extended to wrap the back of the ring, then it is bent onto the ring radius (ring_bend.py). All the bands are concatenated into <diagram>.stl.

Design parameters

The ring's physical dimensions (inner diameter, radial thickness, band width, weave arc angle) live as constants at the top of ring_bend.py.

Layout

marriage-and-engagement.txt   a weave pattern (one .txt per design)
build.sh                      generic build: ./build.sh <diagram.txt>
genfull.py                    the generator (shared by all patterns)
ring_bend.py                  ring geometry + bending
weave_to_puzzle.py            parses a weave diagram into band paths
bands_example.xmpuzzle        example BurrTools puzzle definition

License

MIT — see LICENSE.

About

3D-printable woven interlocking puzzle rings generated from ASCII weave diagrams

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages