How can I simulate the same movement result as a deployable structure?

Hi there,

I created an asymmetry deployable structure in rhino like this.

The shown points are joints. Is there any way that I can simulate the same movement as it folds and extends? I tried to use a mathmatical way to calculate the result for each point.

But for an asymmetry structure like this, it is too complicated since each point both has horizontal and vertical movement. Can anyone give me some tips?
Any suggestion is appreciated! (48.8 KB)