We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
GIS API
GIS Import | Export
GIS REST
GIS Tools
Utilities

Topiary Flatten

Flatten branches by a set depth from the deepest path in a data tree. The resulting tree will look more like a topiary. This can be useful for data trees with uneven path depths.

Inputs

NameIDDescriptionType
Data TreeDTData tree to flatten to a topiary.Generic Data
Number of BranchesNThe number of branches to merge from the deepest path branch count. For instance, if N=2 and the path with the most branches is 4, any path in the tree with a depth greater than 2 will be flattened up into 2.Integer

Outputs

NameIDDescriptionType
Pruned TreePTPruned tree.Generic Data

Video Tutorials

Site design © Robin Rodricks.   Heron and associated data © 2024 Brian Washburn.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service