The following part is a solid model that has a pocket wrapped around the X axis.
The top curve is obtained by extracting the top trimming loop from the pocket.
This curve is then unwrapped into a flat curve that can be used to create a wrapped Pocket feature in FeatureCAM.