Commit 59dbd0686d

59dbd0686d16f2123e8933d30da5d6e5ccfe630b

parent: e5aeeae2a6

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-22 21:09 UTC

Restore the short-form sampan

Ref #7

Layout: unified · split

Models/sampan-cp.fold added +58
@@ -0,0 +1,58 @@
1{
2 "file_spec": 1.2,
3 "file_title": "Sampan",
4 "file_author": "Traditional",
5 "file_classes": ["creasePattern"],
6 "vertices_coords": [
7 [0, 0],
8 [4, 0],
9 [0.5, 0.5],
10 [3.5, 0.5],
11 [0, 1],
12 [0.5, 1],
13 [1, 1],
14 [3, 1],
15 [3.5, 1],
16 [4, 1],
17 [0.5, 1.5],
18 [3.5, 1.5],
19 [0, 2],
20 [4, 2],
21 [0.5, 2.5],
22 [3.5, 2.5],
23 [0, 3],
24 [0.5, 3],
25 [1, 3],
26 [3, 3],
27 [3.5, 3],
28 [4, 3],
29 [0.5, 3.5],
30 [3.5, 3.5],
31 [0, 4],
32 [4, 4]
33 ],
34 "edges_vertices": [
35 [0, 1], [0, 2], [0, 4], [1, 3], [1, 9], [2, 3], [2, 5], [2, 6],
36 [3, 7], [3, 8], [4, 5], [4, 12], [5, 6], [5, 10], [6, 7], [6, 10],
37 [7, 8], [7, 11], [8, 9], [8, 11], [9, 13], [10, 11], [10, 12], [11, 13],
38 [12, 13], [12, 14], [12, 16], [13, 15], [13, 21], [14, 15], [14, 17], [14, 18],
39 [15, 19], [15, 20], [16, 17], [16, 24], [17, 18], [17, 22], [18, 19], [18, 22],
40 [19, 20], [19, 23], [20, 21], [20, 23], [21, 25], [22, 23], [22, 24], [23, 25],
41 [24, 25]
42 ],
43 "edges_assignment": [
44 "B", "M", "B", "M", "B", "V", "M", "M",
45 "M", "M", "V", "B", "V", "V", "V", "V",
46 "V", "V", "V", "V", "B", "M", "V", "V",
47 "F", "V", "B", "V", "B", "M", "V", "V",
48 "V", "V", "V", "B", "V", "M", "V", "M",
49 "V", "M", "V", "M", "B", "V", "M", "M",
50 "B"
51 ],
52 "faces_vertices": [
53 [0, 1, 3, 2], [1, 9, 8, 3], [9, 13, 11, 8], [13, 21, 20, 15], [21, 25, 23, 20], [12, 13, 15, 14],
54 [4, 5, 10, 12], [5, 6, 10], [6, 7, 11, 10], [7, 8, 11], [16, 17, 22, 24], [17, 18, 22],
55 [18, 19, 23, 22], [19, 20, 23], [12, 14, 17, 16], [14, 18, 17], [15, 19, 18, 14], [23, 25, 24, 22],
56 [0, 2, 5, 4], [2, 6, 5], [11, 13, 12, 10], [3, 7, 6, 2], [15, 20, 19], [3, 8, 7]
57 ]
58}
Models/sampan.foldscript added +47
@@ -0,0 +1,47 @@
1{
2 "creasePattern": "sampan-cp.fold",
3 "title": "Sampan",
4 "steps": [
5 {
6 "kind": "foldAndUnfold",
7 "instruction": "Valley fold in half, bottom edge to top edge, and unfold.",
8 "creases": [[[0, 2], [4, 2]]],
9 "movingSide": [[2, 1]],
10 "peakAngles": [180]
11 },
12 {
13 "kind": "fold",
14 "instruction": "Valley fold the top and bottom edges to the centre line.",
15 "creases": [[[1, 3], [3, 3]], [[1, 1], [3, 1]]],
16 "movingSide": [[2, 3.75], [2, 0.25]],
17 "angles": [180, 180]
18 },
19 {
20 "kind": "fold",
21 "instruction": "Valley fold the four corners in to the centre line.",
22 "creases": [[[0, 2], [0.5, 2.5]], [[3.5, 2.5], [4, 2]], [[0, 2], [0.5, 1.5]], [[3.5, 1.5], [4, 2]]],
23 "movingSide": [[0.2, 2.8], [3.8, 2.8], [0.2, 1.2], [3.8, 1.2]],
24 "angles": [180, 180, 180, 180]
25 },
26 {
27 "kind": "fold",
28 "instruction": "Valley fold the top and bottom edges to the centre line again.",
29 "creases": [[[0.5, 2.5], [3.5, 2.5]], [[0.5, 1.5], [3.5, 1.5]]],
30 "movingSide": [[2, 2.75], [2, 1.25]],
31 "angles": [180, 180]
32 },
33 {
34 "kind": "fold",
35 "instruction": "Put your thumbs into the pockets under the folded edges along the centre line and push both sides out and round behind, turning the model inside out.",
36 "creases": [[[0.5, 2.5], [3.5, 2.5]], [[0.5, 1.5], [3.5, 1.5]]],
37 "movingSide": [[2, 2.75], [2, 1.25]],
38 "angles": [-90, -90],
39 "viewpoint": {"eye": [1, -2, 2], "up": [0, 1, 0]}
40 },
41 {
42 "kind": "turnOver",
43 "instruction": "Turn the boat over so that it stands upright.",
44 "turnOverAxis": "vertical"
45 }
46 ]
47}
Packages/FoldKit/Sources/Models/Resources/sampan.fold added +3621
@@ -0,0 +1,3621 @@
1{
2 "edges_assignment" : [
3 "B",
4 "F",
5 "B",
6 "F",
7 "B",
8 "F",
9 "F",
10 "F",
11 "F",
12 "F",
13 "F",
14 "B",
15 "F",
16 "F",
17 "F",
18 "F",
19 "F",
20 "F",
21 "F",
22 "F",
23 "B",
24 "F",
25 "F",
26 "F",
27 "F",
28 "F",
29 "B",
30 "F",
31 "B",
32 "F",
33 "F",
34 "F",
35 "F",
36 "F",
37 "F",
38 "B",
39 "F",
40 "F",
41 "F",
42 "F",
43 "F",
44 "F",
45 "F",
46 "F",
47 "B",
48 "F",
49 "F",
50 "F",
51 "B"
52 ],
53 "edges_foldAngle" : [
54 0,
55 0,
56 0,
57 0,
58 0,
59 0,
60 0,
61 0,
62 0,
63 0,
64 0,
65 0,
66 0,
67 0,
68 0,
69 0,
70 0,
71 0,
72 0,
73 0,
74 0,
75 0,
76 0,
77 0,
78 0,
79 0,
80 0,
81 0,
82 0,
83 0,
84 0,
85 0,
86 0,
87 0,
88 0,
89 0,
90 0,
91 0,
92 0,
93 0,
94 0,
95 0,
96 0,
97 0,
98 0,
99 0,
100 0,
101 0,
102 0
103 ],
104 "edges_krz:firstCreasedAtStep" : [
105 null,
106 3,
107 null,
108 3,
109 null,
110 4,
111 4,
112 3,
113 3,
114 4,
115 2,
116 null,
117 2,
118 4,
119 2,
120 3,
121 2,
122 3,
123 2,
124 4,
125 null,
126 4,
127 3,
128 3,
129 1,
130 3,
131 null,
132 3,
133 null,
134 4,
135 4,
136 3,
137 3,
138 4,
139 2,
140 null,
141 2,
142 4,
143 2,
144 3,
145 2,
146 3,
147 2,
148 4,
149 null,
150 4,
151 3,
152 3,
153 null
154 ],
155 "edges_vertices" : [
156 [
157 0,
158 1
159 ],
160 [
161 0,
162 2
163 ],
164 [
165 0,
166 4
167 ],
168 [
169 1,
170 3
171 ],
172 [
173 1,
174 9
175 ],
176 [
177 2,
178 3
179 ],
180 [
181 2,
182 5
183 ],
184 [
185 2,
186 6
187 ],
188 [
189 3,
190 7
191 ],
192 [
193 3,
194 8
195 ],
196 [
197 4,
198 5
199 ],
200 [
201 4,
202 12
203 ],
204 [
205 5,
206 6
207 ],
208 [
209 5,
210 10
211 ],
212 [
213 6,
214 7
215 ],
216 [
217 6,
218 10
219 ],
220 [
221 7,
222 8
223 ],
224 [
225 7,
226 11
227 ],
228 [
229 8,
230 9
231 ],
232 [
233 8,
234 11
235 ],
236 [
237 9,
238 13
239 ],
240 [
241 10,
242 11
243 ],
244 [
245 10,
246 12
247 ],
248 [
249 11,
250 13
251 ],
252 [
253 12,
254 13
255 ],
256 [
257 12,
258 14
259 ],
260 [
261 12,
262 16
263 ],
264 [
265 13,
266 15
267 ],
268 [
269 13,
270 21
271 ],
272 [
273 14,
274 15
275 ],
276 [
277 14,
278 17
279 ],
280 [
281 14,
282 18
283 ],
284 [
285 15,
286 19
287 ],
288 [
289 15,
290 20
291 ],
292 [
293 16,
294 17
295 ],
296 [
297 16,
298 24
299 ],
300 [
301 17,
302 18
303 ],
304 [
305 17,
306 22
307 ],
308 [
309 18,
310 19
311 ],
312 [
313 18,
314 22
315 ],
316 [
317 19,
318 20
319 ],
320 [
321 19,
322 23
323 ],
324 [
325 20,
326 21
327 ],
328 [
329 20,
330 23
331 ],
332 [
333 21,
334 25
335 ],
336 [
337 22,
338 23
339 ],
340 [
341 22,
342 24
343 ],
344 [
345 23,
346 25
347 ],
348 [
349 24,
350 25
351 ]
352 ],
353 "faceOrders" : [
354
355 ],
356 "faces_vertices" : [
357 [
358 0,
359 1,
360 3,
361 2
362 ],
363 [
364 1,
365 9,
366 8,
367 3
368 ],
369 [
370 9,
371 13,
372 11,
373 8
374 ],
375 [
376 13,
377 21,
378 20,
379 15
380 ],
381 [
382 21,
383 25,
384 23,
385 20
386 ],
387 [
388 12,
389 13,
390 15,
391 14
392 ],
393 [
394 4,
395 5,
396 10,
397 12
398 ],
399 [
400 5,
401 6,
402 10
403 ],
404 [
405 6,
406 7,
407 11,
408 10
409 ],
410 [
411 7,
412 8,
413 11
414 ],
415 [
416 16,
417 17,
418 22,
419 24
420 ],
421 [
422 17,
423 18,
424 22
425 ],
426 [
427 18,
428 19,
429 23,
430 22
431 ],
432 [
433 19,
434 20,
435 23
436 ],
437 [
438 12,
439 14,
440 17,
441 16
442 ],
443 [
444 14,
445 18,
446 17
447 ],
448 [
449 15,
450 19,
451 18,
452 14
453 ],
454 [
455 23,
456 25,
457 24,
458 22
459 ],
460 [
461 0,
462 2,
463 5,
464 4
465 ],
466 [
467 2,
468 6,
469 5
470 ],
471 [
472 11,
473 13,
474 12,
475 10
476 ],
477 [
478 3,
479 7,
480 6,
481 2
482 ],
483 [
484 15,
485 20,
486 19
487 ],
488 [
489 3,
490 8,
491 7
492 ]
493 ],
494 "file_author" : "Traditional",
495 "file_classes" : [
496 "diagrams"
497 ],
498 "file_frames" : [
499 {
500 "edges_assignment" : [
501 "B",
502 "F",
503 "B",
504 "F",
505 "B",
506 "F",
507 "F",
508 "F",
509 "F",
510 "F",
511 "F",
512 "B",
513 "F",
514 "F",
515 "F",
516 "F",
517 "F",
518 "F",
519 "F",
520 "F",
521 "B",
522 "F",
523 "F",
524 "F",
525 "F",
526 "F",
527 "B",
528 "F",
529 "B",
530 "F",
531 "F",
532 "F",
533 "F",
534 "F",
535 "F",
536 "B",
537 "F",
538 "F",
539 "F",
540 "F",
541 "F",
542 "F",
543 "F",
544 "F",
545 "B",
546 "F",
547 "F",
548 "F",
549 "B"
550 ],
551 "edges_foldAngle" : [
552 0,
553 0,
554 0,
555 0,
556 0,
557 0,
558 0,
559 0,
560 0,
561 0,
562 0,
563 0,
564 0,
565 0,
566 0,
567 0,
568 0,
569 0,
570 0,
571 0,
572 0,
573 0,
574 0,
575 0,
576 0,
577 0,
578 0,
579 0,
580 0,
581 0,
582 0,
583 0,
584 0,
585 0,
586 0,
587 0,
588 0,
589 0,
590 0,
591 0,
592 0,
593 0,
594 0,
595 0,
596 0,
597 0,
598 0,
599 0,
600 0
601 ],
602 "faceOrders" : [
603
604 ],
605 "frame_inherit" : true,
606 "frame_parent" : 0,
607 "krz:faceOrders_midFold" : [
608 [
609 0,
610 17,
611 1
612 ],
613 [
614 1,
615 4,
616 1
617 ],
618 [
619 2,
620 3,
621 1
622 ],
623 [
624 5,
625 20,
626 1
627 ],
628 [
629 6,
630 14,
631 1
632 ],
633 [
634 7,
635 15,
636 1
637 ],
638 [
639 8,
640 16,
641 1
642 ],
643 [
644 9,
645 22,
646 1
647 ],
648 [
649 10,
650 18,
651 1
652 ],
653 [
654 11,
655 19,
656 1
657 ],
658 [
659 12,
660 21,
661 1
662 ],
663 [
664 13,
665 23,
666 1
667 ]
668 ],
669 "krz:step" : {
670 "axes" : [
671 {
672 "edge" : 24,
673 "endAngle" : 0,
674 "movingFaces" : [
675 0,
676 1,
677 2,
678 6,
679 7,
680 8,
681 9,
682 18,
683 19,
684 20,
685 21,
686 23
687 ],
688 "peakAngle" : 180,
689 "startAngle" : 0
690 }
691 ],
692 "instruction" : "Valley fold in half, bottom edge to top edge, and unfold.",
693 "kind" : "foldAndUnfold",
694 "nonRigid" : false,
695 "technique" : "plain",
696 "viewpoint" : {
697 "eye" : [
698 0,
699 0,
700 1
701 ],
702 "up" : [
703 0,
704 1,
705 0
706 ]
707 }
708 },
709 "vertices_coords" : [
710 [
711 0,
712 0,
713 0
714 ],
715 [
716 4,
717 0,
718 0
719 ],
720 [
721 0.5,
722 0.5,
723 0
724 ],
725 [
726 3.5,
727 0.5,
728 0
729 ],
730 [
731 0,
732 1,
733 0
734 ],
735 [
736 0.5,
737 1,
738 0
739 ],
740 [
741 1,
742 1,
743 0
744 ],
745 [
746 3,
747 1,
748 0
749 ],
750 [
751 3.5,
752 1,
753 0
754 ],
755 [
756 4,
757 1,
758 0
759 ],
760 [
761 0.5,
762 1.5,
763 0
764 ],
765 [
766 3.5,
767 1.5,
768 0
769 ],
770 [
771 0,
772 2,
773 0
774 ],
775 [
776 4,
777 2,
778 0
779 ],
780 [
781 0.5,
782 2.5,
783 0
784 ],
785 [
786 3.5,
787 2.5,
788 0
789 ],
790 [
791 0,
792 3,
793 0
794 ],
795 [
796 0.5,
797 3,
798 0
799 ],
800 [
801 1,
802 3,
803 0
804 ],
805 [
806 3,
807 3,
808 0
809 ],
810 [
811 3.5,
812 3,
813 0
814 ],
815 [
816 4,
817 3,
818 0
819 ],
820 [
821 0.5,
822 3.5,
823 0
824 ],
825 [
826 3.5,
827 3.5,
828 0
829 ],
830 [
831 0,
832 4,
833 0
834 ],
835 [
836 4,
837 4,
838 0
839 ]
840 ]
841 },
842 {
843 "edges_assignment" : [
844 "B",
845 "F",
846 "B",
847 "F",
848 "B",
849 "F",
850 "F",
851 "F",
852 "F",
853 "F",
854 "V",
855 "B",
856 "V",
857 "F",
858 "V",
859 "F",
860 "V",
861 "F",
862 "V",
863 "F",
864 "B",
865 "F",
866 "F",
867 "F",
868 "F",
869 "F",
870 "B",
871 "F",
872 "B",
873 "F",
874 "F",
875 "F",
876 "F",
877 "F",
878 "V",
879 "B",
880 "V",
881 "F",
882 "V",
883 "F",
884 "V",
885 "F",
886 "V",
887 "F",
888 "B",
889 "F",
890 "F",
891 "F",
892 "B"
893 ],
894 "edges_foldAngle" : [
895 0,
896 0,
897 0,
898 0,
899 0,
900 0,
901 0,
902 0,
903 0,
904 0,
905 180,
906 0,
907 180,
908 0,
909 180,
910 0,
911 180,
912 0,
913 180,
914 0,
915 0,
916 0,
917 0,
918 0,
919 0,
920 0,
921 0,
922 0,
923 0,
924 0,
925 0,
926 0,
927 0,
928 0,
929 180,
930 0,
931 180,
932 0,
933 180,
934 0,
935 180,
936 0,
937 180,
938 0,
939 0,
940 0,
941 0,
942 0,
943 0
944 ],
945 "faceOrders" : [
946 [
947 0,
948 20,
949 1
950 ],
951 [
952 1,
953 2,
954 1
955 ],
956 [
957 3,
958 4,
959 1
960 ],
961 [
962 5,
963 17,
964 1
965 ],
966 [
967 6,
968 18,
969 1
970 ],
971 [
972 7,
973 19,
974 1
975 ],
976 [
977 8,
978 21,
979 1
980 ],
981 [
982 9,
983 23,
984 1
985 ],
986 [
987 10,
988 14,
989 1
990 ],
991 [
992 11,
993 15,
994 1
995 ],
996 [
997 12,
998 16,
999 1
1000 ],
1001 [
1002 13,
1003 22,
1004 1
1005 ]
1006 ],
1007 "frame_inherit" : true,
1008 "frame_parent" : 0,
1009 "krz:step" : {
1010 "axes" : [
1011 {
1012 "edge" : 38,
1013 "endAngle" : 180,
1014 "movingFaces" : [
1015 4,
1016 10,
1017 11,
1018 12,
1019 13,
1020 17
1021 ],
1022 "startAngle" : 0
1023 },
1024 {
1025 "edge" : 14,
1026 "endAngle" : 180,
1027 "movingFaces" : [
1028 0,
1029 1,
1030 18,
1031 19,
1032 21,
1033 23
1034 ],
1035 "startAngle" : 0
1036 }
1037 ],
1038 "instruction" : "Valley fold the top and bottom edges to the centre line.",
1039 "kind" : "fold",
1040 "nonRigid" : false,
1041 "technique" : "plain",
1042 "viewpoint" : {
1043 "eye" : [
1044 0,
1045 0,
1046 1
1047 ],
1048 "up" : [
1049 0,
1050 1,
1051 0
1052 ]
1053 }
1054 },
1055 "vertices_coords" : [
1056 [
1057 0,
1058 2,
1059 1.2246467991473532e-16
1060 ],
1061 [
1062 4,
1063 2,
1064 1.2246467991473532e-16
1065 ],
1066 [
1067 0.5,
1068 1.5,
1069 6.123233995736766e-17
1070 ],
1071 [
1072 3.5,
1073 1.5,
1074 6.123233995736766e-17
1075 ],
1076 [
1077 0,
1078 1,
1079 0
1080 ],
1081 [
1082 0.5,
1083 1,
1084 0
1085 ],
1086 [
1087 1,
1088 1,
1089 0
1090 ],
1091 [
1092 3,
1093 1,
1094 0
1095 ],
1096 [
1097 3.5,
1098 1,
1099 0
1100 ],
1101 [
1102 4,
1103 1,
1104 0
1105 ],
1106 [
1107 0.5,
1108 1.5,
1109 0
1110 ],
1111 [
1112 3.5,
1113 1.5,
1114 0
1115 ],
1116 [
1117 0,
1118 2,
1119 0
1120 ],
1121 [
1122 4,
1123 2,
1124 0
1125 ],
1126 [
1127 0.5,
1128 2.5,
1129 0
1130 ],
1131 [
1132 3.5,
1133 2.5,
1134 0
1135 ],
1136 [
1137 0,
1138 3,
1139 0
1140 ],
1141 [
1142 0.5,
1143 3,
1144 0
1145 ],
1146 [
1147 1,
1148 3,
1149 0
1150 ],
1151 [
1152 3,
1153 3,
1154 0
1155 ],
1156 [
1157 3.5,
1158 3,
1159 0
1160 ],
1161 [
1162 4,
1163 3,
1164 0
1165 ],
1166 [
1167 0.5,
1168 2.5,
1169 6.123233995736767e-17
1170 ],
1171 [
1172 3.5,
1173 2.5,
1174 6.123233995736767e-17
1175 ],
1176 [
1177 0,
1178 2,
1179 1.2246467991473535e-16
1180 ],
1181 [
1182 4,
1183 2,
1184 1.2246467991473535e-16
1185 ]
1186 ]
1187 },
1188 {
1189 "edges_assignment" : [
1190 "B",
1191 "M",
1192 "B",
1193 "M",
1194 "B",
1195 "F",
1196 "F",
1197 "M",
1198 "M",
1199 "F",
1200 "V",
1201 "B",
1202 "V",
1203 "F",
1204 "V",
1205 "V",
1206 "V",
1207 "V",
1208 "V",
1209 "F",
1210 "B",
1211 "F",
1212 "V",
1213 "V",
1214 "F",
1215 "V",
1216 "B",
1217 "V",
1218 "B",
1219 "F",
1220 "F",
1221 "V",
1222 "V",
1223 "F",
1224 "V",
1225 "B",
1226 "V",
1227 "F",
1228 "V",
1229 "M",
1230 "V",
1231 "M",
1232 "V",
1233 "F",
1234 "B",
1235 "F",
1236 "M",
1237 "M",
1238 "B"
1239 ],
1240 "edges_foldAngle" : [
1241 0,
1242 -180,
1243 0,
1244 -180,
1245 0,
1246 0,
1247 0,
1248 -180,
1249 -180,
1250 0,
1251 180,
1252 0,
1253 180,
1254 0,
1255 180,
1256 180,
1257 180,
1258 180,
1259 180,
1260 0,
1261 0,
1262 0,
1263 180,
1264 180,
1265 0,
1266 180,
1267 0,
1268 180,
1269 0,
1270 0,
1271 0,
1272 180,
1273 180,
1274 0,
1275 180,
1276 0,
1277 180,
1278 0,
1279 180,
1280 -180,
1281 180,
1282 -180,
1283 180,
1284 0,
1285 0,
1286 0,
1287 -180,
1288 -180,
1289 0
1290 ],
1291 "faceOrders" : [
1292 [
1293 0,
1294 1,
1295 -1
1296 ],
1297 [
1298 0,
1299 2,
1300 1
1301 ],
1302 [
1303 0,
1304 6,
1305 1
1306 ],
1307 [
1308 0,
1309 18,
1310 -1
1311 ],
1312 [
1313 0,
1314 20,
1315 1
1316 ],
1317 [
1318 1,
1319 2,
1320 1
1321 ],
1322 [
1323 1,
1324 20,
1325 1
1326 ],
1327 [
1328 2,
1329 20,
1330 1
1331 ],
1332 [
1333 3,
1334 4,
1335 1
1336 ],
1337 [
1338 3,
1339 5,
1340 1
1341 ],
1342 [
1343 3,
1344 17,
1345 -1
1346 ],
1347 [
1348 4,
1349 5,
1350 1
1351 ],
1352 [
1353 4,
1354 17,
1355 -1
1356 ],
1357 [
1358 5,
1359 10,
1360 -1
1361 ],
1362 [
1363 5,
1364 14,
1365 1
1366 ],
1367 [
1368 5,
1369 17,
1370 1
1371 ],
1372 [
1373 6,
1374 18,
1375 1
1376 ],
1377 [
1378 6,
1379 20,
1380 1
1381 ],
1382 [
1383 7,
1384 8,
1385 1
1386 ],
1387 [
1388 7,
1389 19,
1390 1
1391 ],
1392 [
1393 7,
1394 21,
1395 -1
1396 ],
1397 [
1398 8,
1399 9,
1400 1
1401 ],
1402 [
1403 8,
1404 19,
1405 -1
1406 ],
1407 [
1408 8,
1409 21,
1410 1
1411 ],
1412 [
1413 8,
1414 23,
1415 -1
1416 ],
1417 [
1418 9,
1419 21,
1420 -1
1421 ],
1422 [
1423 9,
1424 23,
1425 1
1426 ],
1427 [
1428 10,
1429 14,
1430 1
1431 ],
1432 [
1433 10,
1434 17,
1435 -1
1436 ],
1437 [
1438 11,
1439 12,
1440 -1
1441 ],
1442 [
1443 11,
1444 15,
1445 1
1446 ],
1447 [
1448 11,
1449 16,
1450 1
1451 ],
1452 [
1453 12,
1454 13,
1455 -1
1456 ],
1457 [
1458 12,
1459 15,
1460 1
1461 ],
1462 [
1463 12,
1464 16,
1465 1
1466 ],
1467 [
1468 12,
1469 22,
1470 1
1471 ],
1472 [
1473 13,
1474 16,
1475 1
1476 ],
1477 [
1478 13,
1479 22,
1480 1
1481 ],
1482 [
1483 14,
1484 17,
1485 -1
1486 ],
1487 [
1488 15,
1489 16,
1490 1
1491 ],
1492 [
1493 16,
1494 22,
1495 1
1496 ],
1497 [
1498 18,
1499 20,
1500 1
1501 ],
1502 [
1503 19,
1504 21,
1505 -1
1506 ],
1507 [
1508 21,
1509 23,
1510 -1
1511 ]
1512 ],
1513 "frame_inherit" : true,
1514 "frame_parent" : 0,
1515 "krz:step" : {
1516 "axes" : [
1517 {
1518 "edge" : 25,
1519 "endAngle" : 180,
1520 "movingFaces" : [
1521 10,
1522 11,
1523 14,
1524 15
1525 ],
1526 "startAngle" : 0
1527 },
1528 {
1529 "edge" : 27,
1530 "endAngle" : 180,
1531 "movingFaces" : [
1532 3,
1533 4,
1534 13,
1535 22
1536 ],
1537 "startAngle" : 0
1538 },
1539 {
1540 "edge" : 22,
1541 "endAngle" : 180,
1542 "movingFaces" : [
1543 6,
1544 7,
1545 18,
1546 19
1547 ],
1548 "startAngle" : 0
1549 },
1550 {
1551 "edge" : 23,
1552 "endAngle" : 180,
1553 "movingFaces" : [
1554 1,
1555 2,
1556 9,
1557 23
1558 ],
1559 "startAngle" : 0
1560 }
1561 ],
1562 "instruction" : "Valley fold the four corners in to the centre line.",
1563 "kind" : "fold",
1564 "nonRigid" : false,
1565 "technique" : "plain",
1566 "viewpoint" : {
1567 "eye" : [
1568 0,
1569 0,
1570 1
1571 ],
1572 "up" : [
1573 0,
1574 1,
1575 0
1576 ]
1577 }
1578 },
1579 "vertices_coords" : [
1580 [
1581 0,
1582 2,
1583 1.2246467991473532e-16
1584 ],
1585 [
1586 4,
1587 2,
1588 1.2246467991473532e-16
1589 ],
1590 [
1591 0.5,
1592 1.5,
1593 6.123233995736766e-17
1594 ],
1595 [
1596 3.5,
1597 1.5,
1598 6.123233995736766e-17
1599 ],
1600 [
1601 0.9999999999999998,
1602 2,
1603 8.659560562354932e-17
1604 ],
1605 [
1606 0.9999999999999998,
1607 1.5,
1608 4.329780281177465e-17
1609 ],
1610 [
1611 0.9999999999999998,
1612 1.0000000000000002,
1613 0
1614 ],
1615 [
1616 3,
1617 1,
1618 0
1619 ],
1620 [
1621 3.0000000000000004,
1622 1.5,
1623 4.329780281177465e-17
1624 ],
1625 [
1626 3.0000000000000004,
1627 2,
1628 8.659560562354933e-17
1629 ],
1630 [
1631 0.5,
1632 1.5,
1633 0
1634 ],
1635 [
1636 3.5,
1637 1.5,
1638 -2.465190328815662e-32
1639 ],
1640 [
1641 0,
1642 2,
1643 0
1644 ],
1645 [
1646 4,
1647 2,
1648 0
1649 ],
1650 [
1651 0.5,
1652 2.5,
1653 0
1654 ],
1655 [
1656 3.5000000000000004,
1657 2.5,
1658 0
1659 ],
1660 [
1661 0.9999999999999996,
1662 2,
1663 8.659560562354933e-17
1664 ],
1665 [
1666 1,
1667 2.5,
1668 4.329780281177465e-17
1669 ],
1670 [
1671 1,
1672 2.9999999999999996,
1673 0
1674 ],
1675 [
1676 3,
1677 3,
1678 0
1679 ],
1680 [
1681 3.000000000000001,
1682 2.5,
1683 4.329780281177463e-17
1684 ],
1685 [
1686 3.000000000000001,
1687 2,
1688 8.659560562354925e-17
1689 ],
1690 [
1691 0.5,
1692 2.5,
1693 -6.123233995736765e-17
1694 ],
1695 [
1696 3.5000000000000004,
1697 2.5,
1698 -6.123233995736767e-17
1699 ],
1700 [
1701 0,
1702 2,
1703 -1.2246467991473532e-16
1704 ],
1705 [
1706 4,
1707 2,
1708 -1.224646799147353e-16
1709 ]
1710 ]
1711 },
1712 {
1713 "edges_assignment" : [
1714 "B",
1715 "M",
1716 "B",
1717 "M",
1718 "B",
1719 "M",
1720 "V",
1721 "M",
1722 "M",
1723 "V",
1724 "V",
1725 "B",
1726 "V",
1727 "M",
1728 "V",
1729 "V",
1730 "V",
1731 "V",
1732 "V",
1733 "M",
1734 "B",
1735 "V",
1736 "V",
1737 "V",
1738 "F",
1739 "V",
1740 "B",
1741 "V",
1742 "B",
1743 "V",
1744 "M",
1745 "V",
1746 "V",
1747 "M",
1748 "V",
1749 "B",
1750 "V",
1751 "V",
1752 "V",
1753 "M",
1754 "V",
1755 "M",
1756 "V",
1757 "V",
1758 "B",
1759 "M",
1760 "M",
1761 "M",
1762 "B"
1763 ],
1764 "edges_foldAngle" : [
1765 0,
1766 -180,
1767 0,
1768 -180,
1769 0,
1770 -180,
1771 180,
1772 -180,
1773 -180,
1774 180,
1775 180,
1776 0,
1777 180,
1778 -180,
1779 180,
1780 180,
1781 180,
1782 180,
1783 180,
1784 -180,
1785 0,
1786 180,
1787 180,
1788 180,
1789 0,
1790 180,
1791 0,
1792 180,
1793 0,
1794 180,
1795 -180,
1796 180,
1797 180,
1798 -180,
1799 180,
1800 0,
1801 180,
1802 180,
1803 180,
1804 -180,
1805 180,
1806 -180,
1807 180,
1808 180,
1809 0,
1810 -180,
1811 -180,
1812 -180,
1813 0
1814 ],
1815 "faceOrders" : [
1816 [
1817 0,
1818 1,
1819 -1
1820 ],
1821 [
1822 0,
1823 2,
1824 1
1825 ],
1826 [
1827 0,
1828 6,
1829 1
1830 ],
1831 [
1832 0,
1833 7,
1834 -1
1835 ],
1836 [
1837 0,
1838 8,
1839 1
1840 ],
1841 [
1842 0,
1843 9,
1844 -1
1845 ],
1846 [
1847 0,
1848 18,
1849 -1
1850 ],
1851 [
1852 0,
1853 19,
1854 1
1855 ],
1856 [
1857 0,
1858 20,
1859 1
1860 ],
1861 [
1862 0,
1863 21,
1864 -1
1865 ],
1866 [
1867 0,
1868 23,
1869 1
1870 ],
1871 [
1872 1,
1873 2,
1874 1
1875 ],
1876 [
1877 1,
1878 8,
1879 1
1880 ],
1881 [
1882 1,
1883 9,
1884 -1
1885 ],
1886 [
1887 1,
1888 20,
1889 1
1890 ],
1891 [
1892 1,
1893 21,
1894 -1
1895 ],
1896 [
1897 1,
1898 23,
1899 1
1900 ],
1901 [
1902 2,
1903 8,
1904 1
1905 ],
1906 [
1907 2,
1908 9,
1909 -1
1910 ],
1911 [
1912 2,
1913 20,
1914 1
1915 ],
1916 [
1917 2,
1918 21,
1919 -1
1920 ],
1921 [
1922 2,
1923 23,
1924 1
1925 ],
1926 [
1927 3,
1928 4,
1929 1
1930 ],
1931 [
1932 3,
1933 5,
1934 1
1935 ],
1936 [
1937 3,
1938 12,
1939 -1
1940 ],
1941 [
1942 3,
1943 13,
1944 1
1945 ],
1946 [
1947 3,
1948 16,
1949 1
1950 ],
1951 [
1952 3,
1953 17,
1954 -1
1955 ],
1956 [
1957 3,
1958 22,
1959 -1
1960 ],
1961 [
1962 4,
1963 5,
1964 1
1965 ],
1966 [
1967 4,
1968 12,
1969 -1
1970 ],
1971 [
1972 4,
1973 13,
1974 1
1975 ],
1976 [
1977 4,
1978 16,
1979 1
1980 ],
1981 [
1982 4,
1983 17,
1984 -1
1985 ],
1986 [
1987 4,
1988 22,
1989 -1
1990 ],
1991 [
1992 5,
1993 10,
1994 -1
1995 ],
1996 [
1997 5,
1998 11,
1999 1
2000 ],
2001 [
2002 5,
2003 12,
2004 -1
2005 ],
2006 [
2007 5,
2008 13,
2009 1
2010 ],
2011 [
2012 5,
2013 14,
2014 1
2015 ],
2016 [
2017 5,
2018 15,
2019 -1
2020 ],
2021 [
2022 5,
2023 16,
2024 1
2025 ],
2026 [
2027 5,
2028 17,
2029 1
2030 ],
2031 [
2032 5,
2033 22,
2034 -1
2035 ],
2036 [
2037 6,
2038 7,
2039 -1
2040 ],
2041 [
2042 6,
2043 8,
2044 1
2045 ],
2046 [
2047 6,
2048 18,
2049 1
2050 ],
2051 [
2052 6,
2053 19,
2054 1
2055 ],
2056 [
2057 6,
2058 20,
2059 1
2060 ],
2061 [
2062 6,
2063 21,
2064 -1
2065 ],
2066 [
2067 7,
2068 8,
2069 1
2070 ],
2071 [
2072 7,
2073 18,
2074 1
2075 ],
2076 [
2077 7,
2078 19,
2079 1
2080 ],
2081 [
2082 7,
2083 20,
2084 1
2085 ],
2086 [
2087 7,
2088 21,
2089 -1
2090 ],
2091 [
2092 8,
2093 9,
2094 1
2095 ],
2096 [
2097 8,
2098 18,
2099 1
2100 ],
2101 [
2102 8,
2103 19,
2104 -1
2105 ],
2106 [
2107 8,
2108 20,
2109 1
2110 ],
2111 [
2112 8,
2113 21,
2114 1
2115 ],
2116 [
2117 8,
2118 23,
2119 -1
2120 ],
2121 [
2122 9,
2123 20,
2124 1
2125 ],
2126 [
2127 9,
2128 21,
2129 -1
2130 ],
2131 [
2132 9,
2133 23,
2134 1
2135 ],
2136 [
2137 10,
2138 11,
2139 1
2140 ],
2141 [
2142 10,
2143 12,
2144 -1
2145 ],
2146 [
2147 10,
2148 14,
2149 1
2150 ],
2151 [
2152 10,
2153 15,
2154 -1
2155 ],
2156 [
2157 10,
2158 16,
2159 1
2160 ],
2161 [
2162 10,
2163 17,
2164 -1
2165 ],
2166 [
2167 11,
2168 12,
2169 -1
2170 ],
2171 [
2172 11,
2173 14,
2174 -1
2175 ],
2176 [
2177 11,
2178 15,
2179 1
2180 ],
2181 [
2182 11,
2183 16,
2184 1
2185 ],
2186 [
2187 11,
2188 17,
2189 -1
2190 ],
2191 [
2192 12,
2193 13,
2194 -1
2195 ],
2196 [
2197 12,
2198 14,
2199 -1
2200 ],
2201 [
2202 12,
2203 15,
2204 1
2205 ],
2206 [
2207 12,
2208 16,
2209 1
2210 ],
2211 [
2212 12,
2213 17,
2214 -1
2215 ],
2216 [
2217 12,
2218 22,
2219 1
2220 ],
2221 [
2222 13,
2223 16,
2224 1
2225 ],
2226 [
2227 13,
2228 17,
2229 -1
2230 ],
2231 [
2232 13,
2233 22,
2234 1
2235 ],
2236 [
2237 14,
2238 15,
2239 -1
2240 ],
2241 [
2242 14,
2243 16,
2244 1
2245 ],
2246 [
2247 14,
2248 17,
2249 -1
2250 ],
2251 [
2252 15,
2253 16,
2254 1
2255 ],
2256 [
2257 15,
2258 17,
2259 -1
2260 ],
2261 [
2262 16,
2263 17,
2264 -1
2265 ],
2266 [
2267 16,
2268 22,
2269 1
2270 ],
2271 [
2272 17,
2273 22,
2274 -1
2275 ],
2276 [
2277 18,
2278 19,
2279 1
2280 ],
2281 [
2282 18,
2283 20,
2284 1
2285 ],
2286 [
2287 18,
2288 21,
2289 -1
2290 ],
2291 [
2292 19,
2293 20,
2294 1
2295 ],
2296 [
2297 19,
2298 21,
2299 -1
2300 ],
2301 [
2302 20,
2303 21,
2304 -1
2305 ],
2306 [
2307 20,
2308 23,
2309 1
2310 ],
2311 [
2312 21,
2313 23,
2314 -1
2315 ]
2316 ],
2317 "frame_inherit" : true,
2318 "frame_parent" : 0,
2319 "krz:step" : {
2320 "axes" : [
2321 {
2322 "edge" : 29,
2323 "endAngle" : 180,
2324 "movingFaces" : [
2325 11,
2326 12,
2327 13,
2328 15,
2329 16,
2330 22
2331 ],
2332 "startAngle" : 0
2333 },
2334 {
2335 "edge" : 21,
2336 "endAngle" : 180,
2337 "movingFaces" : [
2338 7,
2339 8,
2340 9,
2341 19,
2342 21,
2343 23
2344 ],
2345 "startAngle" : 0
2346 }
2347 ],
2348 "instruction" : "Valley fold the top and bottom edges to the centre line again.",
2349 "kind" : "fold",
2350 "nonRigid" : false,
2351 "technique" : "plain",
2352 "viewpoint" : {
2353 "eye" : [
2354 0,
2355 0,
2356 1
2357 ],
2358 "up" : [
2359 0,
2360 1,
2361 0
2362 ]
2363 }
2364 },
2365 "vertices_coords" : [
2366 [
2367 0,
2368 2,
2369 1.2246467991473532e-16
2370 ],
2371 [
2372 4,
2373 2,
2374 1.2246467991473532e-16
2375 ],
2376 [
2377 0.5,
2378 1.5,
2379 6.123233995736766e-17
2380 ],
2381 [
2382 3.5,
2383 1.5,
2384 6.123233995736766e-17
2385 ],
2386 [
2387 0.9999999999999998,
2388 2,
2389 8.659560562354932e-17
2390 ],
2391 [
2392 0.9999999999999998,
2393 1.5,
2394 4.329780281177465e-17
2395 ],
2396 [
2397 0.9999999999999998,
2398 1.9999999999999998,
2399 6.123233995736762e-17
2400 ],
2401 [
2402 3,
2403 2,
2404 6.123233995736762e-17
2405 ],
2406 [
2407 3.0000000000000004,
2408 1.5,
2409 4.329780281177465e-17
2410 ],
2411 [
2412 3.0000000000000004,
2413 2,
2414 8.659560562354933e-17
2415 ],
2416 [
2417 0.5,
2418 1.5,
2419 0
2420 ],
2421 [
2422 3.5,
2423 1.5,
2424 -2.465190328815662e-32
2425 ],
2426 [
2427 0,
2428 2,
2429 0
2430 ],
2431 [
2432 4,
2433 2,
2434 0
2435 ],
2436 [
2437 0.5,
2438 2.5,
2439 0
2440 ],
2441 [
2442 3.5000000000000004,
2443 2.5,
2444 0
2445 ],
2446 [
2447 0.9999999999999996,
2448 2,
2449 8.659560562354933e-17
2450 ],
2451 [
2452 1,
2453 2.5,
2454 4.329780281177465e-17
2455 ],
2456 [
2457 0.9999999999999999,
2458 2.000000000000001,
2459 6.123233995736757e-17
2460 ],
2461 [
2462 2.999999999999999,
2463 2.000000000000001,
2464 6.123233995736762e-17
2465 ],
2466 [
2467 3.000000000000001,
2468 2.5,
2469 4.329780281177463e-17
2470 ],
2471 [
2472 3.000000000000001,
2473 2,
2474 8.659560562354925e-17
2475 ],
2476 [
2477 0.5,
2478 2.5,
2479 -6.123233995736765e-17
2480 ],
2481 [
2482 3.5000000000000004,
2483 2.5,
2484 -6.123233995736767e-17
2485 ],
2486 [
2487 0,
2488 2,
2489 -1.2246467991473532e-16
2490 ],
2491 [
2492 4,
2493 2,
2494 -1.224646799147353e-16
2495 ]
2496 ]
2497 },
2498 {
2499 "edges_assignment" : [
2500 "B",
2501 "M",
2502 "B",
2503 "M",
2504 "B",
2505 "V",
2506 "M",
2507 "M",
2508 "M",
2509 "M",
2510 "V",
2511 "B",
2512 "V",
2513 "V",
2514 "V",
2515 "V",
2516 "V",
2517 "V",
2518 "V",
2519 "V",
2520 "B",
2521 "M",
2522 "V",
2523 "V",
2524 "F",
2525 "V",
2526 "B",
2527 "V",
2528 "B",
2529 "M",
2530 "V",
2531 "V",
2532 "V",
2533 "V",
2534 "V",
2535 "B",
2536 "V",
2537 "M",
2538 "V",
2539 "M",
2540 "V",
2541 "M",
2542 "V",
2543 "M",
2544 "B",
2545 "V",
2546 "M",
2547 "M",
2548 "B"
2549 ],
2550 "edges_foldAngle" : [
2551 0,
2552 -180,
2553 0,
2554 -180,
2555 0,
2556 90,
2557 -90,
2558 -180,
2559 -180,
2560 -90,
2561 180,
2562 0,
2563 180,
2564 90,
2565 180,
2566 180,
2567 180,
2568 180,
2569 180,
2570 90,
2571 0,
2572 -90,
2573 180,
2574 180,
2575 0,
2576 180,
2577 0,
2578 180,
2579 0,
2580 -90,
2581 90,
2582 180,
2583 180,
2584 90,
2585 180,
2586 0,
2587 180,
2588 -90,
2589 180,
2590 -180,
2591 180,
2592 -180,
2593 180,
2594 -90,
2595 0,
2596 89.99999999999999,
2597 -180,
2598 -180,
2599 0
2600 ],
2601 "faceOrders" : [
2602 [
2603 0,
2604 1,
2605 -1
2606 ],
2607 [
2608 0,
2609 2,
2610 1
2611 ],
2612 [
2613 0,
2614 6,
2615 1
2616 ],
2617 [
2618 0,
2619 18,
2620 -1
2621 ],
2622 [
2623 0,
2624 20,
2625 1
2626 ],
2627 [
2628 1,
2629 2,
2630 1
2631 ],
2632 [
2633 1,
2634 20,
2635 1
2636 ],
2637 [
2638 2,
2639 20,
2640 1
2641 ],
2642 [
2643 3,
2644 4,
2645 1
2646 ],
2647 [
2648 3,
2649 5,
2650 1
2651 ],
2652 [
2653 3,
2654 17,
2655 -1
2656 ],
2657 [
2658 4,
2659 5,
2660 1
2661 ],
2662 [
2663 4,
2664 17,
2665 -1
2666 ],
2667 [
2668 5,
2669 10,
2670 -1
2671 ],
2672 [
2673 5,
2674 14,
2675 1
2676 ],
2677 [
2678 5,
2679 17,
2680 1
2681 ],
2682 [
2683 6,
2684 18,
2685 1
2686 ],
2687 [
2688 6,
2689 20,
2690 1
2691 ],
2692 [
2693 7,
2694 8,
2695 1
2696 ],
2697 [
2698 7,
2699 19,
2700 1
2701 ],
2702 [
2703 7,
2704 21,
2705 -1
2706 ],
2707 [
2708 8,
2709 9,
2710 1
2711 ],
2712 [
2713 8,
2714 19,
2715 -1
2716 ],
2717 [
2718 8,
2719 21,
2720 1
2721 ],
2722 [
2723 8,
2724 23,
2725 -1
2726 ],
2727 [
2728 9,
2729 21,
2730 -1
2731 ],
2732 [
2733 9,
2734 23,
2735 1
2736 ],
2737 [
2738 10,
2739 14,
2740 1
2741 ],
2742 [
2743 10,
2744 17,
2745 -1
2746 ],
2747 [
2748 11,
2749 12,
2750 -1
2751 ],
2752 [
2753 11,
2754 15,
2755 1
2756 ],
2757 [
2758 11,
2759 16,
2760 1
2761 ],
2762 [
2763 12,
2764 13,
2765 -1
2766 ],
2767 [
2768 12,
2769 15,
2770 1
2771 ],
2772 [
2773 12,
2774 16,
2775 1
2776 ],
2777 [
2778 12,
2779 22,
2780 1
2781 ],
2782 [
2783 13,
2784 16,
2785 1
2786 ],
2787 [
2788 13,
2789 22,
2790 1
2791 ],
2792 [
2793 14,
2794 17,
2795 -1
2796 ],
2797 [
2798 15,
2799 16,
2800 1
2801 ],
2802 [
2803 16,
2804 22,
2805 1
2806 ],
2807 [
2808 18,
2809 20,
2810 1
2811 ],
2812 [
2813 19,
2814 21,
2815 -1
2816 ],
2817 [
2818 21,
2819 23,
2820 -1
2821 ]
2822 ],
2823 "frame_inherit" : true,
2824 "frame_parent" : 0,
2825 "krz:step" : {
2826 "axes" : [
2827 {
2828 "edge" : 29,
2829 "endAngle" : -90,
2830 "movingFaces" : [
2831 11,
2832 12,
2833 13,
2834 15,
2835 16,
2836 22
2837 ],
2838 "startAngle" : 180
2839 },
2840 {
2841 "edge" : 21,
2842 "endAngle" : -90,
2843 "movingFaces" : [
2844 7,
2845 8,
2846 9,
2847 19,
2848 21,
2849 23
2850 ],
2851 "startAngle" : 180
2852 }
2853 ],
2854 "instruction" : "Put your thumbs into the pockets under the folded edges along the centre line and push both sides out and round behind, turning the model inside out.",
2855 "kind" : "fold",
2856 "nonRigid" : false,
2857 "technique" : "plain",
2858 "viewpoint" : {
2859 "eye" : [
2860 1,
2861 -2,
2862 2
2863 ],
2864 "up" : [
2865 0,
2866 1,
2867 0
2868 ]
2869 }
2870 },
2871 "vertices_coords" : [
2872 [
2873 0,
2874 2,
2875 1.2246467991473532e-16
2876 ],
2877 [
2878 4,
2879 2,
2880 1.2246467991473532e-16
2881 ],
2882 [
2883 0.5,
2884 1.5,
2885 6.123233995736766e-17
2886 ],
2887 [
2888 3.5,
2889 1.5,
2890 6.123233995736766e-17
2891 ],
2892 [
2893 0.9999999999999998,
2894 2,
2895 8.659560562354932e-17
2896 ],
2897 [
2898 0.9999999999999998,
2899 1.5,
2900 4.329780281177465e-17
2901 ],
2902 [
2903 0.9999999999999998,
2904 1.5,
2905 -0.4999999999999998
2906 ],
2907 [
2908 3,
2909 1.5,
2910 -0.5
2911 ],
2912 [
2913 3.0000000000000004,
2914 1.5,
2915 4.329780281177465e-17
2916 ],
2917 [
2918 3.0000000000000004,
2919 2,
2920 8.659560562354933e-17
2921 ],
2922 [
2923 0.5,
2924 1.5,
2925 0
2926 ],
2927 [
2928 3.5,
2929 1.5,
2930 -2.465190328815662e-32
2931 ],
2932 [
2933 0,
2934 2,
2935 0
2936 ],
2937 [
2938 4,
2939 2,
2940 0
2941 ],
2942 [
2943 0.5,
2944 2.5,
2945 0
2946 ],
2947 [
2948 3.5000000000000004,
2949 2.5,
2950 0
2951 ],
2952 [
2953 0.9999999999999996,
2954 2,
2955 8.659560562354933e-17
2956 ],
2957 [
2958 1,
2959 2.5,
2960 4.329780281177465e-17
2961 ],
2962 [
2963 0.9999999999999998,
2964 2.5,
2965 -0.4999999999999991
2966 ],
2967 [
2968 2.9999999999999987,
2969 2.5,
2970 -0.4999999999999991
2971 ],
2972 [
2973 3.000000000000001,
2974 2.5,
2975 4.329780281177463e-17
2976 ],
2977 [
2978 3.000000000000001,
2979 2,
2980 8.659560562354925e-17
2981 ],
2982 [
2983 0.5,
2984 2.5,
2985 -6.123233995736765e-17
2986 ],
2987 [
2988 3.5000000000000004,
2989 2.5,
2990 -6.123233995736767e-17
2991 ],
2992 [
2993 0,
2994 2,
2995 -1.2246467991473532e-16
2996 ],
2997 [
2998 4,
2999 2,
3000 -1.224646799147353e-16
3001 ]
3002 ]
3003 },
3004 {
3005 "edges_assignment" : [
3006 "B",
3007 "M",
3008 "B",
3009 "M",
3010 "B",
3011 "V",
3012 "M",
3013 "M",
3014 "M",
3015 "M",
3016 "V",
3017 "B",
3018 "V",
3019 "V",
3020 "V",
3021 "V",
3022 "V",
3023 "V",
3024 "V",
3025 "V",
3026 "B",
3027 "M",
3028 "V",
3029 "V",
3030 "F",
3031 "V",
3032 "B",
3033 "V",
3034 "B",
3035 "M",
3036 "V",
3037 "V",
3038 "V",
3039 "V",
3040 "V",
3041 "B",
3042 "V",
3043 "M",
3044 "V",
3045 "M",
3046 "V",
3047 "M",
3048 "V",
3049 "M",
3050 "B",
3051 "V",
3052 "M",
3053 "M",
3054 "B"
3055 ],
3056 "edges_foldAngle" : [
3057 0,
3058 -180,
3059 0,
3060 -180,
3061 0,
3062 90,
3063 -90,
3064 -180,
3065 -180,
3066 -90,
3067 180,
3068 0,
3069 180,
3070 90,
3071 180,
3072 180,
3073 180,
3074 180,
3075 180,
3076 90,
3077 0,
3078 -90,
3079 180,
3080 180,
3081 0,
3082 180,
3083 0,
3084 180,
3085 0,
3086 -90,
3087 90,
3088 180,
3089 180,
3090 90,
3091 180,
3092 0,
3093 180,
3094 -90,
3095 180,
3096 -180,
3097 180,
3098 -180,
3099 180,
3100 -90,
3101 0,
3102 89.99999999999999,
3103 -180,
3104 -180,
3105 0
3106 ],
3107 "faceOrders" : [
3108 [
3109 0,
3110 1,
3111 -1
3112 ],
3113 [
3114 0,
3115 2,
3116 1
3117 ],
3118 [
3119 0,
3120 6,
3121 1
3122 ],
3123 [
3124 0,
3125 18,
3126 -1
3127 ],
3128 [
3129 0,
3130 20,
3131 1
3132 ],
3133 [
3134 1,
3135 2,
3136 1
3137 ],
3138 [
3139 1,
3140 20,
3141 1
3142 ],
3143 [
3144 2,
3145 20,
3146 1
3147 ],
3148 [
3149 3,
3150 4,
3151 1
3152 ],
3153 [
3154 3,
3155 5,
3156 1
3157 ],
3158 [
3159 3,
3160 17,
3161 -1
3162 ],
3163 [
3164 4,
3165 5,
3166 1
3167 ],
3168 [
3169 4,
3170 17,
3171 -1
3172 ],
3173 [
3174 5,
3175 10,
3176 -1
3177 ],
3178 [
3179 5,
3180 14,
3181 1
3182 ],
3183 [
3184 5,
3185 17,
3186 1
3187 ],
3188 [
3189 6,
3190 18,
3191 1
3192 ],
3193 [
3194 6,
3195 20,
3196 1
3197 ],
3198 [
3199 7,
3200 8,
3201 1
3202 ],
3203 [
3204 7,
3205 19,
3206 1
3207 ],
3208 [
3209 7,
3210 21,
3211 -1
3212 ],
3213 [
3214 8,
3215 9,
3216 1
3217 ],
3218 [
3219 8,
3220 19,
3221 -1
3222 ],
3223 [
3224 8,
3225 21,
3226 1
3227 ],
3228 [
3229 8,
3230 23,
3231 -1
3232 ],
3233 [
3234 9,
3235 21,
3236 -1
3237 ],
3238 [
3239 9,
3240 23,
3241 1
3242 ],
3243 [
3244 10,
3245 14,
3246 1
3247 ],
3248 [
3249 10,
3250 17,
3251 -1
3252 ],
3253 [
3254 11,
3255 12,
3256 -1
3257 ],
3258 [
3259 11,
3260 15,
3261 1
3262 ],
3263 [
3264 11,
3265 16,
3266 1
3267 ],
3268 [
3269 12,
3270 13,
3271 -1
3272 ],
3273 [
3274 12,
3275 15,
3276 1
3277 ],
3278 [
3279 12,
3280 16,
3281 1
3282 ],
3283 [
3284 12,
3285 22,
3286 1
3287 ],
3288 [
3289 13,
3290 16,
3291 1
3292 ],
3293 [
3294 13,
3295 22,
3296 1
3297 ],
3298 [
3299 14,
3300 17,
3301 -1
3302 ],
3303 [
3304 15,
3305 16,
3306 1
3307 ],
3308 [
3309 16,
3310 22,
3311 1
3312 ],
3313 [
3314 18,
3315 20,
3316 1
3317 ],
3318 [
3319 19,
3320 21,
3321 -1
3322 ],
3323 [
3324 21,
3325 23,
3326 -1
3327 ]
3328 ],
3329 "frame_inherit" : true,
3330 "frame_parent" : 0,
3331 "krz:step" : {
3332 "axes" : [
3333
3334 ],
3335 "instruction" : "Turn the boat over so that it stands upright.",
3336 "kind" : "turnOver",
3337 "nonRigid" : false,
3338 "technique" : "plain",
3339 "turnOverAxis" : "vertical",
3340 "viewpoint" : {
3341 "eye" : [
3342 1,
3343 -2,
3344 2
3345 ],
3346 "up" : [
3347 0,
3348 1,
3349 0
3350 ]
3351 }
3352 },
3353 "vertices_coords" : [
3354 [
3355 4,
3356 2,
3357 -0.4999999999999998
3358 ],
3359 [
3360 0,
3361 2,
3362 -0.5000000000000002
3363 ],
3364 [
3365 3.5,
3366 1.5,
3367 -0.4999999999999998
3368 ],
3369 [
3370 0.5,
3371 1.5,
3372 -0.5000000000000002
3373 ],
3374 [
3375 3,
3376 2,
3377 -0.4999999999999999
3378 ],
3379 [
3380 3,
3381 1.5,
3382 -0.49999999999999983
3383 ],
3384 [
3385 3,
3386 1.5,
3387 0
3388 ],
3389 [
3390 1,
3391 1.5,
3392 0
3393 ],
3394 [
3395 0.9999999999999996,
3396 1.5,
3397 -0.5
3398 ],
3399 [
3400 0.9999999999999996,
3401 2,
3402 -0.5000000000000001
3403 ],
3404 [
3405 3.5,
3406 1.5,
3407 -0.4999999999999997
3408 ],
3409 [
3410 0.5,
3411 1.5,
3412 -0.5000000000000001
3413 ],
3414 [
3415 4,
3416 2,
3417 -0.49999999999999967
3418 ],
3419 [
3420 0,
3421 2,
3422 -0.5000000000000001
3423 ],
3424 [
3425 3.5,
3426 2.5,
3427 -0.4999999999999997
3428 ],
3429 [
3430 0.49999999999999956,
3431 2.5,
3432 -0.5000000000000001
3433 ],
3434 [
3435 3.0000000000000004,
3436 2,
3437 -0.4999999999999999
3438 ],
3439 [
3440 3,
3441 2.5,
3442 -0.49999999999999983
3443 ],
3444 [
3445 3,
3446 2.5,
3447 -6.661338147750939e-16
3448 ],
3449 [
3450 1.0000000000000013,
3451 2.5,
3452 -8.881784197001252e-16
3453 ],
3454 [
3455 0.9999999999999991,
3456 2.5,
3457 -0.5
3458 ],
3459 [
3460 0.9999999999999991,
3461 2,
3462 -0.5000000000000001
3463 ],
3464 [
3465 3.5,
3466 2.5,
3467 -0.49999999999999967
3468 ],
3469 [
3470 0.49999999999999956,
3471 2.5,
3472 -0.5
3473 ],
3474 [
3475 4,
3476 2,
3477 -0.49999999999999956
3478 ],
3479 [
3480 0,
3481 2,
3482 -0.5
3483 ]
3484 ]
3485 }
3486 ],
3487 "file_spec" : 1.2,
3488 "file_title" : "Sampan",
3489 "vertices_coords" : [
3490 [
3491 0,
3492 0,
3493 0
3494 ],
3495 [
3496 4,
3497 0,
3498 0
3499 ],
3500 [
3501 0.5,
3502 0.5,
3503 0
3504 ],
3505 [
3506 3.5,
3507 0.5,
3508 0
3509 ],
3510 [
3511 0,
3512 1,
3513 0
3514 ],
3515 [
3516 0.5,
3517 1,
3518 0
3519 ],
3520 [
3521 1,
3522 1,
3523 0
3524 ],
3525 [
3526 3,
3527 1,
3528 0
3529 ],
3530 [
3531 3.5,
3532 1,
3533 0
3534 ],
3535 [
3536 4,
3537 1,
3538 0
3539 ],
3540 [
3541 0.5,
3542 1.5,
3543 0
3544 ],
3545 [
3546 3.5,
3547 1.5,
3548 0
3549 ],
3550 [
3551 0,
3552 2,
3553 0
3554 ],
3555 [
3556 4,
3557 2,
3558 0
3559 ],
3560 [
3561 0.5,
3562 2.5,
3563 0
3564 ],
3565 [
3566 3.5,
3567 2.5,
3568 0
3569 ],
3570 [
3571 0,
3572 3,
3573 0
3574 ],
3575 [
3576 0.5,
3577 3,
3578 0
3579 ],
3580 [
3581 1,
3582 3,
3583 0
3584 ],
3585 [
3586 3,
3587 3,
3588 0
3589 ],
3590 [
3591 3.5,
3592 3,
3593 0
3594 ],
3595 [
3596 4,
3597 3,
3598 0
3599 ],
3600 [
3601 0.5,
3602 3.5,
3603 0
3604 ],
3605 [
3606 3.5,
3607 3.5,
3608 0
3609 ],
3610 [
3611 0,
3612 4,
3613 0
3614 ],
3615 [
3616 4,
3617 4,
3618 0
3619 ]
3620 ]
3621}\ No newline at end of file
Packages/FoldKit/Tests/ModelsTests/CatalogueTests.swift +19 −2
@@ -120,8 +120,8 @@ private func sessionCamera(_ file: FoldFile, _ step: FoldStep, aspect: Double) -
120 return Camera(eye: target + distance * eye, target: target, up: up, fieldOfView: fieldOfView) 120 return Camera(eye: target + distance * eye, target: target, up: up, fieldOfView: fieldOfView)
121} 121}
122 122
123@Test func theCatalogueContainsTheCupAndTheBox() throws { 123@Test func theCatalogueIsTheCupTheBoxAndTheSampan() throws {
124 #expect(try Set(ModelLibrary.names()) == ["cup", "box"]) 124 #expect(try Set(ModelLibrary.names()) == ["cup", "box", "sampan"])
125} 125}
126 126
127@Test func everyModelHasAnAuthoringRecord() throws { 127@Test func everyModelHasAnAuthoringRecord() throws {
@@ -140,6 +140,23 @@ private func sessionCamera(_ file: FoldFile, _ step: FoldStep, aspect: Double) -
140 #expect(heights.max()! - heights.min()! > 0.4) 140 #expect(heights.max()! - heights.min()! > 0.4)
141} 141}
142 142
143@Test func theSampanTurnsInsideOutRigidlyAndEndsWithItsSidesUp() throws {
144 // decision 0002: the inside-out step closes, so it is rigid; at the end the floor's corners
145 // (½, 1½), (3½, 1½), (3½, 2½), (½, 2½) lie level and the sides' top corners (1, 1), (3, 1),
146 // (3, 3), (1, 3) stand at least 0.4 above them
147 let sampan = try ModelLibrary.model(named: "sampan")
148 #expect(try readSteps(sampan).allSatisfy { !$0.nonRigid })
149 let flat = sampan.frames[0].verticesCoords, last = sampan.frames[sampan.stepCount].verticesCoords
150 func height(_ x: Double, _ y: Double) throws -> Double {
151 try #require(flat.indices.first { abs(flat[$0].x - x) < 1e-9 && abs(flat[$0].y - y) < 1e-9 }.map { last[$0].z })
152 }
153 let floor = try [(0.5, 1.5), (3.5, 1.5), (3.5, 2.5), (0.5, 2.5)].map { try height($0.0, $0.1) }
154 #expect(floor.max()! - floor.min()! < 1e-9)
155 for (x, y) in [(1.0, 1.0), (3.0, 1.0), (3.0, 3.0), (1.0, 3.0)] {
156 #expect(try height(x, y) - floor[0] > 0.4, "rim corner (\(x), \(y))")
157 }
158}
159
143@Test func theCupContainsATurnOverStep() throws { 160@Test func theCupContainsATurnOverStep() throws {
144 #expect(try readSteps(ModelLibrary.model(named: "cup")).contains { $0.kind == .turnOver }) 161 #expect(try readSteps(ModelLibrary.model(named: "cup")).contains { $0.kind == .turnOver })
145} 162}
Packages/FoldKit/Tests/NotationTests/DiagramTests.swift +1 −1
@@ -175,7 +175,7 @@ private func halfWithWallRaised() throws -> (FoldFrame, FoldFile) {
175 try expectSnapshot(render(buildDiagram(file: file, step: step)), named: "\(name)-\(step.index)") 175 try expectSnapshot(render(buildDiagram(file: file, step: step)), named: "\(name)-\(step.index)")
176 } 176 }
177 } 177 }
178 for name in ["cup", "box"] { 178 for name in ["cup", "box", "sampan"] {
179 let model = try ModelLibrary.model(named: name) 179 let model = try ModelLibrary.model(named: name)
180 for step in try readSteps(model) { 180 for step in try readSteps(model) {
181 try expectSnapshot(render(buildDiagram(file: model, step: step)), named: "\(name)-\(step.index)") 181 try expectSnapshot(render(buildDiagram(file: model, step: step)), named: "\(name)-\(step.index)")
Packages/FoldKit/Tests/NotationTests/Snapshots/sampan-1.png added

Binary file not shown.

Packages/FoldKit/Tests/NotationTests/Snapshots/sampan-2.png added

Binary file not shown.

Packages/FoldKit/Tests/NotationTests/Snapshots/sampan-3.png added

Binary file not shown.

Packages/FoldKit/Tests/NotationTests/Snapshots/sampan-4.png added

Binary file not shown.

Packages/FoldKit/Tests/NotationTests/Snapshots/sampan-5.png added

Binary file not shown.

Packages/FoldKit/Tests/NotationTests/Snapshots/sampan-6.png added

Binary file not shown.

docs/authoring/sampan.md added +132
@@ -0,0 +1,132 @@
1# Sampan
2
3The traditional sampan, also called the inside-out boat, in its short form.
4Six steps: a fold-and-unfold, three folds, the turn inside out and a
5turn-over. No coupled steps and no non-rigid steps. The model ends standing as
6an open tray, not flat.
7
8`Models/sampan-cp.fold` and `Models/sampan.foldscript` compile to
9`Packages/FoldKit/Sources/Models/Resources/sampan.fold`:
10
11```bash
12swift run --package-path Packages/FoldKit foldc Models/sampan.foldscript \
13 -o Packages/FoldKit/Sources/Models/Resources/sampan.fold
14```
15
16`everyShippedModelRegeneratesFromItsScript` checks that the shipped file is
17what the script compiles to.
18
19## Sequence and source
20
21The short form: a cupboard base (steps 1–2), then the sequence's last four
22folds from it: the four corners to the centre line, the edges to the centre
23line again, the turn inside out and a turn-over. No published diagram of this
24short form was found, and none was copied.
25
26The long form is described in Origami Expressions, *Traditional Origami Sampan
27Instructions Step by Step*
28(https://origamiexpressions.com/traditional-sampan). It starts from a blintz
29base, refolds two corners, folds the edges to the centre line, folds the
30corners in twice and the points to the centre line, and turns the model inside
31out. Its ends are covered. The short form ends in the same way from a plain
32cupboard base, with the corners folded once and open ends.
33
341. Fold and unfold the centre line y = 2, bottom edge to top.
352. Fold the top and bottom edges to the centre line (y = 3 and y = 1; two
36 axes).
373. Fold the four corners to the centre line, each through both layers (four
38 axes).
394. Fold the top and bottom edges to the centre line again (y′ = 2½ and 1½
40 through all layers; two axes).
415. Turn inside out: both sides swing out and round behind, 180 → −90 (two
42 axes).
436. Turn over (vertical axis), so that the boat stands upright.
44
45Viewpoints: eye (0, 0, 1), up (0, 1, 0) for steps 1–4; eye (1, −2, 2), up
46(0, 1, 0) for steps 5–6. The walls stand in planes y = const and the floor in
47z = const; the oblique eye lies in neither, so no face is seen edge-on.
48
49## Crease pattern
50
51Constructed from the sequence above, not taken from a published crease
52pattern. The sheet is the square [0, 4]², its top side up. Every coordinate
53is a multiple of ½.
54
55Each crease is folded through every layer, so its image in the crease pattern
56is one segment per layer. 26 vertices, 49 edges (10 boundary) and 24 convex
57faces, so no subdivision edges.
58
59| Crease | First creased | Final |
60|---|---|---|
61| y = 2 (the centre line) | 1 | F |
62| y = 1, y = 3 (every segment) | 2 | V 180 |
63| base corners: (0, 2)–(1, 3), (3, 3)–(4, 2), (0, 2)–(1, 1), (3, 1)–(4, 2) | 3 | V 180 |
64| flap corners: (0, 4)–(1, 3), (3, 3)–(4, 4), (0, 0)–(1, 1), (3, 1)–(4, 0) | 3 | M −180 |
65| y = 2½, y = 1½, x ∈ [½, 3½] (the sides' hinges in the base) | 4 | M −90 |
66| y = 3½, y = ½, x ∈ [½, 3½] (the same hinges in the flaps) | 4 | V 90 |
67| x = ½, x = 3½ in the base corners (y ∈ [2½, 3] and [1, 1½]) | 4 | V 90 |
68| x = ½, x = 3½ in the flap corners (y ∈ [3, 3½] and [½, 1]) | 4 | M −90 |
69
70The base corner diagonals are split at (½, 2½) and the like, the flap corner
71diagonals at (½, 3½) and the like, where the x = ½ and x = 3½ segments meet
72them. The pattern's assignments are the last frame's; the centre line ends
73flat.
74
75## The turn inside out
76
77After step 4, a section across the middle has seven layers in one strip: the
78base's middle B at the back, then on each half, from the back, the flap's tip
79U, the flap's next strip T and the base's edge strip S. S is hinged to B and T
80to U on the same line, y′ = 2½ (or 1½); S and T are joined at the centre
81line. Each side is one rigid unit: S, T and the parts of both corner
82triangles beyond x = ½ and x = 3½.
83
84Step 5 turns each unit about its hinge line from 180 to −90, out and round
85behind, while B, U and the corner triangles' tips stay still. The thumbs go
86between T and U, under the folded edges along the centre line. Afterwards the
87outside of the flat model, the back of B and the outer face of S, is the
88inside of the boat, and U and T are its outer skin.
89
90Every edge the step creases lies on one of the two hinge lines. `foldc` names
91the base's hinge (y = 2½ or 1½) as the axis; the flap's hinge and the corner
92segments on the same line close coaxial loops and their end angles are
93measured. No loop is off a hinge line, so no axis is solved and both axes are
94linear.
95
96Classification: rigid.
97
98- `foldc` raises no `noRigidMotion` and no `curveTooCoarse`: the loops close
99 for any angle.
100- Nothing interpenetrates at 64 samples. Each wall sweeps the space outside
101 its hinge, where there is no paper.
102- The validator's layer rules and `layerMotionDefects` pass.
103- Intermediate states (t = ¼, ½, ¾, 1) were drawn offline and checked by eye.
104 They have not been checked in the app.
105
106In paper the pointed ends are usually pulled up a little as the model turns
107inside out. That bend has no crease and the rigid model does not show it: the
108tips stay in the plane of the floor and the walls' ends slope from the hinge
109ends at x = ½ and 3½ to the top edge at x = 1 and 3.
110
111## Layer-order overrides
112
113None. `foldc`'s guess passes the validator, the interpenetration check and
114`layerMotionDefects`. The final stacks were checked by hand by probing points
115in frame 5 and sorting their faces by `faceOrders`:
116
117- the floor, from the inside of the boat out: B, U, then at the tips the
118 flap's corner and the base's corner;
119- each wall, from the inside out: S, T, the flap's corner, the base's corner.
120
121These are the concentric folds at each hinge: B–S innermost, then U–T, then
122the two corner layers.
123
124## Known gap: the covered-end long form
125
126The long form is not shipped (decision 0003, *Decision*, item 4). As scripted,
127its turn inside out has no rigid end state: the base hexagon's corners are
128reverse vertices, so long walls at 90° put the slanted walls at 83.6°. The
129rigid walls-up path from step 13 interpenetrates from its first samples, and
130bending the walls (`spikes/bending`, case `sampanbend`) passes their layers
131through each other and ends as a shallow dish, not a boat. Shipping it needs a
132stack-coherent bending model and a target shape taken from the real model.