.axi file with comments
This commit is contained in:
parent
8a8c98a113
commit
3ab0e05d2f
|
@ -32,7 +32,10 @@ class Drawing(object):
|
|||
def loads(cls, data):
|
||||
paths = []
|
||||
for line in data.split('\n'):
|
||||
path = line.strip().split()
|
||||
line = line.strip()
|
||||
if line.startswith('#'):
|
||||
continue
|
||||
path = line.split()
|
||||
path = [tuple(map(float, x.split(','))) for x in path]
|
||||
path = expand_quadratics(path)
|
||||
if path:
|
||||
|
|
Loading…
Reference in New Issue