Automated system generates robotic parts for novel tasks