This works, thank you. I figure out how to do it with groups.
Now How I can do if I have multiples cabinets that are different. How can I create a true to move them based on the start position and previous cabinets width?
Put a single bounding box around multiple cabinets and itâs the same process. Set the bounding box to union box so that you only get one box covering multiple objects.
I would replace the Dim component with deconstructing the bounding boxesâ diagonal vectors, as noted above.
Internals of the MoveD cluster are explained in that thread but as I recall (and as noted in the post), that cluster was created in this earlier thread to move polyhedra examples apart:
This one work too. The only challenge that I am approaching is when I have different parts, they donât move equally. The hardware bounding box is shifted.
OK, I simplified this to focus on moving the cabinets. I am surprised to have the Human plugin installed so I can see Create/Modify Layers and CreateAttributes and Bake Geometry components you are using. But I stripped them out of this version of the code. Not sure where to add them back in? Maybe some before I grouped them but bake afterwards?
The purple groups Group geometry for each cabinet, twice⌠Hope you see why?
CABINETS_2024Jul29a.gh (3.6 MB) DEPRECATED, replaced by version âcâ below.
Merge combines the groups (one per cabinet) into a single list. The white group centers the list of cabinets on X, ignoring Y and Z, because thatâs what my MoveD cluster expects.
And âBobâs your uncleâ (done!).
The output of the green group needs Ungroup, twice⌠(not included)