Nodo Texto a curvas#
The String to Curves converts a string to curve instances. Each unique character used in the string is converted to a curve once, and further uses of that character are more instances of the same geometry.
This makes processing the output geometry very efficient, because each unique character only has to be processed once. However, it means that the result will be the same for every instance of the same character. To process each character individually, the Nodo Hacer instancias reales can be used.
Truco
Socket inspection can be used to see the value of the string input used when the node was evaluated, by holding the mouse over the socket.
Entradas#
- Cadena de texto
Entrada estándar de cadena.
- Tamaño
The size of each character. The values of the other inputs are scaled by this value.
- Espaciado de letras
A factor by which the space between each character (kerning) is scaled on the X axis.
- Espaciado de palabras
A factor by which whitespace between words is scaled on the X axis.
- Espaciado de líneas
The distance between separate lines in the output. Scaled by the Size input.
- Ancho marco texto
The maximum width of each line, though individual words will not be wrapped.
- Altura marco texto
The maximum height for all the lines of the text.
Propiedades#
- Tipografía
Font glyph used to generate the curve.
- Desbordar
- Desbordar:
Wraps the text at the Text Box Width.
- Escalar hasta ajustar:
Escala el tamaño del texto para que se ajuste al Ancho del cuadro de texto y al Alto del cuadro de texto.
- Truncar:
Only outputs text characters that fit within the width and height, based on the Size input. Any part of the string that did not fit is moved to the Remainder output.
- Alineación
- Izquierda:
Aligns the text to the left.
- Centro:
Aligns the text to the center.
- Derecha:
Aligns the text to the right.
- Justificar:
Alinea el texto a izquierda/derecha.
- Fluir:
Aligns the text to the left and right with equal character spacing.
- Alinear Y
- Superior:
Aligns the text to the top.
- Superior (base):
Aligns the text to the top baseline.
- Centro:
Aligns the text to the middle.
- Inferior (base):
Aligns the text to the bottom baseline.
- Inferior:
Aligns the text to the bottom.
- Pivote
Controls where on each character the output Pivot Point is placed.
- Punto medio:
Place the pivot points at the center of each character’s bounds.
- Superior izquierda:
Place the pivot points at the top left of each character’s bounds.
- Superior centro:
Place the pivot points at the middle of the top of each character’s bounds.
- Superior derecha:
Place the pivot points at the top right of each character’s bounds.
- Inferior izquierda:
Place the pivot points at the bottom left of each character’s bounds.
- Inferior centro:
Place the pivot points at the middle of bottom of each character’s bounds.
- Inferior derecha:
Place the pivot points at the bottom right of each character’s bounds.
Salidas#
- Instancias de curva
Curve instances geometry.
- Resto
The part of the text that did not fit in the box described by the Text Box Height and Text Box Width inputs. Only used in the Truncate overflow mode.
- Línea
An attribute field containing the line index of each character (on the instance domain).
- Pivote
Outputs the position described by the Pivot Point drop-down in the local space of each instance.
Ejemplos#
The node can be used to make overflowing text boxes. Here, the text that does not fit into the first node’s fix-sized text box is passed to a separate String to Curves node. And finally added with a Scale to Fit node.