foldccompiles a crease pattern and a fold script into a FOLD sequence. Each end frame comes fromFoldInterpolatorthroughreadStep. Only the axes on a loop's cycle are solved. Layer order is guessed by arrival side, with overrides from the script. Every step is validated, checked for interpenetration and checked for layer motion.- Non-rigid steps move by open, pop, close (decision 0002).
RenderMesh, an ARAP pop with a sparse Cholesky factor, andPopCompilerhold the pop to 10% strain. layerMotionDefectsadds the departure/arrival rule, run byfoldc,foldlintand the catalogue tests.foldlint,ModelLibraryand the catalogue gate.- The cup: crease pattern, script, generated
cup.foldanddocs/authoring/cup.md. It regenerates byte-identical and needs no layer-order overrides. - The plan and spec are amended for rulings R22–R34 and the cup's eight-layer centre.
swift test --package-path Packages/FoldKit: 151 tests pass.
Closes #4