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:


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 (, requires some programming work though.