algorithmic modeling for Rhino
Can someone explain the behavior I am seeing below with the weave component?
Two inputs with data trees of similar size, and a pattern input of the same structure. When the T-F pattern is applied, the result is not 1-to-1. Rather, it appears that when a pattern within a data tree has a branch that includes both a True and a False, every item from that branch is pushed to the "woven" data. The result is a data tree of the same length, but with more items.
See {4} below.
Tags:
I think you want Pick'n'Choose rather than Weave.
Weave will try not to discard any of the input data. Like if you weave two strands of fibre together, you get a single new strand that contains both old strands. Pick'n'Choose will decide on a per index basis which lists to take a value from.
--
David Rutten
david@mcneel.com
Tirol, Austria
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by