Sweep a profile along a path