Treesloth is a plug-in that extends functionality for working with lists and data trees.
The current release now also supports writing and reading binary files that allow for robust interoperability between multiple definitions.
All of the components are distributed within the "Sets" group.
These components mostly are derived from needs met directly in practice. Feedback is very much welcome, and if you have ideas for solutions that will help you better manage your data, please feel free to make suggestions for future releases!
You can download the most recent version on Food4Rhino.
AB
Wow. Thanks so much for sharing this... The Pack Data and Unpack Data seem especially useful. I had been using the older TreeSloth components, but this looks like a major update. Thanks again.
Jul 7, 2015
Nick Tyrer
Small catch David, on the website description for Pack Data, you have written '3rd party classes (like Plankton Meshes) are directly supported'
Jul 8, 2015
David Stasiuk
Jul 8, 2015
Francesco De Luca
Hello, congratulations for the work!! There is one tool/component that I think is worth to develop as well. One that allow to merge paths into the same data tree, something that usually it is possible to do with the Path Mapper but more intuitively and quickly. Using Path mapper it is done with lexical operation like: from {a;b;c;d} to {c;d} or to {c} or to {d} (as examples). I am sorry if in the new Treesloth there is already this possibility but I didn't understand. In this case how? Thank you!
Jul 9, 2015
David Stasiuk
Hi Francesco. Thanks! I hope it will be useful for you.
I am not sure I quite understand what you're looking for...it would behave like the path mapper but have a different type of interface In the example you give, it's possible to do this with shift paths. So you could go from {a;b;c;d} to {c;d} by shifting paths with an offset value of 2...or to {d} with an offset value of 3...or to {a;b} with an offset of -2.
It could be possible to create a subset mapper where you fed it a domain, like "1 to 2" and it would return {b;c}. Is this more what you're thinking of?
Jul 9, 2015
Arend
Great work, thanks a lot for the effort! My most used tree-hack must be the "Three index" (didn't spot it right away in your collection). A few lines that make things a lot easier to debug.
Jul 9, 2015
David Stasiuk
Hi Arend...so this is getting a branch just by its index? Good idea!
Jul 10, 2015
Ram Joshi
Hi David! Thanks for this tool. I am trying to use the pack and unpack data components. I guess the data is getting packed but I am facing an error while unpacking. It reads "There are more data elements in the file than outputs in the component. Use ZUI to see all data elements". I understand that there are some missing outputs in the component which I get using ZUI. But how do I get the ZUI?
Thanks,
Ram
Apr 14, 2016
David Stasiuk
Dec 12, 2016
liguoxiong
hi,everyone:
Can you work with Treesloth in rhino6_SR19? I cant find this plug-ons in my grasshopper .
Jan 2, 2020