Quantcast
Channel: Grasshopper - McNeel Forum
Viewing all articles
Browse latest Browse all 39494

I need to find a way to match mesh faces from their original state to their unrolled state

$
0
0

@TheCyclist wrote:

Me again…

I created a triangulated mesh which had its triangles scaled depending on an attractor curve. I used Ivy to unroll the mesh in various pieces, but I didn’t have Ivy analyze the scaled triangles because I cannot figure out how to perform this correctly.

I wish to match-up the scaled triangles on the original mesh with their corresponding unrolled mesh face. One way I think this can be done is by analyzing the area of each mesh face and matching them based on area. I think this will work because no two areas of each mesh face are the same.

The flow would be something like this…
Find area of mesh face on original mesh > See if it has a scaled triangle on it > Find corresponding mesh face with matching area > Apply scaled triangle to unrolled mesh face

Perhaps there is a better way to find the corresponding mesh faces other than looking at the area.

2018.04.26_mcneel_forum.gh (583.7 KB)

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 39494

Trending Articles