Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update List Input node (proposal) #5136

Open
satabol opened this issue Jul 23, 2024 · 5 comments · May be fixed by #5137
Open

Update List Input node (proposal) #5136

satabol opened this issue Jul 23, 2024 · 5 comments · May be fixed by #5137

Comments

@satabol
Copy link
Collaborator

satabol commented Jul 23, 2024

Sverchok 1.3.0-Alpha

image

A node List Input has next disadvantages:

  1. It has limit of List Length parameter (128 for int/floats and 10 for vectors params).
  2. After switch mode from Numbers to Vectors then node disconnects from another nodes
  3. There are another types and formats of items (Colors, Angles, Power. see https://docs.blender.org/api/current/bpy_types_enum_items/property_subtype_number_array_items.html#rna-enum-property-subtype-number-array-items)

I have several proposals:

  1. Append mask column

  2. Append new index column:

  3. Append preview result column
    image

  4. Append Bool type of data
    image

  5. Append subtypes to Vector column
    image

  6. Append Color Types and subtypes
    image

What do you think ?

@satabol satabol linked a pull request Jul 23, 2024 that will close this issue
@vicdoval
Copy link
Collaborator

Hi satabol. I find those are great additions except for the mask column/concept that seems a little over-complicated.

@satabol
Copy link
Collaborator Author

satabol commented Jul 24, 2024

Hi @vicdoval.
You are right. Sverchok has nodes to work with lists. But some times this mask allow to quickly exclude some elements from list to see effects without add some list nodes. May be add mask input socket?
image
Also I thinking about exchange data with a clipboard. For example copy/paste data from some data editors like Excel or some thing else?
image

@vicdoval
Copy link
Collaborator

Copying from is a great!
Masking this way could be done with two List Input and a mask node. It seems a simple node that can became very big may became too complex but do as you wish

@satabol
Copy link
Collaborator Author

satabol commented Jul 25, 2024

It seems a simple node that can became very big may became too complex

I see. But I think this method can simplify a node tree at all (and a node tree will use less nodes). Creating mask after any node is harder than connect mask right into the node to affect a result. If node has several output sockets then mask will affect to all output sockets.

@satabol
Copy link
Collaborator Author

satabol commented Jul 28, 2024

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants