Refactor parse_stl_lines by extracting format method