Ràng Buộc thành Đường Cong-F -- Constraint to F-Curve

../../../_images/modeling_geometry-nodes_text_string-to-curves_node.png

Ràng Buộc thành Đường Cong-F -- Constraint to F-Curve.

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 Mô Hình Khoảng Cách -- Distance Model can be used.

Mẹo

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.

Đầu Vào

Chuỗi Ký Tự (String)

Hàm Tiêu Chuẩn.

Kích Thước

The size of each character. The values of the other inputs are scaled by this value.

Phân Khoảng của Ký Tự

A factor by which the space between each character (kerning) is scaled on the X axis.

Phân Khoảng giữa Từ

A factor by which whitespace between words is scaled on the X axis.

Phân Khoảng của Dòng

The distance between separate lines in the output. Scaled by the Size input.

Chiều Rộng Tối Đa

Maximum width of the text, applies when the Overflow mode is set to Overflow.

Chiều Rộng Văn Bản

The maximum width of each line, though individual words will not be wrapped.

Chiều Cao Văn Bản

The maximum height for all the lines of the text.

Tính Chất

Phông

Font glyph used to generate the curve.

Tràn Ra
Tràn Ra

Allows the text to use more space than the specified height. The width of the output is still constrained by the Max Width input though.

Khít Vừa

Scales the text size to fit the width and height.

Cắt Ngắn

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.

Canh Hàng
Trái

Canh góc nhìn về trái/phải.

Trung Tâm

Aligns the text to the center.

Phải

Canh góc nhìn về trái/phải.

Canh Đều

Canh góc nhìn về trái/phải.

Ngang Bằng

Aligns the text to the left and right with equal character spacing.

Canh Hàng Y
Đường Cơ Sở Đỉnh

Aligns the text to the top baseline.

Trên/Đỉnh

Canh góc nhìn về đỉnh/đáy.

Giữa

Aligns the text to the middle.

Đường Cơ Sở Đáy

Aligns the text to the bottom baseline.

Dưới/Đáy

Canh góc nhìn về đỉnh/đáy.

Đầu Ra

Đường Cong

Lựa Chọn Bằng Chuột -- Mouse selection.

Phần Còn Lại

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.

Ví Dụ

../../../_images/modeling_geometry-nodes_text_string-to-curves_example.png

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.