Open tomas16 opened 8 months ago
Yeah perhaps the docstring should be clearer, is the situation here is "there are N faces sharing an edge where N > 2"? I.e. the mesh is not watertight/manifold/etc? Maybe a more exact definition of what face_adjacency
is doing is:
"If an edge occurs exactly twice, mesh.face_adjacency
returns the indexes of the two faces that contain that edge."
Thanks, that explains the difference. Not what I expected from "face_adjacency" 😉
trimesh version 4.1.4
Before opening this issue, I found https://github.com/mikedh/trimesh/issues/1545
Not sure I follow that one entirely, but does it mean for
face_adjacency
to detect adjacent faces, the shared edge must have a certain orientation? If that's the case, the "bug" here would be a documentation bug, as it isn't mentioned here.