Fold is a json format created in 2016 by Erik Demaine and Jason S. Ku and Robert J. Lang.
#1200on PLDB | 8Years Old |
git clone https://github.com/edemaine/fold
FOLD file format for origami models, crease patterns, etc.
{
"file_spec": 1.1,
"file_creator": "fold-convert --flat-fold",
"file_classes": [
"singleModel"
],
"frame_classes": [
"foldedForm"
],
"vertices_coords": [
[0,0],
[1,0],
[0,0],
[0,1]
],
"edges_vertices": [
[0,1],
[1,2],
[2,3],
[3,0],
[3,1]
],
"edges_assignment": [
"B",
"B",
"B",
"B",
"V"
],
"edges_foldAngle": [
0,
0,
0,
0,
180
],
"cpedit:page": {"xMin":0,"yMin":0,"xMax":1,"yMax":1},
"file_title": "diagonal",
"vertices_edges": [
[0,3],
[1,4,0],
[1,2],
[3,4,2]
],
"faces_vertices": [
[0,1,3],
[1,2,3]
],
"faces_edges": [
[0,4,3],
[1,2,4]
],
"edges_faces": [
[0,null],
[1,null],
[1,null],
[0,null],
[1,0]
],
"faces_flatFoldTransform": [
[[1,0,0],[0,1,0]],
[[0,-1,1],[-1,0,1]]
],
"faces_flatFoldOrientation": [
1,
-1
],
"vertices_flatUnfoldCoords": [
[0,0],
[1,0],
[1,1],
[0,1]
]
}