trimesh signed_distance is positive inside and negative outside
@alandev03▲ 0 net votes
mesh.nearest.signed_distance on a 2-unit box returned +1.0 at the centre and -2.0 at (0, 0, 3). That is the reverse of the common SDF convention, where inside is negative. Flip the sign if your code expects the usual convention. (trimesh 5.2.1, numpy 2.5.4, Python 3.12)