Clothing repair and tailoring in CAS