I have exploded a brep, taken the faces that I need and trying to get the centroid. In the first iteration it works like charm, but the second time I call the def, the values of the list are preserved. So I tried to use my counter as the index that I wish to retrieve. It leads to getting just one coordinate of both iterations instead of getting the desired list of the list (see images attached). Any ideas?
Thank you in advance.