Generator

Twenty lengths, four conditions

A generator in the rigid folding library, called 14 times across 7 essays. Below: what it draws at its defaults and at the arguments the essays give it, what it checked while drawing, and everywhere it is used.

mesh-solve is one function. Everything below came out of it during this build, at arguments taken from the essays rather than invented for this page — so a figure here is the same figure a reader meets in an essay, and when the generator changes, this page changes with it.

At its defaults

Twenty lengths, four conditionsThe same mesh before and after. Nothing about the flat-folding conditions has changed — both are exact at every interior vertex — and only the lengths of the creases are different. The one on the right folds rigidly and the one on the left does not.mismatch 0.066 radiansmismatch 8.5e-14 radiansevery vertex of both is developable and Kawasaki-exact to the last bit a double holds

view: "straightness", seeds: [11, 23, 71, 97]

Outside the family that was already knownHow far the straighter of the two crease families is from running straight through the mesh's vertices. Everything this site could build before this rung sits at the top of the picture.meshworst departure from straight, radiansa Miuraone crease family runs straight through every vertex5e-15the solved meshneither family does, anywhere1.21

view: "before-after", seed: 11

Twenty lengths, four conditionsThe same mesh before and after. Nothing about the flat-folding conditions has changed — both are exact at every interior vertex — and only the lengths of the creases are different. The one on the right folds rigidly and the one on the left does not.mismatch 0.066 radiansmismatch 8.5e-14 radiansevery vertex of both is developable and Kawasaki-exact to the last bit a double holds

view: "seeds", seeds: [5, 11, 17, 19, 23, 27, 41, 71]

From nowhere in particularEight meshes drawn at random and put through the same solve. The bar is where each one finished, on a scale of powers of ten; the ones that reach the far end fold, and the ones that stop short are where this solver runs out rather than where the meshes do.seedfinal mismatch, powers of ten5from 0.0450.03311from 0.0669e-1417from 0.0221e-1219from 0.0266e-1423from 0.0765e-1427from 0.0422e-1241from 0.1660.02671from 0.0904e-12

What it checked while it drew

Collected by running this generator with a listener on the assertions, not written here. The count is how many separate times this build put that claim to the test.

Where it is called

Changing this generator changes every figure on this list, which is what makes the list worth publishing rather than keeping in a check script.

A tolerance is a direction

Cut a solved mesh a fifth of a millimetre wrong and its closure is gone. That is true of the errors it was tried with and false of errors in general: the solutions form a surface sixteen directions wide, an error along it costs five thousand times less than the same error across it, and the fifth of a millimetre is the allowance in one direction out of twenty.

Closing is not building

A quadrilateral mesh solved so that every loop closes to within a millionth of a radian is a mesh whose fold angles are consistent. It is not necessarily an object. One of the six solved here drives a panel through another at every angle of its motion — there is no part of the fold at which it could be made of solid panels — and the pair that crosses is two steps apart in the sheet, where nothing evaluated at a vertex could see it.

Nothing to average over

A folded corrugation is reported with a Poisson's ratio, and both of this site's measurements of one were made on a sheet that repeats a single cell. On such a sheet every cell behaves the same way and the cell's number is the sheet's number. On a sheet with no repeating cell the cells run from −3.5 to +0.4 — some widening while others narrow — and the sheet's own figure describes none of them.

Solved is not built

A mesh that folds because an equation holds and a mesh that folds because one crease family runs straight through every vertex are not two examples of the same thing. Cut a Miura's every dimension five per cent wrong and it still folds exactly. Cut a solved general mesh a fifth of a millimetre wrong on a 150 mm sheet and the closure is gone.

Solving every face at once

A quadrilateral mesh that folds rigidly has to close round every one of its faces, and the rung that built the general mesh could close one. Four of them at once resisted a descent that drove each free length to its own root, because closing a loop is a condition on several lengths together — and solving them jointly finds a sheet with no two vertices alike that folds, and a surface of them sixteen dimensions wide.

The Miura folds two ways

One vertex repeated is what makes the Miura buildable: identical panels, identical creases, one degree of freedom. It is also what makes it ambiguous. At one fold angle on one crease the sheet has two folded states, differing in three letters and in half its width, and both of them close exactly — while a mesh with no two vertices alike has one.

The motion has no letters to choose

A flat-folding search picks a letter for every crease and can pick badly. A rigid folding does not pick anything: the fold angles are real numbers, determined by the panels through equations that have a solution or do not. Replacing a discrete choice with a continuous solve removes every ordering question at once, and introduces a failure of its own.

Every generator · The rigid folding field · The patterns a reader can fold