Skip to content

sasaki-trombone/RulingAwareTriangulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OrigamiSimulator for Curved Folding

This software is developed based on OrigamiSimulator.

Usage

It is basically the same as the OrigamiSimulator. When you input a crease pattern that includes curved folds, you must do the following three things in addition to the instructions in the OrigamiSimulator to create a crease pattern.

  • Replace curves in a crease pattern with polylines.
  • Split the boundary lines in a crease pattern.

The above two tasks can be done in Adobe Illustrator with flatten.jsx in shspage/illustrator-scripts. Select mid_t as the division method. For a 150 mm square boundary line, max error and max distance between 2 points are recommended to be 20 pts and 0.2 pt, respectively.

  • Set the color of mountain curved fold lines to RGB(200,0,0,0) and the the color of valley curved fold lines to RGB(0,0,200).

References

Licenses are in LICENSES.txt.

The followings are the same instruction in Japanese and the README of the OrigamiSimulator.

OrigamiSimulator for Curved Folding

このソフトウェアは OrigamiSimulator を基に作成されています。

使い方

基本的には OrigamiSimulator と同じです。曲線折りを含む展開図を入力する場合には OrigamiSimulator 内で説明されている展開図作成方法に加えて以下の3つの作業をしてください。

  • 展開図中の曲線を polyline に置き換える
  • 展開図中の輪郭線を分割する

上記2つの作業は、Adobe Illustrator で shspage/illustrator-scriptsflatten.jsx を使用するとまとめて簡単にできます。分割方法は mid_t を選択してください。パラメータの目安は、150mm四方の輪郭線の場合で max error が 0.2 pt、max distance between 2 points が 20pt です。

  • 曲線の山折り線の色を RGB(200,0,0) に、曲線の谷折り線を RGB(0,0,200) に設定する

使用したもの

ライセンスはLICENSES.txtに記載しています。

ここから先は OrigamiSimulator の README です。

README of OrigamiSimulator

Live demo at apps.amandaghassaei.com/OrigamiSimulator

This app allows you to simulate how any origami crease pattern will fold. It may look a little different from what you typically think of as "origami" - rather than folding paper in a set of sequential steps, this simulation attempts to fold every crease simultaneously. It does this by iteratively solving for small displacements in the geometry of an initially flat sheet due to forces exerted by creases. This solver extends work from the following sources:

    Origami Folding: A Structural Engineering Approach by Mark Schenk and Simon D. Guest
    Freeform Variations of Origami by Tomohiro Tachi

All simulation methods were written from scratch and are executed in parallel in several GPU fragment shaders for fast performance.


Origami Simulator for Curved Folding Instructions:


  • Slide the Fold Percent slider to control the degree of folding of the pattern (100% is fully folded, 0% is unfolded, and -100% is fully folded with the opposite mountain/valley assignments).
  • Drag to rotate the model, scroll to zoom.
  • Import other patterns under the Examples menu.
  • Upload your own crease patterns in SVG or FOLD formats, following the instructions under File > File Import Tips.
  • Export FOLD files or 3D models ( STL or OBJ ) of the folded state of your design ( File > Save Simulation as... ).

  • Visualize the internal strain of the origami as it folds using the Strain Visualization in the left menu.


  • If you are working from a computer connected to a Vive, follow the instructions near the VR menu to use this app in an interactive virtual reality mode.

External Libraries:


Built by Amanda Ghassaei as a final project for Geometric Folding Algorithms. Code available on Github. If you have interesting crease patterns that would make good demo files, please send them to me (Amanda) so I can add them to the Examples menu. My email address is on my website. Thanks!

More documentation coming soon - I'm preparing a paper about the simulation methods used here, I will post it once its ready. For now, find some additional info here.

Releases

No releases published

Packages

 
 
 

Contributors