amandaghassaei / OrigamiSimulator

Realtime WebGL origami simulator
http://origamisimulator.org/
MIT License
1.11k stars 140 forks source link

FOLD import robustness #33

Open edemaine opened 3 years ago

edemaine commented 3 years ago

Generating FOLD files in some code of mine, I noticed the following import robustness issues:

hendursaga commented 3 months ago

Not sure if this goes here, but one of the examples in the official FOLD spec does not fold properly, at least, initially.

When I first import it, it looks something like this:

box1

But when I import it a second or third time, it usually looks like this:

box2

I'm not sure what is going on. Even in the latter case, when it does fold, any change in the fold percentage and it's all haywire again.