Wish: A viewport with random unique colours

While working with assemblies consisting adjacent objects, I often need to distinguish them from each other as a way to check for unwanted intersections. I end up manually adding a unique object colour or a material to each of them. However, that takes a lot of time and also destroys my goal to have specific object colour and material assigned and shared across objects with similar properties (such like yellow for 3 mm thick plates, green for 5 mm thick plates, lilac for 8 mm thick plates etc). The main problem comes when I have a bunch of same thickness plates with the same material and colour, so I can’t check for possible collisions unless I change either the object colour or the material to some of them manually.

So, why don’t we have a new, dedicated viewport mode whose purpose is to provide a quick and convenient way to check for collisions of assembled plates, furniture pieces or any other kind of assemblies? :slight_smile: This way, adjacent objects of the same type and sharing the same object colour and material will be still easily recognizable from each other. Or, make it an analysis tool that serves the same purpose.

Hi Bobi -
Have you tried the TestRandColor command?

1 Like

Hi Wim, this somewhat helps, though I noticed a few unwanted “features”:

  1. The colours change all the time upon every tiny camera manipulation or moving/editing an object. This is quite distracting. :slight_smile: Would be nice to stick to the initially generated random colors so that they will not automatically change to other colour unless the user does that manually either by running the command again or via “SwapRandColor” command;

  2. Sometimes the adjacent objects receive too similar colour, or at least they appear difficult to distinguish to my colour-blind eyes (like the blue plates in the screen-shot below). :slight_smile: I see a limited palette of colours, unlike people with normal vision. The program should try to apply colours of a higher contrast across adjacent objects (no dark blue next to a darker blue, no red next to orange, etc);

  3. It would be nice to avoid the use of too dark random colours as they reduce the ability to see the general shape of the objects.