Mesh offset make a mess on face order - sorting faces

I want to offset a mesh while kipping it in the same order as the original one. Meanwhile, any offset component I’ve tried (the Weaverbird’s one as well) doesn’t respect the original face order of the first mesh (inner one) especially when a remesh has been done just before. How can I sort the faces of the offsetted mesh (outer one ) according to a guide, in this case, the inner mesh ?

It starts always well but it comes to a certain point where I lose the matching order. However, the two meshes get the same amount of faces :


GHmeshProblem.gh (11.6 KB)

Try this solution.
GHmeshProblem a.gh (12.7 KB)

1 Like

Well, thanks a lot ! I didn’t know the “trim tree” component very well but it seems pretty simple.