| 46 except ValueError: |
46 except ValueError: |
| 47 raise BadLdrawLine('bad numeric values') |
47 raise BadLdrawLine('bad numeric values') |
| 48 return linetypes.SubfileReference( |
48 return linetypes.SubfileReference( |
| 49 colour = colour, |
49 colour = colour, |
| 50 anchor = Vertex(*vertex_values), |
50 anchor = Vertex(*vertex_values), |
| 51 matrix = TransformationMatrix(matrix_values), |
51 matrix = Matrix3x3(matrix_values), |
| 52 subfile_path = groups[indices['subfile_path']] |
52 subfile_path = groups[indices['subfile_path']] |
| 53 ) |
53 ) |
| 54 |
54 |
| 55 def generic_parse_polygon(line, *, type_code, vertex_count): |
55 def generic_parse_polygon(line, *, type_code, vertex_count): |
| 56 pattern = r'^' \ |
56 pattern = r'^' \ |