← All ideas
  • Published 16 Aug 2021

Attribute expose node

The issue: Right now there is no simple or efficient way of globally exposing the attribute of a specific element in a domain, e.g I can't use the position of a specific vertex to alter the position of all other vertices. Another use case would be extruding faces based on their distance to a specific face.

The solution: A node like the Attribute extract node , however with the addition of a boolean input that would serve to select the element with the attribute you want to expose and use to other elements.

In this mock up imgur.com/a/klLVDro we can see that vertex with index 3 has a position of (-1,1,1) we then use the proposed node to select that index and translate all other points by that amount.

For the case where mutliple elements match the selection the value for the first match should be returned and in the case where there are no matches then the default value (0) for each should be returned , another solution would be to have a integer output that would indicate the number of elements that match the selection.

Ps: And of course the name is not set in stone, I think attribute get or attribute query would also fit.

100%

Development Status: Done

Upvote 9 Downvote 0
rafaelfcdk
16 Aug 2021

2 Comments

thinsoldier

mockup image

1
rafaelfcdk Author

Yes, thank you! For some reason the media wasn't loading when I made this post, I tried to edit to no avail, so that is why I put the imgur link

1