i think you can do that with the Fold Up 3D plug in for Illustrator.
http://www.comnet-network.co.jp/…