GeometryNodeStringToCurves(GeometryNode)#

base classes — bpy_struct, Node, NodeInternal, GeometryNode

class bpy.types.GeometryNodeStringToCurves(GeometryNode)#

Generate a paragraph of text with a specific font, using a curve instance to store each character

align_x#

Text horizontal alignment from the object center

  • LEFT Left – Align text to the left.

  • CENTER Center – Align text to the center.

  • RIGHT Right – Align text to the right.

  • JUSTIFY Justify – Align text to the left and the right.

  • FLUSH Flush – Align text to the left and the right, with equal character spacing.

Type:

enum in [‘LEFT’, ‘CENTER’, ‘RIGHT’, ‘JUSTIFY’, ‘FLUSH’], default ‘LEFT’

align_y#

Text vertical alignment from the object center

  • TOP Top – Align text to the top.

  • TOP_BASELINE Top Baseline – Align text to the top line’s baseline.

  • MIDDLE Middle – Align text to the middle.

  • BOTTOM_BASELINE Bottom Baseline – Align text to the bottom line’s baseline.

  • BOTTOM Bottom – Align text to the bottom.

Type:

enum in [‘TOP’, ‘TOP_BASELINE’, ‘MIDDLE’, ‘BOTTOM_BASELINE’, ‘BOTTOM’], default ‘TOP_BASELINE’

font#

Font of the text. Falls back to the UI font by default.

Type:

VectorFont

overflow#

Handle the text behavior when it doesn’t fit in the text boxes

  • OVERFLOW Overflow – Let the text use more space than the specified height.

  • SCALE_TO_FIT Scale To Fit – Scale the text size to fit inside the width and height.

  • TRUNCATE Truncate – Only output curves that fit within the width and height. Output the remainder to the “Remainder” output..

Type:

enum in [‘OVERFLOW’, ‘SCALE_TO_FIT’, ‘TRUNCATE’], default ‘OVERFLOW’

pivot_mode#

Pivot point position relative to character

  • MIDPOINT Midpoint – Midpoint.

  • TOP_LEFT Top Left – Top Left.

  • TOP_CENTER Top Center – Top Center.

  • TOP_RIGHT Top Right – Top Right.

  • BOTTOM_LEFT Bottom Left – Bottom Left.

  • BOTTOM_CENTER Bottom Center – Bottom Center.

  • BOTTOM_RIGHT Bottom Right – Bottom Right.

Type:

enum in [‘MIDPOINT’, ‘TOP_LEFT’, ‘TOP_CENTER’, ‘TOP_RIGHT’, ‘BOTTOM_LEFT’, ‘BOTTOM_CENTER’, ‘BOTTOM_RIGHT’], default ‘BOTTOM_LEFT’

classmethod is_registered_node_type()#

True if a registered node type

Returns:

Result

Return type:

boolean

classmethod input_template(index)#

Input socket template

Parameters:

index (int in [0, inf]) – Index

Returns:

result

Return type:

NodeInternalSocketTemplate

classmethod output_template(index)#

Output socket template

Parameters:

index (int in [0, inf]) – Index

Returns:

result

Return type:

NodeInternalSocketTemplate

classmethod bl_rna_get_subclass(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)#
Parameters:

id (string) – The RNA type identifier.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties#

Inherited Functions#