Skip to content

Commit

Permalink
added XY demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Suzie1 committed Dec 29, 2023
1 parent f4de199 commit 57969c4
Show file tree
Hide file tree
Showing 4 changed files with 1,157 additions and 6 deletions.
16 changes: 10 additions & 6 deletions nodes/nodes_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,20 +523,24 @@ def INPUT_TYPES(s):

def make_list(self, list1, list2):

show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/List-Nodes#cr-intertwine-list"
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/List-Nodes#cr-intertwine-lists"

# Ensure both lists have the same length
min_length = min(len(list1), len(list2))

#print(list1,list2)

# Initialize an empty list to store the combined elements
combined_lists = []

combined_list = []
#print(min_length)

# Use a loop to combine elements from both lists
for i in range(min_length):
#print(str(list1),str(list2))
combined_element = str(list1) + ", " + str(list2)
combined_lists.append(combined_element)
#print(combined_element)
combined_list.append(combined_element)

return(combined_lists, show_help, )
return(combined_list, show_help, )

#---------------------------------------------------------------------------------------------------------------------#
class CR_BinaryToList:
Expand Down
File renamed without changes.
Loading

0 comments on commit 57969c4

Please sign in to comment.