How to find and create center of pipe

If i got so much iges or step file from customer. how to create centerline of this pipe easily. now i use 3d sketch for one by one.

SolidworksParts And Features