Writing text on a circle

I’m trying to write text alongside a circle. I’ve found how to split the text in a list of characters that can each be rotated, but this isn’t quite what I want as each character remains straight instead of bended. The transformation I’m looking to apply can easily be expressed in cylindrical coordinates as:

(X,Y,Z) → (r=Y, theta=X/L,Z)

But I’ve been struggling to find a solution for this in Grasshopper.

something like this might work

polar text.gh (11.0 KB)

Text component comes from OpenNest, I think you can replace it with whatever you want
if needed, increase the number of points from x times 10 to x times ∞


Very nice, thanks!