Maybe this: Need help scaling the middle section of a profile block with a curve - Grasshopper - McNeel Forum