Folding Mechanism Bones

Hello, all I’m trying to create a folding mechanism similar to this
https://www.youtube.com/watch?v=2wirqfXZXFk&embeds_euri=https%3A%2F%2Fwww.pratic.it%2F&feature=emb_logo
this is the first i try something like this so any help would be appreciated thank you

i watched some tutorials about folding bone and rigging like this one: https://www.youtube.com/watch?v=07e1NUjYY_8 in a more simplified form and i cant seem to make it work like it suppose to

FoldingMech.blend (999.0 KB)

I call these “accordion bones”; I do them with series of 2 long IKs, with targets parented to a scaling bone:

1 Like

i belive this is what im trying to do but it seems somwthing is missing