Clean up macro idea

Hi you brilliant folks.

I’m wondering if there perhaps exists a macro out there that could help in cleaning up multi body parts. In our workflow before exporting to CNC it would be helpful to eliminate small bodies that don’t serve a function, like leftovers from cutouts when we engrave numbers.

Something like a simple macro that selects the smallest body in a part by volume.

This one’s kinda fun.
SelBodiesBySize.swp (112 KB


)

4 Likes

Thanks Josh. That’s a cool one. Very much what I was looking for.

1 Like

I was thinking about this one some more… Originally the slider selected or deselected components one-by-one, even though there are multiple identical bodies with the same volume. This update actually groups the bodies so that incrementing the slider by 1 will select all bodies of the next size increment.
SelBodiesBySize.swp (123 KB)