Quadremesh but maintain mesh boundary edges

hi everyone

I’m trying to remesh this two meshes with quad remesh

but I need to keep faces that are coincident at the areas that the meshes collides the same for each one (bottom faces of top mesh in the same spot as the top faces of the bottom mesh). I need them to have the same boundary faces and no gap so I can make some simulations at the fea software later.

remesh problem.3dm (512.3 KB)

any Idea would help alot. thanks.

1 Like

You may be able to use explode to get the sides as individual meshes, then use MatchMeshEdge with RatchetMode=Off to match the meshes to each other. This works best if the deviations are small and the number of quads on both sides is the same.

hi menno! thanks for the reply.

yes, the problem is that the full mesh that I’m working is alot bigger, and sometimes this can’t be achieved. also, this happens when I Quad Remesh

I’ve managed to make this work (kinda) with rebuild mesh from pufferfish in grasshopper with the weld settings, the challenge is to split the full mesh into two separated meshes.

If your goal is FEA simulations you may be using the wrong tool to get your element mesh. I am not an experienced mesher, but I know tools like Gmsh, Salome and commercial grid generation packages are better suited to get meshes where quads on different parts need to be aligned. These also have much more options to finetune your mesh.

1 Like

if someone ever go thru the same, I created a quick GH script that can make the faces of two meshes touch each one. It’s structured as a ghplayer.

CONTACT_MESH.gh (12.3 KB)

1 Like