I do need to merge all the faces together into a single one and everything that I tried in this regards seems to not work properly. I already tried the Merge Faces and all sorts of merging and boolean operations and none of them seems to work. After that I do need to separate the exterior and interior contours into separate lists.
Another day, another issue. I run this definition Merge_surfaces_in_one_piece.gh to extract the contour from some pieces I needed to mechanize today and I realized that this method don’t work with pieces that have fillets or chamfers.
It is a way to just “squash” or project all the surfaces into a single one and extract the overall contour of the shape? I tried also with Make2D but for pieces that have pockets that are touching the exterior contour it is joining the exterior contour with the pockets resulting into an unusable contour.