Length cutting and end finishing of tubes and solid materials