Simulation in apparel manufacturing