Grasshopper

algorithmic modeling for Rhino

Hi

Trying to get GH data-trees to automatically flatten all data except their lowermost branches

off course this is possible with path-mapper:

{A;B;C} -> {A}

or

{A;B} -> {A}

thing is , my trees might have one, two or three original levels, so the path-mapper needs to be remapped every time the data structure changes, which is not what I am aiming at, since this has to happen several times in the script

Any ideas? I am a very experienced GH user, and not afraid of python scripting where necessary

Thanks!!

Views: 312

Replies to This Discussion

Thanks!!! that's perfect!

didn't know you could multi-map

Guy

As Joe pointed there's an easy solution with GH_Lexer + code but if you want an example that would be in C# from my part (post a representative portion of data anyway).

That said is impossible to auto-convert C# to P.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2021   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service