Cannot retrieve all colors from a STEP file using XCAF

I have been trying to build an Assimp mesh from a STEP file using the XCAF framework. Despite trying various methods to retrieve the colours, I am unable to obtain all the colours. What is the possible way to make sure that all faces are getting the colours correctly? I have attached the source code for reference.

Sharjith Naramparambath's picture

Added the files that use a different strategy with the same results.