3D Modular Origami

Hi all,
I’m a new learner of grasshopper. I fold this origami paper model, and I want to build it in grasshopper with the changing angles in between the modules as you can see in image. The thing is I have no clue how to build this pattern. Does anyone have some ideas to write the grasshopper script of this pattern?

I built the single unit in Rhino which I upload in here.
origami.3dm (316.2 KB)

I would really appreciate that you can join in this discussion and help me.

There is plugin called Crane. You need to decide which edges are go inside which ones go outside.

Hey, Thank you so much for the reply. But as I was saying I am pretty much new to grasshopper, if you don’t mind could you please explain it further.