Cushion edge piping

 From:  nycL45
3165.1 
I am spending far too much time trying to add continuous piping to the perimeter of a cushion with rounded corners. The piping follows the edge through the x, y and z axes. What is the most efficient workflow?

Leonard