CATIA v5 How to approximate the guide curve for a Sweep type surface

So you have a Sweep surface imported from a STP file. Let's say you don't have the guide curve. How to find/approximate it ? Take a look here: https://youtu.be/jYjMXje26pE