docs/authoring/crane.md

00ea029d0652da12d0f4237769e7020b72cfa7f3
fold/docs/authoring/crane.md rendered · source · history · blame · raw

166 lines · 7440 bytes

7 symbols in this file

Crane

The traditional orizuru. Sixteen steps:

  • pre-creasing, the preliminary base and the bird base;
  • narrowing the legs;
  • three inside reverse folds (neck, tail, head);
  • the wings down.

Steps 4, 6 and 9 are coupled and have solved curves. Steps 13–15 are flagged non-rigid and open, pop and close (decisions 0002 and 0003). The model ends with its wings spread at 90°, not flat.

Models/crane-cp.fold and Models/crane.foldscript compile to Packages/FoldKit/Sources/Models/Resources/crane.fold:

swift run --package-path Packages/FoldKit foldc Models/crane.foldscript \
  -o Packages/FoldKit/Sources/Models/Resources/crane.fold

everyShippedModelRegeneratesFromItsScript checks that the shipped file is what the script compiles to.

Shipped .fold files come from the debug build, as swift run foldc above builds it. A release build of foldc can differ, by up to 9e-7°, in the solved curves of a step whose spare freedom R69 holds near its linear angles. That is the crane's step 4, the collapse. Both builds are deterministic.

Crease pattern and its source

The bird base is decision 0002's reading of the flat crane in Origami Simulator (assets/Origami/flat_crane.svg, github.com/amandaghassaei/OrigamiSimulator, MIT). It is rebuilt exactly on the unit square, with h = (√2 − 1)/2 and corners c00 (0, 0), c10 (1, 0), c11 (1, 1), c01 (0, 1):

  • the midline cross from the centre O (½, ½) to the kite ends L (h, ½), B (½, h), R (1 − h, ½) and T (½, 1 − h);
  • the outer midline segments from the kite ends to the edges, which the petal folds unfold;
  • the diagonal c10–c01. The other diagonal is not creased;
  • the eight 22.5° kite creases from the corners;
  • the petal hinges L–B and R–T.

Every later crease is the preimage, in each layer the fold moves, of the fold's line in the folded frame before it. Each therefore runs through every layer of its flap:

  • Narrowing (steps 10 and 12): lines from each leg's tip at 11.25° to the centre line. Each fold carries five layers: the leg's two front layers, the side flap above them, and the edges of the petal and of the top triangle joined to them.
  • Neck and tail (steps 13 and 14): the raised creases of decision 0003. They run from the centre line at view height 0.47, 22.5° below horizontal, through all eight layers of the leg.
  • Head (step 15): horizontal, across the neck 0.33 from the reverse vertex, through the neck's layers.
  • Wings (step 16): the horizontal line through the shoulders, the narrowed body's top corners at view height 0.6756, through the front wing's layers and the back wing's.

The bend lines are three edges: (0, 0)–(0.354, 0.354)–(½, ½) on the uncreased diagonal.

  • They lie on the spine's line, through the front wing's centre and the top triangle under it (decision 0003).
  • They are F in every frame and creased by no step.
  • While each reverse fold is open, the front wing's half folds along them by up to 160° and flattens again.

The pattern has 62 vertices, 130 edges and 69 convex faces. Its assignments are the last frame's; edges that end flat are F.

file_author is "Traditional"; file_title is "Crane".

Sequence

The usual teaching sequence, with the kite folds made as fold-and-unfolds so that each petal fold starts from the preliminary base. That is the state decision 0002 measured.

Step Fold
1 Fold and unfold the diagonal c10–c01 (valley)
2 Fold and unfold the midline y = ½ (mountain)
3 Fold and unfold the midline x = ½ (mountain)
4 Collapse the preliminary base in one step from the pre-creased square
5 Kite folds, front, fold and unfold (two axes)
6 Petal fold, front
7 Turn over
8 Kite folds, back (repeatOf 5)
9 Petal fold, back (repeatOf 6)
10 Narrow the legs, front (two axes)
11 Turn over
12 Narrow the legs, back (repeatOf 10)
13 Inside reverse fold the left leg up: the neck
14 Inside reverse fold the right leg up: the tail (repeatOf 13)
15 Inside reverse fold the end of the neck down: the head
16 Wings down: the front one toward the viewer, the back one away, each 90°

Viewpoints:

  • Steps 1–15 use eye (0, 0, 1) with up (1, 1, 0), so the square is a diamond with c00 at the bottom.
  • Step 16 uses eye (0.141, 0.707, 1) with the same up, so the spread wings are not edge-on.

Coupled steps

  • Step 4, the collapse. The centre is a degree-6 vertex (four midlines and two diagonal halves) with three degrees of freedom.
    • The first crease, O–B, drives. Four creases are solved, and their curves hold the spare freedom near the linear angles (R69). The last, O–L, closes the loop.
    • It closes, nothing interpenetrates, and the layer rules and layerMotionDefects pass.
    • Classification: rigid.
  • Steps 6 and 9, the petal folds. The hinge drives from 0 to 180. The kites and the inner kites are solved toward −180, and the outer midline segments unfold from −180 to 0.
    • The two loops at the kite ends share the hinge.
    • The solved kites match decision 0002's case 7: −18.0°, −41.9° and −85.5° at hinge 45°, 90° and 135°.
    • Classification: rigid.

All other folds are single-axis, or two independent axes (steps 5, 8, 10, 12 and 16).

Reverse folds

Each reverse fold names its spine and opens at the default 20° from flat; no openAngle is scripted.

  • Neck and tail: each opens the whole near side, the half of the square with x + y < 1, about the spine's line. The bend lines let the front wing's half turn with it.
  • Head: opens nested on the body's spine (openOn). The neck's creases follow its reversed branch, with solved curves in the open and the close.
Step Pop strain (edge, Delaunay mesh) Mesh interpenetration, all phases Drag through the pop (R75)
13, neck 3.37% none followed
14, tail 3.27% none followed
15, head 1.71% none straight-line fallback

The pop strains were 3.50%, 3.28% and 1.71% before the ties of R78. The ties hold the two halves' coincident fold edges on the spine line together during the pop. These are the legs' former edge folds, which narrowing laid on the centre line.

Each reverse fold's open and close are isometric, and at 97% of the close the tip lies between the layers (FourModelTests).

For the drag, at each step's authored viewpoint:

  • the neck's and the tail's pops move a covering axis's centroid at least 8 points on screen, so the drag follows them;
  • the head's pop moves less, so its segment is the straight line down, 160 points per unit of t or half the paper view's height if that is less (R81).

Layer-order overrides

Each reverse fold puts its tip between layers, which the compiler's guess cannot do. In each of steps 13, 14 and 15, every tip face of the near half is put above every tip face of the far half it overlaps once reflected in the crease. The near half is x + y < 1; the far half is the rest.

Step Overrides
13 32 (the head's crease splits the neck's tip faces)
14 16
15 16

No other order is overridden. The guess passes the validator, the interpenetration check and layerMotionDefects everywhere else.

Checked by eye

The golden images (crane-1 … crane-16) and the app's screenshots of every step were inspected.