algorithmic modeling for Rhino
Hi Everyone,
First post here, although I`ve been looking around for some time.
Just to explain, I`m kind of new to grasshopper, so lots of trials and error. There is one thing that I`m having trouble to do and I couldn`t find a solution on the forum.
I want to join a bunch of pilled big rectangle curves with smaller ones, the result should look something like a rectangle with a small protuberance above it. The problem is in the lists. both have the same tree configuration, but when I try to make the union the operation blends them all, instead of relative. The only solution I found was to aply a graft in each set of curves, but them I ended loosing the tree hierarchy that I was going to use later on.
One thing that I`m avoiding to do is to remap the tree, since I have a parameter to alter the number of rectangles based on distance and as I believe so, applying a "path mapper" will not allow me to keep changing its number and consequently the tree hierarchy.
Any thoughts?
Rectangles
Wrong union
Using the graft but with the wrong tree
Thanks,
Alexandre
Tags:
If you want to match one item of the list with only one corresponding item of another list, graft is your only way.
Lets say your tree is grafted. The path mapper equivalent would be {A;B}(i) -> {A;B;i}. You can collapse the tree back after the operation using the path mapper. Simply use the additional branch as list index like so {A;B;C} -> {A;B}(C). The branching point in your tree schould not change with any parameter. It only depends on the comonents on the way. Any tree structure before the level of "C" is kept the way it was before.
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
© 2024 Created by Scott Davidson. Powered by