OpenCascade 3D - c++ remove internal Face from box

Job ID: 37369898

Budget: $30 – $250 USD

I need a C++ function based on OpenCascade,
which after reading the file with the STEP model will remove all internal FACEs.
This model is a box.
This material has two sides which are composed of FACE.
You need to create a loop that checks whether the FACE is internal or external and removes all internal FACEs from the drawing.
This task requires considerable OpenCascade knowledge.
You need to have experience to accomplish this.
I am attaching the STEP test file.