Blender Git Loki

Git Commits -> Revision 29e3545

Revision 29e3545 by Erik Abrahamsson (master)
September 21, 2021, 19:11 (GMT)
Geometry Nodes: String manipulation nodes

This patch adds four new nodes to a new "Text" category:
- String Length: Outputs length of a string
- String Substring: Outputs part of a string
- Value to String: Converts a value to a string
- String Join: Concatenates multiple strings with a delimiter

The initial use case of these nodes is the upcoming string to curve
node. However, they could also be used to calculate dynamic attribute
names, or with string attributes in the future.

Differential Revision: https://developer.blender.org/D12532

Commit Details:

Full Hash: 29e3545194804428676b0adf881f418a96a40a9a
Parent Commit: 05ce527
Committed By: Hans Goudey
Lines Changed: +234, -1

4 Added Paths:

/source/blender/nodes/function/nodes/node_fn_string_length.cc (+49, -0) (View)
/source/blender/nodes/function/nodes/node_fn_string_substring.cc (+54, -0) (View)
/source/blender/nodes/function/nodes/node_fn_value_to_string.cc (+51, -0) (View)
/source/blender/nodes/geometry/nodes/node_geo_string_join.cc (+53, -0) (View)

7 Modified Paths:

/release/scripts/startup/nodeitems_builtins.py (+6, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+4, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+4, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+4, -0) (Diff)
/source/blender/nodes/NOD_function.h (+3, -0) (Diff)
/source/blender/nodes/NOD_geometry.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+5, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021