Building a deployable structure module

Hi everyone, I’m trying to build a scissor system in grasshopper. I had trouble in modeling the basic module. The length of the segments has to be constant but it’s not. Here is a video of what I’m expecting. I would appreciate if anyone could help me!
ps: shall I use kangaroo for this project?!
triangled deployable.gh (7.3 KB)