14 lines
		
	
	
		
			386 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			386 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from lnx.logicnode.lnx_nodes import *
 | |
| 
 | |
| class ParseFloatNode(LnxLogicTreeNode):
 | |
|     """Returns the floats that are in the given string."""
 | |
|     bl_idname = 'LNParseFloatNode'
 | |
|     bl_label = 'Parse Float'
 | |
|     lnx_section = 'parse'
 | |
|     lnx_version = 1
 | |
| 
 | |
|     def lnx_init(self, context):
 | |
|         self.add_output('LnxFloatSocket', 'Float')
 | |
| 
 | |
|         self.add_input('LnxStringSocket', 'String')
 |