Text on MeshFaces

Hello all,

I try to set text centered on 6 faces of Box-Mesh, but I don’t get right positioning/dimensions, maybe someone can help me out.

As far as I got with my PG:

Maybe something here can help

Heya. :slight_smile: So I just passed null for y to let it be auto-centered and for x I multiplied the column width by (i + 0.5) to find the center of the column and subtracted half the text width to center the text in its column. The other caveat is I set the font before the start of the loop so that the first iteration can measure the text properly.

6 Likes

Wow that’s brilliant, thank you very much Blake :slight_smile: