docs/authoring/sampan.md
132 lines · 6328 bytes
6 symbols in this file
Sampan
The traditional sampan, also called the inside-out boat, in its short form. Six steps: a fold-and-unfold, three folds, the turn inside out and a turn-over. No coupled steps and no non-rigid steps. The model ends standing as an open tray, not flat.
Models/sampan-cp.fold and Models/sampan.foldscript compile to
Packages/FoldKit/Sources/Models/Resources/sampan.fold:
swift run --package-path Packages/FoldKit foldc Models/sampan.foldscript \
-o Packages/FoldKit/Sources/Models/Resources/sampan.fold
everyShippedModelRegeneratesFromItsScript checks that the shipped file is
what the script compiles to.
Sequence and source
The short form: a cupboard base (steps 1–2), then the sequence's last four folds from it: the four corners to the centre line, the edges to the centre line again, the turn inside out and a turn-over. No published diagram of this short form was found, and none was copied.
The long form is described in Origami Expressions, Traditional Origami Sampan Instructions Step by Step (https://origamiexpressions.com/traditional-sampan). It starts from a blintz base, refolds two corners, folds the edges to the centre line, folds the corners in twice and the points to the centre line, and turns the model inside out. Its ends are covered. The short form ends in the same way from a plain cupboard base, with the corners folded once and open ends.
- Fold and unfold the centre line y = 2, bottom edge to top.
- Fold the top and bottom edges to the centre line (y = 3 and y = 1; two axes).
- Fold the four corners to the centre line, each through both layers (four axes).
- Fold the top and bottom edges to the centre line again (y′ = 2½ and 1½ through all layers; two axes).
- Turn inside out: both sides swing out and round behind, 180 → −90 (two axes).
- Turn over (vertical axis), so that the boat stands upright.
Viewpoints: eye (0, 0, 1), up (0, 1, 0) for steps 1–4; eye (1, −2, 2), up (0, 1, 0) for steps 5–6. The walls stand in planes y = const and the floor in z = const; the oblique eye lies in neither, so no face is seen edge-on.
Crease pattern
Constructed from the sequence above, not taken from a published crease pattern. The sheet is the square [0, 4]², its top side up. Every coordinate is a multiple of ½.
Each crease is folded through every layer, so its image in the crease pattern is one segment per layer. 26 vertices, 49 edges (10 boundary) and 24 convex faces, so no subdivision edges.
| Crease | First creased | Final |
|---|---|---|
| y = 2 (the centre line) | 1 | F |
| y = 1, y = 3 (every segment) | 2 | V 180 |
| base corners: (0, 2)–(1, 3), (3, 3)–(4, 2), (0, 2)–(1, 1), (3, 1)–(4, 2) | 3 | V 180 |
| flap corners: (0, 4)–(1, 3), (3, 3)–(4, 4), (0, 0)–(1, 1), (3, 1)–(4, 0) | 3 | M −180 |
| y = 2½, y = 1½, x ∈ [½, 3½] (the sides' hinges in the base) | 4 | M −90 |
| y = 3½, y = ½, x ∈ [½, 3½] (the same hinges in the flaps) | 4 | V 90 |
| x = ½, x = 3½ in the base corners (y ∈ [2½, 3] and [1, 1½]) | 4 | V 90 |
| x = ½, x = 3½ in the flap corners (y ∈ [3, 3½] and [½, 1]) | 4 | M −90 |
The base corner diagonals are split at (½, 2½) and the like, the flap corner diagonals at (½, 3½) and the like, where the x = ½ and x = 3½ segments meet them. The pattern's assignments are the last frame's; the centre line ends flat.
The turn inside out
After step 4, a section across the middle has seven layers in one strip: the base's middle B at the back, then on each half, from the back, the flap's tip U, the flap's next strip T and the base's edge strip S. S is hinged to B and T to U on the same line, y′ = 2½ (or 1½); S and T are joined at the centre line. Each side is one rigid unit: S, T and the parts of both corner triangles beyond x = ½ and x = 3½.
Step 5 turns each unit about its hinge line from 180 to −90, out and round behind, while B, U and the corner triangles' tips stay still. The thumbs go between T and U, under the folded edges along the centre line. Afterwards the outside of the flat model, the back of B and the outer face of S, is the inside of the boat, and U and T are its outer skin.
Every edge the step creases lies on one of the two hinge lines. foldc names
the base's hinge (y = 2½ or 1½) as the axis; the flap's hinge and the corner
segments on the same line close coaxial loops and their end angles are
measured. No loop is off a hinge line, so no axis is solved and both axes are
linear.
Classification: rigid.
foldcraises nonoRigidMotionand nocurveTooCoarse: the loops close for any angle.- Nothing interpenetrates at 64 samples. Each wall sweeps the space outside its hinge, where there is no paper.
- The validator's layer rules and
layerMotionDefectspass. - Intermediate states (t = ¼, ½, ¾, 1) were drawn offline and checked by eye. They have not been checked in the app.
In paper the pointed ends are usually pulled up a little as the model turns inside out. That bend has no crease and the rigid model does not show it: the tips stay in the plane of the floor and the walls' ends slope from the hinge ends at x = ½ and 3½ to the top edge at x = 1 and 3.
Layer-order overrides
None. foldc's guess passes the validator, the interpenetration check and
layerMotionDefects. The final stacks were checked by hand by probing points
in frame 5 and sorting their faces by faceOrders:
- the floor, from the inside of the boat out: B, U, then at the tips the flap's corner and the base's corner;
- each wall, from the inside out: S, T, the flap's corner, the base's corner.
These are the concentric folds at each hinge: B–S innermost, then U–T, then the two corner layers.
Known gap: the covered-end long form
The long form is not shipped (decision 0003, Decision, item 4). As scripted,
its turn inside out has no rigid end state: the base hexagon's corners are
reverse vertices, so long walls at 90° put the slanted walls at 83.6°. The
rigid walls-up path from step 13 interpenetrates from its first samples, and
bending the walls (spikes/bending, case sampanbend) passes their layers
through each other and ends as a shallow dish, not a boat. Shipping it needs a
stack-coherent bending model and a target shape taken from the real model.