Designing dress patterns