Grasshopper

algorithmic modeling for Rhino

Is there a way to read a tree structure and use it to autofill the path-mapper?

i.e. {A;B;C} > {A}

or {A;B;C;D;E;F} > {A}

(Obv after simplification)

Having multiple variables in terms of geometry coming into my definition. It would be good to reduce various paths down to simply one branch structure without re-programming the path mapper for different configurations.

Im sure this is a simple trick?

J

Views: 357

Replies to This Discussion

Sure, just right click and pick one of the standard mappings provided. It'll adapt it to whatever tree is currently active.

Nice

Yeah but...  this doesn't respond to changes in the input tree structure.  Having to right-click and recreate the flatten mapping is a form of reprogramming.  Maybe Jonathan is looking for 'Path Mapper' syntax that works regardless of how many levels are input?  (Similar to the effect of using 'Simplify' before passing the data tree to 'Path Mapper')  So easy to forget this stuff.

Yes Joseph you've read it right. I have since tried Davids Path mapper and it does'nt update to changes.

David can this be updated every time the algorithm is re-run? I think its quite a big thing as one can then handle complex assemblies of geometry without having to re group after operands make changes to sub components.

Hope you can hook me up with this one?

J

Here's a little workaround does the same thing as a variable path mapper would.

Would be simple enough to make it into a Cluster/ GH User component.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service