Random subdivision on the twisted box in pufferfish

Hi all grasshopper masters:

As I am trying to execute the pufferfish twisted two boxes, by inputting one cylindrical mesh (derived from a quad panel lunchbox command) and offset the mesh with weaverbird (in order to have the same topology), but somehow in between the step of the WB mesh offset, or the twisted box component, there appears to be random subdivision within the twisted box…

Anyone know what caused it?

Any help will be much appreciated.

many thanks!

Twisted box on cylinder.3dm (151.8 KB)

Twisted box on cylinder.gh (47.0 KB)

Plugins are cool, though imho they should be used to supplement workflows that are (a) not native/found in grasshopper and/or (b) when native components are significantly slower than add-on methods. Plus, learning = more empowerment.
twistedbox.gh (41.5 KB)

That said, just to be congruent with my rant I’ve used Offset Surface + Brep Closest Points, though if I were to contradict myself then you could still offset the mesh (weaverbird) and use Mesh Closest Point instead of the brep—same difference, maybe a few milliseconds faster?