Skip to content

Instantly share code, notes, and snippets.

@chadmiller
Created May 18, 2016 01:44
Show Gist options
  • Save chadmiller/77f6b33fa1f2ba658077ad2d9b499e7c to your computer and use it in GitHub Desktop.
Save chadmiller/77f6b33fa1f2ba658077ad2d9b499e7c to your computer and use it in GitHub Desktop.
xscale, yscale = [7957825782578148e-20,4393119311931213e-20]
xtranslate, ytranslate = [-81.658611,28.346828]
for arc in arcs:
xd, yd = arc.pop(0)
print([(((x+xd)*xscale+xtranslate), ((y+yd)*yscale+ytranslate)) for x, y in arc])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment