Tween Two Surface Command Returns a Line Instead of a Surface

Hi everyone,

I’m working with a quadrilateral volume (a wall) from which I’ve extracted two large, parallel surfaces (the front and back faces of the wall). I want to create a middle surface exactly halfway between these two faces.

I tried using Pufferfish’s “Tween Two Surfaces” component, which works correctly for some volumes—giving me a proper intermediate surface—but for this particular wall, it only outputs a line.

  • Both faces are planar and parallel.
  • The component works fine on similar geometry from other walls, so I’m unsure why it fails here.
  • I’ve confirmed the surfaces are valid and appear correct in Rhino.

Has anyone encountered a similar issue or knows how to resolve ?


if you place a slider between 0 and 1 in the factor and you play with it you can see why.
It must be something about the domains, the surfaces are planar and parallel but the U or the V domain is flipped (if it was both you would probably get a point as a result for factor=0.5).
It’s like when you have 2 parallel lines (same lenght) but one is flipped: if you tween you get a point at 0.5

1 Like

as Fabio says :+1:

you can use the Reverse Surface component to check/correct UVs in GH (I think it comes with R8 but not sure…)

2 Likes

How can I swap the U/V directions? Is there a specific command for it?

In Rhino, _ShowDir. In Grasshopper Reverse Surface

You should have done it with an image mesh. Then it would have been even clearer. Like camera obscura.

1 Like

image mesh would be a mesh tho :slight_smile:

It’s not exactly snappy.

1 Like

It looks like you have a list of walls that have this flipping problem randomly. Rather than picking one by one and flip when necessary, I would suggest finding a workflow that is consistent.

I wolud do it like this:
for every wall extraxt the 2 faces, get the orizontal edge of those, sort them by z, then orient all the 4 lines in the same direction and loft the 2 faces. then tween
tween walls.gh (10.7 KB)