Problem pufferfish

I’m trying to script ‘a twistedbox,’ but I cannot get the plane right, and when rotating the twistedbox get smaller which should not be the case in this setup. What am I doing wrong?

I think I made a mistake in making the planes.
Thanks in advance for your response.

20181121 problem pufferfish plane 00.gh (34.7 KB)

I think you just dont grasp the idea of how box morphing works. Have you taken some time to look at some basic gh tutorials on box morphing?

I can sweep the curves with pufferfish from the bottom to the top, but, I want to use the twistedboxes so I can do other things with it to manipulate the polylines basic form.

This is not the document I am working on, it is a clean document so no unnecessary things are displayed so people can understand it more easily.

I cannot grasp why the plane is flipped.