Grasshopper

algorithmic modeling for Rhino

Last one for now... I love the shift path component... however, there is one place where it breaks down.  Shift Path will fail if you pass paths with no path prefix.  

WORKS

{0;1}

{0;2}

-------

{0} (Yay)

{1}

{2}

------

Null (Boo)

I understand the rule but would love to see an exception to the latter case, where shifting a simplified list results in a flattening to {0}.  This would also save me workarounds.

Thanks,
Marc

Views: 987

Replies to This Discussion

P.S., yes, I am culling the first branch in each tree... :)

Man ! I wish someone had answered this.

Still wasting my time in workarounds on that one...

use the shift path from treesloth, it does the right thing in this case.

Thanks Andy !

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service