Dear community,
I am trying to manage a dataset of indoor 3D model with lots of indoor objects. each object has 1-n number of breps/mesh faces, like the following example:
I need to define them as single objects in grasshopper environment to perform further operations on them, like filtering the multi-surface objects based on their size, defining their bounding box, etc.
So for instance, in the above screenshot, I want to have a list that consists of four single objects, and I wrap each one in a bounding box.
do you know how this can be done?
Although my problem seems so simple I could not find a convincing solution by testing different workflows, in the “list” category. or maybe I am missing something.
Thanks in advance,
N.
you can create a tree where each different monitor belongs to a different branch using Entwine
at that point if you want a single item per branch you can group them together:
but I’d go for not grouping them, and just use the Union Box option from the Bounding Box component, in such a way all the geometries of each model can be accessed/filtered easily?
@inno and @Quan_Li,
Thanks for your helpful responses,
putting each object/item in a tree branch makes sense, however, besides the separated items like this, I also have a few other breps (each representing one item) saved in one component, how can I join the trees so I can have access to all items as a list of branches?
In summary, my second question is how to join this entwined tree with 4 branches:
If the amount of branches in each tree is fixed, Path Mapper is the shortest solution.
You can also rebuild the branches if the trees may change in structure.