Create sweep follows 1 line and use another as a reference

Perhaps aligning yourself with the mean curve between the two curves might help you.

here’s a post you might find useful (note that these are 2D curves)