Foldable structure

hi,
I modeled a foldable geometry in grasshopper, but I have two issues, first, I want the geometry to move in x and y direction, but it has bending in Z direction as well. Second, it has a little jumping in the corners yet, how can I fix these issues?
thanks in advance
origami_pattern_rhino_additive_m.gh (61.8 KB)

origami_pattern_rhino_additive_m edited v0.gh (73.7 KB)
Honeycam 2024-02-19 01-08-02

3 Likes

much appreciated, you did me a lot :))))