Turn a single mesh of 12 faces into 6 meshes of 2 faces

Hello Comunity!

I’m here with a question regarding Lists Paths.
I have a list of meshes, I need to deconstruct them, divide them and rebuild them with a smaller amount of faces as you can see in the script.
the thing is that when I divide the list of faces, it adds a new level to the list, so the faces list doesn’t match the vertices list.
do you have any idea on how to match faces and vertices lists?


rebuild meshes.gh (11.6 KB)

If you’re trying to divide the mesh to increase its face count in one direction, partition isn’t the way? Using the RefineStrips component is one possibility:


Similarly, if you want to subdivide the mesh in both directions you could try RefineMesh:


Thanks for the answer Rene! I’m not trying to modify the amount of faces, I’m trying to turn a single mesh of 10 faces to 5 meshes of 2 faces

1 Like

Nice, maybe that’s the new title for your post :wink:

By the way, your meshes have 12 faces, not 10

1 Like

something like this?
partitionmesh.gh (14.0 KB)

with vertices welded:

Thanks! It worked perfectly, I found out a new problem, the faces order is not linear, what do you think would be a good solution?

1 Like

The starting order wasn’t either - sorting the meshes first should take care of it:
partitionmesh_sorted.gh (16.3 KB)

Best,
RC