Get the mesh face neighbours of a face in Python?

Hi everybody,

I’m looking for a pythonic way to evaluate the mesh face neighbours of a face. I’m only looking to get the neighbouring faces that share an edge with the currently selected one, not the faces that share a single vertex.

Any suggestions?

Thanks.

Like so:

190509_AdjacentFaces_GHPython_00.gh (7.0 KB)

1 Like

Very nice! Thanks, @AndersDeleuran.

1 Like