Sort Duplicate Breps

Someone may find this helpful someday. :slightly_smiling_face:

Sorts breps by adding the area of each brep face to the volume of that brep, and then culling the duplicates based on that. Outputs a nice clean list that is easy to operate on.

“Why not just use the volume?” you might ask.
Mainly because I have a fear that I will have different breps with the same volumes. So the way I tried to do it was to keep those chances to the absolute minimum.

Brep Sort.gh (14.1 KB)

4 Likes

can’t you use just the volume value + the position of the breps centroid instead? one single component?

update: sorry I looked into your solution, you mean “Similar Volumes” not " Duplicates" sorry my mind got twisted with the _seldup command.

2 Likes