I have an existing model I've built up which currently has cubic geometry and fits neatly inside a cube. This was built up in Blender manually by duplication, not by scripting, in case you're curious about that.
I'd now like to map the vertices to fit the thing inside a cylinder.
In 2D, this turns out to be called a Schwarz-Christoffel mapping.
Is there a straightforward way to deform my existing model in this fashion without going back to the start and writing a script to generate the object? I think I could probably knock out a script to generate an OBJ file if I had a day to do it, but I feel like Blender might have an even faster option that lets me reuse my existing geometry.
I've been looking through all the "Deform" modifiers but nothing seems to jump out as immediately appropriate except for Cast, but I can't seem to get that one to do what I want either.
Edit:
For the next person hunting this out, the transformation I'm actually going with:
https://gist.github.com/trejkaz/222f687ef394f7430517868b254dc1b6