Tween from rectangle to equilateral triangle

Hello,
I know this is pretty basic. How do i tween this rectangular panel to a equilateral triangle?
Thanks
tween geometry.3dm (91.9 KB)

Theoretically this is impossible since a rectangle is defined by 4 vertices and a triangle by only 3. During the tween one vertex would have to be deleted or added.

Practically, it can be achieved like this:

However, weird stuff is happening in terms of the vertex count of each polyline.

These odd things are the reason I started to develop Pufferfish.


Tween2.gh (7.9 KB)

1 Like