Planar Ngons

I am trying to make planar ngons using k-means in lunchbox.
the problem is that when I try to find the connected edges to each mesh to make intersections between neighboring meshes the result is not correct because each mesh has a lot of edges, they are not one line on each side.
is there a way to simplify this edges for each mesh but with sharing this simplifies edges to the surrounding meshes ?
or another way to find neighboring meshes to each mesh ?

In Ngon addon use simplify component:

1 Like