This commit is contained in:
Michael Fogleman 2017-03-24 22:11:33 -04:00
parent 3b0c2c1a5f
commit 7d7afe1439
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ def main():
print 'eliminating duplicate paths'
d.paths = list(set([tuple(x) for x in d.paths]))
print 'transforming paths'
# d = d.scale(1, -1)
d = d.scale(1, -1)
d = d.rotate_and_scale_to_fit(12, 8.5, step=90)
print 'sorting paths'
d = d.sort_paths()
@ -18,7 +18,7 @@ def main():
d = d.simplify_paths(0.001)
print 'rendering paths'
d.render(line_width=0.25/25.4).write_to_png('out.png')
# axi.draw(d)
axi.draw(d)
if __name__ == '__main__':
main()