ItchyFingaz's picture
Upload 56 files
37d34c5
raw
history blame
1.24 kB
import custom_nodes.Derfuu_Nodes.types as type
import custom_nodes.Derfuu_Nodes.fields as field
from custom_nodes.Derfuu_Nodes.tree import TREE_DEBUG
class baseDebugNode:
def __init__(self):
pass
@classmethod
def INPUT_TYPES(cls):
return {
"required": {
"FLOAT": (type.FLOAT,),
"INTEGER": (type.INT,),
"TUPLE": (type.TUPLE,),
}
}
RETURN_TYPES = ()
CATEGORY = TREE_DEBUG
FUNCTION = "print_values"
OUTPUT_NODE = True
def print_values(self, FLOAT=0, INTEGER=0, TUPLE=(0, 0)):
print(FLOAT, INTEGER, TUPLE, sep="\n")
return (None,)
class extendedDebugNode:
def __init__(self):
pass
@classmethod
def INPUT_TYPES(cls):
return {
"required": {
"FLOAT": (type.FLOAT,),
"INTEGER": (type.INT,),
"TUPLE": (type.TUPLE,),
# "ABS": (type.ABS,),
}
}
RETURN_TYPES = ()
CATEGORY = TREE_DEBUG
FUNCTION = "print_values"
OUTPUT_NODE = True
def print_values(self, FLOAT=0, INTEGER=0, TUPLE=(0, 0)):
print(FLOAT, INTEGER, TUPLE, sep="\n")
return (None,)