Rigid Origami Simulator (ver 0.07)
by Tomohiro Tachi 2007-2009

--What--
This program simulates kinematics of rigid origami from the origami crease pattern.
This is an GUI program in windows.

The details of the algorithm are inhttp://www.tsg.ne.jp/TT/cg/index.html#rigid_origami
Also refer "Simulation of Rigid Origami" in proceedings of 4OSME, to appear.

--How--
1. Open
	Double click the RigidOrigami.exe
	Input filename for crease pattern or drag and drop the file into the prompt.
	If asked "triangulate?," input y if you want to triangulate the model.
2. Manipulate
	3D Window
		Right drag to change the view orientation.
		Middle drag to change the view position.
		Main Short Cuts
			Shift + f : Fullscreen
			Shift + m : aspect fixed to 4:3
			
			Space     : Fold while pressed
			b         : Unfold while pressed
			
			p         : Switch to Walk View Mode
			x,y,z     : Switch to +X,+Y,+Z View Mode
			X,Y,Z     : Switch to -X,-Y,-Z View Mode
			
			Object View Mode:
			 Up Arr   : Zoom +
			 Down Arr : Zoom -
			
			Walk View Mode:
			 Up Arr   : Go forward
			 Down Arr : Go backward
			 Left Arr : Turn Left
			 Right Arr: Turn Right
			 /        : Go Left
			 \        : Go Right
			 u        : Go up
			 d        : Go down
			 w        : Zoom -
			 t        : Zoom +
	View Mode
	Edit Mode
		You can select the tool to define orientation of the whole model.
		If XY by Facet:
		  Click face without change in orientation.
		If XY by 3 Vert:
		  Click three vertices to define the XY plane.
	Fold Simulation
		fold step : Change the amount of fold of one step.
		>        : Fold
		<        : Unfold
		>>>      : Fold to the final state
		<<<      : Unfold to the initial state
	
	Open File: you can chose another file.
	Next File: you can use present configuration for the initial state of the next file.

	Check box "Scr" and "Mdl" indicate that the motion is recorded as a screenshot and as an .obj file.
	The software saves file in the save folder indicated by "SaveDir," whenever you make a fold or unfold motion or push [save] button.
	The default path for SaveDir is "./save"

--About Input File--
supports:
*.opx
 ORIPA xml file.
*.dxf
 Supports lines and poly-lines.
 Blocks (groups) must be unnested.
 The line type is distinguished by the color.
	Cutlines : green (System automatically finds the perimeter, so you do not have to explicitly define color.)
	Mountain : red
	Valley   : blue
	Crease   : black
 If the layer name is number (e.g. 90), then that describes the target angle.

--About Recording--

Checked check box "Scr" and "Mdl" indicate that the motion is recorded as a screenshot and as an .obj file.
The software saves file in the save folder indicated by SaveDir, whenever you make a fold or unfold motion or push the [save] button.
The default path for SaveDir is "./save"

--License--
Commercial use is not allowed without authorization.

The software uses GLUI library provided under LGPL.
Rigid Origami Simulator itself is NOT under LGPL or GPL.
Object code is in /build/*.obj, so you can rebuild the program in case you use the modifed glui library.

--History--
2009/05/24 ver 0.07 improved the accuracy.
2008/08/28 ver 0.06 support for half folded final state specified by layer name.
2008/08/12 ver 0.05 calculation speed up! support for X,Y,Z view
2008/07/05 ver 0.04 fixed problems with importing dxf. support for unnested blocks.
2007/12/18 ver 0.03 support for obj and bmp output with consecutive filename.
2007/09/29 fixed some bugs in file input.  support for no vertex model. 
2007/09/29 ver 0.02 modified readme.txt (Mountain: red, Valley: blue)
2007/09/28 ver 0.01

--Author--
Tomohiro Tachi 2007-2009
http://www.tsg.ne.jp/TT/
