2
$\begingroup$

How can I snap and align a string of text to the top center of a specific face using geometry nodes. I'm using Blender 3.0.1

Node setup below

img1

Red Arrow is where I want the text to be

Note: I know I can just move the text manually but the goal is to learn / do this using GN.

img2

$\endgroup$
1
  • $\begingroup$ How do you want to specify which exactly face should be used? $\endgroup$
    – Crantisz
    Commented Feb 14, 2022 at 11:27

1 Answer 1

3
$\begingroup$

Here's a way:

enter image description here

It goes:

  • The input mesh has vertex normals; points don't. So capture the Normal field on points. It's a field, so will be interpolated when called on, to yield face normals.
  • Center up the text to its Pivot Point using the String settings
  • Select the point for instancing, by Index
  • Align the instance's Z to the face normal, in the Instance to Points node.

enter image description here

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .