I am using C++ to compute the vertices and faces of foam cells which is done one cell at a time. However because of overlapping faces shared by adjacent cells the STL file generation failed. Any suggestion to fix that?
Problem solved by creating a global list of vertices and faces then followed by searching and deleting duplicates/overlapping faces and tessallation of the remaining faces.