Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Fold

< >

Fold is a json format created in 2016 by Erik Demaine and Jason S. Ku and Robert J. Lang.

#1187on PLDB 8Years Old
Download source code:
git clone https://github.com/edemaine/fold
Source CodeSpec

FOLD file format for origami models, crease patterns, etc.


Example from the web:
{ "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] ] }
View source
- Build the next great programming language Add About Search Keywords Livestreams Labs Resources Acknowledgements Part of the World Wide Scroll