Select 3 Stack Voxels

Hi everyone, I am a beginner in Grasshopper and Data trees. I’ve follow several tutorial about data trees and endless browsing in both of Rhino or Grasshopper forum but still can’t figure out the solution.

I have a set of voxel which have three layers. I want to select 3 stack voxel in the same X coordinate. So far, I can manage to select each layer, but I can’t figure out how to select the voxel in the same x coordinate.

Here I attach the file and figures. Thank you in advance:)

221229 - 3 stack voxels.gh (1.5 MB)



221229 - 3 stack voxels_re.gh (1.5 MB)

1 Like

You’re a lifesaver. thank you, Kim!

Hi Kim,
I try the script in another dataset, then I found there are single and double voxel detected, not only the 3 stack voxel? May I have explanation for it? I try to change the number of “Tolerance” in Cull Duplicates component and “Distance” in Point Groups component, but it doesn’t change significantly. Thank you

3 stack voxel taman suropati.gh (6.8 MB)
single and double voxel detected

RMB on Cull Duplicates and check “Leave One” on pop-up…


3 stack voxel taman suropati_re.gh (6.8 MB)

3 Likes