CAM for wire harness automation