Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9

This commit is contained in:
2026-09-04 10:46:13 -07:00
parent c915312901
commit 0460b9d587
482 changed files with 27797 additions and 3226 deletions

View File

@ -0,0 +1,14 @@
from lnx.logicnode.lnx_nodes import *
class FormatNumberNode(LnxLogicTreeNode):
bl_idname = 'LNFormatNumberNode'
bl_label = 'Format Number'
lnx_section = 'util'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxFloatSocket', 'Number', default_value=0.0)
self.add_input('LnxStringSocket', 'Thousands Sep', default_value=".")
self.add_input('LnxStringSocket', 'Decimal Sep', default_value=",")
self.add_input('LnxBoolSocket', 'Include Symbol $', default_value=False)
self.add_output('LnxStringSocket', 'Result')

View File

@ -0,0 +1,12 @@
from lnx.logicnode.lnx_nodes import *
class FormatTimeNode(LnxLogicTreeNode):
bl_idname = 'LNFormatTimeNode'
bl_label = 'Format Time'
lnx_section = 'util'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxFloatSocket', 'Time', default_value=0.0)
self.add_input('LnxStringSocket', 'Format', default_value="HH:MM:SS:MS")
self.add_output('LnxStringSocket', 'Result')

View File

@ -4,10 +4,14 @@ class SplitStringNode(LnxLogicTreeNode):
"""Splits the given string."""
bl_idname = 'LNSplitStringNode'
bl_label = 'Split String'
lnx_version = 1
lnx_version = 2
def lnx_init(self, context):
self.add_output('LnxNodeSocketArray', 'Array')
self.add_input('LnxStringSocket', 'String')
self.add_input('LnxStringSocket', 'Split')
self.add_output('LnxNodeSocketArray', 'Array')
self.add_output('LnxIntSocket', 'Length')
def get_replacement_node(self, node_tree: bpy.types.NodeTree):
return NodeReplacement.Identity(self)