Reference from Day 1
Where we left off from Day 5
Right now, our text does a very bad job at aligning with the thread.
In order to fix this, we should:
Luckily, these are mostly straightforward.
Luckily, GeoNodes has a handy node called Bounding Box! According to documentation, it creates a box mesh with the minimum volume that encapsulates the geometry of the input. Doing that to our text, we can easily get the height necessary to perform half a translation down.
A bit of math and finagling things around, we get a good result!
This was so simple it barely needs a section. Adding a “Text Elevation” input to the node group and then plugging it into the “Combine XYZ” above gives us our desired effect. We don’t want to plug it into the “Combine XYZ” from the previous section, because we want to apply our rotations before this translation. Outside the group, we just need to attach the radius value.
This will be done similarly to how we figured out the edge caps! We want to insert this step between the previous two, as previously mentioned. Here, we’re going to use the Sample Curve node again. Now this is looking cool!