Page MenuHome

Mathutils: expose the utility to find the closest point of a triangle.
ClosedPublic

Authored by Alexander Gavrilov (angavrilov) on Nov 6 2019, 9:15 AM.

Details

Summary

This computation is complex and useful enough to expose the existing
C math utility used by BVH nearest to Python. Otherwise this requires
the use of intersect_point_tri and multiple intersect_point_line calls
with some added vector math.

Diff Detail

Repository
rB Blender
Branch
python-closest-point-tri (branched from master)
Build Status
Buildable 5574
Build 5574: arc lint + arc unit