I ended up using the LOS-Dijkstra algorithm for "near-isometric flattening of brain surfaces" described here. The code is available in this repository but:
It is mixed with a lot of irrelevant code.
It is poorly commented.
It is in Matlab.
If someone stumbles onto this question in the future and would to use the code, I would be happy to help fix ...