Decompose a Profile Family?

Does anyone know if there’s a node out there that can read a sweep with an assigned Profile Family, and spit out the line/arc segments that compose that Profile Family?

And vice versa, a node that could take a bunch of line/arc segments, and create a Profile Family?