So basically, I have a bunch of Lego bricks in my blender scene, they have different sizes, colours, etc. I was wondering if it was possible to set up some kind of detection system in python, where it can see the dimensions of each brick and rename the bricks according to those aspects.
for example if I had a 2 x 4 x 6 plate brick, python would recognise that it is a plate of that dimension and rename it to '2x4x6_plate.'