Baking principal curvature direction?

Hi. Does anyone know of any software that can bake what I think is called principal curvature direction? As far as I know it cannot be done in blender (would like to be wrong about that).

I know it is available in Houdini but I was hoping for something a little more… lightweight, and less costly since it’s for one operation.

To give an example of what I am looking for here is a teapot.

I am looking for a way to calculate the green or red lines. I saw it in a video in Houdini:

(from: https://www.youtube.com/watch?v=0BBXtPPGaKg)

So it turned out meshlab is able to calculate and show them, but no ability to export. What a tease.

With some difficulty (setting it all up was not fun) I was able to calculate and export them using libigl (https://libigl.github.io/libigl-python-bindings/), requires some programming work though.

Hi, were you using libigl python’s principal_curvature? i cant get it to work on model with 50k verts, kills my kernel immediately.