A Novel Approach to the Part Orientation Problem for Robotic Assembly Applications