first commit

This commit is contained in:
justumen
2024-07-06 12:05:16 +02:00
commit 643bf5d843
74 changed files with 1553 additions and 0 deletions

21
loop_basic_batch.py Normal file
View File

@@ -0,0 +1,21 @@
class LoopBasicBatch:
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"nb_loops": ("INT", {"default": 1, "min": 0, "max": 1000, "step": 1}),
},
}
RETURN_TYPES = ("INT",)
OUTPUT_IS_LIST = (True, False)
FUNCTION = "create_loop_basic_batch"
CATEGORY = "Bjornulf"
def create_loop_basic_batch(self, nb_loops):
range_values = list()
while nb_loops > 0:
range_values.append(1)
nb_loops -= 1
return (range_values,)