Pufferfish Tween Through Surfaces twisting with 3 Patch surfaces

Hi, I’m having an issue with Pufferfish “Tween Through Surfaces”. I’m trying to tween between three surfaces, and as soon as I add the third one the result starts twisting/flipping. The surfaces are created with Patch Surface, and I noticed it’s strongly dependent on UV parameterization: if I change the patch segments (for example from 76 to 82 on one surface), the tween twists differently, so I keep the same values on all of them. Tweening between only two surfaces works fine.

I already tried Swap Surface Directions with no success, and I’m sure the surface order is correct. Right now I can’t upload the GH file because I’m traveling, but I’m attaching screenshots — this is really bugging me and I’d like to at least understand what’s causing it. Thanks in advance for any help.

TweenThroughSurfaces.gh (26.1 KB)

unluckily I think there’s little to say without GH files…

Three :interrobang: I don’t know about Pufferfish but Tween works with TWO parts, not three. So for three, I think you need to graft surfaces into pairs and perhaps use Anemone.

TweenThroughSurfaces.gh (26.1 KB)
I’m back now, so here’s the file :))

here is the correct alignment (consider that surfaces get untrimmed in the process)


TweenThroughSurfaces_Re.gh (30.9 KB)

here is the flow:

It works! :smiley: I’m so grateful for the help :folded_hands: