Generation of component degrees of freedom from assembly surface mating constraints