algorithmic modeling for Rhino
After a request by Arend I added an unflatten component for reversing a flattening operation. If you still have the original tree and the number of items hasn't changed it can be put back together:
However I just cannot come up with a good idea for an icon for Unflatten. The best I could come up with was an acorn, which is a tenuous link at best.
Any ideas welcome, but please remember that the icon must de drawable and recognizable in a 20x20 (24x24 in an emergency) pixel image.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Tags:
Unflatten seems to be the rebirth of a data structure, which is an easy jump to a butterfly or a butterfly emerging from a cocoon. A reach could be a phoenix, but that gets away from the "tree" themed icons.
is this different in functionality from the "match paths" component in HDT Utilities? Just curious... I'd be happy for that to be made a built-in feature. It seems to me that "unflatten" is maybe not the clearest way to express that - because it can work on data that was never flattened from a tree structure to begin with (if I'm understanding correctly how it works...)
not that that helps you with the icon problem...
Basically it iterates over all the items in one tree and assigns them to the path structure of another tree.
T0 = {ABCDEFGHIJKL}
T1 = {NOP}{QRSYU}{VWX}{Y}
unflatten T0 using T1 as a guide gets you {ABC}{DEFGH}{IJK}{L}
I think unflatten is quite a good -albeit a made up- word for this.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Could just be "restore tree". I also like the idea of a sapling coming out of the flattened stump.
Already wrote another component called [Match Tree] :)
--
David Rutten
david@mcneel.com
Poprad, Slovakia
hey what does match tree do? I've been putting together a series of path filtering components...
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
© 2024 Created by Scott Davidson. Powered by