Flat pattern design