Map to Surface?

I’m stunned, dismayed and embarrassed to admit that I can’t get Map Srf (Map to Surface) working in this case. I’ve used it extensively in the past and tried many ways now but I’m stumped. Help?


Map Srf_2024Aug9a.gh (11.1 KB)

I want to map the edge of the flat trapezoid (in green) to the lofted (twisted) surface.

1 Like

Seems to be a bug related to the loft component. Works with a network surface instead.

1 Like

Amazing, thanks very much. Weird, eh :interrobang: I used interpolated curves instead of polylines. Not sure why the surface is curved?


Map Srf_2024Aug9b.gh (19.3 KB)

My guess about the original issue is that the lofted surface does not contain any V coordinates to map too, thus not grabbing the trimmed surface’s geometry in the V direction.

More grist for the mill… Loft works using only the two vertical long edges but not the horizontal bottom and top edges. EdgeSrf using four edges also fails.


Map Srf_2024Aug9c.gh (20.3 KB)

1 Like

Possibly further corroboration of this theory. When using the two vertical edges generated by the endpoints, this likely imbues the necessary V coordinates into the loft in order to properly map the trimmed surface V point coordinates.

I have no way to evaluate speculation about internals. I can show that iso curves exist on the lofted surface:


Map Srf_2024Aug9d.gh (13.1 KB)

1 Like

you could also flip U and V and get the mapping right
I used out of the box flexibility “flip direction” component to flip them.

Out of what box? Maybe R8? Without a GH file, I can’t easily tell. Standby, I will add a link here to a post in another thread that adds some spice to this puzzle.

OK, here is the post:

But I’ll post the same image here:

Note how some of the triangles mapped to the twisted surface are outside the mapped perimeter curve. This is a problem :interrobang:

triangles pattern_2024Aug9b.gh (28.3 KB) (R7)

Map Srf_Joseph.gh (23.3 KB)
Apologies, forgot to attach the file.

missing

So ‘Flexibility’ is a plugin… Does it fix all my problems? Is there another way besides a plugin?

Aha :bangbang: One of the many things I tried before starting this thread was transferring the four vertices of the trapezoid to the twisted surface, with the intention of using CrvSrf (Curve On Surface) to connect them. It didn’t work with the original loft but works on the NetSurf. See orange group. Result looks good to me, though a very convoluted way to get there. :roll_eyes:


triangles pattern_2024Aug9c.gh (33.7 KB)

Looks like a Map Srf fail on the perimeter curve, yet it works on the triangles.

2 Likes

it does work on your file, and I am using it all the time with loft.
Unfortunately there is no native components that I’m aware of.
also pufferfish has a component called “swap surface direction” if you want to swap the uv without changing the surface normal.