I would search “Origami” and “Kangaroo” and look at some of the uses of kangaroo for this sort of problem.
It sounds like you could create a kangaroo simulation and hang your pavillion from several fixed points and let Kangaroo work out what shape it will relax into.