Automatic control or regulation of feed movement, cutting velocity or position of tool or work before or after the tool acts upon the workpiece