Teaching, consider workpoint on workpiece temporarily as tip of end effector