Searching for the Closest Vertex with Blender Python
If you ever need to find the vertex nearest to a given point, Blender’s mathutils.kdtree makes it fast and easy.
KDTree.find() returns the closest vertex position, its index, and the distance.
11
2 comments
Victor Stepanov
6
Searching for the Closest Vertex with Blender Python
CG Python Academy (Free)
skool.com/cgpython
3D artists learning Blender Python.
Leaderboard (30-day)
Powered by