On the integration of product design and process planning for automated assembly