File size: 2,011 Bytes
37d34c5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 |
import custom_nodes.Derfuu_Nodes.typeNodes as TypeNodes
import custom_nodes.Derfuu_Nodes.mathNodes as MathNodes
import custom_nodes.Derfuu_Nodes.functionsNodes as FunctionNodes
import custom_nodes.Derfuu_Nodes.moddedNodes as ModdedNodes
import custom_nodes.Derfuu_Nodes.debugNodes as Debug
import custom_nodes.Derfuu_Nodes.trigonNodes as TrigYNodes
class emptyNode:
def __init__(self):
pass
@classmethod
def INPUT_TYPES(self):
return {
"required": {
}
}
RETURN_TYPES = 0
FUNCTION = "get_value"
CATEGORY = "ABS"
def get_value(self, ):
return (None,)
NODE_CLASS_MAPPINGS = {
"FloatNode_DF": TypeNodes.FloatNode,
"IntegerNode_DF": TypeNodes.IntegerNode,
"StringNode_DF": TypeNodes.StringNode,
"TupleNode_DF": TypeNodes.TupleNode,
"MultilineStringNode_DF": TypeNodes.MultilineStringNode,
# "ABS_DF": TypeNodes.Any,
"Float2Tuple_DF": FunctionNodes.Float2Tuple,
"Tuple2Float_DF": FunctionNodes.Tuple2Float,
"Int2Float_DF": FunctionNodes.Int2Float,
"CeilNode_DF": FunctionNodes.CeilNode,
"FloorNode_DF": FunctionNodes.FloorNode,
"GetLatentSize_DF": FunctionNodes.GetLatentSize,
"GetImageSize_DF": FunctionNodes.GetImageSize,
"SumNode_DF": MathNodes.SumNode,
"SubtractNode_DF": MathNodes.SubtractNode,
"MultiplyNode_DF": MathNodes.MultiplyNode,
"DivideNode_DF": MathNodes.DivideNode,
"PowNode_DF": MathNodes.PowNode,
"SquareRootNode_DF": MathNodes.SquareRootNode,
"sin_DF": TrigYNodes.SinNode,
"cos_DF": TrigYNodes.CosNode,
"tg_DF": TrigYNodes.tgNode,
"EmptyLatentImage_DF": ModdedNodes.EmptyLatentImage,
"LatentScale_Ratio_DF": ModdedNodes.LatentScale_Ratio,
"LatentScale_Side_DF": ModdedNodes.LatentScale_Side,
"ImageScale_Ratio_DF": ModdedNodes.ImageScale_Ratio,
"ImageScale_Side_DF": ModdedNodes.ImageScale_Side,
# "DebugPrint_DF": Debug.baseDebugNode,
# "ExtDebugPrint_DF": Debug.extendedDebugNode,
}
|