How to Bend a Surface Symmetrically?

Hello everyone. I’m trying to bend this shape in Grasshopper so that it bends symmetrically along its spine, like folding a piece of paper in the middle. So far, I have written this script using Bend Deform and Arc 3Pt, but it uses one of the vertices as the origin for the bend, resulting in an asymmetrical bend. Might anyone please be able to assist me?

cycloid_gh.gh (15.0 KB)

Try Flow.

If you want to use Bend Deform:


cycloid_gh VR 1.gh (21.6 KB)

split the arc into two at the axis where the arc meets the surface, flip curves so that the start point of the split arcs lies on the axis, feed these two arcs sequentially into two different Bend Deform components.