Automatic shear line from bar